Problem starting X apps without csh
Tony Facca
fsfacca at COHO.LERC.NASA.GOV
Wed Feb 27 02:06:07 AEST 1991
Here is a wierd one..
When I run with "csh" as my default shell, I can start X applications
during startup, but when I use "sh" or "tcsh", I can't.
Background:
OS 3.3.1, various platforms
In /usr/NeWS/lib/user.ps I have the following lines:
.
.
/basicRestartActions [
{ establishEnvironment }
{ RunConsole }
{ startXsgi }
] def
.
.
/RestartActions [
{
(-n C_Shell -r1000 -s40x80 -t"$USER on `hostname`") forkwsh
(/usr/bin/X11/xclock -hd blue -bg grey -update 1 \
-geometry 145x145 +1095+835 &) forkunix
(/usr/bin/X11/xcalendar -geometry 275x185-50-600 &) forkunix
.
.
Under sh, csh and tcsh the forkwsh works, but under sh, and tcsh, forking
the X apps does not work.
Looking into what may be causing this, I tracked down startXsgi which comes
from /usr/NeWS/lib/NeWS/init.ps and is simply a call to "xtart -c". This
is supposed to, eventually, start up Xsgi. A "ps -ed" shows that indeed
Xsgi got started, regardless of what shell I use, one for each shell forked
during startup.
So, what can be going on? Is there some dependence on csh in order to start
X applications from user.ps?
Any ideas would be appreciated.
-----------------------------------------------------------------------------
Tony Facca | fsfacca at avelon.lerc.nasa.gov | phone: 216-433-8318
-----------------------------------------------------------------------------
You are at Witt's end. Passages lead off in *all* directions.
More information about the Comp.sys.sgi
mailing list