Subject: Re: pty and baud rate?
To: None <tech-kern@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: tech-kern
Date: 07/24/2000 08:29:38
In article <20000721165950.A2746@pyy.jmp.fi>
jmarin@pyy.jmp.fi writes:
> I wrote a small test program and I can read data off the master end of the
> pty, but I get no notification when the slave changes port speed or other
> parameters. I guess I must be doing something wrong, but I don't know
By a look at sys/kern/tty_pty.c, the EXTPROC termios flag seems to be
required. Try
stty -f /dev/ttyqf extproc
Yeah, the user can drop the flag....
The master side should probably re-enaable the flag
when it detects that the flag was dropped.
--
ITOH, Yasufumi