Subject: kern/213: Mistakes in pcvt_hdr.h and pcvt.4
To: None <gnats-admin>
From: Mark Weaver <mhw@cs.brown.edu>
List: netbsd-bugs
Date: 04/07/1994 09:20:03
>Number:         213
>Category:       kern
>Synopsis:       Mistakes in pcvt_hdr.h and pcvt.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Kernel Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   mhw
>Arrival-Date:   Thu Apr  7 09:20:02 1994
>Originator:     Mark Weaver
>Organization:
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science
>Release:        current-940407
>Environment:

System: NetBSD cis-ts3-slip5.cis.brown.edu 0.9a EXCELSIOR#1 i386

>Description:
	Some of the PCVT option defaults are inconsistent with the
	corresponding comments and man-page descriptions.  Also, two
	lines of a comment got unintentionally swapped.

>How-To-Repeat:
	N/A

>Fix:
diff -c  src/sys/arch/i386/isa/pcvt/Doc/pcvt.4.mhw1 src/sys/arch/i386/isa/pcvt/Doc/pcvt.4
*** src/sys/arch/i386/isa/pcvt/Doc/pcvt.4.mhw1	Mon Mar 28 21:41:07 1994
--- src/sys/arch/i386/isa/pcvt/Doc/pcvt.4	Thu Apr  7 12:00:53 1994
***************
*** 280,286 ****
  .Xr scon 1
  utility.
  .br
! Default: on
  
  .It Em PCVT_EMU_MOUSE
  Emulate a three-button mouse via the keypad. Useful for notebooks when
--- 280,286 ----
  .Xr scon 1
  utility.
  .br
! Default: off
  
  .It Em PCVT_EMU_MOUSE
  Emulate a three-button mouse via the keypad. Useful for notebooks when
diff -c  src/sys/arch/i386/isa/pcvt/pcvt_hdr.h.mhw1 src/sys/arch/i386/isa/pcvt/pcvt_hdr.h
*** src/sys/arch/i386/isa/pcvt/pcvt_hdr.h.mhw1	Thu Apr  7 06:49:58 1994
--- src/sys/arch/i386/isa/pcvt/pcvt_hdr.h	Thu Apr  7 11:59:31 1994
***************
*** 236,242 ****
  				/* in the boot code to prevent single   */
  				/* user startup ....                    */
  
! #if !defined PCVT_24LINESDEF	/* ---------- DEFAULT: ON ------------- */
  # define PCVT_24LINESDEF 0	/* use 24 lines in VT 25 lines mode and	*/
  #elif PCVT_24LINESDEF != 0	/* HP 28 lines mode by default to have	*/
  #undef PCVT_24LINESDEF		/* the the better compatibility to the	*/
--- 236,242 ----
  				/* in the boot code to prevent single   */
  				/* user startup ....                    */
  
! #if !defined PCVT_24LINESDEF	/* ---------- DEFAULT: OFF ------------ */
  # define PCVT_24LINESDEF 0	/* use 24 lines in VT 25 lines mode and	*/
  #elif PCVT_24LINESDEF != 0	/* HP 28 lines mode by default to have	*/
  #undef PCVT_24LINESDEF		/* the the better compatibility to the	*/
***************
*** 307,316 ****
  				/* has to be in the driver or has to    */
  				/* move as a ioctl call to scon ....	*/
  				
! #if !defined PCVT_NULLCHARS	/* ---------- DEFAULT: OFF ------------ */
  # define PCVT_NULLCHARS 1	/* allow the keyboard to send null 	*/
! #elif PCVT_NULLCHARS != 0	/* program. this has the side effect,	*/
! # undef PCVT_NULLCHARS		/* (0x00) characters to the calling	*/
  # define PCVT_NULLCHARS 1	/* that every undefined key also sends	*/
  #endif				/* out nulls. take it as experimental	*/
  				/* code, this behaviour will change in	*/
--- 307,316 ----
  				/* has to be in the driver or has to    */
  				/* move as a ioctl call to scon ....	*/
  				
! #if !defined PCVT_NULLCHARS	/* ---------- DEFAULT: ON ------------- */
  # define PCVT_NULLCHARS 1	/* allow the keyboard to send null 	*/
! #elif PCVT_NULLCHARS != 0	/* (0x00) characters to the calling	*/
! # undef PCVT_NULLCHARS		/* program. this has the side effect,	*/
  # define PCVT_NULLCHARS 1	/* that every undefined key also sends	*/
  #endif				/* out nulls. take it as experimental	*/
  				/* code, this behaviour will change in	*/
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------