login built-in of 4.[12]bsd csh ignores ".logout" (w/change)

ado at elsie.UUCP ado at elsie.UUCP
Mon Jul 16 06:26:32 AEST 1984


When you use the built-in "login" command of the 4.[12]bsd "csh", it
fails to act as if you had done a "source ~/.logout".

If you want a "source ~/.logout" to be done on "login" commands,
add this line to your ".login" file:

	alias login 'source ~/.logout; unalias login; eval login \!*'

(The fact that both the unalias AND the eval are needed above seems like
a bug to me; who knows?)
--
	...decvax!allegra!umcp-cs!elsie!ado	(301) 496-5688
	(the DEC and VAX in decvax are Digital Equipment Corporation trademarks)



More information about the Comp.bugs.4bsd.ucb-fixes mailing list