> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On 
> Behalf Of Tim Hare
> Sent: Tuesday, March 27, 2007 8:55 AM
> To: [email protected]
> Subject: Re: HMC system console question
> 
> 
> When I look at my Linux console messages on the z/890 HMC 'Operating
> System Messages' panels, I see what look like ANSI terminal controls (
> which I remember from my days fooling with DOS ).   Is it 
> possible I've
> got something set wrong?
> 
>  Sure makes doing 'ls' and other commands a pain - what 
> config file would
> I look in to turn it off?
> 
> Tim Hare

It is an "alias" set up in /etc/profile.d/colorls.[c]sh . The easiest
way to stop it, system-wide, is to remove those files. Or, in your
~/.bashrc, you can try to determine if you are on the HMC console and,
if so, issue the command "unalias ls". Or do so at the command prompt.

I think that the ~/.bashrc would need something like:

if [ x$TERM = x -o $TERM = DUMB ]; then
        unalias ls
fi

Double check what $TERM is set to on the HMC console, because I don't
know. Test for that instead of for "DUMB" in the "if" above.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to