home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / misc / 41573 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  2.0 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!gatech!concert!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Detach command.
  5. Message-ID: <1993Jan7.230727.1343@njitgw.njit.edu>
  6. Date: 7 Jan 93 23:07:27 GMT
  7. References: <21062@ucdavis.ucdavis.edu> <19930107.115224.653@almaden.ibm.com> <1ii3r8INNfea@iskut.ucs.ubc.ca>
  8. Sender: news@njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Lines: 27
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. In article <1ii3r8INNfea@iskut.ucs.ubc.ca> unruh@physics.ubc.ca (William Unruh) writes:
  14. >He means, if you already have a program running , can you detach it from
  15. >the window, and later reattach it. In Unix if you have a program running
  16. >in you window from the command line, you can detach it fromn the winsow
  17. >by halting it ( with ctrl-Z) and then issuing a bg command to restart it
  18. >in the background. fg will take a backgrond task and reattach it to the
  19. >window. Obviously if the task does console IO you can't detach it and
  20. >have it keep running- In Unix it halts waiting for you to reattach it.
  21.  
  22. Unfortunately, OS/2 can't do this, and it would need a major
  23. restructuring to allow it.  Under Unix, a background process is
  24. exactly the same as a foreground process, except that it gets
  25. suspended if it tries to read from the tty.
  26.  
  27. Under OS/2, it's a different session type, and runs in a different
  28. operating environment.  Since most apps don't check to see if their
  29. environment has changed before each I/O operation, such an on-the-fly
  30. change would cause apps to crash in all but the simplest cases.  OS/2
  31. could be restructured to allow all this, but I don't think it's worth
  32. it when I can easilly start a minimized windowed session and bring
  33. that to the foreground when I want it.
  34.  
  35. -- 
  36.   |)  David Charlap          | .signature confiscated by FBI due to
  37.  /|_  dic5340@hertz.njit.edu | an ongoing investigation into the
  38. ((|,)                        | source of these .signature virusses
  39.  ~|~
  40.