LS_COLORS environment variable

Nancy Sollars plug-discuss@lists.plug.mybutt.net
Mon, 21 Jan 2002 13:37:51 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0256_01C1A280.D2A18980
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

RE: LS_COLORS environment variabledo man xterm you can set background =
and foreground colours via the args and also set the pen colour ... you =
can also set font type size from the arg set

Nige
  ----- Original Message -----=20
  From: David Mandala=20
  To: 'plug-discuss@lists.plug.mybutt.net'=20
  Sent: Monday, January 21, 2002 1:21 PM
  Subject: RE: LS_COLORS environment variable


  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.



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


------=_NextPart_000_0256_01C1A280.D2A18980
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: LS_COLORS environment variable</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>do man xterm you can set background and =
foreground=20
colours via the args and also set the pen colour ... you can also set =
font type=20
size from the arg set</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Nige</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DDavid.Mandala@DevelopOnline.com=20
  href=3D"mailto:David.Mandala@DevelopOnline.com">David Mandala</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  title=3Dplug-discuss@lists.plug.mybutt.net=20
  =
href=3D"mailto:'plug-discuss@lists.plug.mybutt.net'">'plug-discuss@lists.=
plug.mybutt.net'</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, January 21, 2002 =
1:21=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: LS_COLORS =
environment=20
  variable</DIV>
  <DIV><BR></DIV>
  <P><FONT size=3D2>normally you have an alias set for ls to something =
like ls=3D"ls=20
  --color=3Dtty" redhat and manyothers do this by default . If you alias =
ls=3Dls=20
  most times the color will go away.</FONT></P><BR>
  <P><FONT size=3D2>&gt; -----Original Message-----</FONT> <BR><FONT =
size=3D2>&gt;=20
  From: Lynn David Newton [<A=20
  =
href=3D"mailto:lynn.newton@home.com">mailto:lynn.newton@home.com</A>]</FO=
NT>=20
  <BR><FONT size=3D2>&gt; Sent: Monday, January 21, 2002 1:14 PM</FONT> =
<BR><FONT=20
  size=3D2>&gt; To: Phoenix Linux Users Group</FONT> <BR><FONT =
size=3D2>&gt;=20
  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=20
  probably simple question to chew on.</FONT> <BR><FONT size=3D2>&gt;=20
  </FONT><BR><FONT size=3D2>&gt; Somewhere there is an environment =
variable=20
  LS_COLORS is set </FONT><BR><FONT size=3D2>&gt; that can be</FONT> =
<BR><FONT=20
  size=3D2>&gt; finely tuned to make a fancy-schmancy terminal window =
output=20
  </FONT><BR><FONT size=3D2>&gt; display with</FONT> <BR><FONT =
size=3D2>&gt; lots of=20
  neat colors. Generally I like this feature.</FONT> <BR><FONT =
size=3D2>&gt;=20
  </FONT><BR><FONT size=3D2>&gt; However, I'm trying to do some work =
where I have=20
  to provide </FONT><BR><FONT size=3D2>&gt; some screen</FONT> <BR><FONT =

  size=3D2>&gt; shots of a simple 80x24 terminal with "$ " prompt, and =
all I=20
  </FONT><BR><FONT size=3D2>&gt; want is plain</FONT> <BR><FONT =
size=3D2>&gt; black=20
  and white. I can't figure out where this variable is </FONT><BR><FONT=20
  size=3D2>&gt; set or how to</FONT> <BR><FONT size=3D2>&gt; turn it =
off. (It's=20
  *not* just a matter of saying unset LS_COLORS or</FONT> <BR><FONT =
size=3D2>&gt;=20
  LS_COLORS=3D"")</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT =
size=3D2>&gt; I did=20
  discover in the ls(1) man page that --color=3Dnever will =
</FONT><BR><FONT=20
  size=3D2>&gt; do it, but I'd</FONT> <BR><FONT size=3D2>&gt; rather =
avoid that.=20
  Also</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; =
alias ls=3D"ls=20
  --color=3Dnever"</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT =
size=3D2>&gt;=20
  works. But there's gotta be a better way. Does someone know?</FONT> =
<BR><FONT=20
  size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; -- </FONT><BR><FONT =
size=3D2>&gt; Lynn=20
  David Newton</FONT> <BR><FONT size=3D2>&gt; Phoenix, AZ</FONT> =
<BR><FONT=20
  size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt;=20
  ________________________________________________</FONT> <BR><FONT =
size=3D2>&gt;=20
  See <A href=3D"http://PLUG.phoenix.az.us/navigator-mail.shtml"=20
  target=3D_blank>http://PLUG.phoenix.az.us/navigator-mail.shtml</A> if =
your=20
  </FONT><BR><FONT size=3D2>&gt; mail doesn't post to the list quickly =
and you use=20
  Netscape to </FONT><BR><FONT size=3D2>&gt; write mail.</FONT> =
<BR><FONT=20
  size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; PLUG-discuss mailing =
list&nbsp;=20
  -&nbsp; PLUG-discuss@lists.plug.mybutt.net</FONT> <BR><FONT =
size=3D2>&gt; <A=20
  href=3D"http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss" =

  =
target=3D_blank>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-dis=
cuss</A></FONT>=20
  <BR><FONT size=3D2>&gt; </FONT></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0256_01C1A280.D2A18980--