Re: VMS-style Virtual Terminals.

Oliver Xymoron (oxymoron@waste.org)
Thu, 29 May 1997 15:20:10 -0500 (CDT)


On 29 May 1997 TIGRANA@DSTIUK.CCMAIL.CompuServe.COM wrote:

> I have got a question for kernel and tty line discipline gurus.
> I have a PC that telnets to a Linux (or any other UNIX) machine and runs an
> application. It is very critical to be able to resume the session even if PC is
> rebooted or the telnet socket on the client side is closed for ANY reason.
> Usually, this would cause the session to be closed and if the process ignores
> SIGHUP then it will "hang in the air" with no means of resuming it.
> I need something that would allow (in a way portable to other UNIXes but even
> Linux-specific ideas would be VERY APPRECIATED):
>
> a) prevent losing ctty for the process.
> b) allow to reconnect to the old session later similar to the way VMS allows to
> attach to interactive session on next login.

This can be done in user space - try GNU's 'screen'.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.."