RE: Text Colours come back since changing to ksh from tcsh.

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

 



Editiing the .vimrc file should have no bearing on the colors seen when
doing an ls -l.

ls is aliased to include a --color option if the terminal settings support
it.  If you were seeing garbage instead of colors, then your terminal is not
detecting properly, but if you just did not like the color scheme, you need
to edit the default profiles to remove the 'ls' aliases.

as for vim, the steps you quote should turn off the hilighting, unless there
is a local .vimrc to override the system defaults.

Regards,

Gavin McDonald
========================
EVI Logistic Enterprises
email: me@xxxxxxxxxxxx
phone: (604) 313-3845


> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of Andrew.Bridgeman@xxxxxxxxxxxxxx
> Sent: Thursday, November 17, 2005 6:35 AM
> To: redhat-list@xxxxxxxxxx
> Subject: Text Colours come back since changing to ksh from tcsh.
> 
> Hello,
>              A while back i had a problem with every time i did a ls -l
> the
> text was all sorts of multi colours that meant i could not even read the
> text , to fix it i did the following below. I have recently changed my
> login from tcsh to ksh and i seem to have the same problem back. Has
> anybody any ideas how to get rid of this problem so the text is just seen
> as white again.
> 
> /etc/vimrc - show syntax off.
> 
> " Switch syntax highlighting on, when the terminal has colours
> " Also switch on highlighting the last used search pattern.
> if &t_Co > 2 || has("gui_running")
> syntax off
> set hlsearch
> endif
> 
> Any help is much appreciated.
> 
> Regards
> 
> Andrew Bridgeman
> **********************************************************************
> This transmission is confidential and must not be used or disclosed by
> anyone other than the intended recipient. Neither Corus Group Plc nor
> any of its subsidiaries can accept any responsibility for any use or
> misuse of the transmission by anyone.
> **********************************************************************
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux