Subject: lack of OCRNL in termios
To: None <current-users@NetBSD.ORG>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: current-users
Date: 04/01/1997 15:22:30
-----BEGIN PGP SIGNED MESSAGE-----
Is this lack unintentional, or is use of the OCRNL flag with
termio*s* wrong? (Not posix)
I'm trying to build GNU texinfo.
I would propose:
*** /usr/include/termios.h Wed Apr 10 07:38:17 1996
- --- /usr/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 */
The usage in texinfo-3.9/info/terminal.c is to want to turn that
option off.
What do you think?
:!mcr!: | Network security consulting and
Michael Richardson | contract programming
WWW: mcr@sandelman.ottawa.on.ca. PGP key available.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
iQB1AwUBM0FuNKZpLyXYhL+BAQFt3QL/WrckHA1ScGrLW43Rp7ZHkeTVy7G9QHqe
8ckFNzz7bgH6Hm/FyuPJiw6edR98xVSjOh0oN21dIVoq803PF4h0OtDak6xGIY8O
QFULLBv+RiunMsdVM5sH2X+DI4M0F27h
=9t+/
-----END PGP SIGNATURE-----