Newsgroups: comp.protocols.tcp-ip
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Closing a Telnet session - exit or new Login:
Message-ID: <1990Jun29.203914.6218@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <691@sfc.Wichita.NCR.COM>
Date: Fri, 29 Jun 90 20:39:14 GMT

In article <691@sfc.Wichita.NCR.COM> chas@sfc.Wichita.NCR.COM (Charles Binford) writes:
>I login to a unix host from my PC with telnet, finish what I'm doing, 
>type ^d to logout, and then..... sometimes my session closes and
>I'm back to my DOS prompt OR sometimes I get the Unix Login: banner
>again.  WHY?  ...

It is up to the host whether it tries to hang up the line when a user
signs off.  Some don't.  Some do.  Some do, but only if no processes
remain on the line (i.e. if you started something in the background,
or news/mail/etc did so on your behalf, no hangup).  This could easily
depend on details of the telnet daemon, the pseudo-tty implementation,
and the login command, to name just three.
-- 
"Either NFS must be scrapped or NFS    | Henry Spencer at U of Toronto Zoology
must be changed."  -John K. Ousterhout |  henry@zoo.toronto.edu   utzoo!henry
