termcap/terminfo magicians anyone? // colors in vim

uki ukaszg at gmail.com
Wed May 30 14:15:25 UTC 2012


Hi,

things to check:
* does the color scheme require 256 colors? is your terminal compiled
with that feature?
* check your TERM env variable, (also try setting t_Co in vim) some
info here: http://vim.wikia.com/wiki/256_colors_in_vim

cheers,
Łukasz Gruner


2012/5/30 Peter Vereshagin <peter at vereshagin.org>:
> Hello.
>
> Being new from linux back in time I tried vim. It had pretty colors in linux for me like that:
>
> http://www.postimg.com/71000/photo-70938.jpg
>
> But in freebsd I have what I have:
>
> http://www.postimg.com/71000/photo-70939.jpg
>
> It 'just works' for me if I 'vim -T linux' but:
>
>    - I'd like to know exact reason to be fixed other than just 'use linux'
>    - It shows colors in ttyvX with TERM=cons25 but it has random '25h'
>      showing up in places when I implement the actions from the begin of
>      vimtutor.
>
> Nothing to add more yet other than ':set term=linux' doesn't work for colors
> that way.
>
> Thanks in advance.
>
> --
> Peter Vereshagin <peter at vereshagin.org> (http://vereshagin.org) pgp: A0E26627
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list