mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Johannes Sixt <>
To:, Git Mailing List <>
Subject: Re: [PATCH] git: add -N as a short option for --no-pager
Date: Wed, 25 Apr 2018 21:31:49 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Am 25.04.2018 um 11:21 schrieb Phillip Wood:
> On 24/04/18 17:59, Johannes Sixt wrote:
>> In modern setups, less, the pager, uses alternate screen to show
>> the content. When it is closed, it switches back to the original
>> screen, and all content is gone.
> Are you setting LESS explicitly in the environment?
>  From the git config man page:
> When the LESS environment variable is unset, Git sets it to FRX (if LESS 
> environment variable is set, Git does not change it at all).
>  From the less man page the X option:
> Disables  sending the termcap initialization and deinitialization 
> strings to the terminal.  This is sometimes desirable if the 
> deinitialization string does something unnecessary, like clearing the 
> screen.
> So with the default setup the output should remain on the screen.

Right. But I have LESS=RS because I do *not* want it to remain on screen 
by default.

-- Hannes

  reply	other threads:[~2018-04-25 19:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24 16:59 [PATCH] git: add -N as a short option for --no-pager Johannes Sixt
2018-04-25  0:05 ` Junio C Hamano
2018-04-25  5:45   ` Beat Bolli <>
2018-04-25  6:25   ` Johannes Sixt
2018-04-25  7:41     ` Johannes Schindelin
2018-04-25 19:30       ` Johannes Sixt
2018-05-01 11:41     ` Kaartic Sivaraam
2018-04-25  9:21 ` Phillip Wood
2018-04-25 19:31   ` Johannes Sixt [this message]
2018-05-01 11:25     ` Kaartic Sivaraam
2018-05-03 17:15 ` [PATCH v2] git: add -P " Johannes Sixt
2018-05-03 20:06   ` Eric Sunshine
2018-05-04  5:43     ` Junio C Hamano
2018-12-21 12:04   ` Johannes Schindelin

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:

  List information:

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

  git send-email \ \ \ \ \

* 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.
Code repositories for project(s) associated with this public inbox

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 read-only IMAP folder(s) and NNTP newsgroup(s).