Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ environ(5) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec(2)

env(1)

login(1)

sh(1)

csh(1)

nice(1)

nohup(1)

time(1)



     environ(5)                 DG/UX 4.30                  environ(5)



     NAME
          environ - user environment

     DESCRIPTION
          An array of strings called the environment is made available
          by exec(2) when a process begins.  By convention, these
          strings have the form name=value.  The following names are
          used by various commands:

          PATH    The sequence of directory prefixes that sh(1),
                  csh(1), time(1), nice(1), nohup(1), etc., apply in
                  searching for a file known by an incomplete path
                  name.  The prefixes are separated by colons (:).
                  Login(1) sets root path to :/bin:/usr/bin:/etc and
                  others to :/bin:/usr/bin.

          HOME    Name of the user's login directory, set by login(1)
                  from the password file passwd(4).

          TERM    The kind of terminal for which output is to be
                  prepared.  This information is used by commands that
                  use special capabilities of the terminal, such as
                  vi(1).

          CFTIME  The default format string to be used by the date(1)
                  command and the ascftime() and cftime() routines
                  (see ctime(3c)).  If CFTIME is not set or is null,
                  the default format string specified in the
                  /lib/cftime/LANGUAGE file (if it exists) is used in
                  its place (see cftime(4)).

          CHRCLASS
                  A value that corresponds to a file in /lib/chrclass
                  containing character classification and conversion
                  information.  This information is used
                   by commands (such as cat(1), ed(1), and sort(1)) to
                  classify characters as alphabetic, printable, upper
                  case, and so on, and to convert characters to upper
                  or lower case.

                  When a program or command begins execution, the
                  tables containing this information are initialized
                  based on the value of CHRCLASS.  If CHRCLASS is
                  non-existent, null, set to a value for which no file
                  exists in /lib/chrclass, or errors occur while
                  reading the file, the ASCII character set is used.
                  During execution, a program or command can change
                  the values in these tables by calling the
                  setchrclass() routine.  For more detail, see
                  ctype(3C).

                  These tables are created using the chrtbl(1)



     Licensed material--property of copyright holder(s)         Page 1





     environ(5)                 DG/UX 4.30                  environ(5)



                  command.

          LANGUAGE
                  A language for which a printable file by that name
                  exists in /lib/cftime. This information is used by
                  commands (such as date(1), ls(1), and sort(1)) to
                  print date and time information in the language
                  specified.

                  If LANGUAGE is non-existent, null, set to a value
                  for which no file exists in /lib/cftime, or errors
                  occur while reading the file, the last language
                  requested will be used.  (If no language has been
                  requested, the language usaenglish is assumed.)
                  For a description of the content of files in
                  /lib/cftime, see cftime(4).

          TZ      Time zone information. The simple format is xxxnzzz
                  where xxx is standard local time zone abbreviation,
                  n is the difference in hours from GMT, and zzz is
                  the abbreviation for an alternate time zone (usually
                  the daylight-saving local time zone), if any; for
                  example, EST5EDT.

          The complex format allows you to specify the difference in
          hours of the alternate time zone from GMT and the starting
          day and time and ending day and time for using this
          alternate time zone.  For example, in 1985 the complex
          format corresponding to the above simple example is:

                    TZ="EST5:00:00EDT4:00:00,118/2:00:00,300/2:00:00"

               When the above complex format is used, it must be
               surrounded by double quotes.  For more details, see
               ctime(3C) and timezone(4).

          Further names may be placed in the environment by the export
          command and name=value arguments in sh(1), or by exec(2).
          Don't use the following names for your own variables; they
          are frequently exported by .profile files:  MAIL, PS1, PS2,
          IFS (see profile(4)).  In the csh, more names can be placed
          in the environment by the setenv command.  It is unwise to
          conflict with the variables listed under "Pre-defined and
          environment variables" in csh(1).

     SEE ALSO
          exec(2).
          env(1), login(1), sh(1), csh(1), nice(1), nohup(1), time(1),
          in the User's Reference for the DG/UX System.






     Licensed material--property of copyright holder(s)         Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026