Re: [PATCH] [grotty]: Use terminfo.

2023-08-23 Thread Ingo Schwarze
Hi Lennart, Lennart Jablonka wrote on Tue, Aug 22, 2023 at 05:56:51PM +: > Quoth Ingo Schwarze: >> Lennart Jablonka wrote: >>> G. Branden Robinson wrote: Until it does, read "terminfo(3)" as "putp(3)". It's brings up the relevant page and is quicker to type anyway. >> Good advice.

Re: [PATCH] [grotty]: Use terminfo.

2023-08-23 Thread Ingo Schwarze
Hi Alexis, Alexis wrote on Wed, Aug 23, 2023 at 09:02:36AM +1000: > Ingo Schwarze writes: >> The odd one out really is the mandoc implementation of man(1) >> which does use header and NAME section names for lookup. >> It is used by default in OpenBSD, Alpine Linux, Void Linux, >> and Termux, and

Re: [PATCH] [grotty]: Use terminfo.

2023-08-22 Thread Alexis
Ingo Schwarze writes: The odd one out really is the mandoc implementation of man(1) which does use header and NAME section names for lookup. It is used by default in OpenBSD, Alpine Linux, Void Linux, and Termux, and users can optionally switch to it in Arch Linux, openSUSE, and Fedora. On

Re: [PATCH] [grotty]: Use terminfo.

2023-08-22 Thread Lennart Jablonka
Quoth Ingo Schwarze: Until it does, read "terminfo(3)" as "putp(3)". It's brings up the relevant page and is quicker to type anyway. Good advice. That conflicts with my sense of aesthetic. References should use the man page title. The correct way to refer to putp’s man page is something

Re: [PATCH] [grotty]: Use terminfo.

2023-08-22 Thread Ingo Schwarze
Hi Lennart, Lennart Jablonka wrote on Mon, Aug 21, 2023 at 12:45:01AM +: > Quoth G. Branden Robinson: >> At 2023-08-19T20:08:06+, Lennart Jablonka wrote: >> (I observe that ncurses doesn't actually _provide_ a terminfo(3) page, You can't really say that in general, it appears to be opera

Re: [PATCH] [grotty]: Use terminfo.

2023-08-21 Thread Lennart Jablonka
Quoth Lennart Jablonka: I _don't_ want to refactor grotty(1), as a single program, to support being built with or without terminfo. That way lies a rope bridge over a chasm belching flames hundreds of feet into the air, and its name is dlopen(). (Portability problems are what scare me.) If w

Re: [PATCH] [grotty]: Use terminfo.

2023-08-20 Thread Lennart Jablonka
Quoth G. Branden Robinson: Hi Lennart, Thanks a lot for taking a stab at this! In lieu of a proper code review, I'll just riff on this to get the issues out before an audience. At 2023-08-19T20:08:06+, Lennart Jablonka wrote: This has nothing at all to do with making it easier to customiz

Re: [PATCH] [grotty]: Use terminfo.

2023-08-20 Thread Ingo Schwarze
Hi Branden, i did not spend the time yet to understand what this discussion is all about, and it seems to have very low priority for me, at the same time as there are lots of moderate to high priority tasks open for me - including, for example, support for lower-case .TH/.Dt and .SH/.Sh and for .M

Re: [PATCH] [grotty]: Use terminfo.

2023-08-19 Thread G. Branden Robinson
Hi Lennart, Thanks a lot for taking a stab at this! In lieu of a proper code review, I'll just riff on this to get the issues out before an audience. At 2023-08-19T20:08:06+, Lennart Jablonka wrote: > This has nothing at all to do with making it easier to customize the > look of man pages.