Comment 20 for bug 87966

Revision history for this message
disappearedng (disappearedng) wrote : Re: [Bug 87966] Re: GNU Screen: 256 colors not enabled

On Mon, Feb 15, 2010 at 2:51 AM, dj3 <email address hidden> wrote:

> My terminal can display 256 colors by default:
>
> :~$ tput colors
> 256
>
1) tput colors of my computer results in 8

>
> In order to get vim in gnome-terminal to display colorschemes the same
> way as the GUI version I used the plugin CSApprox:
>
> http://www.vim.org/scripts/script.php?script_id=2390
>
> On how to use it and some further discussion on the topic of using 256
> colors in vim cf this useful article:
>
> http://vim.wikia.com/wiki/Using_GUI_color_settings_in_a_terminal
>
> I followed the guide and installed CSApprox and I tried forcing t_Co=256
and forcing it to t_Co=8 but there is still no changes.

> --
> GNU Screen: 256 colors not enabled
> https://bugs.launchpad.net/bugs/87966
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “screen” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: screen
>
> I was playing with Vim's 256 color capabilities and I found out that they
> won't work in (GNU) screen. That's very sad, because I run most things on
> top of screen.
>
> Some googling pointed me to a few directions:
> http://frexx.de/xterm-256-notes/
> http://www.jukie.net/~bart/blog/20060824224842<http://www.jukie.net/%7Ebart/blog/20060824224842>
>
> I followed the suggestions in the latter link and compiled screen myself
> with:
> --enable-colors256
>
> In fact it's just a matter of uncommenting a line in ./debian/rules
>
> I wonder if we can update screen to come with this option by default, since
> xterm already uses it.
>
> Thanks.
>
> PS: By the way, if you like Vim, check inkpot. It's a sweet color scheme.
> You'll probably understand why I'm making this request. : )
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/screen/+bug/87966/+subscribe
>