John Myers schreef:
> On Saturday 07 January 2006 10:37, Holly Bostick wrote:
> 
>> No. I don't actually use colordiff standalone, so no reason. I did,
>>  however, have an (unnecessary) alias around etc-update, which I
>> have now removed, allowing it to rely solely on its sudo entry. But
>> since I don't have any updates to diff until I get my other little
>> problem fixed,
> 
> 
> Try changing your 'pager' variable in etc-update.conf from 'less' to
> 'less -R'.

Thank you John. During the course my various arguments with ~/.bashrc
today (after reading this), I also happened across a note in man
tsportageview (don't ask, whole 'nother story) which said:

-s, --use-less
              Filter the output through "less -Rh0" (good colour support)

So it seems pretty clear that the -R switch is essential for color
support. I adjusted my pager command to include it and think that it's
likely to work properly now.

But of course I never would have noticed that the switch in man
tsportageview confirmed that -R is really needed for color support in
less (despite having skimmed man less), if you hadn't said so first.

So thank you very much.

Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to