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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJKGnlQAAoJEJL+/bfkTDL5DNoP/0aG6BUahQF2M9rWsNps48O6
kV13cSo4XG6Qi7vwZgc4ow+KCAINSWvIp9na7EXTCp9zhK6bUiUsABhNSQAEaefq
fewtQnJOAyfYsaLXE+copLb8JxDDrwfn3Jm4M1stkLXMqu8kz3iRLO2HVDsMuZye
HhdX/mMTtlcqJ6LoiSG/n8zon3ZvGwmf7iwYHsWkU7Yw+qVDNheCPIJt8DVjv1zZ
I8ltEpCrVW3OybiuXfFcvm4H0ileJsG2eU7cFj4sGDWXdWLuSfcA4a/4cYZ/XVly
mT0VeuipuVpL/lyJ+l3orqU9yS7Y1P1UtZOh2yqZ7/HVAylyj9Enb96KD7VN9NC+
rwhagBYYib79O9Uu5I0gCdHP19hoeoSbIEkPctZD4IdWrqV96Et4DuCtQQBxbxr5
OWH8YAWul1UTmru9FrStMmY8hSOV2qHocODXE2n80BcnbgmKpKlR3+22uAgmFUwm
tYUTK2UVquA49V9gJYjRIucaP63m2bHdQCAxD4rdmN7cWXsIVZtQkSy7LUlKtO0j
LSbup7rQVMsSnS0A5yj7B5D+Iv4K08CmJG6iO6FVPAp3n3VdKX/K8LQOc4lAkCAb
ZmxfRNhy6F2iiUAEj75aZH3LCnTRQcRSw9V4VyoY0WEb/C0etXLUDeUMet4g6aW0
C2tbAuEF67x6By0G/13c
=BKCV
-----END PGP SIGNATURE-----



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