From owner-p4-projects@FreeBSD.ORG Wed Aug 13 08:54:08 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A42CD1065674; Wed, 13 Aug 2008 08:54:08 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66EF41065672 for ; Wed, 13 Aug 2008 08:54:08 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 500EE8FC24 for ; Wed, 13 Aug 2008 08:54:08 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7D8s8ow003838 for ; Wed, 13 Aug 2008 08:54:08 GMT (envelope-from ed@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7D8s84V003836 for perforce@freebsd.org; Wed, 13 Aug 2008 08:54:08 GMT (envelope-from ed@FreeBSD.org) Date: Wed, 13 Aug 2008 08:54:08 GMT Message-Id: <200808130854.m7D8s84V003836@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to ed@FreeBSD.org using -f From: Ed Schouten To: Perforce Change Reviews Cc: Subject: PERFORCE change 147283 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 08:54:08 -0000 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 */