[Top][All Lists]

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

Re: screen with 256 color xterm

From: Jeremy Chadwick
Subject: Re: screen with 256 color xterm
Date: Wed, 18 May 2005 14:53:26 -0700
User-agent: Mutt/1.5.9i


I built screen with #define COLORS256, and sad to say, screen continues
to filter out appropriate escape codes.

The problem is not with my termcap, screenrc (global or $HOME), or
otherwise, as I can use just fine with TERM=xterm
while outside of screen.  When run inside of screen, screen acts as
if there is only 16 colours available to it.

Just for kicks, I tried tinkering a bit with "termcapinfo xterm", just
to see if I could work out a hack/solution.  I wasn't able to.

Can you provide some more insight as to why it might not work?

Note that I am not using a literal xterm, but rather PuTTY via SSH.
Yes, xterm 256 colour support is enabled in PuTTY; again, everything
works absolutely 100% correct while outside of screen, and screen is
indeed built with COLORS256 defined.

If you need, you can fetch it from here:


| Jeremy Chadwick                                 jdc at |
| Parodius Networking               |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.                             |

On Thu, Apr 21, 2005 at 07:03:25PM +0200, Michael Schroeder wrote:
> On Thu, Apr 21, 2005 at 01:53:52PM +0200, Johannes Segitz wrote:
> > Hello,
> > 
> > is it possible to use screen with a 256 color xterm? Setting TERM to
> > xterm-256color before starting screen results in scrambled output of
> > commands. Changing TERM from screen to xterm-256color in screen doesn't
> > change that. Would be very nice to have this under screen since my vim
> > colorscheme needs 256 colors. 
> You have to define COLORS256 in config.h...
> Cheers,
>   Michael.
> -- 
> Michael Schroeder           address@hidden
> main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
> _______________________________________________
> screen-users mailing list
> address@hidden

reply via email to

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