Tech Insider					     Technology and Trends

		   Linux Activists Mailing List Archives

Subject: Possible bug in termios.h?
From: "LCDR Michael E. Dobson" <>
To: (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 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:      | 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

			      USENET Archives

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

Electronic mail:			       WorldWideWeb: