Tech Insider					     Technology and Trends


		   Linux Activists Mailing List Archives

Subject: Possible bug in termios.h?
From: "LCDR Michael E. Dobson" <rdc30@nmrdc1.nmrdc.nnmc.navy.mil>
To: linux-activists@joker.cs.hut.fi (Linix Mailing LIst)
Date: Fri, 6 Dec 91 10:15:10 EST

While working on a port of UUCP, I came across what may be a bug in the
<termios.h> file.  The values PARENB and PARODD where coming up undefined
even though termios.h had been included.  Checking the source against POSIX
1003.1-1988 we find:

Linux                     1003.1

c_cflag field             c_cflag field
CPARENB                   PARENB
CPARODD                   PARODD

It seems that we should be using the mask name symbols PARENB and PARODD to
be compliant with section 7.1.2.4 of 1003.1

Any comments from the group?

PS: before flamming me for working on UUCP, I know we don't have
login/getty/uugetty nor do we have getlogin()/cuserid(), ttyname(),
cget*(), or cfset*().  Stay tuned!
-- 
Mike Dobson, Sys Admin for      | Internet: rdc30@nmrdc1.nmrdc.nnmc.navy.mil
nmrdc1.nmrdc.nnmc.navy.mil      | UUCP:   ...uunet!mimsy!nmrdc1!rdc30
AT&T 3B2/600G Sys V R 3.2.2     | BITNET:   dobson@usuhsb or nrd0mxd@vmnmdsc
WIN/TCP for 3B2                 | MCI-Mail: 377-2719 or 0003772719@mcimail.com

			      USENET Archives


The materials and information included in this website may only be used
for purposes such as criticism, review, private study, scholarship, or 
research.


Electronic mail:			       WorldWideWeb:
   tech-insider@outlook.com			  http://tech-insider.org/