Penguin
Diff: EnvironmentVariable
EditPageHistoryDiffInfoLikePages

Differences between version 12 and predecessor to the previous major change of EnvironmentVariable.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 12 Last edited on Monday, April 23, 2007 2:23:17 pm by AristotlePagaltzis Revert
Older page: version 9 Last edited on Friday, May 5, 2006 11:47:33 pm by LawrenceDoliveiro Revert
@@ -1,216 +1,217 @@
 A crude, simple means of InterProcessCommunication, often used for trivial configuration needs. 
  
 AddToMe: inherited by child processes, cannot be changed at runtime from outside process, etc. 
  
-Invoke printenv(1) to print a list of the current values of all the [EnvironmentVariable]s in the invoking process. 
+Invoke [ printenv(1)] to print a list of the current values of all the [EnvironmentVariable]s in the invoking process. 
  
-Since make(1) often uses [EnvironmentVariable]s named after commands to store the path to command in question, such names should be avoided for other purposes. Examples include __ CC__ , __ BISON__ , __ YACC__ , __ LEX__ , __ FLEX__ , __ F77__ , __ LD__ etc. It also uses the __ FLAGS__ suffix for default flags to pass a command, eg: __ CFLAGS__ , __ LDFLAGS__ , etc. 
+Since [ make(1)] often uses [EnvironmentVariable]s named after commands to store the path to command in question, such names should be avoided for other purposes. Examples include <tt> CC</tt> , <tt> BISON</tt> , <tt> YACC</tt> , <tt> LEX</tt> , <tt> FLEX</tt> , <tt> F77</tt> , <tt> LD</tt> etc. It also uses the <tt> FLAGS</tt> suffix for default flags to pass a command, eg: <tt> CFLAGS</tt> , <tt> LDFLAGS</tt> , etc. 
  
 ---- 
  
 !! A list of environment variables consulted by commonly used programs, libraries etc 
  
 ''No claims as to comprehensiveness or correctness made.'' 
  
-__ APT_CONFIG__ :  
- see apt.conf(5)  
-__ ASPELL_CONF__ :  
- Configuration file for aspell, see aspell(1)  
-__ BROWSER__ :  
- The user's prefered browser (see [http://www.tuxedo .org/~esr/BROWSER/])  
-__ BZCAT__
+<tt> APT_CONFIG</tt> :  
+ see [ apt.conf(5)]  
+<tt> ASPELL_CONF</tt> :  
+ Configuration file for aspell, see [ aspell(1)]  
+<tt> BROWSER</tt> :  
+ The user's prefered browser (see [The BROWSER project | http:/catb .org/~esr/BROWSER/])  
+<tt> BZCAT</tt>
  Command line arguments for bzcat 
-__ BZIP2__
+<tt> BZIP2</tt>
  Command line arguments for BZIP2 
-__ COLUMNS__
+<tt> COLUMNS</tt>
  Number of columns on the screen 
-__ DEAD__ :  
- used by Mail(1) apparently.  
-__ DISPLAY__ :  
- Current X(1) display  
-__ EDITOR__
+<tt> DEAD</tt> :  
+ used by [ Mail(1)] apparently.  
+<tt> DISPLAY</tt> :  
+ Current [ X(1)] display  
+<tt> EDITOR</tt>
  Users prefered program to edit text files 
-__ ftp_proxy__ :  
- ftp proxy server, used by various programs (eg see apt.conf(5), lynx(1), wget(1), ...)  
-__ HOME__
+<tt> ftp_proxy</tt> :  
+ ftp proxy server, used by various programs (eg see [ apt.conf(5)] , [ lynx(1)] , [ wget(1)] , ...)  
+<tt> HOME</tt>
  Home directory 
-__ HOSTALIASES__ :  
- Path to host aliases file, see hostname(7).  
-__ HOSTFILE__ :  
- Path to /etc/hosts  
-__ http_proxy__ :  
- http proxy server, used by various programs (eg see apt.conf(5), lynx(1), wget(1), ...)  
-__ [HZ]__
+<tt> HOSTALIASES</tt> :  
+ Path to host aliases file, see [ hostname(7)] .  
+<tt> HOSTFILE</tt> :  
+ Path to <tt> /etc/hosts</tt>  
+<tt> http_proxy</tt> :  
+ http proxy server, used by various programs (eg see [ apt.conf(5)] , [ lynx(1)] , [ wget(1)] , ...)  
+<tt> [HZ]</tt>
  Kernel timer mechanism 
-__ IFS__ :  
- Internal Field Seperator, used for word splitting in shells, see bash(1)  
-__ INPUTRC__ :  
- Path to .inputrc file. see bash(1)  
-__ LANG__ :  
- The name of the locale to use for locale categories. See locale(5)  
-__ LC_ADDRESS__ :  
- Locale settings, see locale(1)  
-__ LC_ALL__ :  
- Locale settings, see locale(1)  
-__ LC_COLLATE__ :  
- Locale settings, see locale(1)  
-__ LC_CTYPE__ :  
- Locale settings, see locale(1)  
-__ LC_IDENTIFICATION__ :  
- Locale settings, see locale(1)  
-__ LC_MEASUREMENT__ :  
- Locale settings, see locale(1)  
-__ LC_MESSAGES__ :  
- Locale settings, see locale(1)  
-__ LC_MONETARY__ :  
- Locale settings, see locale(1)  
-__ LC_NAME__ :  
- Locale settings, see locale(1)  
-__ LC_NUMERIC__ :  
- Locale settings, see locale(1)  
-__ LC_PAPER__ :  
- Locale Paper size, see locale(1)  
-__ LC_TELEPHONE__ :  
- Locale settings, see locale(1)  
-__ LD_AOUT_LIBRARY_PATH__
+<tt> IFS</tt> :  
+ Internal Field Seperator, used for word splitting in shells, see [ bash(1)]  
+<tt> INPUTRC</tt> :  
+ Path to .inputrc file. see [ bash(1)]  
+<tt> LANG</tt> :  
+ The name of the locale to use for locale categories. See [ locale(5)]  
+<tt> LC_ADDRESS</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_ALL</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_COLLATE</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_CTYPE</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_IDENTIFICATION</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_MEASUREMENT</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_MESSAGES</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_MONETARY</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_NAME</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_NUMERIC</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LC_PAPER</tt> :  
+ Locale Paper size, see [ locale(1)]  
+<tt> LC_TELEPHONE</tt> :  
+ Locale settings, see [ locale(1)]  
+<tt> LD_AOUT_LIBRARY_PATH</tt>
  LD_LIBRARY_PATH for a.out binaries 
-__ LD_AOUT_PRELOAD__
+<tt> LD_AOUT_PRELOAD</tt>
  LD_PRELOAD for a.out binaries 
-__ LD_ASSUME_KERNEL__ :  
- used to control the choice of threading implementation by pthreads(7)  
-__ LD_BIND_NOW__
+<tt> LD_ASSUME_KERNEL</tt> :  
+ used to control the choice of threading implementation by [ pthreads(7)]  
+<tt> LD_BIND_NOW</tt>
  Disable lazy linking, see [ld.so(8)] 
-__ LD_KEEPDIR__
+<tt> LD_KEEPDIR</tt>
  Don't ignore directory names of a.out libraries. see [ld.so(8)] 
-__ LD_LIBRARY_PATH__
+<tt> LD_LIBRARY_PATH</tt>
  Path to search for libraries, see [ld.so(8)] 
-__ LD_NOWARN__
+<tt> LD_NOWARN</tt>
  Suppress warnings of a.out minor version differences, see [ld.so(8)] 
-__ LD_PRELOAD__
+<tt> LD_PRELOAD</tt>
  Libraries to load before all others, see [ld.so(8)] 
-__ LD_TRACE_LOADED_OBJECTS__
+<tt> LD_TRACE_LOADED_OBJECTS</tt>
  Give ldd output instead of running, see [ld.so(8)] 
-__ LESSANSIENDCHARS__ :  
- see less(1)  
-__ LESSBINFMT__ :  
- see less(1)  
-__ LESSCHARDEF__ :  
- Charset definition for less(1)  
-__ LESSCHARSET__ :  
- Charset used by less(1) to display.  
-__ LESSCLOSE__ :  
- see less(1)  
-__ LESSECHO__ :  
- see less(1)  
-__ LESSEDIT__ :  
- Editor used by less(1)  
-__ LESSGLOBALTAGS__ :  
- see less(1)  
-__ LESSKEY__ :  
- Name of the lesskey(1) file  
-__ LESSKEY_SYSTEM__ :  
- Name of the system wide lesskey(1) file  
-__ LESSMETAESCAPE__ :  
- see less(1)  
-__ LESSOPEN__ :  
- less(1) preprocessor  
-__ LESS__ :  
- options passed to less(1) automatically  
-__ LESSSECURE__ :  
- Put less(1) into secure mode.  
-__ LESSSEPERATOR__ :  
- used by less(1)  
-__ LINES__
+<tt> LESSANSIENDCHARS</tt> :  
+ see [ less(1)]  
+<tt> LESSBINFMT</tt> :  
+ see [ less(1)]  
+<tt> LESSCHARDEF</tt> :  
+ Charset definition for [ less(1)]  
+<tt> LESSCHARSET</tt> :  
+ Charset used by [ less(1)] to display.  
+<tt> LESSCLOSE</tt> :  
+ see [ less(1)]  
+<tt> LESSECHO</tt> :  
+ see [ less(1)]  
+<tt> LESSEDIT</tt> :  
+ Editor used by [ less(1)]  
+<tt> LESSGLOBALTAGS</tt> :  
+ see [ less(1)]  
+<tt> LESSKEY</tt> :  
+ Name of the [ lesskey(1)] file  
+<tt> LESSKEY_SYSTEM</tt> :  
+ Name of the system wide [ lesskey(1)] file  
+<tt> LESSMETAESCAPE</tt> :  
+ see [ less(1)]  
+<tt> LESSOPEN</tt> :  
+ [ less(1)] preprocessor  
+<tt> LESS</tt> :  
+ options passed to [ less(1)] automatically  
+<tt> LESSSECURE</tt> :  
+ Put [ less(1)] into secure mode.  
+<tt> LESSSEPERATOR</tt> :  
+ used by [ less(1)]  
+<tt> LINES</tt>
  Number of lines on the screen 
-__ LISTER__ :  
- Used by Mail(1), obsolete version of __ PAGER__ ?  
-__ LOCALDOMAIN__ :  
- Local domain, see hostname(7)  
-__ LOGNAME__
+<tt> LISTER</tt> :  
+ Used by [ Mail(1)] , obsolete version of <tt> PAGER</tt> ?  
+<tt> LOCALDOMAIN</tt> :  
+ Local domain, see [ hostname(7)]  
+<tt> LOGNAME</tt>
  The name of the logged in user 
-__ LPDEST__
+<tt> LPDEST</tt>
  Default printer 
-__ MAILCHECK__ :  
- How often to check for mail (in seconds), see bash(1)  
-__ MAIL__ :  
- File for the shell to check for mail, see bash(1)  
-__ MAILPATH__ :  
- Files for the shell to check for mail, see bash(1)  
-__ [MALLOC_CHECK_]__ :  
- Change the implementation of malloc(3) to catch more bugs.  
-__ MANPATH__
+<tt> MAILCHECK</tt> :  
+ How often to check for mail (in seconds), see [ bash(1)]  
+<tt> MAIL</tt> :  
+ File for the shell to check for mail, see [ bash(1)]  
+<tt> MAILPATH</tt> :  
+ Files for the shell to check for mail, see [ bash(1)]  
+<tt> [MALLOC_CHECK_]</tt> :  
+ Change the implementation of [ malloc(3)] to catch more bugs.  
+<tt> MANPATH</tt>
  Path to search for man pages 
-__ MBOX__ :  
- Path to mbox file? see Mail(1)  
-__ NGPRNTER__ :  
- Default printer, see lpr(1)  
-__ NPRINTER__ :  
- Default printer, see lpr(1)  
-__ PAGER__
+<tt> MBOX</tt> :  
+ Path to mbox file? see [ Mail(1)]  
+<tt> NGPRNTER</tt> :  
+ Default printer, see [ lpr(1)]  
+<tt> NPRINTER</tt> :  
+ Default printer, see [ lpr(1)]  
+<tt> PAGER</tt>
  The user's prefered pager program 
-__ PATH__
+<tt> PATH</tt>
  Path to search for programs 
-__ [POSIXLY_CORRECT]__
+<tt> [POSIXLY_CORRECT]</tt>
  Makes programs/libraries adhere to strict [POSIX] requirements. 
-__ PRINTER__
+<tt> PRINTER</tt>
  Default printer 
-__ PROMPT_COMMAND__ :  
- Command for the shell to run every time it displays a prompt, see bash(1)  
-__ PS1__ :  
- Shell prompt, see bash(1)  
- __PS2 __:  
- Shell prompt, see bash(1)  
-__ PS3__ :  
- Shell prompt, see bash(1)  
-__ PS4__ :  
- Shell prompt, see bash(1)  
-__ PWD__
+<tt> PROMPT_COMMAND</tt> :  
+ Command for the shell to run every time it displays a prompt, see [ bash(1)]  
+<tt> PS1</tt> :  
+ Shell prompt; see [ bash(1)], particularly the __PROMPTING __ section for info on how to change the shell prompt.  
+ <br><tt>PS1='\e[31m\A\e[0m \u@\h:\w>'</tt> looks quite nice :)  
+<tt>PS2</tt> :  
+ Secondary Shell prompt, displayed when a previous line continues; see [ bash(1)]. (You will see this prompt if you forget to close a quote. )  
+<tt> PS3</tt> :  
+ Shell prompt, see [ bash(1)]  
+<tt> PS4</tt> :  
+ Shell prompt, see [ bash(1)]  
+<tt> PWD</tt>
  Process Working Directory (set by some shells) 
-__ REPLYTO__ :  
- Used by Mail(1), reply to address?  
-__ RESOLV_ADD_TRIM_DOMAINS__
+<tt> REPLYTO</tt> :  
+ Used by [ Mail(1)] , reply to address?  
+<tt> RESOLV_ADD_TRIM_DOMAINS</tt>
  Adds to Trim Domains, see [resolv+(8)] 
-__ RESOLV_HOST_CONF__ :  
- Filename of /etc/host.conf. see [resolv+(8)], host.conf(5)  
-__ RESOLV_MULTI__ :  
- Overrides "multi" keyword from /etc/host.conf, see [resolv+(8)]  
-__ RESOLV_OVERRIDE_TRIM_DOMAINS__ :  
- Overrides Tirm Domains from /etc/host.conf, see [resolv+(8)]  
-__ RESOLV_REORDER__ :  
- Overrides the "reorder" keyword from /etc/host.conf, see [resolv+(8)]  
-__ RESOLV_SERV_ORDER__ :  
- Overrides "order" keyword in /etc/host.conf, see [resolv+(8)]  
-__ RESOLV_SPOOF_CHECK__
+<tt> RESOLV_HOST_CONF</tt> :  
+ Filename of <tt> /etc/host.conf</tt> . see [resolv+(8)], [ host.conf(5)]  
+<tt> RESOLV_MULTI</tt> :  
+ Overrides "multi" keyword from <tt> /etc/host.conf</tt> , see [resolv+(8)]  
+<tt> RESOLV_OVERRIDE_TRIM_DOMAINS</tt> :  
+ Overrides Tirm Domains from <tt> /etc/host.conf</tt> , see [resolv+(8)]  
+<tt> RESOLV_REORDER</tt> :  
+ Overrides the "reorder" keyword from <tt> /etc/host.conf</tt> , see [resolv+(8)]  
+<tt> RESOLV_SERV_ORDER</tt> :  
+ Overrides "order" keyword in <tt> /etc/host.conf</tt> , see [resolv+(8)]  
+<tt> RESOLV_SPOOF_CHECK</tt>
  Sets Spoof Checking see [resolv+(8)] 
-__ SHELL__
+<tt> SHELL</tt>
  The user's shell 
-__ SSH_ASKPASS__ :  
- Used by ssh(1)  
-__ SSH_AUTH_SOCK__ :  
- Used by ssh(1)  
-__ SSH_CLIENT__ :  
- Used by ssh(1)  
-__ SSH_ORIGINAL_COMMAND__ :  
- Used by ssh(1)  
-__ SSH_TTY__ :  
- Used by ssh(1)  
-__ SYSTEM__ :  
- Operating System, used by apropos(1)  
-__ TERMCAP__
+<tt> SSH_ASKPASS</tt> :  
+ Used by [ ssh(1)]  
+<tt> SSH_AUTH_SOCK</tt> :  
+ Used by [ ssh(1)]  
+<tt> SSH_CLIENT</tt> :  
+ Used by [ ssh(1)]  
+<tt> SSH_ORIGINAL_COMMAND</tt> :  
+ Used by [ ssh(1)]  
+<tt> SSH_TTY</tt> :  
+ Used by [ ssh(1)]  
+<tt> SYSTEM</tt> :  
+ Operating System, used by [ apropos(1)]  
+<tt> TERMCAP</tt>
  Terminal type capabilities file 
-__ TERM__
+<tt> TERM</tt>
  The terminal type 
-__ TIMEFORMAT__ :  
- format of the time(1) command, see time(1) and bash(1)  
-__ TMOUT__ :  
- Timeout for shells to log you out, see bash(1)  
-__ TMPDIR__ :  
- Directory for temp files, see tempnam(3), sort(1) etc See PerUserTempDirs  
-__ TZDIR__
+<tt> TIMEFORMAT</tt> :  
+ format of the [ time(1)] command, see [ time(1)] and [ bash(1)]  
+<tt> TMOUT</tt> :  
+ Timeout for shells to log you out, see [ bash(1)]  
+<tt> TMPDIR</tt> :  
+ Directory for temp files, see [ tempnam(3)] , [ sort(1)] etc See PerUserTempDirs  
+<tt> TZDIR</tt>
  Set TimeZone information 
-__ TZ__ :  
- Set TimeZone information, tzset(1)  
-__ USER__
+<tt> TZ</tt> :  
+ Set TimeZone information, [ tzset(1)]  
+<tt> USER</tt>
  The currently logged in user 
-__ VISUAL__
+<tt> VISUAL</tt>
  The user's prefered visual editor