Re: Forcing a process to have a new controlling terminal
Yes. Bravo. I graciously defer to this more modern method.
Miquel van Smoorenburg wrote:
> In article <3523F75F.940D511@bdsinc.com>,
> Jens B. Jorgensen <email@example.com> wrote:
> >First open /dev/tty. Then do an TIOCNOTTY ioctl on the file. This will make it so your
> >process no longer has a controling terminal. Then simply open a terminal-type device.
> Argh, that's the old BSD way of doing things... this will work better:
> ..... open new tty here ...
> Miquel van Smoorenburg | Our vision is to speed up time,
> firstname.lastname@example.org | eventually eliminating it.
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
Jens B. Jorgensen
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org