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

Re: colored text in vi, ls etc.



On Wed, Jul 04, 2001, Holzman Mordechai wrote about "colored text in vi, ls etc.":
> I am running RedHat 7.1 and the Gnome or KDE X interface. I notice that in
> many applications, my text is color coded.  This happens in vi, a simple
> ls command and emacs.  How do I turn off the color coding?  Thanks for any
> information.

You can turn it off seperately for each program, for example in ls you
should not run "ls --color" (do you have an ls alias that does ls --color??).
For vi (vim), you can do ":syntax off" (you can put this in your ~/.vimrc
to get it run every time). Emacs has a similar mechanism.

Alternatively, use "xterm -cm" to get an xterm window which refuses to
show colors.


-- 
Nadav Har'El                        |    Thursday, Jul  5 2001, 14 Tammuz 5761
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Drink varnish and you'll get a lovely
http://nadav.harel.org.il           |finish.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il