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 <firstname.lastname@example.org> 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,
> email@example.com | eventually eliminating it.
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
Jens B. Jorgensen
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com