Date: Wed, 13 Aug 2008 08:54:08 GMT From: Ed Schouten <ed@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 147283 for review Message-ID: <200808130854.m7D8s84V003836@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=147283 Change 147283 by ed@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808130854.m7D8s84V003836>