Selecting a parent environment...

Mark Frost humtech at ucschu.UCSC.EDU
Wed Sep 14 08:15:37 AEST 1988


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 at ucschu.UCSC.EDU
Bitnet: humtech at ucschu.bitnet



More information about the Comp.unix.wizards mailing list