Willie Wong wrote:
On Fri, Nov 24, 2006 at 09:22:24AM +0800, Penguin Lover W.Kenworthy squawked:
I recently had cause to use "less" from a real console, not an xterm and
found that it really does colourise text. It has never done this in an
xterm - how do I turn it on? "man" isnt being very helpful here :(
BillK
My best guess is the -R option:
This is for programs having color output you want to pipe to less, not
less showing a syntax highlighted file. This is done by the gentoo less
filter that automagically unzips README.gz files when viewing them with
less, fx. Does ls --color=auto produce colors in your xterm? Is your
TERM envvar set to xterm (xterm should do this)? Do you have compared
the current /etc/skel files to your user's home; when you create a new
user with those files in his home, does xterm/less work for this account
as intended?
Regards,
T.
--
[email protected] mailing list