[1447] in testers

home help back first fref pref prev next nref lref last post

VS7.2H /usr/athena/lib/init/xsession

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sat Dec 15 05:03:31 1990

Date: Sat, 15 Dec 90 05:03:15 -0500
From: David Krikorian <dkk@ATHENA.MIT.EDU>
To: testers@ATHENA.MIT.EDU
Reply-To: dkk@mit.edu


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.


home help back first fref pref prev next nref lref last post