summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-21 16:06:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-21 16:06:48 +0000
commit13eca495ce65af310d2aeaa717684ccbaa617070 (patch)
tree50bdff14e9147e1297986c9c00a6a100d7e3e096
parente09ab5e214ab66b3c06b5a2d97189910b20b8075 (diff)
downloadmandoc-13eca495ce65af310d2aeaa717684ccbaa617070.tar.gz
Improve the ASCII rendering of \(Po (Pound Sterling)
and of the playing card suits to match groff, using feedback from Ralph Corderoy <ralph at inputplus dot co dot uk>.
-rw-r--r--chars.c10
-rw-r--r--regress/char/unicode/latin1.in14
-rw-r--r--regress/char/unicode/latin1.out_ascii12
-rw-r--r--regress/char/unicode/latin1.out_html10
-rw-r--r--regress/char/unicode/latin1.out_utf812
-rw-r--r--regress/char/unicode/latin1diff.in10
-rw-r--r--regress/char/unicode/latin1diff.out_ascii8
-rw-r--r--regress/char/unicode/latin1diff.out_html6
-rw-r--r--regress/char/unicode/latin1diff.out_utf88
-rw-r--r--regress/char/unicode/named.in13
-rw-r--r--regress/char/unicode/named.out_ascii11
-rw-r--r--regress/char/unicode/named.out_html11
-rw-r--r--regress/char/unicode/named.out_utf811
-rw-r--r--regress/char/unicode/namediff.in14
-rw-r--r--regress/char/unicode/namediff.out_ascii12
-rw-r--r--regress/char/unicode/namediff.out_html12
-rw-r--r--regress/char/unicode/namediff.out_utf812
-rw-r--r--term_ascii.c2
18 files changed, 92 insertions, 96 deletions
diff --git a/chars.c b/chars.c
index 668f77ef..ebc7cf91 100644
--- a/chars.c
+++ b/chars.c
@@ -83,10 +83,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 },
@@ -363,7 +363,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/regress/char/unicode/latin1.in b/regress/char/unicode/latin1.in
index 34a6caaf..8ef82888 100644
--- a/regress/char/unicode/latin1.in
+++ b/regress/char/unicode/latin1.in
@@ -1,11 +1,13 @@
-.\" $OpenBSD: latin1.in,v 1.4 2017/07/04 14:53:23 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/char/unicode/latin1.out_ascii b/regress/char/unicode/latin1.out_ascii
index 7b2e5198..a279c5df 100644
--- a/regress/char/unicode/latin1.out_ascii
+++ b/regress/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/char/unicode/latin1.out_html b/regress/char/unicode/latin1.out_html
index abd8a3a5..db54b987 100644
--- a/regress/char/unicode/latin1.out_html
+++ b/regress/char/unicode/latin1.out_html
@@ -1,5 +1,7 @@
BEGINTEST
+&#x00A1;&#x00A1; INVERTED EXCLAMATION MARK
&#x00A2;&#x00A2; CENT SIGN
+&#x00A3;&#x00A3; POUND SIGN
&#x00A4;&#x00A4; CURRENCY SIGN
&#x00A5;&#x00A5; YEN SIGN
&#x00A6;&#x00A6; BROKEN BAR
@@ -26,6 +28,7 @@ BEGINTEST
&#x00BC;&#x00BC; VULGAR FRACTION ONE QUARTER
&#x00BD;&#x00BD; VULGAR FRACTION ONE HALF
&#x00BE;&#x00BE; VULGAR FRACTION THREE QUARTERS
+&#x00BF;&#x00BF; INVERTED QUESTION MARK
&#x00C0;&#x00C0; LATIN CAPITAL LETTER A WITH GRAVE
&#x00C1;&#x00C1; LATIN CAPITAL LETTER A WITH ACUTE
&#x00C2;&#x00C2; LATIN CAPITAL LETTER A WITH CIRCUMFLEX
@@ -55,7 +58,9 @@ BEGINTEST
&#x00DA;&#x00DA; LATIN CAPITAL LETTER U WITH ACUTE
&#x00DB;&#x00DB; LATIN CAPITAL LETTER U WITH CIRCUMFLEX
&#x00DC;&#x00DC; LATIN CAPITAL LETTER U WITH DIAERESIS
-&#x00DD; LATIN CAPITAL LETTER Y WITH ACUTE
+&#x00DD;&#x00DD; LATIN CAPITAL LETTER Y WITH ACUTE
+&#x00DE;&#x00DE; LATIN CAPITAL LETTER THORN
+&#x00DF;&#x00DF; LATIN SMALL LETTER SHARP S
&#x00E0;&#x00E0; LATIN SMALL LETTER A WITH GRAVE
&#x00E1;&#x00E1; LATIN SMALL LETTER A WITH ACUTE
&#x00E2;&#x00E2; LATIN SMALL LETTER A WITH CIRCUMFLEX
@@ -85,6 +90,7 @@ BEGINTEST
&#x00FA;&#x00FA; LATIN SMALL LETTER U WITH ACUTE
&#x00FB;&#x00FB; LATIN SMALL LETTER U WITH CIRCUMFLEX
&#x00FC;&#x00FC; LATIN SMALL LETTER U WITH DIAERESIS
-&#x00FD; LATIN SMALL LETTER Y WITH ACUTE
+&#x00FD;&#x00FD; LATIN SMALL LETTER Y WITH ACUTE
+&#x00FE;&#x00FE; LATIN SMALL LETTER THORN
&#x00FF;&#x00FF; LATIN SMALL LETTER Y WITH DIAERESIS
ENDTEST
diff --git a/regress/char/unicode/latin1.out_utf8 b/regress/char/unicode/latin1.out_utf8
index 36078a1b..e1caa4f8 100644
--- a/regress/char/unicode/latin1.out_utf8
+++ b/regress/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/char/unicode/latin1diff.in b/regress/char/unicode/latin1diff.in
index e00e44de..f4ef19ff 100644
--- a/regress/char/unicode/latin1diff.in
+++ b/regress/char/unicode/latin1diff.in
@@ -1,16 +1,10 @@
-.\" $OpenBSD: latin1diff.in,v 1.2 2017/07/04 14:53:23 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/char/unicode/latin1diff.out_ascii b/regress/char/unicode/latin1diff.out_ascii
index 40fe33ef..07777620 100644
--- a/regress/char/unicode/latin1diff.out_ascii
+++ b/regress/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/char/unicode/latin1diff.out_html b/regress/char/unicode/latin1diff.out_html
index 38bbade9..5f3b3b17 100644
--- a/regress/char/unicode/latin1diff.out_html
+++ b/regress/char/unicode/latin1diff.out_html
@@ -1,9 +1,3 @@
BEGINTEST
-&#x00A1;&#x00A1; INVERTED EXCLAMATION MARK
-&#x00A3;&#x00A3; POUND SIGN
&#x00AF;&#x00AF; MACRON
-&#x00BF;&#x00BF; INVERTED QUESTION MARK
-&#x00DE;&#x00DE; LATIN CAPITAL LETTER THORN
-&#x00DF;&#x00DF; LATIN SMALL LETTER SHARP S
-&#x00FE;&#x00FE; LATIN SMALL LETTER THORN
ENDTEST
diff --git a/regress/char/unicode/latin1diff.out_utf8 b/regress/char/unicode/latin1diff.out_utf8
index 6a679b29..be0053ad 100644
--- a/regress/char/unicode/latin1diff.out_utf8
+++ b/regress/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/char/unicode/named.in b/regress/char/unicode/named.in
index 21e44362..e8c05152 100644
--- a/regress/char/unicode/named.in
+++ b/regress/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/char/unicode/named.out_ascii b/regress/char/unicode/named.out_ascii
index 530bf7f1..ce09d83f 100644
--- a/regress/char/unicode/named.out_ascii
+++ b/regress/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/char/unicode/named.out_html b/regress/char/unicode/named.out_html
index 66a3ed0a..5d77d840 100644
--- a/regress/char/unicode/named.out_html
+++ b/regress/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/char/unicode/named.out_utf8 b/regress/char/unicode/named.out_utf8
index 0e5b6853..b5d84f35 100644
--- a/regress/char/unicode/named.out_utf8
+++ b/regress/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/char/unicode/namediff.in b/regress/char/unicode/namediff.in
index 8f97bb14..016d79f3 100644
--- a/regress/char/unicode/namediff.in
+++ b/regress/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/char/unicode/namediff.out_ascii b/regress/char/unicode/namediff.out_ascii
index 7a0f3f1f..b275d95c 100644
--- a/regress/char/unicode/namediff.out_ascii
+++ b/regress/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/char/unicode/namediff.out_html b/regress/char/unicode/namediff.out_html
index 9803aff0..4afee5ce 100644
--- a/regress/char/unicode/namediff.out_html
+++ b/regress/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/char/unicode/namediff.out_utf8 b/regress/char/unicode/namediff.out_utf8
index 78de0900..2965ee1b 100644
--- a/regress/char/unicode/namediff.out_utf8
+++ b/regress/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/term_ascii.c b/term_ascii.c
index e9a66213..e1cb0546 100644
--- a/term_ascii.c
+++ b/term_ascii.c
@@ -310,7 +310,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", "?",