.suffile/.logout in ksh (affects TIMEOUT?)
thomas.e.lowe
tel at cbnewsh.ATT.COM
Mon May 29 11:21:17 AEST 1989
>trap $HOME/.logout 0
>This says "when you receive signal 0 (logout), execute $HOME/.logout".
>So my .logout file is executed when I logout from ksh as well as
>from csh.
KSH Has a timeout feature that will log you out after so many seconds
of idle time if your TIMEOUT (or TMOUT, i forget) is set. I've been
told that doing this trap will prevent this timeout from working.
Is this true? Why? Bug or Feature? Is it avoidable?
Thanks!
--
Tom Lowe tel at hound.ATT.COM or att!hound!tel 201-949-0428
AT&T Bell Laboratories, Room 2E-637A
Crawfords Corner Road, Holmdel, NJ 07733
(R) UNIX is a registered trademark of AT&T (keep them lawyers happy!!)
More information about the Comp.unix.questions
mailing list