Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: automatically issue `exit' or <cntrl-D> on idle -> TMOUT
- X-seq: zsh-users 14173
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: automatically issue `exit' or <cntrl-D> on idle -> TMOUT
- Date: Mon, 25 May 2009 16:13:03 +0200
- In-reply-to: <20090525105616.GA21837@xxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20090525072808.GA10190@xxxxxxxxxxxxx> <20090525084004.GB7762@xxxxxxxxxxxx> <20090525095059.GA13211@xxxxxxxxxxxxx> <20090525105616.GA21837@xxxxxxxxxxxx>
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