Well, to be technical, there is a program for Unix to
do this called
`screen'. It's actually pretty nice in that it gives you 10 virtual
terminals, allowing you to switch between them (Ctrl-A <number>) and
cut-n-paste as well (defaults to using vi keybindings---use Unix enough
and you'll get used to it). You can also detach the session and
reconnect to it later (and the program will continue to run even if it
does TTY I/O).
Sorry, this doesn't make it at all... the original poster was talking
about the ability to detach a job from a controlling tty, but having
it continue running. And at a later time, from an entirely different
terminal, allowing the user to reattach that detached job to a new
controlling terminal - in fact, you are given the option of attaching
to the detached job when you log in, so you don't have to log into
a new session, then attach the job.
That's more a function of the shell than anything
else. I think there
is a Unix shell that will do that (or could be told to do that).
Granted, if you're in some other program it won't work.
actually, it was implemented at a lower level - the terminal input
interrupt service.
Megan Gentry
Former RT-11 Developer
+--------------------------------+-------------------------------------+
| Megan Gentry, EMT/B, PP-ASEL | Internet (work):
gentry!zk3.dec.com |
| Unix Support Engineering Group | (home):
mbg!world.std.com |
| Compaq Computer Corporation | addresses need '@' in place of '!' |
| 110 Spitbrook Rd. ZK03-2/T43 | URL:
http://world.std.com/~mbg/ |
| Nashua, NH 03062 | "pdp-11 programmer - some assembler |
| (603) 884 1055 | required." - mbg |
+--------------------------------+-------------------------------------+