From owner-cvs-src-old@FreeBSD.ORG Fri Nov 5 00:56:36 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E37D01065675 for ; Fri, 5 Nov 2010 00:56:36 +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 D0BA68FC1C for ; Fri, 5 Nov 2010 00:56:36 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oA50ua0A053481 for ; Fri, 5 Nov 2010 00:56:36 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oA50uaNZ053480 for cvs-src-old@freebsd.org; Fri, 5 Nov 2010 00:56:36 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <201011050056.oA50uaNZ053480@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Fri, 5 Nov 2010 00:56:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/teken sequences teken_subr_compat.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 00:56:37 -0000 ed 2010-11-05 00:56:21 UTC FreeBSD src repository Modified files: sys/teken sequences teken_subr_compat.h Log: SVN rev 214817 on 2010-11-05 00:56:21Z by ed Partially implement the mysterious cons25 \e[x escape sequence. It seems the terminfo library on some systems (OS X, Linux) may emit the sequence \e[x to reset to default attributes. Apart from using the zero-command, this escape sequence allows many more operations, such as setting ANSI colors. I don't see this used anywhere, so this should be sufficient for now. This deficiency was spotted by the Debian GNU/kFreeBSD. They have their own patch, which is slightly flawed in my opinion. I don't know why they never reported this issue to us. MFC after: 1 week Revision Changes Path 1.4 +1 -0 src/sys/teken/sequences 1.5 +14 -0 src/sys/teken/teken_subr_compat.h