terminal > .history in 4.2 csh - (nf)

mcdaniel at uiucdcsb.UUCP mcdaniel at uiucdcsb.UUCP
Sat Sep 1 14:57:00 AEST 1984


#N:uiucdcsb:6300012:000:1222
uiucdcsb!mcdaniel    Aug 18 23:57:00 1984

This is a really stange 4.2 csh bug!

My .logout file is this:
	cd
	set tty=`tty`
	(sleep 9; clear > $tty) &
	(cp .saved.cshrc .cshrc) &
	(cp .saved.login .login) &
The first line puts me in $HOME for the cps, lines 2 and 3 clear the screen
a little bit after logout, and lines 4 and 5 protect against the a**holes
who think it's funny to put "logout" in my .login when I leave the terminal
for a few minutes . . . end of flame.

Anyway, most of the time, the logging out finishes before lines 4 and 5
finish and print their "[1] Done   ( cp .saved.cshrc .cshrc ) &" messages
(which is good: I don't want people to know what is going on).  So the
messages don't come to the screen.  They sometimes go to my .history file!

A sample .history file:
	( . . . stuph . . . )
	notes general 
	fg 
	h 
	h 
	notes -s fa.human-nets net.{jokes,cog-eng,religion.jewish,legal,mag,lang,lang.c,unix,unix-wizards,games,games.rogue,games.frp,space,astro,astro.expert,columbia,physics,math,movies,sf-lovers,startrek} 
	^M 
	[3] Done ( cp .saved.login .login ) 
	notes -s net.sf-lovers 
	( . . . other stuph . . . )
If having the entire phile is important for debugging, ask for a copy.

Tim McDaniel				...!{pur-ee,ihnp4}!uiucdcs!mcdaniel



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