Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!oberon!nunki.usc.edu!castor.usc.edu!connet
From: connet@castor.usc.edu (David Connet)
Newsgroups: comp.unix.wizards
Subject: Re: Autologout of unused terminals
Message-ID: <2018@nunki.usc.edu>
Date: 27 Nov 88 21:09:57 GMT
References: <201.nlunix6@orcenl.uucp> <83@cosmic.sns.UUCP>
Sender: news@nunki.usc.edu
Reply-To: connet@castor.usc.edu (David Connet)
Organization: University of Southern California, Los Angeles, CA
Lines: 9

In article <201.nlunix6@orcenl.uucp> bengsig@orcenl.uucp (Bjorn Engsig) writes:
>Is there any way to see if a terminal has not been used for some time,
>and if it hasn't, to send a hangup to the processes there?  We are looking

Another way, if you are using ksh, is to set the TMOUT variable.
After TMOUT seconds, a message is sent saying to the effect 'if you don't
do something in 60 seconds, I'm killing you...'

Dave Connet