[comp.unix.wizards] Selecting a parent environment...

humtech@ucschu.UCSC.EDU (Mark Frost) (09/14/88)

I hope this is an easy question for someone out there.
I've written this little C-shell script to set someone's terminal setup.

#
set noglob
eval `/usr/ucb/tset -s -Q -e -k -m :$1`
unset noglob

This script works. However, it works only in the environment that it's executed
in (the shell environment created when I run the script). I need this stuff
to be executed on the user's own environment. I realize I could just have an 
alias to do this which would change it in the calling environment, but I would
prefer to have it generally available in a shell script.

I know that the Bourne shell has the export command, but does the C-shell do
any such thing?
Please mail me replies as I don't have the time I'd like to read the UNIX 
newsgroups (I have barely enough time to read the others that I need to read).

Thanx very much


Mark Frost
	Office of the the Computing Coordinator
	Humanities Division
	University of California at Santa Cruz
Internet: humtech@ucschu.UCSC.EDU
Bitnet: humtech@ucschu.bitnet