screen-users
[Top][All Lists]
Advanced

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

Re: termcap-query feature


From: Michael Schroeder
Subject: Re: termcap-query feature
Date: Thu, 2 Feb 2006 00:06:05 +0100
User-agent: Mutt/1.4.2.1i

On Wed, Feb 01, 2006 at 03:45:37PM -0500, Dave Waxman wrote:
> Your problem interested me so I ran a quick google search and found this
> site, http://frexx.de/xterm-256-notes/ which had the following:
> 
> "By default, screen is not aware that it is running in a 256 color
> capable xterm. To make programs in screen recognize this feature, you
> need to set three things in your ~/.screenrc: 
> 
> # terminfo and termcap for nice 256 color terminal
> # allow bold colors - necessary for some reason
> attrcolor b ".I" 

Huh? Strange comment.

> # tell screen how to set colors. AB = background, AF=foreground 
> termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' 
> # erase background with current bg color 
> defbce "on"
> "
> I think this may help you.  

That's useful to tell screen that xterm understands more colors.
The other part is to tell the applications that screen knows them.

A screen-256color terminfo entry is probably the way to go...

Cheers,
  Michael.

-- 
Michael Schroeder           address@hidden
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}




reply via email to

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