bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is termio broken......?


From: Ulrich Drepper
Subject: Re: Is termio broken......?
Date: 10 Jan 2001 09:12:17 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef)

"Hankinson, Jeremy" <address@hidden> writes:

> This code works on Intel Linux and other UNIX's i.e. Solaris, HP-UX
> etc. and more importantly OSF.

This does not mean anything to me.  The kernel people decided to
introduce this ugly hack, tell them to fix it.

> According to the defn of termio in asm/termios.h, when ICANON is
> 'on' (on Alpha Linux) VEOF and VEOL are mapped to 4 & 5 but when
> ICANON if off VMIN and VTIME should be 4 & 5 (for termio) for
> backwards compatibility.

Doh, I can read.  And you seem to not get it: there cannot be two
definitions for VMIN and VTIME.  There would have to be different
names for the use in termio which does not help you either.  So you
can just change your code.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]