Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Remove curses \E[m hack - fixed in setterm.c : 1.36.



details:   https://anonhg.NetBSD.org/src/rev/3c14dbc86871
branches:  trunk
changeset: 545294:3c14dbc86871
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Apr 06 10:12:20 2003 +0000

description:
Remove curses \E[m hack - fixed in setterm.c : 1.36.
Add curses hack mentioning colour swap when real fix is to enhance termcap.

diffstat:

 doc/HACKS |  25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diffs (43 lines):

diff -r 373489237538 -r 3c14dbc86871 doc/HACKS
--- a/doc/HACKS Sun Apr 06 10:11:54 2003 +0000
+++ b/doc/HACKS Sun Apr 06 10:12:20 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.2 2003/03/28 21:15:20 he Exp $
+# $NetBSD: HACKS,v 1.3 2003/04/06 10:12:20 jdc Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -27,17 +27,6 @@
 #
 # this is a comment.
 
-hack   specific knowledge of xterm escapes in curses code
-cdate  Wed, 11 Sep 2002 18:23:25 +0300
-who    jdc
-port   all
-file   lib/libcurses/setterm.c : 1.33
-descr
-       Recognise that "\E[m" will turn off all attributes for xterm-like
-       terminals.  Without this hack, we can't tell when turning off one
-       attribute affects another (which we check by comparing sequences).
-kcah
-
 hack   gcc 2.95/vax cannot handle __builtin_ffs()
 cdate  Fri Aug 23 21:31:15 CEST 2002
 who    ragge
@@ -328,3 +317,15 @@
        sufficient information to make that decision.
        Workaround uses `brw' instead of `brb' instruction.
 kcah
+
+hack   specific knowledge of colours in curses code
+cdate  Sun Apr  6 11:05:24 BST 2003
+who    jdc
+port   all
+file   lib/libcurses/color.c : r1.24
+descr
+       Swap red/blue and yellow/cyan colours for COLOR_OTHER.
+       Fix is to enhance libtermcap to understand terminfo-style % sequences.
+       See also:
+           http://mail-index.netbsd.org/tech-userlevel/2003/04/06/0000.html
+kcah



Home | Main Index | Thread Index | Old Index