From owner-cvs-all@FreeBSD.ORG Sat Aug 23 13:29:07 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DE2F106566B; Sat, 23 Aug 2008 13:29:07 +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 88CFC8FC13; Sat, 23 Aug 2008 13:29:07 +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 m7NDT7pY097681; Sat, 23 Aug 2008 13:29:07 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7NDT7aA097680; Sat, 23 Aug 2008 13:29:07 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200808231329.m7NDT7aA097680@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Sat, 23 Aug 2008 13:28:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/stty modes.c print.c stty.1 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2008 13:29:07 -0000 ed 2008-08-23 13:28:55 UTC FreeBSD src repository Modified files: bin/stty modes.c print.c stty.1 Log: SVN rev 182052 on 2008-08-23 13:28:55Z by ed Make stty(1) use tab0 and tab3 to handle tab completion. After the MPSAFE TTY import, we have support for the TAB0 and TAB3 flags to handle tab expansion, while we only used to support OXTABS. Switch stty(1) to use tab0 and tab3 to print whether tab expansion is turned on or off. Implement the oxtabs and tabs switches by setting the appropriate TABx value. Even though POSIX only lists this as being XSI, we'd better follow it. Revision Changes Path 1.14 +6 -4 src/bin/stty/modes.c 1.22 +8 -1 src/bin/stty/print.c 1.34 +9 -3 src/bin/stty/stty.1