Xref: utzoo comp.unix.wizards:11122 comp.unix.questions:9199 Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mit-eddie!ll-xn!ames!pasteur!agate!saturn!ucschu.ucsc.edu!humtech From: humtech@ucschu.UCSC.EDU (Mark Frost) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Selecting a parent environment... Message-ID: <4819@saturn.ucsc.edu> Date: 13 Sep 88 22:15:37 GMT Sender: usenet@saturn.ucsc.edu Reply-To: humtech@ucschu.ucsc.edu (Mark Frost) Organization: University of California, Santa Cruz; Humanities Division Lines: 29 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