git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: E R <pc88mxer@gmail.com>
To: git@vger.kernel.org
Subject: odd behavior with export LESS=i
Date: Tue, 14 Jul 2009 12:18:52 -0500	[thread overview]
Message-ID: <3a69fa7c0907141018l4f6fb773o219b6a18effc393d@mail.gmail.com> (raw)

Is this a problem with less or with git?

>From the shell if I run:

export LESS
LESS=i git log

then I see things like ESC[33m instead of colored text.

If I run:

unset LESS
git log

then I get colored text.

Note that the environment variable LESS is used to pass default
command line switches to less.

             reply	other threads:[~2009-07-14 17:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 17:18 E R [this message]
2009-07-14 17:28 ` odd behavior with export LESS=i E R
2009-07-14 17:32 ` Sverre Rabbelier

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=3a69fa7c0907141018l4f6fb773o219b6a18effc393d@mail.gmail.com \
    --to=pc88mxer@gmail.com \
    --cc=git@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).