Hi Stephen,
lucky for you that debians bold font in "top" comes out in
colour. In Slackware it doesn't and I think the binary is responsible.
I have found also that 'ls' dir_colours is achievable in xterm and rxvt.
This is usually not configured by default although most distros do have
dir_colors in console.
It seems that ~/.bashrc file in the home directory is read by xterm so
it is just a matter of putting a couple of aliases in.
#touch .bashrc (create the file if you don't have it already)
---- cut -------------
alias ls='ls --color'
alias ll='ls -la --color'
----- cut ------------
These aliases can be put into /etc/profile or /etc/bashrc but xterm
wil not display 'ls' dir_color unless ~/bashrc is pointing to those
files.
--cut --
if [ -f /etc/profile ] ; then
. /etc/profile
fi
--cut --
cheers,
Keith.
On Sun, 1 Sep 2002, Stephen Nicholas wrote:
> Top "just works" in colour now to, because the headings are bold, they
> get the bold colouring from the xterm.