Mail archive
alpine-user

Re: [alpine-user] less and Color

From: Cosmo Borsky <me_at_cosmoborsky.com>
Date: Thu, 7 Feb 2019 12:28:01 -0500

I use the following in my `~/.profile`
`export LESS="--RAW-CONTROL-CHARS"`

On 2/7/19 12:21 PM, Andrew Bell wrote:
> Hi,
>
> git diff on alpine seems to pass its output through less, but the
> color escape codes seem to get modified/trashed in the process.  I
> know I can use git diff --no-color, which works fine, but I'd like to
> fix or at least understand why my terminal isn't getting proper escape
> codes for colors and instead I get a bunch of '[[31m", for instance.
>
> Ideas appreciated,
>
> --
> Andrew Bell
> andrew.bell.ia_at_gmail.com <mailto:andrew.bell.ia_at_gmail.com>




---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Thu Feb 07 2019 - 12:28:01 UTC