git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] pager: default to LESS=FRX not LESS=FRSX

From
EREygene Ryabinkin <rea-git@codelabs.ru>
Date
Mar 27, 2007, 06:54 UTC
Message-ID
<20070327065419.GB51155@codelabs.ru>
In-Reply-To
<17928.7076.871485.136142@lisa.zopyra.com>
Bill, good day.
Mon, Mar 26, 2007 at 01:14:44PM -0600, Bill Lear wrote:
Show 7 quoted lines
> > (1) Learn to use left/right arrow keys under "less -S" if you
> >     have occasional lines that are too long.
> 
> Hmm, looking at the code: why, if the environment variable LESS is
> already set, should this all be worth talking about?  Shouldn't the
> user be able to set LESS to whatever they want, once, and be done with
> it?  The current setenv() call to set up the pager does this, correct?

If it was named GIT_LESS, then yes, I could set it to the defaults that are sane for me with Git. But I do not like the idea of setting -F, -R and -X for all less invocations. But OK, the 'l' and 'h' bindings for less movements are fine with me. I do not like scrolling very much (using 14400 modem lines sometimes, so it is a bit slow), but if 'FRSX' are good defaults that people are used to, then I should live with them. Or probably start the git-FRX toolchain ;))

OK, I feel that this thread is exhausted itself, so I am shutting up.
-- 
Eygene
Previous: Junio C Hamano
Message 11 of 11 in “pager: default to LESS=FRX not LESS=FRSX”
  1. pager: default to LESS=FRX not LESS=FRSXEygene Ryabinkin, Mar 26, 2007
  2. Junio C HamanoMar 26, 2007
  3. Shawn O. PearceMar 26, 2007
  4. Junio C HamanoMar 26, 2007
  5. Eygene RyabinkinMar 26, 2007
  6. Junio C HamanoMar 26, 2007
  7. Jeff KingMar 26, 2007
  8. Eygene RyabinkinMar 27, 2007
  9. Bill LearMar 26, 2007
  10. Junio C HamanoMar 26, 2007
  11. Eygene RyabinkinMar 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.