Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Autologout?
- X-seq: zsh-users 2398
- From: "Larry P. Schrof" <schrof@xxxxxxxxxxx>
- To: Jonas Bofjall <job@xxxxxx>
- Subject: Re: Autologout?
- Date: Thu, 17 Jun 1999 17:07:51 -0500
- Cc: zsh users list <zsh-users@xxxxxxxxxxxxxx>
- In-reply-to: <Pine.GSO.4.10.9906172244520.16444-100000@atle>; from Jonas Bofjall on Thu, Jun 17, 1999 at 10:52:17PM +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <Pine.GSO.4.10.9906172244520.16444-100000@atle>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author