Go to the first, previous, next, last section, table of contents.


Environment Variables Used By PENG

PENG uses the following environment variables. The variables listed in the first table are standard variables used by many or most programs (under Unix, anyway), so if you have a properly installed system, you shouldn't have to worry about them.

`SHELL'
`COMSPEC' (Dos)
The name of the OS shell invoked by `File/OS shell' (see section The Menu Entry `File/OS shell') and used to execute PENG tools (see section Tools). Under Dos, PENG will try `SHELL' first, using `-c' to specify a command (which is what `bash' understands, so if you installed the DJGPP version of `bash', and set `SHELL' to its path, PENG will use `bash'). If `SHELL' is not set, PENG will use `COMSPEC' (which is usually set to the path of `command.com'), using `/c' to specify a command (which is what `command.com' understands).
`PATH'
A list of directories where various executables are searched, e.g., the printer spooler (Unix), or the uncompressor for a compressed info file (see section The Format Of An Info Node Description).
`TEMP'
`TMP'
`TEMPDIR'
`TMPDIR'
Tried (in this order) when PENG needs to create a temporary file name, e.g., for the `TEMP' tool function (see section `TEMP' (0)), or when uncompressing compressed info files (see section The Format Of An Info Node Description).
`HOME'
The name of your home directory. Used to find the per-user default config file, to expand `~' and to create temporary files if no appropriate variable (see above) is set and no writable system-wide temp directory (under some standard names) could be found.
`INFOPATH'
`INFODIR' (if `INFOPATH' is not set)
The path to the installed info documentation files of PENG and other programs.
`TERM' (Unix, terminal)
The type of the terminal you are working on. Setting this incorrectly will often lead to a corrupted display, or (some) function keys or key combinations not working correctly or, e.g., the number of lines on the screen not being recognized correctly (see section Trouble Shooting For Terminal Problems (Unix)).
`TERMINFO' (Unix, terminal)
A path to the `terminfo' terminal description files installed on your system. Setting this incorrectly will lead to a message like `Error opening terminal: linux.' when starting PENG (see section Trouble Shooting For Terminal Problems (Unix)).
`ESCDELAY' (Unix, terminal)
The number of milliseconds allowed between an `Esc' character and the rest of an escape sequence. Setting it to a value too small can cause problems with PENG not recognizing escape sequences such as function keys. Setting it to a value too large can delay the recognition of an ESC press notably (see section Trouble Shooting For Terminal Problems (Unix)).
`DISPLAY' (Unix, X11)
The name of the X11 server to connect to.
`HOST'
`LOGNAME'
The name of the host and the user, used for creating a `vim' compatible header for the lock files (see section The Menu Entry `Options/Editor2/Use lock files').
`EDITOR'
Not used by PENG, but if you set it to `peng', many programs will invoke PENG as their default editor. Highly recommended. :-)

The following variables are specific to PENG:

`EDNAME'
`EDNODE'
`COL'
`LINE'
`CURTOKEN'
`CURLINE'
`ERRNAME'
`ERRCOL'
`ERRLINE'
`TABSIZE'
`DIR_SEPARATOR'
Automatically set by PENG before invoking a tool (see section Variables Set Automatically).
any other variables
which are defined under Options/Variables (see section The Menu Entry `Options/Variables') or used by some tools (see section Tools).


Go to the first, previous, next, last section, table of contents.