From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 14:12:30 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2F561065670; Tue, 12 Aug 2008 14:12:30 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 554108FC2A; Tue, 12 Aug 2008 14:12:30 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id C6A79A068F; Tue, 12 Aug 2008 15:51:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id BA115A068E; Tue, 12 Aug 2008 15:51:43 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id A2C6CA0684; Tue, 12 Aug 2008 15:51:43 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008081215514276-21457 ; Tue, 12 Aug 2008 15:51:42 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Tue, 12 Aug 2008 15:51:42 +0200 From: "Alexey Shuvaev" Date: Tue, 12 Aug 2008 15:51:42 +0200 To: ed@freebsd.org Message-ID: <20080812135142.GA1033@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/12/2008 03:51:42 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/12/2008 03:51:43 PM, Serialize complete at 08/12/2008 03:51:43 PM Content-Type: multipart/mixed; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: POSIX compliant termios.h? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 14:12:30 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! I have just tried to unBROKEN cad/brlcad and noticed that FreeBSD termios.h is missing some POSIX mandatory flags. In this case, TAB3 output processing flag (expand TABs on output == OXTABS). Are there any plans to fix it in the base? Attached is the workaround patch for cad/brlcad. Should I push it into the ports (via PR, etc...) or it is better to wait a little for a fix in the base? Thanks, Alexey. --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-src-libtermio-termio.c" --- src/libtermio/termio.c.orig 2008-03-11 22:19:25.000000000 +0100 +++ src/libtermio/termio.c 2008-08-12 14:35:42.000000000 +0200 @@ -29,13 +29,10 @@ # include #endif -#if HAVE_SYS_IOCTL_COMPAT_H -# include -# define TAB3 (TAB1|TAB2) -# if !defined(OCRNL) -# define OCRNL 0000010 -# endif -#endif +/* + * XXX: Should FreeBSD have POSIX compliant flags (TAB3, for example)? + */ +#define TAB3 OXTABS /* --5mCyUwZo2JvN/JJP--