[Glibc-bsd-commits] r6084 - trunk/glibc-ports-2.24/kfreebsd/bits
aurel32 at alioth.debian.org
aurel32 at alioth.debian.org
Fri Jul 8 07:38:33 UTC 2016
Author: aurel32
Date: 2016-07-08 07:38:33 +0000 (Fri, 08 Jul 2016)
New Revision: 6084
Modified:
trunk/glibc-ports-2.24/kfreebsd/bits/termios.h
Log:
Improve termios definitions
Modified: trunk/glibc-ports-2.24/kfreebsd/bits/termios.h
===================================================================
--- trunk/glibc-ports-2.24/kfreebsd/bits/termios.h 2016-07-06 21:19:11 UTC (rev 6083)
+++ trunk/glibc-ports-2.24/kfreebsd/bits/termios.h 2016-07-08 07:38:33 UTC (rev 6084)
@@ -115,13 +115,31 @@
#define OPOST (1 << 0) /* Perform output processing. */
#define ONLCR (1 << 1) /* Map NL to CR-NL on output. */
#if defined __USE_MISC || defined __USE_XOPEN
-# define TAB0 (0 << 2) /* no tab delay and expansion */
-# define TAB3 (1 << 2) /* expand tabs to spaces */
-# define TABDLY TAB3 /* tab delay mask */
-# define OXTABS TAB3
-# define XTABS TAB3
+# define NLDLY 0x00000300 /* \n delay */
+# define NL0 0x00000000
+# define NL1 0x00000100 /* tty 37 */
+# define NL2 0x00000200 /* vt05 */
+# define NL3 0x00000300
+# define TABDLY 0x00000c00 /* horizontal tab delay */
+# define TAB0 0x00000000
+# define TAB1 0x00000400 /* tty 37 */
+# define TAB2 0x00000800
+# define CRDLY 0x00003000 /* \r delay */
+# define CR0 0x00000000
+# define CR1 0x00001000 /* tn 300 */
+# define CR2 0x00002000 /* tty 37 */
+# define CR3 0x00003000 /* concept 100 */
+# define BSDLY 0x00008000 /* \b delay */
+# define BS0 0x00000000
+# define BS1 0x00008000
#endif
+#define VTDLY 0x00004000 /* vertical tab delay */
+#define FF0 0x00000000
+#define FF1 0x00004000 /* tty 37 */
#ifdef __USE_MISC
+# define XTABS 0x00000c00 /* expand tabs on output */
+#endif
+#ifdef __USE_MISC
# define ONOEOT (1 << 3) /* Discard EOT (^D) on output. */
#endif
#define OCRNL (1 << 4) /* map CR to NL on output */
More information about the Glibc-bsd-commits
mailing list