Subject: Re: pty and baud rate?
To: None <firstname.lastname@example.org>
From: Jukka Marin <email@example.com>
Date: 07/21/2000 10:23:42
On Fri, Jul 21, 2000 at 03:30:08PM +0900, ITOH Yasufumi wrote:
> > 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.
Hmm yeah, sounds good. :-) Need to give it a try.
Now, if the daemon could create a set of its pseudo-terminals with well-
known names, I'd be happy as a .. a.. programmer who has found he doesn't
need to write a kernel driver for what he's doing ;-)