PERFORCE change 147283 for review

Ed Schouten ed at FreeBSD.org
Wed Aug 13 08:54:08 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=147283

Change 147283 by ed at ed_dull on 2008/08/13 08:53:25

	For conformance, also add TABDLY and TAB0. According to POSIX,
	the proper way to turn off tab expansion is to use TABDLY.

Affected files ...

.. //depot/projects/mpsafetty/sys/sys/termios.h#6 edit

Differences ...

==== //depot/projects/mpsafetty/sys/sys/termios.h#6 (text+ko) ====

@@ -108,7 +108,9 @@
 #define	OPOST		0x00000001	/* enable following output processing */
 #ifndef _POSIX_SOURCE
 #define ONLCR		0x00000002	/* map NL to CR-NL (ala CRMOD) */
-#define	TAB3		0x00000004	/* expand tabs to spaces */
+#define	TABDLY		0x00000004	/* tab delay mask */
+#define	    TAB0	    0x00000000	    /* no tab delay and expansion */
+#define	    TAB3	    0x00000004	    /* expand tabs to spaces */
 #ifndef _KERNEL
 #define	OXTABS		TAB3
 #endif /* !_KERNEL */


More information about the p4-projects mailing list