home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / bash / bug / 721 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.1 KB  |  49 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!mizar.csis.dit.csiro.au!dave
  3. From: dave@mizar.csis.dit.csiro.au (David Campbell)
  4. Subject: Why does bash log out?
  5. Message-ID: <1993Jan12.021503.5545@csis.dit.csiro.au>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: CSIRO Division of Information Technology
  8. Distribution: gnu
  9. Date: Tue, 12 Jan 1993 02:15:03 GMT
  10. Approved: bug-bash@prep.ai.mit.edu
  11. Lines: 36
  12.  
  13. Can somebody please explain to me why under certain conditions, the
  14. parent shell of certain applications somehow gets the idea that it
  15. must log out when suspended?  Is this a bug in bash?
  16. In the example below, I remote login to a machine and start an X-server
  17. on it, but when I suspend xinit, bash somehow gets the idea that it must
  18. log out.  I press CTRL-Z and bang - I'm logged out.
  19.  
  20. Example:
  21.  
  22. [mizar:/users/sdss/dave] rsh alcor
  23. Last login: Tue Jan 12 12:48:17 from mizar
  24. SunOS Release 4.1.2 (CSIS.SYBASE.SERVER) #2: Fri Aug 7 11:39:05 EST 1992
  25. You have mail.
  26. [alcor:/users/sdss/dave] /usr/local/bin/X11/xinit
  27.  
  28. ^Z
  29. [1]+  Stopped                 /usr/local/bin/X11/xinit
  30. [alcor:/users/sdss/dave] logout            [ I did not type this ]
  31. There are stopped jobs.
  32. [alcor:/users/sdss/dave] logout            [ I did not type this ]
  33. Connection closed.
  34. [mizar:/users/sdss/dave]
  35.  
  36. -- 
  37.   +--------------------------------------------------+-----------------------+
  38.   | Dave Campbell                                    |            UNIX & C++ |
  39.   | Phone: + 61 6 275 0944      Fax: + 61 6 257 1052 |   _--_|\       PLEASE |
  40.   | CSIRO Division of Information Technology         |  /      \             |
  41.   | Centre for Spatial Information Systems           |  \_.--._/ <- Canberra |
  42.   | PO BOX 664                                       |        v              |
  43.   | CANBERRA ACT 2601       +------------------------+                       |
  44.   | AUSTRALIA               | dave@csis.dit.csiro.au |                       |
  45.   +-------------------------+------------------------+-----------------------+
  46.   |                       Get right.....or get left.                         |
  47.   +--------------------------------------------------------------------------+
  48.  
  49.