[RPL/2] history
BERTRAND Joël
joel.bertrand at systella.fr
Ven 23 Nov 09:52:02 CET 2007
Adrian Blake wrote:
> Where is or the file name of the history when in interactive mode?
You should have a .RPL2_history in your home directory. This file is
defined in src/rpl.h (ds_fichier_historique). Your home directory is
defined by in order :
1/ a HOME env variable;
2/ a USER env variable that is used to do a
getpwnam(getenv("USER"))->pw_dir;
3/ a LOGNAME env variable (getpwnam(getenv("LOGNAME"))->pw_dir);
4/ an UID (getpwuid(getuid())->pw_dir);
5/ current directory if any of these variables are defined.
Regards,
JKB
Plus d'informations sur la liste de diffusion RPL2