You are not logged in.

#1 2006-07-31 21:38:38

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

88 color term + screen

Does anyone know how to get screen to play nicely with an 88-color term (urxvt in this case)? I run vim in a terminal all the time and I use the inkpot scheme which requires 88 colors. If I run vim in screen the pretty colors don't show through. I've seen stuff on setting screen to pass through 256 colors but not 88.

Offline

#2 2006-07-31 21:40:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: 88 color term + screen

Yes, and it needs to be recompiled.  You also, however, need an updated terminfo file.

I've been meaning to update the screen package to allow it.  I'll see what i can do tonight and let you know.

Offline

#3 2006-07-31 22:09:44

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

Re: 88 color term + screen

Weee! Muchly appreciated!

Offline

#4 2006-08-03 21:51:48

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

Re: 88 color term + screen

I got 256 colors stuff working perfectly. The problem I have left is that 88 colors stuff comes out wrong. It looks like all the colors are shifted to blue. I guess the can be fixed by a termcapinfo line in my screenrc but I'm clueless as to what that line needs to be.

EDIT: NVM, I got it working - I just had to set TERM to xterm-256color before running screen.

For those interested you need to recompile screen for 256 colors (with abs set up, just add --enable-colors256 to the ./configure line in the PKGBUILD)

Then you need to do something or another to change TERM for screen. I add the following to my .zshrc but it should be similar for bash.

alias screen='TERM=xterm-256color screen -T $TERM'

Offline

#5 2006-08-04 20:39:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: 88 color term + screen

SavageMessiah wrote:

alias screen='TERM=xterm-256color screen -T $TERM'

More properly, it should be part of your screenrc:
http://phraktured.net/config/.screenrc

Where did you get your screen-256color terminfo file? I want to compare it to the one I have.

Offline

#6 2006-08-04 20:48:28

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: 88 color term + screen

phrakture wrote:

screen-256color terminfo file

Isn't he using xterm-256color, and not screen-256color?  Is there a difference?

Offline

#7 2006-08-04 20:50:31

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: 88 color term + screen

Cerebral wrote:
phrakture wrote:

screen-256color terminfo file

Isn't he using xterm-256color, and not screen-256color?  Is there a difference?

Wow, my brain read what it wanted too... I apologize  :oops:

I'll upload the new screen package tonight, complete with a *real* screen-256color terminfo file for ya'll to use.

Offline

Board footer

Powered by FluxBB