[1450] in testers
Re: VS7.2H /usr/athena/lib/init/xsession
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sat Dec 15 12:06:49 1990
Date: Sat, 15 Dec 90 12:06:27 -0500
To: dkk@MIT.EDU
Cc: testers@MIT.EDU
In-Reply-To: David Krikorian's message of Sat, 15 Dec 90 05:03:15 -0500,
From: Richard Basch <probe@MIT.EDU>
Fixed in 7.2J
-Richard
Date: Sat, 15 Dec 90 05:03:15 -0500
From: David Krikorian <dkk@ATHENA.MIT.EDU>
Reply-To: dkk@mit.edu
Home: 47 Lake St., Arlington, MA 02174, (617) 646-9289
Office: MIT Bldg. E40-358A, (617) 253-8651, 258-8736 (fax)
I don't know how I missed this before... but anyone who doesn't have a
personal .xsession who also sets the WINDOW_MANAGER environment
variable to something with a space in it will lose when trying login
to a 7.2H workstation.
If, for example, you have this in your ~/.environment:
setenv WINDOW_MANAGER twm -f .another-twmrc
Then this line in /usr/athena/lib/init/xsession will blow up:
if ( $WINDOW_MANAGER =~ mwm ) sleep $sleep_time
if: Expression syntax.
The fix is to replace the "if" line with:
if ( "$WINDOW_MANAGER" =~ mwm ) sleep $sleep_time
The only difference is that this has double-quotes around
$WINDOW_MANAGER.