Date: Fri, 5 Nov 2010 00:56:21 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/teken sequences teken_subr_compat.h Message-ID: <201011050056.oA50uaNZ053480@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011050056.oA50uaNZ053480>
