Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!wuarchive!mailrus!usenet.ins.cwru.edu!eagle!news From: smfedor@solar.lerc.nasa.gov (Gregory Fedor) Newsgroups: comp.sys.sgi Subject: Re: Workspace launched from remote terminal Message-ID: <1990Aug16.120834.19609@eagle.lerc.nasa.gov> Date: 16 Aug 90 12:08:34 GMT References: <9008150850.AA12394@mcirps2.med.nyu.edu> <1990Aug15.151151.1237@s1.msi.umn.edu> <67004@sgi.sgi.com> Reply-To: smfedor@solar.lerc.nasa.gov (Gregory Fedor) Organization: NASA/Lewis Research Center, Cleveland Lines: 22 In article <67004@sgi.sgi.com> rpw3@sgi.com (Rob Warnock) writes: >(*sigh*) Because of the way the window manager gets your environment variables >using "exporttonews", it is very important not to run anything which touches >your TTY (even looks at it, such as the "tty" program) in your .cshrc or >.login, unless you "protect" it from "exporttonews" with "if(! $?ENVONLY )..." >[By the way, this is quite independent of "workspace", per se.] > >Therefore, you example should read: > > if ( ! $?ENVONLY && "`tty`" == "/dev/console" ) then > workspace > endif Potentially stupid question: Does this apply for the /etc/cshrc file as well? -- =============================================================================== Gregory Fedor (216) 433-8468 FTS: 297-8468 Sverdrup Technology smfedor@lerc01.lerc.nasa.gov (128.156.10.14) NASA Lewis Research Center Cleveland, Ohio 44135 ===============================================================================