discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* \h'\w'\-'u' resolves to 2 (48u) characters in -Tutf8, not 1 (24u) - regression against 1.14.5-1
@ 2022-09-06 11:34 наб
  0 siblings, 0 replies; only message in thread
From: наб @ 2022-09-06 11:34 UTC (permalink / raw)
  To: discuss

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

Hi!

On groff and mandoc 1.14.5-1 off Debian
-- >8 --
.Dd
.Dt STTY 1
.Os
.
.Sh DESCRIPTION
\h'\w'\-'u'abcd
.br
\-abcd
.br
\w'\-'u
.Pp
\h'\w'-'u'abcd
.br
-abcd
.br
\w'-'u
.Pp
\h'\w'n'u'abcd
.br
nabcd
.br
\w'n'u
.Pp
\h'\w'm'u'abcd
.br
mabcd
.br
\w'm'u
.Pp
\h'\w'@'u'abcd
.br
@abcd
.br
\w'@'u
-- >8 --

yields
-- >8 --
DESCRIPTION
      abcd
     -abcd
     24u

      abcd
     -abcd
     24u

      abcd
     nabcd
     24u

      abcd
     mabcd
     24u

      abcd
     @abcd
     24u
-- >8 --
and
-- >8 --
STTY(1)                     General Commands Manual                    STTY(1)

D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
      abcd
     -abcd
     24u

      abcd
     -abcd
     24u

      abcd
     nabcd
     24u

      abcd
     mabcd
     24u

      abcd
     @abcd
     24u

Debian                         September 6, 2022                        Debian
-- >8 --

as expected.


However, on mandoc CVS from late May and current HEAD, it's:
-- >8 --
STTY(1)                     General Commands Manual                    STTY(1)

D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
       abcd
     -abcd
     48u

      abcd
     -abcd
     24u

      abcd
     nabcd
     24u

      abcd
     mabcd
     24u

      abcd
     @abcd
     24u

Linux 5.10.0-17-amd64                                    Linux 5.10.0-17-amd64
-- >8 --

Best,
наб

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-06 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-06 11:34 \h'\w'\-'u' resolves to 2 (48u) characters in -Tutf8, not 1 (24u) - regression against 1.14.5-1 наб

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).