Subject: Re: COMPAT_LINUX: terminal emulation and signals
To: None <tech-kern@netbsd.org>
From: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
List: tech-kern
Date: 05/19/2001 08:39:35
Nobody is intersted by this one?

> Or maybe I should save c_ospeed and replace it by a non null value
> before calling TIOSETAW, and restore it afterwards?

Currently, I set c_ospeed to 9600 when a Linux process requests zero,
this saves me from the hangup, but this is not consistent since if the
Linux process re-read it, it will get 9600 instead of zero.

I think about using -1 instead of 9600, and translate back -1 into zero
if the Linux process reads it. Is there any issue about having a
c_ospeed of -1 in the kernel?

-- 
Emmanuel Dreyfus
p99dreyf@criens.u-psud.fr