On Sat, Feb 26, 2005 at 11:22:05PM +0000, Ciaran McCreesh wrote
> On Sat, 26 Feb 2005 17:08:23 -0500 "Walter Dnes" <[EMAIL PROTECTED]>
> wrote:
> | So I'm down to 5 usable consoles in the region between {CTRL-ALT-F1}
> | and {CTRL-ALT-F6}, and sometimes that isn't enough. At first, I
> | thought that "screen" would be the answer. However, its colour
> | support sucks, especially if you're trying to use colour-coded syntax
> | in vim.
>
> Your linux console isn't >16 colour capable, is it? If not, just add
> this to your .vimrc:
vim runs great in ordinary consoles (thank you for your work). It has
problems under screen, which I believe are the fault of screen. Here is
an excerpt from the screen manpage...
THE VIRTUAL TERMINAL
Each window in a screen session emulates a VT100 terminal, with some
extra functions added. The VT100 emulator is hard-coded, no other ter-
minal types can be emulated.
> Your linux console isn't >16 colour capable, is it? If not, just add
> this to your .vimrc:
>
> if $TERM == "screen.linux"
> set background=dark
> endif
Thank you very much; that's it. It works under screen now, at least
for the little bit I've tried. Without that, the colours would not go
bright. What was supposed to be yellow was brown.
I had tried "vim -T vt100", after reading the screen manpage. That
resulted in bright/dim being honoured but *NO* colour; i.e. white text
only.
--
Walter Dnes <[EMAIL PROTECTED]>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
--
[email protected] mailing list