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