screen-users
[Top][All Lists]
Advanced

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

Re: 256 colors


From: Alain Bench
Subject: Re: 256 colors
Date: Tue, 24 Apr 2007 16:06:06 +0200 (CEST)
User-agent: Mutt/1.5.13 (2006-11-28)

 On Monday, April 23, 2007 at 21:56:59 +0200, Nikolai Weibull wrote:

> On 4/23/07, Alain Bench <address@hidden> wrote:
>> An enhanced version of your [screen-256color] entry is included in
>> the official terminfo database
> "Enhanced"?  ;-)

    Slightly richer: Optimized color commands, sgr, mouse support,
bindable <BackTab>, and some such. The -.NW is yours:

| $ infocmp -x screen-256color.NW screen-256color
| comparing screen-256color.NW to screen-256color.
|     comparing booleans.
|       OTbs: F:T.
|       OTpt: F:T.
|       AX: F:T.
|       G0: F:T.
|     comparing numbers.
|       ncv: NULL, 3.
|     comparing strings.
|       acsc: 
'++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
'++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~'.
|       kbs: NULL, '^H'.
|       kcbt: NULL, '\E[Z'.
|       kmous: NULL, '\E[M'.
|       rs2: '\Ec', '\Ec\E[?1000l\E[?25h'.
|       setab: '\E[48;5;%p1%dm', 
'\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m'.
|       setaf: '\E[38;5;%p1%dm', 
'\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m'.
|       sgr: NULL, 
'\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;'.
|       sgr0: '\E[m', '\E[m\017'.
|       E0: NULL, '\E(B'.
|       S0: NULL, '\E(%p1%c'.

    Of course presence of capabilities like <BackTab> or mouse may seem
strange, given Screen itself doesn't manage them. However most if not
all possibly used 256 colors terminals support them. So it makes sense
to inform apps that <BackTab> key and mouse do work.


Bye!    Alain.
-- 
You know what I would like to do? COMPLY. I would LOVE to COMPLY. But, you know
what, Pat? I don't know where the h_ll that frickin 2-dash stupid stinkin line
is coming from, okay? Comply...
        Greg K. in « Scarface III -- The Return Of The Evil Sigdashes »




reply via email to

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