Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!RODAN.ACS.SYR.EDU!jdpeek From: jdpeek@RODAN.ACS.SYR.EDU (Jerry Peek) Newsgroups: comp.unix.questions Subject: Re: .suffile/.logout in ksh (affects TIMEOUT?) Message-ID: <8906030353.AA01813@rodan.acs.syr.edu> Date: 3 Jun 89 04:53:50 GMT References: <4404@ucdavis.ucdavis.edu> <8170002@hpfcdq.HP.COM> <984@cbnewsh.ATT.COM> <1110@uceng.UC.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: Syracuse University; Syracuse, New York Lines: 18 In two articles, people have written things like: + >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? + + No, that is not true; the shell exits after TMOUT seconds of idle time + (+60 sec grace), and the trap is taken correctly when it exits. I had the problem with an old Korn Shell (before ksh-i) running under 4.3BSD on a VAX 780. It's been too long ago to remember. But I think the shell would either hang and not log out or give some error message without doing the commands in the trap. Sorry -- I can't remember more than that, and I have ksh-i now. --Jerry Peek; Syracuse University Academic Computing Services; Syracuse, NY jdpeek@rodan.acs.syr.edu, jdpeek@suvm.bitnet +1 315 443-3995