1. Computing & Technology

Discuss in my forum

General Variables

By , About.com Guide

not set, the category defaults to the value of the LANG environment variable, or to the default C locale if LANG is not set. But if LC_ALL is specified, it overrides the settings of all the other locale environment variables.

The value of the LC_CTYPE category is matched against entries in locale-language-names, locale-charset-language-names, and locale-preferred-coding-systems, to select a default language environment and coding system. See Language Environments.

  • LOGNAME
    The user's login name. See also USER.
  • MAIL
    The name of the user's system mail inbox.
  • MAILRC
    Name of file containing mail aliases. (The default is ~/.mailrc.)
  • MH
    Name of setup file for the mh system. (The default is ~/.mh_profile.)
  • NAME
    The real-world name of the user.
  • NNTPSERVER
    The name of the news server. Used by the mh and Gnus packages.
  • ORGANIZATION
    The name of the organization to which you belong. Used for setting the 'Organization:' header in your posts from the Gnus package.
  • PATH
    A colon-separated list of directories in which executables reside. This is used to initialize the Emacs Lisp variable exec-path.
  • PWD
    If set, this should be the default directory when Emacs was started.
  • REPLYTO
    If set, this specifies an initial value for the variable mail-default-reply-to. See Mail Headers.
  • SAVEDIR
    The name of a directory in which news articles are saved by default. Used by the Gnus package.
  • SHELL
    The name of an interpreter used to parse and execute programs run from inside Emacs.
  • TERM
    The type of the terminal that Emacs is using. This variable must be set unless Emacs is run in batch mode. On MS-DOS, it defaults to internal, which specifies a built-in terminal emulation that handles the machine's own display. If the value of TERM indicates that Emacs runs in non-windowed mode from xterm or a similar terminal emulator, the background mode defaults to light, and Emacs will choose colors that are appropriate for a light background.
  • TERMCAP
    The name of the termcap library file describing how to program the terminal specified by the TERM variable. This defaults to /etc/termcap.
  • TMPDIR
    Used by the Emerge package as a prefix for temporary files.
  • TZ
    This specifies the current time zone and possibly also daylight saving time information. On MS-DOS, if TZ is not set in the environment when Emacs starts, Emacs defines a default value as appropriate for the country code returned by DOS. On MS-Windows, Emacs does not use TZ at all.
  • USER
    The user's login name. See also LOGNAME. On
  • ©2012 About.com. All rights reserved.

    A part of The New York Times Company.