Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site cbnap.UUCP
Path: utzoo!linus!philabs!prls!amdimage!amdcad!amd!vecpyr!lll-crg!gymble!umcp-cs!seismo!harvard!talcott!panda!genrad!decvax!harpo!whuxlm!whuxl!houxm!ihnp4!cbosgd!cbdkc1!cbnap!whp
From: whp@cbnap.UUCP (W. H. Pollock x4575 3S235)
Newsgroups: net.sources
Subject: Re: Re: Automatic Logout Process
Message-ID: <38@cbnap.UUCP>
Date: Wed, 14-Aug-85 09:42:56 EDT
Article-I.D.: cbnap.38
Posted: Wed Aug 14 09:42:56 1985
Date-Received: Tue, 20-Aug-85 02:28:46 EDT
References: <6@andromeda.UUCP> <264@sesame.UUCP> <958@rayssd.UUCP> <165@laidbak.UUCP>
Reply-To: whp@cbnap.UUCP (W. H. Pollock x4575 3S235)
Organization: AT&T Bell Laboratories, Columbus
Lines: 21


	...
>>The simplest thing that can be done is to add an enforced timeout
>>mechanism to the shells.  Obviously this is only possible if you
>>have a source license.  The changes are fairly simple and have
>>been done by several people that I know of (myself included).
>
>Please don't change the shells!
>It's NOT worth it.
>
You must be using csh or some non standard shell, because the Bourne shell
(and the Korn shell too) already have a timeout mechanism!  I'm using a
SVR2.0V1 unix (new AT&T UNIX naming convention: System V Release 2.0 Version 1),
but I'm sure the changes were in previous releases of unix too.  If you
have the source for shell, look for a file "timeout.h" where you can set the
default expiration time (or set to zero if you don't want any time out).
Upon invocation, sh checks to see if the environment variable "TMOUT" is set;
if so, this over-rides the default defined in timeout.h.  On some shells
I've used, the variable was called "TIMEOUT".

Wayne Pollock,	{ihnp4}!cbnap!whp