Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!att!cbnewsh!tel From: tel@cbnewsh.ATT.COM (thomas.e.lowe) Newsgroups: comp.unix.questions Subject: Re: .suffile/.logout in ksh (affects TIMEOUT?) Message-ID: <984@cbnewsh.ATT.COM> Date: 29 May 89 01:21:17 GMT References: <4404@ucdavis.ucdavis.edu> <8170002@hpfcdq.HP.COM> Reply-To: tel@cbnewsh.ATT.COM (thomas.e.lowe) Organization: AT&T Bell Laboratories Lines: 17 >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@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!!)