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 [EMAIL PROTECTED] project at <URL:http://folding.stanford.edu/>.


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to