Re: Warn about long lines

2022-08-25 Thread Alejandro Colomar
Hi Ralph, On 8/23/22 14:51, Ralph Corderoy wrote: Hi Alejandro, ! groff -Tutf8 -man -ww longline.man | expand | grep '^.\{80\}.' Ahh, I forgot about \{N\}, since I never use it. Still, the Makefile uses pipefail, so I'm not sure how to make grep(1) work for this. If it wo

o with ^ on top of it

2022-08-25 Thread Alejandro Colomar
Hi, The following code (found in regex.7) wants to represent an 'o' with a '^' on top of it (. Is that code correct? It's working on the PDF (although it's ugly), but not on the terminal. It was changed by a commit that changed ^ by \(ha for compatibility, but I'm not sure if that's correc

Re: o with ^ on top of it

2022-08-25 Thread bjarn...@vortex.is
The character 'o circumflex' is a part of groff's character set (groff_char.7). A patch is in the attachment. From: Alejandro Colomar Sent: 25/08/2022 19:08 To: groff Subject: o with ^ on top of it Hi, The following code (found in regex.7) wants to

Re: o with ^ on top of it

2022-08-25 Thread G. Branden Robinson
Hi Alex, At 2022-08-25T21:08:17+0200, Alejandro Colomar wrote: > The following code (found in regex.7) wants to represent an 'o' with a > '^' on top of it (. Is that code correct? The exhibit, extracted, is this: \o'o\(ha' This means "overstrike the glyphs for 'o' and the 'ha' special characte

Re: o with ^ on top of it

2022-08-25 Thread G. Branden Robinson
At 2022-08-25T17:43:36-0500, G. Branden Robinson wrote: > This means "overstrike the glyphs for 'o' and the 'ha' special > character". The 'ha' special character is described variously as a > caret, circumflex accent, or "hat", and it corresponds to 0x7E in the > ASCII/ISO 8859/Unicode character s

Re: o with ^ on top of it

2022-08-25 Thread Alejandro Colomar
Hi Branden, On 8/26/22 00:43, G. Branden Robinson wrote: [...] Grrr...I'm just going to put another gigantic rant into a footnote.[2] The bottom line is that there is no portable solution. Soo, probably Bjarnii's patch is the simplest thing to do, right? \[^o] [...] I'll probably never g

Re: o with ^ on top of it

2022-08-25 Thread G. Branden Robinson
Hi Alex, At 2022-08-26T01:23:39+0200, Alejandro Colomar wrote: > Soo, probably Bjarnii's patch is the simplest thing to do, right? \[^o] I'd say so. groff and mandoc both seem to support it. Heirloom Doctools seems not to. > > I'll probably never get back to Bash. > > Did it get patched? :p

Re: Warn about long lines

2022-08-25 Thread Ralph Corderoy
Hi Alejandro, > > $ true | (! grep '^.\{80\}.' 81); echo $? > > > > . > > 1 > > $ > > May I tell groff(1) (grotty(1)) that the terminal width is 80, no > matter what it actually is? grotty(1) does