On Sat, Feb 02, 2002 at 07:42:23PM -0500, Roland McGrath wrote: > > And do I update the termstate to match reality, eg do I go back and do a > > tiocgeta and (re)set the speeds? > > Yes, I think you should do that. Particular hardware or particular drivers > will support a certain subset of possible speeds, and it's reasonable for > them to either round your request to the closest one they support or ignore > a change they can't support. Then you want to report back to the user what > the underyling device is really doing.
I am still unsure (sorry) about one thing. We reset the speed, but what about the flags c_cflag. If we just pass them down, and they are not honored, what do we do? For example, the character size mask. In particular, for those bits in the flag in general, should or should we not reset them to what we get back from the underlying file? Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd