.logout for ksh?
carroll at s.cs.uiuc.edu
carroll at s.cs.uiuc.edu
Mon Oct 10 05:40:00 AEST 1988
/* Written 11:53 am Oct 6, 1988 by cdold at starfish.Convergent.COM in s.cs.uiuc.edu:comp.unix.wizards */
I do have one small problem though:
I also set TMOUT=3600.
If ksh times out while I have "trap..." set, I get a message
ksh: setcooked failed ksh: shelledit
and it doesn't do the .logout (which just posts .login + logout time to a file)
I want both the TMOUT and the '.logout' functions to work.
Clarence A Dold - cdold at starfish.Convergent.COM (408) 435-5274
/* End of text from s.cs.uiuc.edu:comp.unix.wizards */
That's strange. I run ksh on a variety of systems (suns,3b2s,rts,vaxen) and
I have both 'trap "$HOME/.logout" EXIT' and 'TMOUT=600' set, and when
the shell times out, my .logout is executed, no problem.
Alan M. Carroll "How many danger signs did you ignore?
carroll at s.cs.uiuc.edu How many times had you heard it all before?" - AP&EW
CS Grad / U of Ill @ Urbana ...{ucbvax,pur-ee,convex}!s.cs.uiuc.edu!carroll
More information about the Comp.unix.wizards
mailing list