Try
$ export TERM=vt100
$ vi
Now syntax highlighting will not be present.
Rgds,
Karthick S.
-----Original Message-----
From: ilugc-bounces@xxxxxxxxxxxxx on behalf of Chakravarthi_Mohan
Sent: Thu 9/9/2004 14:33
To: ilugc@xxxxxxxxxxxxx
Cc:
Subject: RE: [Ilugc] How to disable colors
Hello,
To disable the syntax colors in vi.
Type ":syntax off" But this command has to be typed every time you
invoke
VI.
-----Original Message-----
From: ilugc-bounces@xxxxxxxxxxxxx [mailto:ilugc-bounces@xxxxxxxxxxxxx]
On
Behalf Of carti
Sent: Thursday, September 09, 2004 2:24 PM
To: ilugc@xxxxxxxxxxxxx
Subject: [Ilugc] How to disable colors
Hi,
In RedHat Linux(9), when I give the ls command,
the different types of files are shown in different colors.
I want all the files to be displayed in single color.
So, I have overriden /etc/DIR_COLORS with my .dir_colors(empty)
put in the home directory(I have created the file with no content).
The colors in the vi, (when I open vi, it shows in different colors.),
and other programs also I want to disable the colors.
How to do that?.(When I googled, it is showing something
related to changes in tty or stty or setterm.)
If persons, who have done that earlier tell me, that would
be easier for me.
Thanks
carti
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
**************************************************************************
This email (including any attachments) is intended for the sole use of
the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying or
distribution or forwarding of any or all of the contents in this
message is
STRICTLY PROHIBITED. If you are not the intended recipient, please
contact
the sender by email and delete all copies; your cooperation in this
regard
is appreciated.
**************************************************************************
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Confidentiality Notice
The information contained in this electronic message and any attachments to
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
Mailadmin@xxxxxxxxx immediately
and destroy all copies of this message and any attachments.