*BSD News Article 19935


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!sun4nl!relay.philips.nl!cnplss5.cnps.philips.nl!bashful.isp.cft.philips.nl!rooij
From: rooij@bashful.isp.cft.philips.nl (Guido van Rooij)
Subject: Re: sgtty stuff (NetBSD 0.8)
Message-ID: <1993Aug24.115107.29992@cnplss5.cnps.philips.nl>
Sender: news@cnplss5.cnps.philips.nl (USENET News System)
Organization: Philips Communications & Processing Services, Eindhoven
References: <CC8J0o.7o@cyb.fred.com>
Date: Tue, 24 Aug 1993 11:51:07 GMT
Lines: 25

loodvrij@cyb.fred.com (Bruce 'Loodvrij' Keeler) writes:

>I've been further working on the parity problem I moaned about a few weeks
>ago (getting the damn thing to use N81 instead of [EO]71).

>It certainly seems that there is a bug somewhere in the sgtty stuff.  It
>appears that whenever you do TIOCSETP it resets the parity to E71.  The
>following code illustrates the problem:

...program deleted..
>If you run this code on a terminal in N81 mode, it ends up set to E71.

It seems the NetBSD group applied Andrew Chernows patches a long time ago and
did not correct a bug in it. This *was* solved in the patchkit however.
But this is from head, and I'll have to check at home. I'll post
the fix when I am correct.

>If someone has already fixed this, could you send a patch?  Thanks.

>Bruce
>-- 
>Bruce J. Keeler (907) 337-8193              | "...and Bruce is in charge    |
>Internet: loodvrij@cyb.fred.com             |        of the sheep dip!"     |

-Guido