home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: tmb@ai.mit.edu (Thomas M. Breuel)
-
- henry@zoo.toronto.edu writes:
-
- 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.
-
- It is far from obvious to me that this is the "right" thing to do.
- Several systems, including ITS, have tried to keep track of the state
- of the screen and keyboard at a system level, and I personally have
- always disliked the result. It means that the system (either a
- standardized library, or, more likely, the kernel), need to know much
- more about terminals than they ought to. The result is usually that such
- systems enforce suboptimal interfacing between programs and the
- terminal.
-
- I think it is not unreasonable to expect of screen oriented programs
- to be able to redraw the screen when they get brought into the
- foreground. This is completely analogous to window based programs having
- to redraw their windows when they get exposed.
-
- Thomas.
-
- [ I, personally, would love to see this discussion continue. But it
- is no longer relevent to this group, so I put in a Followup.
- Thank you for your support -- mod ]
-
- Volume-Number: Volume 24, Number 65
-
-