[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUN fileutils
On Sat, 27 Jun 1998, Martin-Eric Racine wrote:
> Excellent stuff! ;-)
>
> One slight problem, though: dircolors.
>
> I tried using the --color option on LS, but the output it produces
> only seems to work using TosWin or Farmer (but it's still buggy: the
> commandline retains the color of the last directory entry afterwards);
> vcons doesn't work at all (we see control codes instead of colors).
I have this in my .bashrc file;
-----------------------
if [ $TERM = tw100 ] ; then
LS_COLORS='no=00;30:fi=00;30'
export LS_COLORS
fi
-----------------------
it changes "no" and "fi" codes back to correct colors.
> I remember me and Juhani did something, when compiling these fileutils,
> to have stv52/st52/tt52 properly recognized, but I cannot recall what
> we did exactly. The resulting output on vcons was bold text, instead
> of color effects, because svt52 was recognized as a monochrome terminal.
We made 'dircolors' to regognice tw100 as terminal capable to use colors.
If you run dircolors with TERM=stv52 (or stv52) it should do nothing and
if TERM=tw100 you should get loooong list of defined codes.
--
Juhani Sivusalo E-Mail: jasivu@na.netppl.fi
Oulu, Finland http://www.netppl.fi/~jasivu/
phone: +358-8-520 8523 GSM: +358-400-582 546