Re: Escape sequences instead of colors in terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Dec 6, 2012 at 1:40 AM, Martin Panter <vadmium+al@xxxxxxxxx> wrote:
> On 5 December 2012 23:14, Dave Reisner <d@xxxxxxxxxxxxxx> wrote:
>> Your pager is to blame. Assuming you're using less, you need to pass the -R
>> option. You can add:
>>
>> export LESS=-R
>>
>> To your shell rc file.
>
> As far as I can tell, Git seems to be able to set the less -R option
> itself. But I notice it doesn’t work if the $LESS environment variable
> is already set. So I’d suggest manually adding -R as Dave said, or
> deleting the variable entirely.

That was indeed the problem. I already have options -MX in my $LESS
(to avoid clearing the screen), so I just added -R and it solved my
problem. Thanks.

Regards, Marcel


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux