Subject: Re: pty and baud rate?
To: None <tech-kern@NetBSD.ORG>
From: ITOH Yasufumi <itohy@netbsd.org>
List: tech-kern
Date: 07/21/2000 15:30:08
In article <20000721085247.A2203@pyy.jmp.fi>
jmarin@pyy.jmp.fi writes:

> It seems I can set the speed for ttyp? with stty, but is it possible for
> the other end of the pseudo-terminal device to receive these ioctl calls
> and ask the remote box to change baud rates etc.?

I think pty "packet mode" is usable for this purpose.
See pty(4) and look at TIOCPKT ioctl.

I havn't use it, though. :)
-- 
ITOH, Yasufumi <itohy@netbsd.org>