NetBSD Problem Report #3434

Received: (qmail-queue invoked from smtpd); 1 Apr 1997 20:22:38 -0000
Message-Id: <199704012021.PAA19713@amaterasu.sandelman.ottawa.on.ca>
Date: Tue, 1 Apr 1997 15:21:19 -0500 (EST)
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Reply-To: mcr@sandelman.ottawa.on.ca
To: gnats-bugs@gnats.netbsd.org
Subject: OCRNL not defined in termios.h
X-Send-Pr-Version: 3.95

>Number:         3434
>Category:       standards
>Synopsis:       OCRNL not defined in termios.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 01 12:35:01 +0000 1997
>Closed-Date:    Wed Apr 02 03:31:00 +0000 1997
>Last-Modified:  Wed Apr 02 03:32:32 +0000 1997
>Originator:     Michael Richardson
>Release:        NetBSD-current April 1, 1997
>Organization:
Sandelman Software Works
>Environment:
System: NetBSD amaterasu 1.2B NetBSD 1.2B (AMATERASU) #12: Sun Nov 24 01:42:02 EST 1996 mcr@amaterasu:/w/netbsd/src/sys/arch/sun3/compile/AMATERASU sun3
Architecture: sun3

>Description:
	some utilities assume that OCRNL option is available in termios.h
	I don't know if this is POSIX or not, this this patch makes 
	compiling them just work.
>How-To-Repeat:
	compile GNU texinfo 3.9
>Fix:
*** /usr/include/termios.h      Wed Apr 10 07:38:17 1996
--- /w/netbsd/src/sys/sys/termios.h     Tue Apr  1 15:16:14 1997
***************
*** 112,117 ****
--- 112,118 ----
  #define ONLCR         0x00000002      /* map NL to CR-NL (ala CRMOD) */
  #define OXTABS                0x00000004      /* expand tabs to spaces */
  #define ONOEOT                0x00000008      /* discard EOT's (^D) on output) */
+ #define OCRNL           0x00000000      /* not available */
  #endif  /*_POSIX_SOURCE */

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kleink 
State-Changed-When: Tue Apr 1 19:31:00 PST 1997 
State-Changed-Why:  
Fixed. Thanks for pointing this out ! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.