[9793] in Athena Bugs

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

sun4 0.1A: tcsh/csh

daemon@ATHENA.MIT.EDU (vanharen@MIT.EDU)
Fri Aug 14 16:26:08 1992

From: vanharen@MIT.EDU
To: bugs@MIT.EDU
Cc: carla@MIT.EDU, owens@MIT.EDU
Date: Fri, 14 Aug 92 16:25:43 BST

System name:		bad-loud-music
Type and version:	sun4 0.1A
Display type:		sun4

What were you trying to do?
	Source a file without a trailing newline.  (Actually, it
	wasn't me at all, it was Tom Owens, and he was on a DECstation,
	not a sun, but it happens on the sun, too.)

What's wrong:
	Tom had the following line in his .environment file:

		setenv WINDOW_MANAGER /usr/athena/twm

	*without* the trailing newline (courtesy of ez, which does not
	tack on a trailing newline by default -- see next bug report :-)
	and it was not taking effect.  Adding a newline to the file,
	with emacs, or vi or whatever, made it work fine.

	This is easy enough to reproduce, try it and see.

What should have happened:
	It should work, whether the newline is there or not.

Please describe any relevant documentation references:
	man csh?  man tcsh?  dunno...

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