Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ncar!tank!uxc!uxc.cso.uiuc.edu!a.cs.uiuc.edu!s.cs.uiuc.edu!carroll From: carroll@s.cs.uiuc.edu Newsgroups: comp.unix.wizards Subject: Re: .logout for ksh? Message-ID: <216100002@s.cs.uiuc.edu> Date: 9 Oct 88 19:40:00 GMT References: <1594@mcgp1.UUCP> Lines: 17 Nf-ID: #R:mcgp1.UUCP:1594:s.cs.uiuc.edu:216100002:000:949 Nf-From: s.cs.uiuc.edu!carroll Oct 9 14:40:00 1988 /* Written 11:53 am Oct 6, 1988 by cdold@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@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@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