Re: Cougar DTD extra character entities

Ian Young (imy@wcl-rs.bham.ac.uk)
Thu, 11 Jul 1996 16:09:37 +0100


Date: Thu, 11 Jul 1996 16:09:37 +0100
Message-Id: <9607111509.AA14791@wcl-rs.bham.ac.uk>
From: Ian Young <imy@wcl-rs.bham.ac.uk>
To: www-html@w3.org
Subject: Re: Cougar DTD extra character entities
In-Reply-To: <199607111304.JAA09292@snark.thyrsus.com>

Here are some guesses for the Unicode characters and ISO 8879
entities, taken from UnicodeData-1.1.4.txt (is there a more recent
version, anyone?) and a Jan 1995(?) version of 8879. I make no claims
about equivalence between the Unicode characters and the 8879 entites.

I.

(BTW, when I said avocation earlier, I clearly meant advocaation,
er, advocacy)

On 11 Jul 1996, Eric S. Raymond <esr@snark.thyrsus.com> wrote:
> As the maintainer of the terminfo databases, and co-maintainer of
> ncurses, I'd like to urge that the special characters of the curses
> ACS series also be included in the standard entities.  This would
> have major functional and portability benefits, enabling one of the
> most widely used extension-glyph aets to be mapped directly to HTML.
> 
> These characters are:
>
> upper left corner       ACS_ULCORNER
> lower left corner       ACS_LLCORNER
> upper right corner      ACS_URCORNER
> lower right corner      ACS_LRCORNER
> tee pointing right      ACS_LTEE
> tee pointing left       ACS_RTEE
> tee pointing up         ACS_BTEE
> tee pointing down       ACS_TTEE
> horizontal line         ACS_HLINE
> vertical line           ACS_VLINE
> large plus or crossover ACS_PLUS

2518;BOX DRAWINGS LIGHT UP AND LEFT;So;0;ON;;;;;N;FORMS LIGHT UP AND LEFT;;;;
2510;BOX DRAWINGS LIGHT DOWN AND LEFT;So;0;ON;;;;;N;FORMS LIGHT DOWN AND LEFT;;;;
2514;BOX DRAWINGS LIGHT UP AND RIGHT;So;0;ON;;;;;N;FORMS LIGHT UP AND RIGHT;;;;
250C;BOX DRAWINGS LIGHT DOWN AND RIGHT;So;0;ON;;;;;N;FORMS LIGHT DOWN AND RIGHT;;;;
251C;BOX DRAWINGS LIGHT VERTICAL AND RIGHT;So;0;ON;;;;;N;FORMS LIGHT VERTICAL AND RIGHT;;;;
2524;BOX DRAWINGS LIGHT VERTICAL AND LEFT;So;0;ON;;;;;N;FORMS LIGHT VERTICAL AND LEFT;;;;
2534;BOX DRAWINGS LIGHT UP AND HORIZONTAL;So;0;ON;;;;;N;FORMS LIGHT UP AND HORIZONTAL;;;;
252C;BOX DRAWINGS LIGHT DOWN AND HORIZONTAL;So;0;ON;;;;;N;FORMS LIGHT DOWN AND HORIZONTAL;;;;
2500;BOX DRAWINGS LIGHT HORIZONTAL;So;0;ON;;;;;N;FORMS LIGHT HORIZONTAL;;;;
2502;BOX DRAWINGS LIGHT VERTICAL;So;0;ON;;;;;N;FORMS LIGHT VERTICAL;;;;
253C;BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL;So;0;ON;;;;;N;FORMS LIGHT VERTICAL AND HORIZONTAL;;;;

<!ENTITY boxul  SDATA "[boxul ]"--upper left quadrant-->
<!ENTITY boxdl  SDATA "[boxdl ]"--lower left quadrant-->
<!ENTITY boxdr  SDATA "[boxdr ]"--lower right quadrant-->
<!ENTITY boxur  SDATA "[boxur ]"--upper right quadrant-->
<!ENTITY boxvr  SDATA "[boxvr ]"--upper and lower right quadrants-->
<!ENTITY boxvl  SDATA "[boxvl ]"--upper and lower left quadrants-->
<!ENTITY boxhu  SDATA "[boxhu ]"--upper left and right quadrants-->
<!ENTITY boxhd  SDATA "[boxhd ]"--lower left and right quadrants-->
<!ENTITY boxh   SDATA "[boxh  ]"--horizontal line -->
<!ENTITY boxv   SDATA "[boxv  ]"--vertical line-->
<!ENTITY boxvh  SDATA "[boxvh ]"--all four quadrants-->

> scan line 1             ACS_S1
> scan line 9             ACS_S9

What are these?

> diamond                 ACS_DIAMOND

Plenty of these in Unicode :-) You have a choice of:

22C4;DIAMOND OPERATOR;Sm;0;ON;;;;;N;;;;;
2311;SQUARE LOZENGE;So;0;ON;;;;;N;;;;;
233A;APL FUNCTIONAL SYMBOL QUAD DIAMOND;So;0;L;;;;;N;;;;;
25C6;BLACK DIAMOND;So;0;ON;;;;;N;;;;;
25C7;WHITE DIAMOND;So;0;ON;;;;;N;;;;;
25C8;WHITE DIAMOND CONTAINING BLACK SMALL DIAMOND;So;0;ON;;;;;N;;;;;
25CA;LOZENGE;So;0;ON;;;;;N;;;;;
2662;WHITE DIAMOND SUIT;So;0;ON;;;;;N;;;;;
2666;BLACK DIAMOND SUIT;So;0;ON;;;;;N;;;;;
2756;BLACK DIAMOND MINUS WHITE X;So;0;ON;;;;;N;;;;;

And in 8879:

<!ENTITY diam   SDATA "[diam  ]"--/diamond B: open diamond-->
<!ENTITY diams  SDATA "[diams ]"--/diamondsuit =diamond suit symbol-->
<!ENTITY loz    SDATA "[loz   ]"--/lozenge - lozenge or total mark-->
<!ENTITY lozf   SDATA "[lozf  ]"--/blacklozenge - lozenge, filled-->

> checker board (stipple) ACS_CKBOARD

Oddly, all the chess pieces are in Unicode, but I can't find a board...

> degree symbol           ACS_DEGREE
> plus/minus              ACS_PLMINUS

Both in HTML already:
  &deg;
  &plusmn;

> bullet                  ACS_BULLET

2022;BULLET;Po;0;ON;;;;;N;;;;;

<!ENTITY bull   SDATA "[bull  ]"--/bullet B: =round bullet, filled-->

> arrow pointing left     ACS_LARROW
> arrow pointing right    ACS_RARROW
> arrow pointing down     ACS_DARROW
> arrow pointing up       ACS_UARROW

2190;LEFTWARDS ARROW;So;0;ON;;;;;N;LEFT ARROW;;;;
2192;RIGHTWARDS ARROW;So;0;ON;;;;;N;RIGHT ARROW;;;;
2193;DOWNWARDS ARROW;So;0;ON;;;;;N;DOWN ARROW;;;;
2191;UPWARDS ARROW;So;0;ON;;;;;N;UP ARROW;;;;

<!ENTITY larr   SDATA "[larr  ]"--/leftarrow /gets A: =leftward arrow-->
<!ENTITY rarr   SDATA "[rarr  ]"--/rightarrow /to A: =rightward arrow-->
<!ENTITY uarr   SDATA "[uarr  ]"--/uparrow A: =upward arrow-->
<!ENTITY darr   SDATA "[darr  ]"--/downarrow A: =downward arrow-->

> board of squares        ACS_BOARD

Unicode has this; any good?

25A6;SQUARE WITH ORTHOGONAL CROSSHATCH FILL;So;0;ON;;;;;N;;;;;

> lantern symbol          ACS_LANTERN

What's this?

> solid square block      ACS_BLOCK

25A0;BLACK SQUARE;So;0;ON;;;;;N;;;;;

<!ENTITY squf   SDATA "[squf  ]"--/blacksquare =sq bullet, filled-->