Michael, 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 256colors2.pl 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 256colors2.pl, you can fetch it from here: http://www.cs.rice.edu/~scrosby/software/tf256color/src/256colors2.pl Thanks! -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | 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 [EMAIL PROTECTED] > main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} > > > _______________________________________________ > screen-users mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/screen-users _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
