$MENAME - MicroEmacs user name
$LOGNAME - System user name (UNIX)
$MENAME string; Default is guest
$LOGNAME string
$MENAME is an environment variable used to initialize the MicroEmacs '99 environment for a given user. At start-up, if $MENAME is defined then the user's configuration and history file "name.erf" is located and read, where name is the variable value.
If at start-up $MENAME is not defined then $MENAME is assigned the value of $LOGNAME, if $LOGNAME is not defined the file default.emf is located and executed. This macro file is created by user-setup(3) to set $MENAME to the default user. If this fails then $MENAME defaults to guest and a default configuration is used.
The user configuration and history file has many uses, see user-setup(3) and read-history(2) for more information.
Within Microsoft Windows environments, if login is enabled then the users login name is automatically used as the first choice login name. No environment variables need to be set. If login is not enabled then one of the aforementioned methods should be used.
In UNIX environments, $LOGNAME is typically defined.
The three variables must be defined before start-up for them to have any effect.
$LOGNAME is often defined by the system and should not be altered. If a different user name is required, setting of $MENAME is preferable.
(c) Copyright JASSPA 1999
Last Modified: 1998/08/31
Generated On: 1999/12/01