[ale] Environment Variables

Andrew Newton lfs at eskimo.com
Tue Mar 11 14:29:25 EST 1997


Shouldn't you also "export PRINTER" once you have set it?

David Hamm wrote:
> 
> I'd like to have a way to set my default printer on the fly from a child
> process (i.e. a program that sets the default printer ).  If I set the PRINTER
> environment variable to something like this, "PRINTER=`cat ~/defprinter`", the
> environment variable only gets set at the time the variable is declared.  Is
> there a way to have the variable set each time it is accessed?

-- 
Andrew Newton
lfs at eskimo.com 
www.eskimo.com/~lfs






More information about the Ale mailing list