Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!nsc!nsta!instable!amos From: amos@instable.UUCP (Amos Shapir) Newsgroups: comp.unix.questions Subject: Re: The environment of the parent Message-ID: <518@instable.UUCP> Date: Thu, 20-Nov-86 03:52:50 EST Article-I.D.: instable.518 Posted: Thu Nov 20 03:52:50 1986 Date-Received: Thu, 20-Nov-86 22:34:07 EST References: <261@mipos3.UUCP> Reply-To: amos%nsta@nsc (Amos Shapir) Distribution: world Organization: National Semiconductor (Israel) Ltd. Lines: 15 In article <261@mipos3.UUCP> pinkas@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@nsc 34.48'E 32.10'N