LS_COLORS environment variable
David Mandala
plug-discuss@lists.plug.mybutt.net
Mon, 21 Jan 2002 13:21:29 -0700
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1A2B9.35CF92D0
Content-Type: text/plain;
charset="iso-8859-1"
normally you have an alias set for ls to something like ls="ls --color=tty"
redhat and manyothers do this by default . If you alias ls=ls most times the
color will go away.
> -----Original Message-----
> From: Lynn David Newton [mailto:lynn.newton@home.com]
> Sent: Monday, January 21, 2002 1:14 PM
> To: Phoenix Linux Users Group
> Subject: LS_COLORS environment variable
>
>
> Here is another probably simple question to chew on.
>
> Somewhere there is an environment variable LS_COLORS is set
> that can be
> finely tuned to make a fancy-schmancy terminal window output
> display with
> lots of neat colors. Generally I like this feature.
>
> However, I'm trying to do some work where I have to provide
> some screen
> shots of a simple 80x24 terminal with "$ " prompt, and all I
> want is plain
> black and white. I can't figure out where this variable is
> set or how to
> turn it off. (It's *not* just a matter of saying unset LS_COLORS or
> LS_COLORS="")
>
> I did discover in the ls(1) man page that --color=never will
> do it, but I'd
> rather avoid that. Also
>
> alias ls="ls --color=never"
>
> works. But there's gotta be a better way. Does someone know?
>
> --
> Lynn David Newton
> Phoenix, AZ
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your
> mail doesn't post to the list quickly and you use Netscape to
> write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.mybutt.net
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
------_=_NextPart_001_01C1A2B9.35CF92D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: LS_COLORS environment variable</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>normally you have an alias set for ls to something =
like ls=3D"ls --color=3Dtty" redhat and manyothers do this by =
default . If you alias ls=3Dls most times the color will go =
away.</FONT></P>
<BR>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: Lynn David Newton [<A =
HREF=3D"mailto:lynn.newton@home.com">mailto:lynn.newton@home.com</A>]</F=
ONT>
<BR><FONT SIZE=3D2>> Sent: Monday, January 21, 2002 1:14 PM</FONT>
<BR><FONT SIZE=3D2>> To: Phoenix Linux Users Group</FONT>
<BR><FONT SIZE=3D2>> Subject: LS_COLORS environment variable</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Here is another probably simple question to =
chew on.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Somewhere there is an environment variable =
LS_COLORS is set </FONT>
<BR><FONT SIZE=3D2>> that can be</FONT>
<BR><FONT SIZE=3D2>> finely tuned to make a fancy-schmancy terminal =
window output </FONT>
<BR><FONT SIZE=3D2>> display with</FONT>
<BR><FONT SIZE=3D2>> lots of neat colors. Generally I like this =
feature.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> However, I'm trying to do some work where I =
have to provide </FONT>
<BR><FONT SIZE=3D2>> some screen</FONT>
<BR><FONT SIZE=3D2>> shots of a simple 80x24 terminal with "$ =
" prompt, and all I </FONT>
<BR><FONT SIZE=3D2>> want is plain</FONT>
<BR><FONT SIZE=3D2>> black and white. I can't figure out where this =
variable is </FONT>
<BR><FONT SIZE=3D2>> set or how to</FONT>
<BR><FONT SIZE=3D2>> turn it off. (It's *not* just a matter of =
saying unset LS_COLORS or</FONT>
<BR><FONT SIZE=3D2>> LS_COLORS=3D"")</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I did discover in the ls(1) man page that =
--color=3Dnever will </FONT>
<BR><FONT SIZE=3D2>> do it, but I'd</FONT>
<BR><FONT SIZE=3D2>> rather avoid that. Also</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> alias ls=3D"ls =
--color=3Dnever"</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> works. But there's gotta be a better way. Does =
someone know?</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> -- </FONT>
<BR><FONT SIZE=3D2>> Lynn David Newton</FONT>
<BR><FONT SIZE=3D2>> Phoenix, AZ</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> =
________________________________________________</FONT>
<BR><FONT SIZE=3D2>> See <A =
HREF=3D"http://PLUG.phoenix.az.us/navigator-mail.shtml" =
TARGET=3D"_blank">http://PLUG.phoenix.az.us/navigator-mail.shtml</A> if =
your </FONT>
<BR><FONT SIZE=3D2>> mail doesn't post to the list quickly and you =
use Netscape to </FONT>
<BR><FONT SIZE=3D2>> write mail.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> PLUG-discuss mailing list - =
PLUG-discuss@lists.plug.mybutt.net</FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss" =
TARGET=3D"_blank">http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-=
discuss</A></FONT>
<BR><FONT SIZE=3D2>> </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1A2B9.35CF92D0--