FS#79290 - [groff] Can't search for ~ or ^ in zshall manpage

Attached to Project: Arch Linux
Opened by Jan Alexander Steffens (heftig) - Thursday, 03 August 2023, 18:36 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 06 September 2023, 14:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Trying to search for ~ or ^ in the zshall manpage fails, as groff prints them using U+02DC SMALL TILDE (˜) and U+02C6 MODIFIER LETTER CIRCUMFLEX ACCENT (ˆ).

I suppose we need some more substitutions in our site-tmac files.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 06 September 2023, 14:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.23.0-4
Comment by Tobias Powalowski (tpowa) - Sunday, 06 August 2023, 19:07 GMT
Probably any ideas?
Comment by Bryan Lai (bryango) - Monday, 07 August 2023, 12:15 GMT
I can confirm this also happens for `man git-config`. Downgrading to groff 1.22.4 resolves the issue. It may or may not be related to man-db; see: https://gitlab.com/man-db/man-db/-/issues/25. Also, one can also set `LC_CTYPE=C` as a temporary fix.
Comment by Bryan Lai (bryango) - Sunday, 27 August 2023, 07:05 GMT
This is a very annoying problem and I don't understand why it is not addressed upstream... In any case, if we decide to patch this, I think `site.tmac` can be updated following debian: https://salsa.debian.org/debian/groff/blob/master/debian/mandoc.local
Comment by Tobias Powalowski (tpowa) - Tuesday, 05 September 2023, 07:22 GMT
Thanks, adapted file from debian.
1.23.0-4 should fix it.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 06 September 2023, 14:44 GMT
Manpages look good now, thanks!

Loading...