You are not logged in.
Pages: 1
I really like coding in vim, but with the current vim package in Arch Linux, the colors don't seem to work in all cases. In a standard xterm, the colors in the directory listings are working fine, but when I start vim, it only uses bold and underline and no color whatsoever.
I tried some different terminals, and gnome-terminal has the same problem. But the colors were working fine in aterm and Eterm! Now I don't really like the last two because they are slower, uglier, have all kinds of features I don't use, and the text is flickering when I move the window.
I used to use Slackware and vim colors were working fine in xterm there. Would anybody know what could be wrong with my setup?
http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.
Offline
add this to your ~/.bashrc:
export TERM=xterm-color
"Contrary to popular belief, penguins are not the salvation of modern technology. Neither do they throw parties for the urban proletariat."
Offline
Ah, thanks a lot, works like magic!
It would still be nice to know why it works and how I could have found out about it without asking, though.
http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.
Offline
Heh, it's one of those things you pick up somewhere. Seriously, I usually use either rxvt or atem. Xterm doesn't do color, I don't know why or how I found out about it. I probably went to deja (now google.groups, I think, I still type deja) and did a search or something.
There are things you pick up somewhere--for example (I was complaining about this to a friend recently, when we were talking about poor documentation) most folks know that kill -1 or killall -SIGHUP restarts most processes (though not all). However, the Linux and FreeBSD man pages don't mention this, they simply say it terminates a process--OpenBSD, which often has better (imho) man pages do mention in passing that it will cause a process to reread its config file (in the example they mention, inetd).
Your attitude is admirable. It's probably in some document somewhere, you could try doing apropos colors--which, in FreeBSD (where I'm writing this) gives about 15 different possible man pages.
Offline
apropos... another new command learned. It comes up with about 81 manpages, none of them seems very useful though.
Before asking here I tried reading the man pages of both xterm and vim, and then parts of the vim manual where I came along the color test and whatnot. I just couldn't find what could be related to this color problem.
http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.
Offline
Heh, if I could remember exactly how I learned it, I'd help. I ~think~ that I did what I mentioned earlier, something like a deja search with vim, color xterm or something like that.
Don't worry--as I said, you have an excellent attitude, so you'll be learning lots of things about lots of things.
Offline
Pages: 1