summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1.in14
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1.out_ascii12
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1.out_html10
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1.out_utf812
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1diff.in10
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii8
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1diff.out_html6
-rw-r--r--regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf88
-rw-r--r--regress/usr.bin/mandoc/char/unicode/named.in13
-rw-r--r--regress/usr.bin/mandoc/char/unicode/named.out_ascii11
-rw-r--r--regress/usr.bin/mandoc/char/unicode/named.out_html11
-rw-r--r--regress/usr.bin/mandoc/char/unicode/named.out_utf811
-rw-r--r--regress/usr.bin/mandoc/char/unicode/namediff.in14
-rw-r--r--regress/usr.bin/mandoc/char/unicode/namediff.out_ascii12
-rw-r--r--regress/usr.bin/mandoc/char/unicode/namediff.out_html12
-rw-r--r--regress/usr.bin/mandoc/char/unicode/namediff.out_utf812
-rw-r--r--usr.bin/mandoc/chars.c12
-rw-r--r--usr.bin/mandoc/term_ascii.c4
18 files changed, 94 insertions, 98 deletions
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.in b/regress/usr.bin/mandoc/char/unicode/latin1.in
index 9128524be53..8ef8288837b 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1.in
+++ b/regress/usr.bin/mandoc/char/unicode/latin1.in
@@ -1,11 +1,13 @@
-.\" $OpenBSD: latin1.in,v 1.5 2017/08/23 10:59:53 schwarze Exp $
-.TH CHAR-UNICODE-LATIN1 1 "October 27, 2014"
+.\" $OpenBSD: latin1.in,v 1.6 2018/08/21 16:01:38 schwarze Exp $
+.TH CHAR-UNICODE-LATIN1 1 "August 21, 2018"
.SH NAME
char-unicode-latin1 \- Unicode characters in the ISO-8859-1 range
.SH DESCRIPTION
.nf
BEGINTEST
+\[u00A1]\(r! INVERTED EXCLAMATION MARK
\[u00A2]\(ct CENT SIGN
+\[u00A3]\(Po POUND SIGN
\[u00A4]\(Cs CURRENCY SIGN
\[u00A5]\(Ye YEN SIGN
\[u00A6]\(bb BROKEN BAR
@@ -32,6 +34,7 @@ BEGINTEST
\[u00BC]\(14 VULGAR FRACTION ONE QUARTER
\[u00BD]\(12 VULGAR FRACTION ONE HALF
\[u00BE]\(34 VULGAR FRACTION THREE QUARTERS
+\[u00BF]\(r? INVERTED QUESTION MARK
\[u00C0]\(`A LATIN CAPITAL LETTER A WITH GRAVE
\[u00C1]\('A LATIN CAPITAL LETTER A WITH ACUTE
\[u00C2]\(^A LATIN CAPITAL LETTER A WITH CIRCUMFLEX
@@ -61,7 +64,9 @@ BEGINTEST
\[u00DA]\('U LATIN CAPITAL LETTER U WITH ACUTE
\[u00DB]\(^U LATIN CAPITAL LETTER U WITH CIRCUMFLEX
\[u00DC]\(:U LATIN CAPITAL LETTER U WITH DIAERESIS
-\[u00DD] LATIN CAPITAL LETTER Y WITH ACUTE
+\[u00DD]\('Y LATIN CAPITAL LETTER Y WITH ACUTE
+\[u00DE]\(TP LATIN CAPITAL LETTER THORN
+\[u00DF]\(ss LATIN SMALL LETTER SHARP S
\[u00E0]\(`a LATIN SMALL LETTER A WITH GRAVE
\[u00E1]\('a LATIN SMALL LETTER A WITH ACUTE
\[u00E2]\(^a LATIN SMALL LETTER A WITH CIRCUMFLEX
@@ -91,7 +96,8 @@ BEGINTEST
\[u00FA]\('u LATIN SMALL LETTER U WITH ACUTE
\[u00FB]\(^u LATIN SMALL LETTER U WITH CIRCUMFLEX
\[u00FC]\(:u LATIN SMALL LETTER U WITH DIAERESIS
-\[u00FD] LATIN SMALL LETTER Y WITH ACUTE
+\[u00FD]\('y LATIN SMALL LETTER Y WITH ACUTE
+\[u00FE]\(Tp LATIN SMALL LETTER THORN
\[u00FF]\(:y LATIN SMALL LETTER Y WITH DIAERESIS
ENDTEST
.fi
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii b/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii
index 7b2e5198bd9..a279c5df9a3 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii
+++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_ascii
@@ -7,7 +7,9 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
BEGINTEST
+ !! INVERTED EXCLAMATION MARK
/c/c CENT SIGN
+ -L-L POUND SIGN
oxox CURRENCY SIGN
=Y=Y YEN SIGN
|| BROKEN BAR
@@ -34,6 +36,7 @@ DDEESSCCRRIIPPTTIIOONN
1/41/4 VULGAR FRACTION ONE QUARTER
1/21/2 VULGAR FRACTION ONE HALF
3/43/4 VULGAR FRACTION THREE QUARTERS
+ ?? INVERTED QUESTION MARK
`A`A LATIN CAPITAL LETTER A WITH GRAVE
'A'A LATIN CAPITAL LETTER A WITH ACUTE
^A^A LATIN CAPITAL LETTER A WITH CIRCUMFLEX
@@ -63,7 +66,9 @@ DDEESSCCRRIIPPTTIIOONN
'U'U LATIN CAPITAL LETTER U WITH ACUTE
^U^U LATIN CAPITAL LETTER U WITH CIRCUMFLEX
"U"U LATIN CAPITAL LETTER U WITH DIAERESIS
- 'Y LATIN CAPITAL LETTER Y WITH ACUTE
+ 'Y'Y LATIN CAPITAL LETTER Y WITH ACUTE
+ ThTh LATIN CAPITAL LETTER THORN
+ ssss LATIN SMALL LETTER SHARP S
`a`a LATIN SMALL LETTER A WITH GRAVE
'a'a LATIN SMALL LETTER A WITH ACUTE
^a^a LATIN SMALL LETTER A WITH CIRCUMFLEX
@@ -93,10 +98,11 @@ DDEESSCCRRIIPPTTIIOONN
'u'u LATIN SMALL LETTER U WITH ACUTE
^u^u LATIN SMALL LETTER U WITH CIRCUMFLEX
"u"u LATIN SMALL LETTER U WITH DIAERESIS
- 'y LATIN SMALL LETTER Y WITH ACUTE
+ 'y'y LATIN SMALL LETTER Y WITH ACUTE
+ thth LATIN SMALL LETTER THORN
"y"y LATIN SMALL LETTER Y WITH DIAERESIS
ENDTEST
-OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1(1)
+OpenBSD August 21, 2018 CHAR-UNICODE-LATIN1(1)
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_html b/regress/usr.bin/mandoc/char/unicode/latin1.out_html
index abd8a3a51b3..db54b987b68 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_html
@@ -1,5 +1,7 @@
BEGINTEST
+¡¡ INVERTED EXCLAMATION MARK
¢¢ CENT SIGN
+££ POUND SIGN
¤¤ CURRENCY SIGN
¥¥ YEN SIGN
¦¦ BROKEN BAR
@@ -26,6 +28,7 @@ BEGINTEST
¼¼ VULGAR FRACTION ONE QUARTER
½½ VULGAR FRACTION ONE HALF
¾¾ VULGAR FRACTION THREE QUARTERS
+¿¿ INVERTED QUESTION MARK
ÀÀ LATIN CAPITAL LETTER A WITH GRAVE
ÁÁ LATIN CAPITAL LETTER A WITH ACUTE
ÂÂ LATIN CAPITAL LETTER A WITH CIRCUMFLEX
@@ -55,7 +58,9 @@ BEGINTEST
ÚÚ LATIN CAPITAL LETTER U WITH ACUTE
ÛÛ LATIN CAPITAL LETTER U WITH CIRCUMFLEX
ÜÜ LATIN CAPITAL LETTER U WITH DIAERESIS
-Ý LATIN CAPITAL LETTER Y WITH ACUTE
+ÝÝ LATIN CAPITAL LETTER Y WITH ACUTE
+ÞÞ LATIN CAPITAL LETTER THORN
+ßß LATIN SMALL LETTER SHARP S
àà LATIN SMALL LETTER A WITH GRAVE
áá LATIN SMALL LETTER A WITH ACUTE
ââ LATIN SMALL LETTER A WITH CIRCUMFLEX
@@ -85,6 +90,7 @@ BEGINTEST
úú LATIN SMALL LETTER U WITH ACUTE
ûû LATIN SMALL LETTER U WITH CIRCUMFLEX
üü LATIN SMALL LETTER U WITH DIAERESIS
-ý LATIN SMALL LETTER Y WITH ACUTE
+ýý LATIN SMALL LETTER Y WITH ACUTE
+þþ LATIN SMALL LETTER THORN
ÿÿ LATIN SMALL LETTER Y WITH DIAERESIS
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1.out_utf8 b/regress/usr.bin/mandoc/char/unicode/latin1.out_utf8
index 36078a1bcba..e1caa4f838a 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1.out_utf8
+++ b/regress/usr.bin/mandoc/char/unicode/latin1.out_utf8
@@ -7,7 +7,9 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
BEGINTEST
+ ¡¡ INVERTED EXCLAMATION MARK
¢¢ CENT SIGN
+ ££ POUND SIGN
¤¤ CURRENCY SIGN
¥¥ YEN SIGN
¦¦ BROKEN BAR
@@ -34,6 +36,7 @@ DDEESSCCRRIIPPTTIIOONN
¼¼ VULGAR FRACTION ONE QUARTER
½½ VULGAR FRACTION ONE HALF
¾¾ VULGAR FRACTION THREE QUARTERS
+ ¿¿ INVERTED QUESTION MARK
ÀÀ LATIN CAPITAL LETTER A WITH GRAVE
ÁÁ LATIN CAPITAL LETTER A WITH ACUTE
ÂÂ LATIN CAPITAL LETTER A WITH CIRCUMFLEX
@@ -63,7 +66,9 @@ DDEESSCCRRIIPPTTIIOONN
ÚÚ LATIN CAPITAL LETTER U WITH ACUTE
ÛÛ LATIN CAPITAL LETTER U WITH CIRCUMFLEX
ÜÜ LATIN CAPITAL LETTER U WITH DIAERESIS
- Ý LATIN CAPITAL LETTER Y WITH ACUTE
+ ÝÝ LATIN CAPITAL LETTER Y WITH ACUTE
+ ÞÞ LATIN CAPITAL LETTER THORN
+ ßß LATIN SMALL LETTER SHARP S
àà LATIN SMALL LETTER A WITH GRAVE
áá LATIN SMALL LETTER A WITH ACUTE
ââ LATIN SMALL LETTER A WITH CIRCUMFLEX
@@ -93,10 +98,11 @@ DDEESSCCRRIIPPTTIIOONN
úú LATIN SMALL LETTER U WITH ACUTE
ûû LATIN SMALL LETTER U WITH CIRCUMFLEX
üü LATIN SMALL LETTER U WITH DIAERESIS
- ý LATIN SMALL LETTER Y WITH ACUTE
+ ýý LATIN SMALL LETTER Y WITH ACUTE
+ þþ LATIN SMALL LETTER THORN
ÿÿ LATIN SMALL LETTER Y WITH DIAERESIS
ENDTEST
-OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1(1)
+OpenBSD August 21, 2018 CHAR-UNICODE-LATIN1(1)
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.in b/regress/usr.bin/mandoc/char/unicode/latin1diff.in
index 8ae7dbd3abe..f4ef19ff31e 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1diff.in
+++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.in
@@ -1,16 +1,10 @@
-.\" $OpenBSD: latin1diff.in,v 1.3 2017/08/23 10:59:53 schwarze Exp $
-.TH CHAR-UNICODE-LATIN1DIFF 1 "October 27, 2014"
+.\" $OpenBSD: latin1diff.in,v 1.4 2018/08/21 16:01:38 schwarze Exp $
+.TH CHAR-UNICODE-LATIN1DIFF 1 "August 21, 2018"
.SH NAME
char-unicode-latin1diff \- Unicode characters in the ISO-8859-1 range
.SH DESCRIPTION
.nf
BEGINTEST
-\[u00A1]\(r! INVERTED EXCLAMATION MARK
-\[u00A3]\(Po POUND SIGN
\[u00AF]\(a- MACRON
-\[u00BF]\(r? INVERTED QUESTION MARK
-\[u00DE]\(TP LATIN CAPITAL LETTER THORN
-\[u00DF]\(ss LATIN SMALL LETTER SHARP S
-\[u00FE]\(Tp LATIN SMALL LETTER THORN
ENDTEST
.fi
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii
index 40fe33efa63..07777620647 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii
+++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_ascii
@@ -7,15 +7,9 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
BEGINTEST
- !! INVERTED EXCLAMATION MARK
- GBPGBP POUND SIGN
-- MACRON
- ?? INVERTED QUESTION MARK
- ThTh LATIN CAPITAL LETTER THORN
- ssss LATIN SMALL LETTER SHARP S
- thth LATIN SMALL LETTER THORN
ENDTEST
-OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1DIFF(1)
+OpenBSD August 21, 2018 CHAR-UNICODE-LATIN1DIFF(1)
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html
index 38bbade9050..5f3b3b1782f 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_html
@@ -1,9 +1,3 @@
BEGINTEST
-¡¡ INVERTED EXCLAMATION MARK
-££ POUND SIGN
¯¯ MACRON
-¿¿ INVERTED QUESTION MARK
-ÞÞ LATIN CAPITAL LETTER THORN
-ßß LATIN SMALL LETTER SHARP S
-þþ LATIN SMALL LETTER THORN
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf8 b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf8
index 6a679b297b8..be0053ada43 100644
--- a/regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf8
+++ b/regress/usr.bin/mandoc/char/unicode/latin1diff.out_utf8
@@ -7,15 +7,9 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
BEGINTEST
- ¡¡ INVERTED EXCLAMATION MARK
- ££ POUND SIGN
¯¯ MACRON
- ¿¿ INVERTED QUESTION MARK
- ÞÞ LATIN CAPITAL LETTER THORN
- ßß LATIN SMALL LETTER SHARP S
- þþ LATIN SMALL LETTER THORN
ENDTEST
-OpenBSD October 27, 2014 CHAR-UNICODE-LATIN1DIFF(1)
+OpenBSD August 21, 2018 CHAR-UNICODE-LATIN1DIFF(1)
diff --git a/regress/usr.bin/mandoc/char/unicode/named.in b/regress/usr.bin/mandoc/char/unicode/named.in
index 21e4436283c..e8c05152312 100644
--- a/regress/usr.bin/mandoc/char/unicode/named.in
+++ b/regress/usr.bin/mandoc/char/unicode/named.in
@@ -1,4 +1,4 @@
-.\" $OpenBSD: named.in,v 1.9 2018/08/21 01:56:26 schwarze Exp $
+.\" $OpenBSD: named.in,v 1.10 2018/08/21 16:01:38 schwarze Exp $
.TH CHAR-UNICODE-NAMED 1 "August 21, 2018"
.SH NAME
char-unicode-named \- Unicode characters having named escapes
@@ -13,8 +13,10 @@ BEGINTEST
\[u0152]\(OE LATIN CAPITAL LIGATURE OE
\[u0153]\(oe LATIN SMALL LIGATURE OE
\[u0192]\(Fn LATIN SMALL LETTER F WITH HOOK
+\[u0237]\(.j LATIN SMALL LETTER DOTLESS J
\[u02C7]\(ah CARON
\[u02D8]\(ab BREVE
+\[u02D9]\(a. DOT ABOVE
\[u02DA]\(ao RING ABOVE
\[u02DB]\(ho OGONEK
\[u02DD]\(a" DOUBLE ACUTE ACCENT
@@ -118,6 +120,9 @@ BEGINTEST
\[u2208]\(mo ELEMENT OF
\[u2209]\(nm NOT AN ELEMENT OF
\[u220B]\(st CONTAINS AS MEMBER
+\[u220F]\[product] N-ARY PRODUCT
+\[u2210]\[coproduct] N-ARY COPRODUCT
+\[u2211]\[sum] N-ARY SUMMATION
\[u2212]\(mi MINUS SIGN
\[u2213]\(-+ MINUS-OR-PLUS SIGN
\[u2217]\(** ASTERISK OPERATOR
@@ -142,6 +147,8 @@ BEGINTEST
\[u2265]\(>= GREATER-THAN OR EQUAL TO
\[u2282]\(sb SUBSET OF
\[u2283]\(sp SUPERSET OF
+\[u2284]\(nb NOT A SUBSET OF
+\[u2285]\(nc NOT A SUPERSET OF
\[u2286]\(ib SUBSET OF OR EQUAL TO
\[u2287]\(ip SUPERSET OF OR EQUAL TO
\[u2295]\(c+ CIRCLED PLUS
@@ -160,6 +167,10 @@ BEGINTEST
\[u25CB]\(ci WHITE CIRCLE
\[u261C]\(lh WHITE LEFT POINTING INDEX
\[u261E]\(rh WHITE RIGHT POINTING INDEX
+\[u2660]\(SP BLACK SPADE SUIT
+\[u2663]\(CL BLACK CLUB SUIT
+\[u2665]\(HE BLACK HEART SUIT
+\[u2666]\(DI BLACK DIAMOND SUIT
\[u27E8]\(la MATHEMATICAL LEFT ANGLE BRACKET
\[u27E9]\(ra MATHEMATICAL RIGHT ANGLE BRACKET
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/named.out_ascii b/regress/usr.bin/mandoc/char/unicode/named.out_ascii
index 530bf7f1235..ce09d83f28c 100644
--- a/regress/usr.bin/mandoc/char/unicode/named.out_ascii
+++ b/regress/usr.bin/mandoc/char/unicode/named.out_ascii
@@ -15,8 +15,10 @@ DDEESSCCRRIIPPTTIIOONN
OEOE LATIN CAPITAL LIGATURE OE
oeoe LATIN SMALL LIGATURE OE
,f,f LATIN SMALL LETTER F WITH HOOK
+ jj LATIN SMALL LETTER DOTLESS J
vv CARON
'`'` BREVE
+ .. DOT ABOVE
oo RING ABOVE
,, OGONEK
"" DOUBLE ACUTE ACCENT
@@ -120,6 +122,9 @@ DDEESSCCRRIIPPTTIIOONN
<element of><element of> ELEMENT OF
<not element of><not element of> NOT AN ELEMENT OF
<such that><such that> CONTAINS AS MEMBER
+ <product><product> N-ARY PRODUCT
+ <coproduct><coproduct> N-ARY COPRODUCT
+ <sum><sum> N-ARY SUMMATION
-- MINUS SIGN
-+-+ MINUS-OR-PLUS SIGN
** ASTERISK OPERATOR
@@ -144,6 +149,8 @@ DDEESSCCRRIIPPTTIIOONN
>=>= GREATER-THAN OR EQUAL TO
<proper subset><proper subset> SUBSET OF
<proper superset><proper superset> SUPERSET OF
+ <not subset><not subset> NOT A SUBSET OF
+ <not superset><not superset> NOT A SUPERSET OF
<subset or equal><subset or equal> SUBSET OF OR EQUAL TO
<superset or equal><superset or equal> SUPERSET OF OR EQUAL TO
O+O+ CIRCLED PLUS
@@ -162,6 +169,10 @@ DDEESSCCRRIIPPTTIIOONN
OO WHITE CIRCLE
<=<= WHITE LEFT POINTING INDEX
=>=> WHITE RIGHT POINTING INDEX
+ SS BLACK SPADE SUIT
+ CC BLACK CLUB SUIT
+ HH BLACK HEART SUIT
+ DD BLACK DIAMOND SUIT
<< MATHEMATICAL LEFT ANGLE BRACKET
>> MATHEMATICAL RIGHT ANGLE BRACKET
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/named.out_html b/regress/usr.bin/mandoc/char/unicode/named.out_html
index 66a3ed0a6f3..5d77d840152 100644
--- a/regress/usr.bin/mandoc/char/unicode/named.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/named.out_html
@@ -7,8 +7,10 @@ BEGINTEST
&#x0152;&#x0152; LATIN CAPITAL LIGATURE OE
&#x0153;&#x0153; LATIN SMALL LIGATURE OE
&#x0192;&#x0192; LATIN SMALL LETTER F WITH HOOK
+&#x0237;&#x0237; LATIN SMALL LETTER DOTLESS J
&#x02C7;&#x02C7; CARON
&#x02D8;&#x02D8; BREVE
+&#x02D9;&#x02D9; DOT ABOVE
&#x02DA;&#x02DA; RING ABOVE
&#x02DB;&#x02DB; OGONEK
&#x02DD;&#x02DD; DOUBLE ACUTE ACCENT
@@ -112,6 +114,9 @@ BEGINTEST
&#x2208;&#x2208; ELEMENT OF
&#x2209;&#x2209; NOT AN ELEMENT OF
&#x220B;&#x220B; CONTAINS AS MEMBER
+&#x220F;&#x220F; N-ARY PRODUCT
+&#x2210;&#x2210; N-ARY COPRODUCT
+&#x2211;&#x2211; N-ARY SUMMATION
&#x2212;&#x2212; MINUS SIGN
&#x2213;&#x2213; MINUS-OR-PLUS SIGN
&#x2217;&#x2217; ASTERISK OPERATOR
@@ -136,6 +141,8 @@ BEGINTEST
&#x2265;&#x2265; GREATER-THAN OR EQUAL TO
&#x2282;&#x2282; SUBSET OF
&#x2283;&#x2283; SUPERSET OF
+&#x2284;&#x2284; NOT A SUBSET OF
+&#x2285;&#x2285; NOT A SUPERSET OF
&#x2286;&#x2286; SUBSET OF OR EQUAL TO
&#x2287;&#x2287; SUPERSET OF OR EQUAL TO
&#x2295;&#x2295; CIRCLED PLUS
@@ -154,6 +161,10 @@ BEGINTEST
&#x25CB;&#x25CB; WHITE CIRCLE
&#x261C;&#x261C; WHITE LEFT POINTING INDEX
&#x261E;&#x261E; WHITE RIGHT POINTING INDEX
+&#x2660;&#x2660; BLACK SPADE SUIT
+&#x2663;&#x2663; BLACK CLUB SUIT
+&#x2665;&#x2665; BLACK HEART SUIT
+&#x2666;&#x2666; BLACK DIAMOND SUIT
&#x27E8;&#x27E8; MATHEMATICAL LEFT ANGLE BRACKET
&#x27E9;&#x27E9; MATHEMATICAL RIGHT ANGLE BRACKET
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/named.out_utf8 b/regress/usr.bin/mandoc/char/unicode/named.out_utf8
index 0e5b6853e77..b5d84f3508e 100644
--- a/regress/usr.bin/mandoc/char/unicode/named.out_utf8
+++ b/regress/usr.bin/mandoc/char/unicode/named.out_utf8
@@ -15,8 +15,10 @@ DDEESSCCRRIIPPTTIIOONN
ŒŒ LATIN CAPITAL LIGATURE OE
œœ LATIN SMALL LIGATURE OE
ƒƒ LATIN SMALL LETTER F WITH HOOK
+ ȷȷ LATIN SMALL LETTER DOTLESS J
ˇˇ CARON
˘˘ BREVE
+ ˙˙ DOT ABOVE
˚˚ RING ABOVE
˛˛ OGONEK
˝˝ DOUBLE ACUTE ACCENT
@@ -120,6 +122,9 @@ DDEESSCCRRIIPPTTIIOONN
∈∈ ELEMENT OF
∉∉ NOT AN ELEMENT OF
∋∋ CONTAINS AS MEMBER
+ ∏∏ N-ARY PRODUCT
+ ∐∐ N-ARY COPRODUCT
+ ∑∑ N-ARY SUMMATION
−− MINUS SIGN
∓∓ MINUS-OR-PLUS SIGN
∗∗ ASTERISK OPERATOR
@@ -144,6 +149,8 @@ DDEESSCCRRIIPPTTIIOONN
≥≥ GREATER-THAN OR EQUAL TO
⊂⊂ SUBSET OF
⊃⊃ SUPERSET OF
+ ⊄⊄ NOT A SUBSET OF
+ ⊅⊅ NOT A SUPERSET OF
⊆⊆ SUBSET OF OR EQUAL TO
⊇⊇ SUPERSET OF OR EQUAL TO
⊕⊕ CIRCLED PLUS
@@ -162,6 +169,10 @@ DDEESSCCRRIIPPTTIIOONN
○○ WHITE CIRCLE
☜☜ WHITE LEFT POINTING INDEX
☞☞ WHITE RIGHT POINTING INDEX
+ ♠♠ BLACK SPADE SUIT
+ ♣♣ BLACK CLUB SUIT
+ ♥♥ BLACK HEART SUIT
+ ♦♦ BLACK DIAMOND SUIT
⟨⟨ MATHEMATICAL LEFT ANGLE BRACKET
⟩⟩ MATHEMATICAL RIGHT ANGLE BRACKET
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.in b/regress/usr.bin/mandoc/char/unicode/namediff.in
index 8f97bb149c1..016d79f343b 100644
--- a/regress/usr.bin/mandoc/char/unicode/namediff.in
+++ b/regress/usr.bin/mandoc/char/unicode/namediff.in
@@ -1,21 +1,14 @@
-.\" $OpenBSD: namediff.in,v 1.8 2018/08/21 01:56:26 schwarze Exp $
+.\" $OpenBSD: namediff.in,v 1.9 2018/08/21 16:01:38 schwarze Exp $
.TH CHAR-UNICODE-NAMEDIFF 1 "August 21, 2018"
.SH NAME
char-unicode-namediff \- Unicode characters having named escapes
.SH DESCRIPTION
.nf
BEGINTEST
-\[u0237]\(.j LATIN SMALL LETTER DOTLESS J
-\[u02D9]\(a. DOT ABOVE
\[u203E]\(rn OVERLINE
\[u210F]\[hbar]\(-h PLANCK CONSTANT OVER TWO PI
\[u2195]\(va UP DOWN ARROW
\[u21D5]\(vA UP DOWN DOUBLE ARROW
-\[u220F]\[product] N-ARY PRODUCT
-\[u2210]\[coproduct] N-ARY COPRODUCT
-\[u2211]\[sum] N-ARY SUMMATION
-\[u2284]\(nb NOT A SUBSET OF
-\[u2285]\(nc NOT A SUPERSET OF
\[u239B]\[parenlefttp] LEFT PARENTHESIS UPPER HOOK
\[u239C]\[parenleftex] LEFT PARENTHESIS EXTENSION
\[u239D]\[parenleftbt] LEFT PARENTHESIS LOWER HOOK
@@ -35,10 +28,5 @@ BEGINTEST
\[u23AB]\[bracerighttp] RIGHT CURLY BRACKET UPPER HOOK
\[u23AC]\[bracerightmid] RIGHT CURLY BRACKET MIDDLE PIECE
\[u23AD]\[bracerightbt] RIGHT CURLY BRACKET LOWER HOOK
-\[u2660]\(SP BLACK SPADE SUIT
-\[u2663]\(CL BLACK CLUB SUIT
-\[u2665]\(HE BLACK HEART SUIT
-\[u2666]\(DI BLACK DIAMOND SUIT
-\[u2713]\(OK CHECK MARK
ENDTEST
.fi
diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.out_ascii b/regress/usr.bin/mandoc/char/unicode/namediff.out_ascii
index 7a0f3f1fe04..b275d95c80b 100644
--- a/regress/usr.bin/mandoc/char/unicode/namediff.out_ascii
+++ b/regress/usr.bin/mandoc/char/unicode/namediff.out_ascii
@@ -7,17 +7,10 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
BEGINTEST
- jj LATIN SMALL LETTER DOTLESS J
- .. DOT ABOVE
-- OVERLINE
/h/h/h PLANCK CONSTANT OVER TWO PI
^v^v UP DOWN ARROW
^=v^=v UP DOWN DOUBLE ARROW
- <product><product> N-ARY PRODUCT
- <coproduct><coproduct> N-ARY COPRODUCT
- <sum><sum> N-ARY SUMMATION
- <not subset><not subset> NOT A SUBSET OF
- <not superset><not superset> NOT A SUPERSET OF
// LEFT PARENTHESIS UPPER HOOK
|| LEFT PARENTHESIS EXTENSION
\\ LEFT PARENTHESIS LOWER HOOK
@@ -37,11 +30,6 @@ DDEESSCCRRIIPPTTIIOONN
-.-. RIGHT CURLY BRACKET UPPER HOOK
}} RIGHT CURLY BRACKET MIDDLE PIECE
-'-' RIGHT CURLY BRACKET LOWER HOOK
- <spade><spade> BLACK SPADE SUIT
- <club><club> BLACK CLUB SUIT
- <heart><heart> BLACK HEART SUIT
- <diamond><diamond> BLACK DIAMOND SUIT
- \/\/ CHECK MARK
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.out_html b/regress/usr.bin/mandoc/char/unicode/namediff.out_html
index 9803aff050f..4afee5ce711 100644
--- a/regress/usr.bin/mandoc/char/unicode/namediff.out_html
+++ b/regress/usr.bin/mandoc/char/unicode/namediff.out_html
@@ -1,15 +1,8 @@
BEGINTEST
-&#x0237;&#x0237; LATIN SMALL LETTER DOTLESS J
-&#x02D9;&#x02D9; DOT ABOVE
&#x203E;&#x203E; OVERLINE
&#x210F;&#x210F;&#x210F; PLANCK CONSTANT OVER TWO PI
&#x2195;&#x2195; UP DOWN ARROW
&#x21D5;&#x21D5; UP DOWN DOUBLE ARROW
-&#x220F;&#x220F; N-ARY PRODUCT
-&#x2210;&#x2210; N-ARY COPRODUCT
-&#x2211;&#x2211; N-ARY SUMMATION
-&#x2284;&#x2284; NOT A SUBSET OF
-&#x2285;&#x2285; NOT A SUPERSET OF
&#x239B;&#x239B; LEFT PARENTHESIS UPPER HOOK
&#x239C;&#x239C; LEFT PARENTHESIS EXTENSION
&#x239D;&#x239D; LEFT PARENTHESIS LOWER HOOK
@@ -29,9 +22,4 @@ BEGINTEST
&#x23AB;&#x23AB; RIGHT CURLY BRACKET UPPER HOOK
&#x23AC;&#x23AC; RIGHT CURLY BRACKET MIDDLE PIECE
&#x23AD;&#x23AD; RIGHT CURLY BRACKET LOWER HOOK
-&#x2660;&#x2660; BLACK SPADE SUIT
-&#x2663;&#x2663; BLACK CLUB SUIT
-&#x2665;&#x2665; BLACK HEART SUIT
-&#x2666;&#x2666; BLACK DIAMOND SUIT
-&#x2713;&#x2713; CHECK MARK
ENDTEST
diff --git a/regress/usr.bin/mandoc/char/unicode/namediff.out_utf8 b/regress/usr.bin/mandoc/char/unicode/namediff.out_utf8
index 78de090014b..2965ee1b6a0 100644
--- a/regress/usr.bin/mandoc/char/unicode/namediff.out_utf8
+++ b/regress/usr.bin/mandoc/char/unicode/namediff.out_utf8
@@ -7,17 +7,10 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
BEGINTEST
- ȷȷ LATIN SMALL LETTER DOTLESS J
- ˙˙ DOT ABOVE
‾‾ OVERLINE
ℏℏℏ PLANCK CONSTANT OVER TWO PI
↕↕ UP DOWN ARROW
⇕⇕ UP DOWN DOUBLE ARROW
- ∏∏ N-ARY PRODUCT
- ∐∐ N-ARY COPRODUCT
- ∑∑ N-ARY SUMMATION
- ⊄⊄ NOT A SUBSET OF
- ⊅⊅ NOT A SUPERSET OF
⎛⎛ LEFT PARENTHESIS UPPER HOOK
⎜⎜ LEFT PARENTHESIS EXTENSION
⎝⎝ LEFT PARENTHESIS LOWER HOOK
@@ -37,11 +30,6 @@ DDEESSCCRRIIPPTTIIOONN
⎫⎫ RIGHT CURLY BRACKET UPPER HOOK
⎬⎬ RIGHT CURLY BRACKET MIDDLE PIECE
⎭⎭ RIGHT CURLY BRACKET LOWER HOOK
- ♠♠ BLACK SPADE SUIT
- ♣♣ BLACK CLUB SUIT
- ♥♥ BLACK HEART SUIT
- ♦♦ BLACK DIAMOND SUIT
- ✓✓ CHECK MARK
ENDTEST
diff --git a/usr.bin/mandoc/chars.c b/usr.bin/mandoc/chars.c
index f79dad8c5fc..f78bab01be4 100644
--- a/usr.bin/mandoc/chars.c
+++ b/usr.bin/mandoc/chars.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chars.c,v 1.45 2018/08/21 01:56:26 schwarze Exp $ */
+/* $OpenBSD: chars.c,v 1.46 2018/08/21 16:01:38 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -81,10 +81,10 @@ static struct ln lines[] = {
{ "sh", "#", 0x0023 },
{ "CR", "<cr>", 0x21b5 },
{ "OK", "\\/", 0x2713 },
- { "CL", "<club>", 0x2663 },
- { "SP", "<spade>", 0x2660 },
- { "HE", "<heart>", 0x2665 },
- { "DI", "<diamond>", 0x2666 },
+ { "CL", "C", 0x2663 },
+ { "SP", "S", 0x2660 },
+ { "HE", "H", 0x2665 },
+ { "DI", "D", 0x2666 },
/* Legal symbols. */
{ "co", "(C)", 0x00a9 },
@@ -361,7 +361,7 @@ static struct ln lines[] = {
{ "Eu", "EUR", 0x20ac },
{ "eu", "EUR", 0x20ac },
{ "Ye", "=\bY", 0x00a5 },
- { "Po", "GBP", 0x00a3 },
+ { "Po", "-\bL", 0x00a3 },
{ "Cs", "o\bx", 0x00a4 },
{ "Fn", ",\bf", 0x0192 },
diff --git a/usr.bin/mandoc/term_ascii.c b/usr.bin/mandoc/term_ascii.c
index 481e0e5da3f..2f1f26dac89 100644
--- a/usr.bin/mandoc/term_ascii.c
+++ b/usr.bin/mandoc/term_ascii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: term_ascii.c,v 1.47 2018/08/18 15:16:05 schwarze Exp $ */
+/* $OpenBSD: term_ascii.c,v 1.48 2018/08/21 16:01:38 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -298,7 +298,7 @@ ascii_uc2str(int uc)
"<88>", "<89>", "<8A>", "<8B>", "<8C>", "<8D>", "<8E>", "<8F>",
"<90>", "<91>", "<92>", "<93>", "<94>", "<95>", "<96>", "<97>",
"<98>", "<99>", "<9A>", "<9B>", "<9C>", "<9D>", "<9E>", "<9F>",
- nbrsp, "!", "/\bc", "GBP", "o\bx", "=\bY", "|", "<section>",
+ nbrsp, "!", "/\bc", "-\bL", "o\bx", "=\bY", "|", "<section>",
"\"", "(C)", "_\ba", "<<", "~", "", "(R)", "-",
"<degree>","+-","^2", "^3", "'","<micro>","<paragraph>",".",
",", "^1", "_\bo", ">>", "1/4", "1/2", "3/4", "?",