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

RE: Changing systems so all text shows as white not multi-coloured text.



Thanks for all replies. I have sorted it now by editing the /etc/vimrc file
to show syntax off as per some of your e-mails. Text is below:


" 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

Thanks for your help.

(Embedded image moved to file: pic17253.jpg)


|---------+------------------------------>
|         |           "Fred Magee"       |
|         |           <fred magee atk com|
|         |           >                  |
|         |           Sent by:           |
|         |           redhat-list-bounces|
|         |           @redhat.com        |
|         |                              |
|         |                              |
|         |           25/01/2005 16:44   |
|         |           Please respond to  |
|         |           General Red Hat    |
|         |           Linux discussion   |
|         |           list               |
|         |                              |
|---------+------------------------------>
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       "'inode0'" <inode0 gmail com>, "'General Red Hat Linux discussion list'" <redhat-list redhat com>            |
  |       cc:                                                                                                                    |
  |       Subject:  RE: Changing systems so all text shows as white not   multicolouredtext.                                     |
  >------------------------------------------------------------------------------------------------------------------------------|




In vi/vim it is ":syntax off" that turns it off.  If you are talking
about with the "ls" command use "ls --color=never" to get rid of the
colors for a single command or alias ls to include the --color switch.



Fred

-----Original Message-----
From: redhat-list-bounces redhat com
[mailto:redhat-list-bounces redhat com] On Behalf Of inode0
Sent: Tuesday, January 25, 2005 9:36 AM
To: General Red Hat Linux discussion list
Subject: Re: Changing systems so all text shows as white not
multicolouredtext.

On Tue, 25 Jan 2005 16:07:30 +0000, Andrew Bridgeman corusgroup com
<Andrew Bridgeman corusgroup com> wrote:
> I am in the process of making allot of changes to our existing Redhat
> machines we run version 7.1/7.3 8.0 WS and AS. It is sending my eyes
funny
> looking at multicoloured text all the time especially the Blue text
which i
> can hardly read. Is there a way of changing all of my machines so they
show
> text as white instead, i realised this is a small issue but it would
really
> help me know end at the moment. Any help is much appreciated.

On RHEL 3 this appears to be globally controlled in
/etc/profile.d/colorls.sh and /etc/profile.d/colorls.csh.  I'm not
sure about older flavors.

Something like "which ls" or "alias ls" should reveal the cause and if
you want to undo colors only for one user probably best to change the
ls family of aliases in your account.

John

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

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

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