groff ver. bump

This commit is contained in:
Rmys
2026-05-16 16:59:42 +03:00
parent d8e15d6f37
commit d501328c0e
2 changed files with 36 additions and 12 deletions
@@ -1,24 +1,41 @@
format dashes as dashes so as to not confuse people
groff 1.23.0 also changed the "utf8" device to render
"^" and "~" as U+02C6 and U+02DC respectively.
this causes similar searchability/copy-paste issue
especially for ~ which is often used to denote $HOME path.
http://bugs.gentoo.org/16108
http://bugs.gentoo.org/17580
http://bugs.gentoo.org/121502
--- tmac/man.local
+++ tmac/man.local
@@ -1,2 +1,6 @@
.\" This file is loaded after an-old.tmac.
.\" Put any local modifications to an-old.tmac here.
--- a/tmac/man.local
+++ b/tmac/man.local
@@ -1,6 +1,12 @@
.\" This file is loaded by an.tmac.
.\"
.\" Put local modifications to groff_man(7)'s behavior here.
+.if '\*[.T]'utf8' \{\
+. char \- \N'45'
+. char - \N'45'
+. char ^ \[ha]
+. char ~ \[ti]
+.\}
--- tmac/mdoc.local
+++ tmac/mdoc.local
@@ -1,2 +1,6 @@
.\" This file is loaded after doc.tmac.
.\" Put any local modifications to doc.tmac here.
.\"
.\" Change "0" to "1" to enable OSC 8 links on SGR-capable grotty(1)
.\" output devices.
--- a/tmac/mdoc.local
+++ b/tmac/mdoc.local
@@ -1,6 +1,12 @@
.\" This file is loaded by mdoc.tmac.
.\"
.\" Put local modifications to groff_mdoc(7)'s behavior here.
+.if '\*[.T]'utf8' \{\
+. char \- \N'45'
+. char - \N'45'
+. char ^ \[ha]
+. char ~ \[ti]
+.\}
.\"
.\" "CW" is not a portable font name, but some man pages use it anyway.
.\" Uncomment this to suppress warnings produced by such pages. This