@@ -548,10 +548,11 @@ \subsection{Window Objects \label{curses-window-objects}}
548548with attributes \var {attr}. The change is then applied to every
549549character position in that window:
550550\begin {itemize }
551- \item The attribute of every character in the window is
552- changed to the new background attribute.
553-
554- \item Wherever the former background character appears,
551+ \item
552+ The attribute of every character in the window is
553+ changed to the new background attribute.
554+ \item
555+ Wherever the former background character appears,
555556it is changed to the new background character.
556557\end {itemize }
557558
@@ -977,7 +978,7 @@ \subsection{Constants}
977978\end {tableii }
978979
979980Keys are referred to by integer constants with names starting with
980- \code {KEY_}. The exact names available are system dependent.
981+ \code {KEY_}. The exact keycaps available are system dependent.
981982
982983% XXX this table is far too large!
983984% XXX should this table be alphabetized?
@@ -1079,17 +1080,37 @@ \subsection{Constants}
10791080 \lineii {KEY_MAX}{Maximum key value}
10801081\end {tableii }
10811082
1083+ On VT100s and their software emulations such as X terminal emulators,
1084+ there are normally at least four function keys (KEY_F1, KEY_F2,
1085+ KEY_F3, KEY_F4) available and the arrow keys mapped to KEY_UP,
1086+ KEY_DOWN, KEY_LEFT and KEY_RIGHT in the obvious way. If your machine has a PC
1087+ keybboard, it is safe to expect arrow keys and twelve function keys; also,
1088+ the following keypad mappings are standard:
1089+
1090+ \begin {tableii }{c|l}{code}{Keycap}{code}
1091+ \lineii {Insert}{KEY_IC}
1092+ \lineii {Delete}{KEY_DC}
1093+ \lineii {Home}{KEY_HOME}
1094+ \lineii {End}{KEY_END}
1095+ \lineii {Page Up}{KEY_NPAGE}
1096+ \lineii {Page Down}{KEY_PPAGE}
1097+ \end {tableii }
1098+
10821099The following table lists characters from the alternate character set.
1100+ These are inherited from the VT100 terminal, and will generally be
1101+ available on software emulations such as X terminals. When there
1102+ is no graphic available, curses falls back on a crude printable ASCII
1103+ approximation.
10831104\strong {Note:} These are available only after \function {initscr()} has
10841105been called.
10851106
10861107\begin {tableii }{c|l}{code}{ACS code}{Meaning}
1087- \lineii {ACS_BBSS}{}
1108+ \lineii {ACS_BBSS}{alternate name for upper right corner }
10881109 \lineii {ACS_BLOCK}{solid square block}
10891110 \lineii {ACS_BOARD}{board of squares}
1090- \lineii {ACS_BSBS}{}
1091- \lineii {ACS_BSSB}{}
1092- \lineii {ACS_BSSS}{}
1111+ \lineii {ACS_BSBS}{alternate name for horizontal line }
1112+ \lineii {ACS_BSSB}{alternate name for upper left corner }
1113+ \lineii {ACS_BSSS}{alternate name for top tee }
10931114 \lineii {ACS_BTEE}{bottom tee}
10941115 \lineii {ACS_BULLET}{bullet}
10951116 \lineii {ACS_CKBOARD}{checker board (stipple)}
@@ -1107,20 +1128,20 @@ \subsection{Constants}
11071128 \lineii {ACS_NEQUAL}{not-equal sign}
11081129 \lineii {ACS_PI}{letter pi}
11091130 \lineii {ACS_PLMINUS}{plus-or-minus sign}
1110- \lineii {ACS_PLUS}{plus sign}
1131+ \lineii {ACS_PLUS}{big plus sign}
11111132 \lineii {ACS_RARROW}{right arrow}
11121133 \lineii {ACS_RTEE}{right tee}
11131134 \lineii {ACS_S1}{scan line 1}
11141135 \lineii {ACS_S3}{scan line 3}
11151136 \lineii {ACS_S7}{scan line 7}
11161137 \lineii {ACS_S9}{scan line 9}
1117- \lineii {ACS_SBBS}{}
1118- \lineii {ACS_SBSB}{}
1119- \lineii {ACS_SBSS}{}
1120- \lineii {ACS_SSBB}{}
1121- \lineii {ACS_SSBS}{}
1122- \lineii {ACS_SSSB}{}
1123- \lineii {ACS_SSSS}{}
1138+ \lineii {ACS_SBBS}{alternate name for lower right corner }
1139+ \lineii {ACS_SBSB}{alternate name for vertical line }
1140+ \lineii {ACS_SBSS}{alternate name for right tee }
1141+ \lineii {ACS_SSBB}{alternate name for lower left corner }
1142+ \lineii {ACS_SSBS}{alternate name for bottom tee }
1143+ \lineii {ACS_SSSB}{alternate name for left tee }
1144+ \lineii {ACS_SSSS}{alternate name for crossover or big plus }
11241145 \lineii {ACS_STERLING}{pound sterling}
11251146 \lineii {ACS_TTEE}{top tee}
11261147 \lineii {ACS_UARROW}{up arrow}
0 commit comments