ARPUS/ce, Version 2.6.2 (03/10/05) (SCCS 1.4) _______________________________________________________________________________ envar [-on | -off] "Environment variable processing for cv and ce commands" DESCRIPTION: 'envar' is used to determine whether environment variables are expanded in file names when executing cv and ce commands in the "Command:" window. When set to yes, clicking on a name such as $HOME/.profile will expand $HOME. When set to no, dollar signs are ignored. This allows clicking on names which contain dollar signs. Dollar variable processing is an issue in 4 places: 1. Initial file evaluation from the shell. Variables are evaluated by the shell. Normal escaping and quoting will prevent evaluation of environment variables. 2. Processing file names from cv commands executed in the "Command:" window. The current envar setting determines whether names are scanned for environment variables. With dollar evaluation on, you can still escape characters. 3. Command file name evaluation: cmdf $HOME/dm_cmds/stuff.dm Environment variables will always be expanded in the path names of cmdf commands. The dollar sign may be escaped to prevent expansion. 4. Paste buffer names used with xc -f and xp -f as in xc -f $HOME/saved_stuff Environment variables will always be expanded in the path names of xc and xp commands. The dollar sign may be escaped to prevent expansion. The -envar {y | n} parameter to cv and the Ce:envar : {y : n} resource may be used to control the initial setting of envvar. if 'envar' is given with no options, the setting is toggled. 'envar -on' turns on evaluation of environment variables. 'envar -off' turns it off. RELATED HELP FILES: cv (Create View) ce (Create Edit) cmdf (Command File) xc (Copy) xp (Paste) env (Environment Vars) xresources (Arguments and X resources) support (customer support) _______________________________________________________________________________ Copyright (c) 2005, Robert Styma Consulting. All rights reserved.