🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David Campbell Tue, 12 Jan 1993 02:15
Why does bash log out?
#983
Author: 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.                         |
  +--------------------------------------------------------------------------+
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads