Mail Archives: djgpp/1997/06/14/08:05:14
billy chen wrote:
>
> I tyr to put djgpp.env for ls.exe using for profile to create a color
> dsplay on my win95 dos box. Looks like ls.exe is not reading the
> djgpp.env. I try to use dos commaand to set LS_COLOR. It coms
> a syntax error for set command. I also looking for docs, did not have
> luck. Anyone could give a clue? Thank you in advance.
The default compilation of ls.exe defaults to non-colorized output. To
get color, you must pass ls the '-color' parameter, as follows:
--color=none Do not use color at all (default)
--color=auto Only use color if stdout is a terminal
--color=always Always use color
Please read the documentation before complaining; it's right there under
"info ls general".
--
---------------------------------------------------------------------
| John M. Aldrich | "Waking a person unnecessarily |
| aka Fighteer I | should not be considered a capital |
| mailto:fighteer AT cs DOT com | crime. For a first offense, that |
| http://www.cs.com/fighteer | is." - Lazarus Long |
---------------------------------------------------------------------
- Raw text -