The environment of the parent
Amos Shapir
amos at instable.UUCP
Thu Nov 20 18:52:50 AEST 1986
In article <261 at mipos3.UUCP> pinkas at mipos3.UUCP (Israel Pinkas) writes:
> [ how to set the parent's environment from inside a program ]
Have the program output 'setenv' or 'set...export' commands for the
required variables (use the env var SHELL to know which), and run it
as: eval `program`
If you have a BSD system or clone, see how 'tset' is used to set
the env variable TERM.
--
Amos Shapir
National Semiconductor (Israel)
6 Maskit st. P.O.B. 3007, Herzlia 46104, Israel
(01-972) 52-522261 amos%nsta at nsc
34.48'E 32.10'N
More information about the Comp.unix.questions
mailing list