Problem starting X apps without csh
Scott Henry
scotth at corp.sgi.com
Wed Feb 27 20:22:19 AEST 1991
tf> Here is a wierd one..
tf> When I run with "csh" as my default shell, I can start X applications
tf> during startup, but when I use "sh" or "tcsh", I can't.
tf> Background:
tf>
tf> OS 3.3.1, various platforms
tf>
tf> In /usr/NeWS/lib/user.ps I have the following lines:
tf> .
tf> .
tf> /basicRestartActions [
tf> { establishEnvironment }
tf> { RunConsole }
tf> { startXsgi }
tf> ] def
tf> .
tf> .
tf> /RestartActions [
tf> {
tf> (-n C_Shell -r1000 -s40x80 -t"$USER on `hostname`") forkwsh
tf> (/usr/bin/X11/xclock -hd blue -bg grey -update 1 \
tf> -geometry 145x145 +1095+835 &) forkunix
tf> (/usr/bin/X11/xcalendar -geometry 275x185-50-600 &) forkunix
tf> .
tf> .
tf> Under sh, csh and tcsh the forkwsh works, but under sh, and tcsh,
tf> forking the X apps does not work.
I don't know if this is the actual problem, but `() forkunix` already puts
the command in the background. The '&' in the command string may be
confusing the shell. I am using tcsh as my default shell under 3.3.2 and I
have no problems launching X apps.
--
Scott Henry <scotth at sgi.com> / Traveller on Dragon Wings
Information Services, / Help! My disclaimer is missing!
Silicon Graphics, Inc / Politicians no baka!
More information about the Comp.sys.sgi
mailing list