Hi Nabin:

Glad it works for you. As I mentioned in a previous email, the only
way I discovered to disable colours altogether was to change the 
terminal type as defined with the TERM environment variable. Mind
you, this only applies to CUI sessions (console or terminals), I 
very seldom use the GUI (KDE in our case) and when I do I find
that colours are useful (I know this does not help with your
monochrome monitor).

So to force monochrome in CUI sessions add the following lines to
your .bash_profile file:

if [ "${TERM}" == "ansi" ]; then
        TERM=ansi-m
fi
if [ "${TERM}" == "linux" ]; then
        TERM=linux-m
fi

The linux/linux-m terminal types are for the console sessions. We
find the ansi/ansi-m useful for telnet sessions that we do using
NetTerm or TinyTerm (either with SCO ANSI emulation).

If you require monochrome support for GUI you might be better off
requesting help from a list supporting your desktop manager.

HTH

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com

From: [EMAIL PROTECTED] Sent: Friday, June 20, 2003 01:34
> 
> Hi Hugh,
> 
> Thanks it worked. But, while editing configuration files like 
> /etc/named.conf, different text are assigned with different colors. 
> How to solve them also? Don't we have any option for all these colors 
> settings just to display monochrome colors.
> 
> Nabin Limbu
> 
> 
> On 19 Jun 2003 at 9:06, Hugh E Cruickshank wrote:
> 
> > Try adding the following to you .bash_profile:
> > 
> > alias ls='ls --color=none'
> > 
> > Regards, Hugh
> > 

[snip]


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to