From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EvPq7-0002HY-Va for garchives@archives.gentoo.org; Sun, 08 Jan 2006 01:59:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k081vPMB028287; Sun, 8 Jan 2006 01:57:25 GMT Received: from smtp15.wxs.nl (smtp15.wxs.nl [195.121.247.6]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k081s77b008620 for ; Sun, 8 Jan 2006 01:54:07 GMT Received: from [10.0.0.150] (ip3e83ab52.speed.planet.nl [62.131.171.82]) by smtp15.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0ISR001EQ3Y7NL@smtp15.wxs.nl> for gentoo-user@lists.gentoo.org; Sun, 08 Jan 2006 02:54:07 +0100 (CET) Date: Sun, 08 Jan 2006 02:54:00 +0100 From: Holly Bostick Subject: Re: [gentoo-user] Irritating problem #2-- colordiff [Probably SOLVED] In-reply-to: <200601071208.48458.electronerd@electronerdia.net> To: gentoo-user@lists.gentoo.org Message-id: <43C070B8.20308@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7BIT X-Accept-Language: nl-NL, nl, en User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051203) X-Enigmail-Version: 0.92.0.0 References: <43BFD5F3.7010004@planet.nl> <20060107175720.GA8250@cthulhu.sdi.tpnet.pl> <43C00A85.7050707@planet.nl> <200601071208.48458.electronerd@electronerdia.net> X-Archives-Salt: 0d192965-8a2e-4978-95f9-0f2fec994bee X-Archives-Hash: 7c346cc23469a9f7e319080cee2a22cd 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