Subject: Re: pty and baud rate?
To: None <tech-kern@netbsd.org>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: tech-kern
Date: 03/01/2001 12:08:47
On Thu, Mar 01, 2001 at 11:40:30AM +0200, Jukka Marin wrote:
> > stty -f /dev/ttyqf extproc
>
> This solves the problem - but how can I set the EXTPROC flag within my
> "server" program? If I use tcgetattr() and tcsetattr(), the flag is not
> set. I tried to set ECHOCTL at the same time and that flag _does_ get
> set, so I think my tcsetattr() call is OK (it returns no error).
It seems that this flag cannot be set using tcsetattr(), but with ioctl().
I didn't notice anything about this on the man pages, but I looked at the
stty sources. Problem solved.
I think a new NetBSD mailing list should be created: netbsd-null@netbsd.org.
This list would have no subscribers. Then I could e-mail this list when I
have a question - because I often seem to find the answer right after
sending a mail message. (Well, it might now work - maybe it works only
if the message is distributed to hundreds or thousands of innocent people
all around the world. We could try creating dummy users on 500 machines
and putting those users on the mailing list - maybe that would be enough.)
(The problem that has NOT been solved is why my laptop still has no sound
under 1.5R and why the APM stuff doesn't work while it worked under 1.4..)
-jm