memset (was Re: [PATCH] man7/: ffix)

2023-03-24 Thread Douglas McIlroy
> Can anyone justify the existence of memset(3) in libc? Memset is in the C standard; bzero is not. End of story. Bzero is justly deprecated on the man page I have (2008-08-06 via Red Hat). I avoid bzero and compile with "gcc -std=c17 -Wall -pedantic -extra" to raise a flag when I stray from the

Re: Greek in Groff

2023-03-24 Thread Oliver Corff
Hi Branden, thank you for your detailed reply. I'll try your examples over the weekend. The main reasons why I thought of suggesting the ISO 8859-7 encoding instead of native Unicode were twofold: 1. The example seen on (was it) reddit (?) looked botched, like typical 8 bit output to a syste

Re: adjustment and hyphenation in mdoc(7) pages

2023-03-24 Thread Dave Kemper
On 3/24/23, G. Branden Robinson wrote: > This means that mdoc(7) authors will need to learn a habit that is often > neglected by their man(7) rivals as well: > > Use the hyphenation control escape sequence wherever necessary. It can > suppress hyphenation of _any_ word it prefixes in _any_ contex

Re: Greek in email

2023-03-24 Thread Dave Kemper
On 3/24/23, Dave Kemper wrote: > And groff@gnu.org didn't deliver Deri's message to my gmail > address at all, Update: I did get the message in email, "delivered after 23360 seconds" (i.e., six and a half hours later). On 3/24/23, G. Branden Robinson wrote: > I'm attaching it, uuencoded in hop

Re: Greek in email

2023-03-24 Thread Ralph Corderoy
Hi Branden, Thanks for passing on the original email. It's as I suggested: - the text/html in the multipart/alternative got axed by the mailing list, and - the multipart/alternative was left with a sole text/plain which got promoted into the multipart/alternative's place. The text/plain par

Re: Greek in email

2023-03-24 Thread G. Branden Robinson
At 2023-03-24T03:04:12-0500, Dave Kemper wrote: > On 3/24/23, Dave Kemper wrote: > > The original message, available in the mbox archive at > > http://lists.gnu.org/archive/mbox/groff/2023-03 (search for > > Message-ID: <2073186.KlZ2vcFHjT@pip>), shows that the primary message > > text, not just t

Re: adjustment and hyphenation in mdoc(7) pages

2023-03-24 Thread Alejandro Colomar
Hi Branden, On 3/24/23 06:55, G. Branden Robinson wrote: [...] > Perhaps instead: > > At the beginning of a word, it suppresses any hyphenation breaks > within _except_ those specified with \%. > > Here is a fixed version of the reproducer: > > .Dd June 7, 2010 > .Dt timeradd 3bsd > .Os >

Re: adjustment and hyphenation in mdoc(7) pages

2023-03-24 Thread G. Branden Robinson
At 2023-03-24T00:55:50-0500, G. Branden Robinson wrote: > I can reproduce the problem. In groff Git what is also noticeable > is that groff mdoc(7) now adjusts to both margins by default as is > historically correct for man pages. (Yes, you can turn this off; see > groff_mdoc(7).) > > But it is

Re: adjustment and hyphenation in mdoc(7) pages

2023-03-24 Thread G. Branden Robinson
At 2023-03-24T14:08:49+0100, Alejandro Colomar wrote: > > \% is desperately underused, despite being as portable as anything > > is in *roff. Learn it, live it, love it! > > While I could even buy you that \% might not be a good default for > man(7)'s .B and .I, you can't buy that \% is not _alwa

Re: Greek in Groff

2023-03-24 Thread Ralph Corderoy
Hi Branden, > GMail shows me the response part of your message, but Neomutt does > not, making it look like you did not respond at all except for (part > of) the quotation--and the attachment. The email I received from the list had a MIME type of multipart/mixed with two parts as peers. part

Re: Greek in email

2023-03-24 Thread Deri
On Friday, 24 March 2023 08:04:12 GMT Dave Kemper wrote: > On 3/24/23, Dave Kemper wrote: > > The original message, available in the mbox archive at > > http://lists.gnu.org/archive/mbox/groff/2023-03 (search for > > Message-ID: <2073186.KlZ2vcFHjT@pip>), shows that the primary message > > text, n

Re: Greek in email

2023-03-24 Thread Dave Kemper
On 3/24/23, Dave Kemper wrote: > The original message, available in the mbox archive at > http://lists.gnu.org/archive/mbox/groff/2023-03 (search for > Message-ID: <2073186.KlZ2vcFHjT@pip>), shows that the primary message > text, not just the attachment, is base64 encoded, And upon decoding this,

adjustment and hyphenation in mdoc(7) pages

2023-03-24 Thread G. Branden Robinson
Hi Alex, At 2023-03-23T23:53:18+0100, Alejandro Colomar wrote: > I saw yesterday something that might have to do with this. Check the > timespecsub(3bsd) man (actually mdoc(7)) page, and in the SYNOPSYS > you'll find some weird filled function prototypes. I tried adding > hyphens to them, to see

Re: Greek in email

2023-03-24 Thread Dave Kemper
On 3/23/23, G. Branden Robinson wrote: > [Now that's really weird. GMail shows me the response part of your > message, but Neomutt does not, making it look like you did not respond > at all except for (part of) the quotation--and the attachment. I've > never encountered _that_ bug before. Manua

Re: adjustment and hyphenation in mdoc(7) pages

2023-03-24 Thread G. Branden Robinson
Including the attachment this time. At 2023-03-24T00:55:50-0500, G. Branden Robinson wrote: > Please find a patch attached--it fixes adjustment for me; how about > you? diff --git a/tmac/mdoc/doc-common b/tmac/mdoc/doc-common index 53a25659f..df10ebd7d 100644 --- a/tmac/mdoc/doc-common +++ b/tmac/

Re: Greek in Groff

2023-03-24 Thread Deri
On Thursday, 23 March 2023 21:03:22 GMT G. Branden Robinson wrote: > At 2023-03-18T11:09:16+, Ralph Corderoy wrote: > > > The encoding of choice would probably be ISO 8859-7 in order to > > > remain within the 8 bit character encoding space. > > > > ... > > > > > 4. Write your documents in IS