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&quot;ls --color=3Dtty&quot; 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>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Lynn David Newton [<A =
HREF=3D"mailto:lynn.newton@home.com">mailto:lynn.newton@home.com</A>]</F=
ONT>
<BR><FONT SIZE=3D2>&gt; Sent: Monday, January 21, 2002 1:14 PM</FONT>
<BR><FONT SIZE=3D2>&gt; To: Phoenix Linux Users Group</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: LS_COLORS environment variable</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Here is another probably simple question to =
chew on.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Somewhere there is an environment variable =
LS_COLORS is set </FONT>
<BR><FONT SIZE=3D2>&gt; that can be</FONT>
<BR><FONT SIZE=3D2>&gt; finely tuned to make a fancy-schmancy terminal =
window output </FONT>
<BR><FONT SIZE=3D2>&gt; display with</FONT>
<BR><FONT SIZE=3D2>&gt; lots of neat colors. Generally I like this =
feature.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; However, I'm trying to do some work where I =
have to provide </FONT>
<BR><FONT SIZE=3D2>&gt; some screen</FONT>
<BR><FONT SIZE=3D2>&gt; shots of a simple 80x24 terminal with &quot;$ =
&quot; prompt, and all I </FONT>
<BR><FONT SIZE=3D2>&gt; want is plain</FONT>
<BR><FONT SIZE=3D2>&gt; black and white. I can't figure out where this =
variable is </FONT>
<BR><FONT SIZE=3D2>&gt; set or how to</FONT>
<BR><FONT SIZE=3D2>&gt; turn it off. (It's *not* just a matter of =
saying unset LS_COLORS or</FONT>
<BR><FONT SIZE=3D2>&gt; LS_COLORS=3D&quot;&quot;)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I did discover in the ls(1) man page that =
--color=3Dnever will </FONT>
<BR><FONT SIZE=3D2>&gt; do it, but I'd</FONT>
<BR><FONT SIZE=3D2>&gt; rather avoid that. Also</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; alias ls=3D&quot;ls =
--color=3Dnever&quot;</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; works. But there's gotta be a better way. Does =
someone know?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; -- </FONT>
<BR><FONT SIZE=3D2>&gt; Lynn David Newton</FONT>
<BR><FONT SIZE=3D2>&gt; Phoenix, AZ</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; =
________________________________________________</FONT>
<BR><FONT SIZE=3D2>&gt; 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>&gt; mail doesn't post to the list quickly and you =
use Netscape to </FONT>
<BR><FONT SIZE=3D2>&gt; write mail.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; PLUG-discuss mailing list&nbsp; -&nbsp; =
PLUG-discuss@lists.plug.mybutt.net</FONT>
<BR><FONT SIZE=3D2>&gt; <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>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1A2B9.35CF92D0--