[Top][All Lists]

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

terminfo 256 colors scheme patch

From: Alain Bench
Subject: terminfo 256 colors scheme patch
Date: Mon, 19 Jun 2006 14:13:30 +0200 (CEST)
User-agent: Mutt/1.4i-ja.1


    Latest 2006/05/06 terminfo. The xterm-256color and xterm-88color
entries have setb and setf sequences from 8 colors scheme, incompatible
with colors #8 to #255. This could be solved by setb@ and setf@ removal,
or insertion of 256-aware sequences into xterm+256color building block.

    The attached patch adds such set[bf] capabilities, able to do 256
colors, and doing the usual blue/red and yellow/cyan inversions for the
first 16 colors. Does it make any sense?

    Also all 4 seta?[bf] caps send the shorter sequences for the first
16 colors. Works OK on PuTTY and GNU Screen; I hope it doesn't break on
Gnome, Rxvt, nor any future block use=ers.

    While at it, the patch also removes a duplicate comment, a typo, and
notes appearance date of xterm+256color building block in old changelog.
No self changelog note, of course.

    BTW an unrelated question: GNU Screen doesn't manage the <BackTab>
key (but may pass-thru the key sent by the underlying terminal). Why
does the "screen" entry have kcbt=\E[Z ?

Bye!    Alain.
Give your computer's unused idle processor cycles to a scientific goal:
The address@hidden project at <URL:http://folding.stanford.edu/>.

Attachment: 256color.patch.gz
Description: application/gunzip

reply via email to

[Prev in Thread] Current Thread [Next in Thread]