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

Re: [PATCH] help: implement multi-valued "man.viewer" config option

From
Christian Couder <chriscool@tuxfamily.org>
Date
Mar 14, 2008, 05:26 UTC
Message-ID
<200803140626.16075.chriscool@tuxfamily.org>
In-Reply-To
<200803140100.m2E105o5004664@localhost.localdomain>
Le vendredi 14 mars 2008, Xavier Maillard a écrit :
Show 7 quoted lines
>    > Ok, woma in not supported here and it is reported like this but
>    > would it be possible to just throw an error on stdout and try
>    > another viewer ?
>
>    Yes, with the following patch on top:
>
> See my "tested-by" message.
Thank you Xavier for this message.
Show 8 quoted lines
>    > We could even imagine something even more
>    > general like the possibility for the user to write his own man
>    > viewer (a bash script for example) and set it as a candidate.
>
>    I will do that in a latter patch, it has been suggested a lot of times
>    already.
>
> Glad to read that !

I just sent a patch to do that in "git-web--browse.sh" and I will soon work on the same stuff for man viewing.

Show 8 quoted lines
>    > By the way, I do not see any reason to put man as a candidate.
>    > "man" should be the default when nothing is specified or when all
>    > candidates have failed.
>
>    It may be more explicit.
>
> Well, I do not buy this argument and I am pretty sure that a
> simple note into the manual would suffice but, that's me :)

As my patch is now on next and as I am not sure to understand exactly what you want, I can only suggest to send a patch if you really care.

Thanks, Christian.

Previous: Xavier MaillardNext: Xavier Maillard
Message 5 of 6 in “help: implement multi-valued "man.viewer" config option”
  1. help: implement multi-valued "man.viewer" config optionChristian Couder, Mar 11, 2008
  2. Xavier MaillardMar 12, 2008
  3. Christian CouderMar 12, 2008
  4. Xavier MaillardMar 14, 2008
  5. Christian CouderMar 14, 2008
  6. Xavier MaillardMar 15, 2008

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.