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

pager config for external commands

From
JMJeffrey Middleton <jefromi@gmail.com>
Date
Nov 19, 2010, 15:26 UTC
Message-ID
<AANLkTimMSp8XVzoaax2mW-jYP26B+zF2QSJFcy4TUi60@mail.gmail.com>
In-Reply-To
<AANLkTimtjR0O3K8iGOVVVaFJS2+2wHcHhWf45tFYXjRQ@mail.gmail.com>

External commands don't appear to support the pager.<cmd> config setting. It's implemented for builtins via the call to check_pager_config and associated code in run_builtin, but there's nothing like that in execv_dashed_external. Is there a reason not to implement this for external commands? I can't see one, since the --no-pager option does apply to them.

Thanks, Jeffrey

Next: Jeff King
Message 1 of 4 in “pager config for external commands”
  1. Jeffrey MiddletonNov 19, 2010
  2. Jeff KingNov 19, 2010
  3. Jeffrey MiddletonNov 19, 2010
  4. Jeff KingNov 19, 2010

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.