5 A :-separated list of directories used to search for
6 resource filenames (*.cal files) that do not begin with:
10 If this variable does not exist, a compiled value
11 is used. Typically compiled in value is:
13 .:./cal:~/cal:${CALC_SHAREDIR}:${CUSTOMCALDIR}
17 .:./cal:~/cal:/usr/share/calc:/usr/share/calc/custom
19 This value is used by the READ command. It is an error
20 if no such readable file is found.
22 The CALCBINDINGS file searches the CALCPATH as well.
26 On startup (unless -h or -q was given on the command
27 line), calc searches for files along the :-separated
28 $CALCRC environment variable.
30 If this variable does not exist, a compiled value
31 is used. Typically compiled in value is:
33 ${CALC_SHAREDIR}/startup:~/.calcrc:./.calcinit
37 /usr/share/calc/startup:~/.calcrc:./.calcinit
39 Missing files along the $CALCRC path are silently ignored.
43 On startup (unless -h or -q was given on the command
44 line), calc reads key bindings from the filename specified
45 in the $CALCRC environment variable. These key bindings
46 are used for command line editing and the command history.
48 If this variable does not exist, a compiled value is used.
49 Typically compiled in value is:
53 The bindings file is searched along the CALCPATH. Unlike
54 the READ command, a .cal extension is not added.
56 If the file could not be opened, or if standard input is not
57 a terminal, then calc will still run, but fancy command line
60 NOTE: If calc was compiled with GNU-readline support, the
61 CALCBINDINGS facility is ignored and the standard
62 readline mechanisms (see readline(3)) are used.
66 This value is taken to be the home directory of the
67 current user. It is used when files begin with '~/'.
69 If this variable does not exist, the home directory password
70 entry of the current user is used. If that information
71 is not available, '.' is used.
75 When invoking help, this environment variable is used
76 to display a help file.
78 If this variable does not exist, a compiled value
79 is used. Typically compiled in value is something
80 such as 'more', 'less', 'pg' or 'cat'.
84 When a !-command is used, the program indicated by
85 this environment variable is used.
87 If this variable does not exist, a compiled value
88 is used. Typically compiled in value is something
91 ## Copyright (C) 1999 Landon Curt Noll
93 ## Calc is open software; you can redistribute it and/or modify it under
94 ## the terms of the version 2.1 of the GNU Lesser General Public License
95 ## as published by the Free Software Foundation.
97 ## Calc is distributed in the hope that it will be useful, but WITHOUT
98 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
99 ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
100 ## Public License for more details.
102 ## A copy of version 2.1 of the GNU Lesser General Public License is
103 ## distributed with calc under the filename COPYING-LGPL. You should have
104 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
105 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
107 ## @(#) $Revision: 30.1 $
108 ## @(#) $Id: environment,v 30.1 2007/03/16 11:10:42 chongo Exp $
109 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/environment,v $
111 ## Under source code control: 1991/07/23 05:47:25
112 ## File existed as early as: 1991
114 ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
115 ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/