Workspace launched from remote terminal

Gregory Fedor smfedor at solar.lerc.nasa.gov
Thu Aug 16 22:08:34 AEST 1990


In article <67004 at sgi.sgi.com> rpw3 at 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 at lerc01.lerc.nasa.gov (128.156.10.14)
NASA Lewis Research Center    Cleveland, Ohio 44135
===============================================================================



More information about the Comp.sys.sgi mailing list