public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Holly Bostick <motub@planet.nl>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Irritating problem #2-- colordiff [Probably SOLVED]
Date: Sun, 08 Jan 2006 02:54:00 +0100	[thread overview]
Message-ID: <43C070B8.20308@planet.nl> (raw)
In-Reply-To: <200601071208.48458.electronerd@electronerdia.net>

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	other threads:[~2006-01-08  1:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-07 14:53 [gentoo-user] Irritating problem #2-- colordiff Holly Bostick
2006-01-07 17:57 ` Mariusz Pękala
2006-01-07 18:37   ` Holly Bostick
2006-01-07 20:08     ` John Myers
2006-01-08  1:54       ` Holly Bostick [this message]
2006-01-08  2:12         ` [gentoo-user] Irritating problem #2-- colordiff [SOLVED confirmed] Holly Bostick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43C070B8.20308@planet.nl \
    --to=motub@planet.nl \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox