home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
-
- In article <1991Jul24.193022.12044@uunet.uu.net> peter@ficc.ferranti.com (peter da silva) writes:
- >How about just leaving it out altogether?
- >Seriously... what is so compelling about job control that it *must* be
- >put into POSIX.[1]?
-
- Back in the days of the /usr/group standard, POSIX.1's predecessor, one of
- the things that Ian Darwin and I were happiest about was that we'd managed
- to persuade that committee that job control and all its competitors were
- grotesque and inadequate botches which should not be standardized. I still
- blame myself for getting preoccupied with other things and letting it get
- its slimy tentacles back into POSIX.1.
-
- Apart from the ability to suspend processes -- in itself a trivial facility
- that could be made fairly inoffensive -- what job control is about is
- multiplexing your terminal among multiple processes. Unfortunately it does
- the easiest part -- deciding where keystrokes go -- and punts all the
- hard parts, like saving and restoring the state of the tty and the screen,
- to the user processes. A proper implementation of such a facility would
- be completely invisible to user processes: no funny signals, no need to
- save and restore tty modes, no need to redraw the screen at random times.
- Just a virtual keyboard which is sometimes connected to the real one (and
- blocks you if you ask for input when it isn't) and a virtual screen which
- is sometimes visible on the real one (and might or might not block on output
- when it's not), with the system doing the multiplexing in the same way
- it multiplexes access to the disk, the processor, etc... and no impact on
- user programs at all.
-
- Ironically, job control was reasonable for POSIX.1 to consider precisely
- *because* it oozes its way into every program, and hence has to be thought
- about in any application-to-system interface. Hence the canonicalization
- of a wretched botch, while proper solutions were "outside the scope of .1"
- and hence were not even considered.
- --
- Lightweight protocols? TCP/IP *is* | Henry Spencer @ U of Toronto Zoology
- lightweight already; just look at OSI. | henry@zoo.toronto.edu utzoo!henry
-
-
- Volume-Number: Volume 24, Number 64
-
-