🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #983

Why does bash log out?

#983
From: David Campbell
Date: Tue, 12 Jan 1993 02:15
35 lines
2207 bytes
Can somebody please explain to me why under certain conditions, the
parent shell of certain applications somehow gets the idea that it
must log out when suspended?  Is this a bug in bash?
In the example below, I remote login to a machine and start an X-server
on it, but when I suspend xinit, bash somehow gets the idea that it must
log out.  I press CTRL-Z and bang - I'm logged out.

Example:

[mizar:/users/sdss/dave] rsh alcor
Last login: Tue Jan 12 12:48:17 from mizar
SunOS Release 4.1.2 (CSIS.SYBASE.SERVER) #2: Fri Aug 7 11:39:05 EST 1992
You have mail.
[alcor:/users/sdss/dave] /usr/local/bin/X11/xinit

^Z
[1]+  Stopped                 /usr/local/bin/X11/xinit
[alcor:/users/sdss/dave] logout            [ I did not type this ]
There are stopped jobs.
[alcor:/users/sdss/dave] logout            [ I did not type this ]
Connection closed.
[mizar:/users/sdss/dave]

-- 
  +--------------------------------------------------+-----------------------+
  | Dave Campbell                                    |            UNIX & C++ |
  | Phone: + 61 6 275 0944      Fax: + 61 6 257 1052 |   _--_|\       PLEASE |
  | CSIRO Division of Information Technology         |  /      \             |
  | Centre for Spatial Information Systems           |  \_.--._/ <- Canberra |
  | PO BOX 664                                       |        v              |
  | CANBERRA ACT 2601       +------------------------+                       |
  | AUSTRALIA               | dave@csis.dit.csiro.au |                       |
  +-------------------------+------------------------+-----------------------+
  |                       Get right.....or get left.                         |
  +--------------------------------------------------------------------------+
Technical Details
Message-ID: <1993Jan12.021503.5545@csis.dit.csiro.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mizar.csis.dit.csiro.au!dave

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mizar.csis.dit.csiro.au!dave
From: dave@mizar.csis.dit.csiro.au (David Campbell)
Subject: Why does bash log out?
Message-ID: <1993Jan12.021503.5545@csis.dit.csiro.au>
Sender: gnulists@ai.mit.edu
Organization: CSIRO Division of Information Technology
Distribution: gnu
Date: Tue, 12 Jan 1993 02:15:03 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 36