🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1285

Re: Exiting a program logs me out!

#1285
From: Paul Chamberlain
Date: Mon, 26 Nov 1990 15:30
11 lines
1069 bytes
In article <4366@lib.tmc.edu> jmaynard@thesis1.hsch.utexas.edu (Jay Maynard) writes:
>When I run the program, though, it runs fine until I exit. It then gives me a
>shell prompt - and then logs me off.

This is what happens when a program exits and leaves your "stty" hosed.
If you turn off icanon and have vmin/vtim set in a particular way, the
shell's read will timeout with 0 chars read -- the standard indication
of EOF.

Paul Chamberlain | I do NOT represent IBM.     tif@doorstop, sc30661 at ausvm6
512/838-7008     | ...!cs.utexas.edu!ibmchs!auschs!doorstop.austin.ibm.com!tif
Technical Details
Message-ID: <4323@awdprime.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!doorstop.austin.ibm.com!tif
References: <4366@lib.tmc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!doorstop.austin.ibm.com!tif
From: tif@doorstop.austin.ibm.com (Paul Chamberlain)
Newsgroups: comp.unix.programmer
Subject: Re: Exiting a program logs me out!
Message-ID: <4323@awdprime.UUCP>
Date: 26 Nov 90 15:30:45 GMT
References: <4366@lib.tmc.edu>
Sender: news@awdprime.UUCP
Reply-To: tif@doorstop.austin.ibm.com (Paul Chamberlain)
Organization: IBM AWD, Austin, TX
Lines: 11