Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: automatically issue `exit' or <cntrl-D> on idle -> TMOUT



Excellent - thank you.

-- 
- Eric Smith
Simon Ruderich said:
> On Mon, May 25, 2009 at 11:50:59AM +0200, Eric Smith wrote:
> > The man states "within the  specified  number  of  seconds
> > after issuing a prompt"
> >
> > In my case, idle time should not be measured only after a prompt
> > is issued but also after the prevcious comand.
> 
> What do you mean with previous command? After a command
> terminates a new prompt is issued and Zsh starts counting. If you
> type some text and stop without pressing enter TMOUT also kills
> the session.
> 
> > Also I do not want editing sessions or other applications running
> > on top of zsh to be closed, just bare  shells with a prompt.
> 
> This doesn't affect running programs, they are not stopped even
> if you are idle for longer than TMOUT. Only when you are at the
> shell and no programs are running. It looks like suspended
> programs are killed though.
> 
> > Thanks again.
> >
> > - Eric Smith
> 
> Simon
> -- 
> + privacy is necessary
> + using http://gnupg.org
> + public key id: 0x92FEFDB7E44C32F9



Messages sorted by: Reverse Date, Date, Thread, Author