Yes. Bravo. I graciously defer to this more modern method.
Miquel van Smoorenburg wrote:
> In article <[EMAIL PROTECTED]>,
> Jens B. Jorgensen <[EMAIL PROTECTED]> wrote:
> >First open /dev/tty. Then do an TIOCNOTTY ioctl on the file. This will make
> >it so your
> >process no longer has a contro
In article <[EMAIL PROTECTED]>,
Jens B. Jorgensen <[EMAIL PROTECTED]> 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 thin
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. It
will become your controlling terminal (unless you specify otherwise, note the
flag to
open(2):
O_NOCTTY
Hello. I'm experimenting with pseudo-terminals, and I cannot find out how,
after
getting a pseudo-terminal how I can make it the controlling terminal (i.e.
"/dev/tty")
of a newly-spawned process.
Can anyone help me out?
TIA
-- Harmon
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a sub
4 matches
Mail list logo