From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26923 invoked from network); 17 Jun 1999 22:09:44 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Jun 1999 22:09:44 -0000 Received: (qmail 20804 invoked by alias); 17 Jun 1999 22:09:13 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2398 Received: (qmail 20797 invoked from network); 17 Jun 1999 22:09:12 -0000 Date: Thu, 17 Jun 1999 17:07:51 -0500 From: "Larry P. Schrof" To: Jonas Bofjall Cc: zsh users list Subject: Re: Autologout? Message-ID: <19990617170751.A13567@lyric.cig.mot.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from Jonas Bofjall on Thu, Jun 17, 1999 at 10:52:17PM +0200 Use the TMOUT parameter to set your idle time, and use the trap builtin to catch the SIGALRM that's generated when the idle time is exceeded. 'man zshparam' and 'man zshbuiltins' for details. Hope this helps. - Larry On Thu, Jun 17, 1999 at 10:52:17PM +0200, Jonas Bofjall wrote: > Can zsh automatically log me out when I've been sitting idle too long at the > shell prompt (which is what I do most of the times I forget terminals logged > in)? Searched the FAQ and manpage but found nothing.