[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: screen-256color terminfo entry?
From: |
Alain Bench |
Subject: |
Re: screen-256color terminfo entry? |
Date: |
Fri, 19 May 2006 13:55:59 +0200 (CEST) |
User-agent: |
Mutt/1.4i-ja.1 |
Bonjour Stéphane,
On Tuesday, May 9, 2006 at 8:05:43 +0100, Stéphane Chazelas wrote:
> Here is what I have. This is screen entry with some xterm specific
> keys and features added (note that the name "screen.xterm-256color" is
> too big for some curses implementations).
And given it provides 256 colors in Screen, the entry should
probably be named yet longer "screen-256color.xterm-256color"... :-)
> Also, the color pair should be 65536, but some applications bug if you
> put something above 256 (typically debian "aptitude" and terminfo
> doesn't support anything above 32767 (uses signed shorts)).:
Each and every official 256 colors terminfo entry has "pairs#32767".
Namely xterm-, rxvt-, putty-, and gnome-256color. Does it really bug?
> screen.xterm-256color|VT 100/ANSI X3.64 virtual terminal,
"GNU Screen inside Xterm with 256 colors"?
>| ccc,
>|
>initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
>
Unfortunately customizing color palette doesn't work: This escape
sequence is filtred by Screen and never reaches Xterm. "tput initc 4
1000 200 600" doesn't change blue to rose. You should either remove
ccc/initc, or find a way to open a hole in Screen's barrier.
For screen.putty entry I've just done the later, enclosing the
needed sequence in between \EP and \E\\, and it works like a charm. But
for Xterm there is a problem with \E\\: I don't know how to send ESC \
to the underlying terminal, or if \007 would do it.
Bye! Alain.
--
Give your computer's unused idle processor cycles to a scientific goal:
The address@hidden project at <URL:http://folding.stanford.edu/>.
- Re: screen-256color terminfo entry?, (continued)
- Re: screen-256color terminfo entry?, Stephane Chazelas, 2006/05/12
- Re: screen-256color terminfo entry?, cga2000, 2006/05/13
- Re: screen-256color terminfo entry?, Stephane Chazelas, 2006/05/14
- Re: screen-256color terminfo entry?, cga2000, 2006/05/15
- Re: screen-256color terminfo entry?, Stephane Chazelas, 2006/05/16
- Re: screen-256color terminfo entry?, cga2000, 2006/05/16
- Re: screen-256color terminfo entry?, Nikolai Weibull, 2006/05/17
- Re: screen-256color terminfo entry?, cga2000, 2006/05/17
- Re: screen-256color terminfo entry?, Nikolai Weibull, 2006/05/18
- Re: screen-256color terminfo entry?, cga2000, 2006/05/18
Re: screen-256color terminfo entry?,
Alain Bench <=
Re: screen-256color terminfo entry?, Aaron Griffin, 2006/05/09
Re: screen-256color terminfo entry?, Buddy Burden, 2006/05/09