zsh-users
 help / color / mirror / code / Atom feed
* Autologout?
@ 1999-06-17 20:52 Jonas Bofjall
  1999-06-17 22:07 ` Autologout? Larry P. Schrof
  0 siblings, 1 reply; 2+ messages in thread
From: Jonas Bofjall @ 1999-06-17 20:52 UTC (permalink / raw)
  To: zsh users list

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Autologout?
  1999-06-17 20:52 Autologout? Jonas Bofjall
@ 1999-06-17 22:07 ` Larry P. Schrof
  0 siblings, 0 replies; 2+ messages in thread
From: Larry P. Schrof @ 1999-06-17 22:07 UTC (permalink / raw)
  To: Jonas Bofjall; +Cc: zsh users list

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-17 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-17 20:52 Autologout? Jonas Bofjall
1999-06-17 22:07 ` Autologout? Larry P. Schrof

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).