CSApprox issue

1 view
Skip to first unread message

Mr.SpOOn

unread,
Nov 21, 2008, 7:03:59 PM11/21/08
to vim...@googlegroups.com
Hi,
I have Vim 7.2.25 and I'm using it on Ubuntu 8.04. At the moment I'm
with the window manager Fluxbox.

I don't think I've done something particular or strange, anyway, last
time I opened Vim the colors where all wrong. The column on the left
with the line numbering was black on black (it should be white on
black) and the whole colorscheme appeared strange. I tried chaning the
colorscheme, but nothing. All the colorscheme appeared "broken". I
tried rebooting, but it didn't solved anything.

Then I moved the CSApprox plugin and everything worked. At least it
worked as it did without that plugin. I tried to reinstall it, but
nothing.

What can I do or check?

Thanks.

Matt Wozniski

unread,
Nov 22, 2008, 12:40:38 AM11/22/08
to vim...@googlegroups.com

It's hard for me to say based on the information you give here... For
starters, what terminal emulator do you use? xterm, gnome-terminal,
konsole, xfce4-terminal? What is the value of $TERM? What does

tput colors

print out at a shell prompt? Do you still see the problem if you
launch vim with

vim -u NONE -N -c 'colorscheme desert' -c 'runtime plugin/CSApprox.vim'

How about if you use

vim -u NORC -N -c 'colorscheme desert' -c 'runtime plugin/CSApprox.vim'

If none of those work, you could try running vim as

vim -u NONE -N -c 'colo desert' -c 'set vfile=/tmp/CSA.txt vbs=20' -c
'runtime plugin/CSApprox.vim' -c q

and then posting the file /tmp/CSA.txt - but that file will probably
be pretty big; that should be a last resort... If you can get me some
more information, I'm sure I can help you get things working.

~Matt

Mr.SpOOn

unread,
Nov 22, 2008, 4:24:48 AM11/22/08
to vim...@googlegroups.com
2008/11/22 Matt Wozniski <m...@drexel.edu>:

> It's hard for me to say based on the information you give here... For
> starters, what terminal emulator do you use? xterm, gnome-terminal,
> konsole, xfce4-terminal? What is the value of $TERM? What does

I'm using urxvt and the value of $TERM is: rxvt-unicode

> tput colors

> Do you still see the problem if you
> launch vim with
>
> vim -u NONE -N -c 'colorscheme desert' -c 'runtime plugin/CSApprox.vim'

It opens files with normal black on white.

> How about if you use
>
> vim -u NORC -N -c 'colorscheme desert' -c 'runtime plugin/CSApprox.vim'

The same as above.

>
> If none of those work, you could try running vim as
>
> vim -u NONE -N -c 'colo desert' -c 'set vfile=/tmp/CSA.txt vbs=20' -c
> 'runtime plugin/CSApprox.vim' -c q


> and then posting the file /tmp/CSA.txt - but that file will probably
> be pretty big; that should be a last resort... If you can get me some
> more information, I'm sure I can help you get things working.

Yes it is pretty big.
It's strange, because in the past few days CSApprox worked just fine.

Mr.SpOOn

unread,
Nov 22, 2008, 7:21:45 AM11/22/08
to vim...@googlegroups.com
Ok, I solved the problem.

I remembered that yesterday I used Gnome for a while with a test user.
So synaptic downloaded a lot of updates and there was also an update
for rxvt-unicode. My rxvt was compiled from source, to support 256
colors, so I think this messed up everything.

Now I removed rxvt-unicode and recompiled. Everything works.

Thanks, bye.

Reply all
Reply to author
Forward
0 new messages