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

  1. Path: sparky!uunet!gossip.pyramid.com!pyramid!unify!caa
  2. From: caa@Unify.Com (Chris A. Anderson)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Detach command.
  5. Message-ID: <suvaqiz@Unify.Com>
  6. Date: 11 Jan 93 17:14:34 GMT
  7. References: <1ii3r8INNfea@iskut.ucs.ubc.ca> <1993Jan7.230727.1343@njitgw.njit.edu> <1993Jan08.075225.9277@kub.nl>
  8. Sender: news@unify.com
  9. Reply-To: caa@unify.com (Chris Anderson)
  10. Followup-To: comp.os.os2.misc
  11. Organization: Unify Corporation, Sacramento, California
  12. Lines: 28
  13.  
  14. In article <1993Jan08.075225.9277@kub.nl> hoppie@kub.nl (Jeroen Hoppenbrouwers) writes:
  15. > Eh? I always thought that being able to push a running UNIX process in the background
  16. > with Ctrl-Z and call it back later with FG, together with the BG and JOBS commands,
  17. > were UNIX *shell* commands, and thus implemented by the shell, not by the UNIX
  18. > kernel?!? If I'm wrong, please tell me.
  19.  
  20. There's two fundamental things going on here.  Unix stops a process from
  21. executing by sending it a SIGSTOP and starts it up again by issuing a 
  22. SIGCONT -- that has to be implemented in the kernel.  The fg/bg just 
  23. removes the controlling terminal.  So, you need to have the ability to
  24. stop and continue a process built into the kernel for the job-control
  25. commands that csh has to work.
  26.  
  27. > In this case, just get an OS/2 port of a csh of some kind that has job control built-in.
  28. > I know that OS/2 has more types of sessions than UNIX, but without job control in the
  29. > shell, it wouldn't work anyway. If you just run OS/2 text mode aps, I can imagine the
  30. > shell arbitrating console access easily. And running other (PM) jobs from a shell
  31. > does not need BG/FG switching -- being an PM app.
  32.  
  33. Well, you'd need a different concept of signals, the idea of a pty, and
  34. no classification of processes under OS/2.  That would change OS/2
  35. completely.
  36.  
  37. Chris
  38. -- 
  39. +------------------------------------------------------------+
  40. |  Chris Anderson, Unify Corp.                caa@unify.com  |
  41. +------------------------------------------------------------+
  42.