Subject: lib/3243: man 4 termios states MIN/TIME instead of VMIN/VTIME
To: None <gnats-bugs@gnats.netbsd.org>
From: None <david@mono.org>
List: netbsd-bugs
Date: 02/21/1997 12:58:15
>Number: 3243
>Category: lib
>Synopsis: man 4 termios states MIN/TIME instead of VMIN/VTIME
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 21 04:50:01 1997
>Last-Modified:
>Originator: David Brownlee
>Organization:
Monochrome <a href="http://www.mono.org/">Monochrome</a>
>Release: 1.2
>Environment:
System: NetBSD alpha.mhm-internet.com 1.2 NetBSD 1.2 (_ALPHA_) #1: Thu Sep 19 16:09:55 BST 1996 root@:/usr/src/sys/arch/i386/compile/_ALPHA_ i386
>Description:
Under 'Noncanonical Mode Input Processing' man 4 termios refers
to 'values of the MIN and TIME members of the c_cc array'.
This is a neat trick as MIN & TIME do not exist - they should be
VMIN & VTIME.
All other entries in the c_cc array are special characters where
index_name == special character prefixed by V.
VMIN & VTIME are different - there is no corresponding MIN & TIME
'character'. Even if there were the above refers to the 'members
of the c_cc array' which would mean the Vxxx form.
>How-To-Repeat:
Try to code without thinking through that MIN and TIME are pretty
lousy names to give #defines in a system include :)
>Fix:
s/([^V])(MIN|TIME)/\1V\2/g the man page.
>Audit-Trail:
>Unformatted: