Re: Konsole color highlighting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Lemmons wrote:
> What causes a konsole session to show or not show colors? I have one
> machine that "ls" will show color coded files and vi will show syntax
> highlighted text. On another machine everything is green.

The first thing to look at is how your TERM environment variable is set.
If programs think your terminal can't show colours, they won't try.

You may find part of
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=186862 relevant --
it talks about adding support for xterm-256color for ls.

Richard England wrote:
> For GVIM, the colors I believe are dependent on whether you are 
> running console (vim) or gui (gvim).  I don't think console vim has color 
> ability (that may have changed for later versions of vim, though).

I don't think that's the question -- it certainly hasn't been recently.
Console vim can certainly use colours if it's called as vim -- note that
normal users have vi aliased to vim by default:
$ which vi
alias vi='vim'
        /usr/bin/vim
whereas root doesn't:
# which vi
/bin/vi

Hope this helps,

James.

-- 
E-mail:     james@ | You can accept the existence of rain without denying the
aprilcottage.co.uk | existence of umbrellas.
                   |     -- http://ozyandmillie.org/2006/om20060615.html

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux