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

Re: Timed out



In the last episode (Feb 23), Mark Koenen said:
> When I don't use my Z-shell on a remote computer for a while, I get
> disconnected (after about 15 minutes):
> 
> markko @ kunhp1>Read from remote host kunhp1.cogsci.kun.nl: Connection reset by peer
> Connection to kunhp1.cogsci.kun.nl closed.
> 
> In ~/.zshrc I have:
> 
>    TMOUT=0

That's not a zsh timeout logout.  You would have seen this if TMOUT was
the culprit:

  markko @ kunhp1>
  zsh: timeout
  Connection to kunhp1.cogsci.kun.nl closed.

You might want to try tracing the zsh process from another telnet
session (with truss/ktrace/trace/strace) and see exactly what happens
when the connection is dropped.

	-Dan



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