Package: ncurses-bin
Version: 6.5+20250125-2
Severity: minor
Tags: patch
* What led up to the situation?
Checking for defects with a new version
test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=10 -ww -z < "man
page"
[Use "groff -e ' $' -e '\\~$' <file>" to find obvious trailing spaces.]
["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).
[The fate of "test-nroff" was decided in groff bug #55941.]
* What was the outcome of this action?
troff:<stdin>:3565: warning: trailing space in the line
* What outcome did you expect instead?
No output (no warnings).
-.-
General remarks and further material, if a diff-file exist, are in the
attachments.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.12-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages ncurses-bin depends on:
ii libc6 2.40-6
ii libtinfo6 6.5+20250125-2
ncurses-bin recommends no packages.
ncurses-bin suggests no packages.
-- no debconf information
Input file is terminfo.5
Output from "mandoc -T lint terminfo.5": (shortened list)
-.-.
Output from "test-groff -mandoc -t -ww -z terminfo.5": (shortened list)
1 trailing space in the line
-.-.
Input file is terminfo.5, case 1
Change '-' (\-) to '\(en' (en-dash) for a (numeric) range.
GNU gnulib has recently (2023-06-18) updated its
"build_aux/update-copyright" to recognize "\(en" in man pages.
terminfo.5:1785:pause for 2-3 seconds
terminfo.5:2757:\fB%p\fI[1\-9]\fR
terminfo.5:3941:Argument values 0-7 of \fBsetaf\fP/\fBsetab\fP are portably
defined as
-.-.
Change (or include a "FIXME" paragraph about) misused SI (metric)
numeric prefixes (or names) to the binary ones, like Ki (kibi), Mi
(mebi), Gi (gibi), or Ti (tebi), if indicated.
If the metric prefixes are correct, add the definitions or an
explanation to avoid misunderstanding.
4223:the recommended 1K for the termcap entry; others do not.
4243:and the application has only allocated a 1k buffer,
-.-.
4209:1k\-1 (1023) bytes.
4223:the recommended 1K for the termcap entry; others do not.
4243:and the application has only allocated a 1k buffer,
-.-.
Wrong distance between sentences in the input file.
Separate the sentences and subordinate clauses; each begins on a new
line. See man-pages(7) ("Conventions for source file layout") and
"info groff" ("Input Conventions").
The best procedure is to always start a new sentence on a new line,
at least, if you are typing on a computer.
Remember coding: Only one command ("sentence") on each (logical) line.
E-mail: Easier to quote exactly the relevant lines.
Generally: Easier to edit the sentence.
Patches: Less unaffected text.
Search for two adjacent words is easier, when they belong to the same line,
and the same phrase.
The amount of space between sentences in the output can then be
controlled with the ".ss" request.
Mark a final abbreviation point as such by suffixing it with "\&".
Some sentences (etc.) do not begin on a new line.
482:lines of memory if > line. 0 means varies
4380:Zeyd M. Ben-Halim, Eric S. Raymond, Thomas E. Dickey.
-.-.
Split lines longer than 80 characters into two or more lines.
Appropriate break points are the end of a sentence and a subordinate
clause; after punctuation marks.
Add "\:" to split the string for the output, "\<newline>" in the source.
Line 3, length 120
.\" It is generated from terminfo.head, ../../man/../include/Caps
../../man/../include/Caps-ncurses, and terminfo.tail.
Line 2257, length 85
Set page length to #1 hundredth of an inch (some implementations use sL for
termcap).
Line 2440, length 107
\fInewline\fP, \fIline-feed\fP, \fIreturn\fP, \fItab\fP, \fIbackspace\fP,
\fIform-feed\fP, and \fIspace\fP,
Line 2857, length 145
\fB%?\fP c\d1\u \fB%t\fP b\d1\u \fB%e\fP c\d2\u \fB%t\fP b\d2\u \fB%e\fP c\d3\u
\fB%t\fP b\d3\u \fB%e\fP c\d4\u \fB%t\fP b\d4\u \fB%e\fP \fB%;\fP
-.-.
Do not use margin adjustments without an explanation of its necessity.
308-_
309-auto_left_margin bw bw T{
310:.ad l
311-cub1 wraps from column 0 to last column
312-T}
[removed similar lines with '.ad l'; This belongs in the table preface (format)]
-.-
This belongs in the format header of a table.
310:.ad l
[many other lines of same kind removed from the list]
-.-
Section headings (.SH and .SS) do not need to be quoted.
[Not in a patch]
87:.SS "\fIterminfo\fP Entry Syntax"
166:.SS "\fIterminfo\fP Capabilities Syntax"
195:.SS "Similar Terminals"
230:.SS "Predefined Capabilities"
2291:.SS "User-Defined Capabilities"
2343:.SS "A Sample Entry"
2397:.SS "Types of Capabilities"
2508:.SS "Fetching Compiled Descriptions"
2569:.SS "Preparing Descriptions"
2590:.SS "Basic Capabilities"
2717:.SS "Parameterized Strings"
2911:.SS "Cursor Motions"
3088:.SS "Area Clears"
3102:.SS "Insert/Delete Line and Vertical Motions"
3179:.SS "Insert/Delete Character"
3291:.SS "Highlighting, Underlining, and Visible Bells"
3456:.SS "Keypad and Function Keys"
3563:.SS "Tabs and Initialization"
3747:.SS "Delays and Padding"
3775:.SS "Status Lines"
3810:.SS "Line Graphics"
3885:.SS "Color Handling"
4162:.SS "Glitches and Brain Damage"
4197:.SS "Pitfalls of Long Entries"
-.-.
Split lines longer than 80 characters into two or more lines.
Appropriate break points are the end of a sentence and a subordinate
clause; after punctuation marks.
Add "\:" to split the string for the output, "\<newline>" in the source.
Line 1949, length 85
Set page length to #1 hundredth of an inch (some implementations use sL for
termcap).
-.-.
Output from "test-groff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=10 -ww -z
":
troff:<stdin>:4025: warning: trailing space in the line
-.-
Table:
Fix a heading in the table of section "Line Graphics".
--- terminfo.5 2025-02-16 23:48:21.114246289 +0000
+++ terminfo.5.new 2025-02-17 01:18:19.594772451 +0000
@@ -1,6 +1,7 @@
'\" t
.\" DO NOT EDIT THIS FILE BY HAND!
-.\" It is generated from terminfo.head, ../../man/../include/Caps
../../man/../include/Caps-ncurses, and terminfo.tail.
+.\" It is generated from terminfo.head, ../../man/../include/Caps \&
+.\"../../man/../include/Caps-ncurses, and terminfo.tail.
.\"
.\" Note: this must be run through tbl before nroff.
.\" The magic cookie on the first line triggers this under some man programs.
@@ -307,151 +308,114 @@ Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
Boolean Capability Name TI TC Description
_
auto_left_margin bw bw T{
-.ad l
cub1 wraps from column 0 to last column
T}
auto_right_margin am am T{
-.ad l
terminal has automatic margins
T}
no_esc_ctlc xsb xb T{
-.ad l
beehive (f1=escape, f2=ctrl C)
T}
ceol_standout_glitch xhp xs T{
-.ad l
standout not erased by overwriting (hp)
T}
eat_newline_glitch xenl xn T{
-.ad l
newline ignored after 80 cols (concept)
T}
erase_overstrike eo eo T{
-.ad l
can erase overstrikes with a blank
T}
generic_type gn gn T{
-.ad l
generic line type
T}
hard_copy hc hc T{
-.ad l
hardcopy terminal
T}
has_meta_key km km T{
-.ad l
Has a meta key (i.e., sets 8th-bit)
T}
has_status_line hs hs T{
-.ad l
has extra status line
T}
insert_null_glitch in in T{
-.ad l
insert mode distinguishes nulls
T}
memory_above da da T{
-.ad l
display may be retained above the screen
T}
memory_below db db T{
-.ad l
display may be retained below the screen
T}
move_insert_mode mir mi T{
-.ad l
safe to move while in insert mode
T}
move_standout_mode msgr ms T{
-.ad l
safe to move while in standout mode
T}
over_strike os os T{
-.ad l
terminal can overstrike
T}
status_line_esc_ok eslok es T{
-.ad l
escape can be used on the status line
T}
dest_tabs_magic_smso xt xt T{
-.ad l
tabs destructive, magic so char (t1061)
T}
tilde_glitch hz hz T{
-.ad l
cannot print ~'s (Hazeltine)
T}
transparent_underline ul ul T{
-.ad l
underline character overstrikes
T}
xon_xoff xon xo T{
-.ad l
terminal uses xon/xoff handshaking
T}
needs_xon_xoff nxon nx T{
-.ad l
padding will not work, xon/xoff required
T}
prtr_silent mc5i 5i T{
-.ad l
printer will not echo on screen
T}
hard_cursor chts HC T{
-.ad l
cursor is hard to see
T}
non_rev_rmcup nrrmc NR T{
-.ad l
smcup does not reverse rmcup
T}
no_pad_char npc NP T{
-.ad l
pad character does not exist
T}
non_dest_scroll_region ndscr ND T{
-.ad l
scrolling region is non-destructive
T}
can_change ccc cc T{
-.ad l
terminal can re-define existing colors
T}
back_color_erase bce ut T{
-.ad l
screen erased with background color
T}
hue_lightness_saturation hls hl T{
-.ad l
terminal uses only HLS color notation (Tektronix)
T}
col_addr_glitch xhpa YA T{
-.ad l
only positive motion for hpa/mhpa caps
T}
cr_cancels_micro_mode crxm YB T{
-.ad l
using cr turns off micro mode
T}
has_print_wheel daisy YC T{
-.ad l
printer needs operator to change character set
T}
row_addr_glitch xvpa YD T{
-.ad l
only positive motion for vpa/mvpa caps
T}
semi_auto_right_margin sam YE T{
-.ad l
printing in last column causes cr
T}
cpi_changes_res cpix YF T{
-.ad l
changing character pitch changes resolution
T}
lpi_changes_res lpix YG T{
-.ad l
changing line pitch changes resolution
T}
.TE
@@ -466,67 +430,51 @@ Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
Numeric Capability Name TI TC Description
_
columns cols co T{
-.ad l
number of columns in a line
T}
init_tabs it it T{
-.ad l
tabs initially every # spaces
T}
lines lines li T{
-.ad l
number of lines on screen or page
T}
lines_of_memory lm lm T{
-.ad l
-lines of memory if > line. 0 means varies
+lines of memory if > line. 0 means varies
T}
magic_cookie_glitch xmc sg T{
-.ad l
number of blank characters left by smso or rmso
T}
padding_baud_rate pb pb T{
-.ad l
lowest baud rate where padding needed
T}
virtual_terminal vt vt T{
-.ad l
virtual terminal number (CB/unix)
T}
width_status_line wsl ws T{
-.ad l
number of columns in status line
T}
num_labels nlab Nl T{
-.ad l
number of labels on screen
T}
label_height lh lh T{
-.ad l
rows in each label
T}
label_width lw lw T{
-.ad l
columns in each label
T}
max_attributes ma ma T{
-.ad l
maximum combined attributes terminal can handle
T}
maximum_windows wnum MW T{
-.ad l
maximum number of definable windows
T}
max_colors colors Co T{
-.ad l
maximum number of colors on screen
T}
max_pairs pairs pa T{
-.ad l
maximum number of color-pairs on the screen
T}
no_color_video ncv NC T{
-.ad l
video attributes that cannot be used with colors
T}
.TE
@@ -546,71 +494,54 @@ Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
Numeric Capability Name TI TC Description
_
buffer_capacity bufsz Ya T{
-.ad l
numbers of bytes buffered before printing
T}
dot_vert_spacing spinv Yb T{
-.ad l
spacing of pins vertically in pins per inch
T}
dot_horz_spacing spinh Yc T{
-.ad l
spacing of dots horizontally in dots per inch
T}
max_micro_address maddr Yd T{
-.ad l
maximum value in micro_..._address
T}
max_micro_jump mjump Ye T{
-.ad l
maximum value in parm_..._micro
T}
micro_col_size mcs Yf T{
-.ad l
character step size when in micro mode
T}
micro_line_size mls Yg T{
-.ad l
line step size when in micro mode
T}
number_of_pins npins Yh T{
-.ad l
numbers of pins in print-head
T}
output_res_char orc Yi T{
-.ad l
horizontal resolution in units per line
T}
output_res_line orl Yj T{
-.ad l
vertical resolution in units per line
T}
output_res_horz_inch orhi Yk T{
-.ad l
horizontal resolution in units per inch
T}
output_res_vert_inch orvi Yl T{
-.ad l
vertical resolution in units per inch
T}
print_rate cps Ym T{
-.ad l
print rate in characters per second
T}
wide_char_size widcs Yn T{
-.ad l
character step size when in double wide mode
T}
buttons btns BT T{
-.ad l
number of buttons on mouse
T}
bit_image_entwining bitwin Yo T{
-.ad l
number of passes for each bit-image row
T}
bit_image_type bitype Yp T{
-.ad l
type of bit-image device
T}
.TE
@@ -625,251 +556,189 @@ Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
String Capability Name TI TC Description
_
back_tab cbt bt T{
-.ad l
back tab (P)
T}
bell bel bl T{
-.ad l
audible signal (bell) (P)
T}
carriage_return cr cr T{
-.ad l
carriage return (P*) (P*)
T}
change_scroll_region csr cs T{
-.ad l
change region to line #1 to line #2 (P)
T}
clear_all_tabs tbc ct T{
-.ad l
clear all tab stops (P)
T}
clear_screen clear cl T{
-.ad l
clear screen and home cursor (P*)
T}
clr_eol el ce T{
-.ad l
clear to end of line (P)
T}
clr_eos ed cd T{
-.ad l
clear to end of screen (P*)
T}
column_address hpa ch T{
-.ad l
horizontal position #1, absolute (P)
T}
command_character cmdch CC T{
-.ad l
terminal settable cmd character in prototype !?
T}
cursor_address cup cm T{
-.ad l
move to row #1 columns #2
T}
cursor_down cud1 do T{
-.ad l
down one line
T}
cursor_home home ho T{
-.ad l
home cursor (if no cup)
T}
cursor_invisible civis vi T{
-.ad l
make cursor invisible
T}
cursor_left cub1 le T{
-.ad l
move left one space
T}
cursor_mem_address mrcup CM T{
-.ad l
memory relative cursor addressing, move to row #1 columns #2
T}
cursor_normal cnorm ve T{
-.ad l
make cursor appear normal (undo civis/cvvis)
T}
cursor_right cuf1 nd T{
-.ad l
non-destructive space (move right one space)
T}
cursor_to_ll ll ll T{
-.ad l
last line, first column (if no cup)
T}
cursor_up cuu1 up T{
-.ad l
up one line
T}
cursor_visible cvvis vs T{
-.ad l
make cursor very visible
T}
delete_character dch1 dc T{
-.ad l
delete character (P*)
T}
delete_line dl1 dl T{
-.ad l
delete line (P*)
T}
dis_status_line dsl ds T{
-.ad l
disable status line
T}
down_half_line hd hd T{
-.ad l
half a line down
T}
enter_alt_charset_mode smacs as T{
-.ad l
start alternate character set (P)
T}
enter_blink_mode blink mb T{
-.ad l
turn on blinking
T}
enter_bold_mode bold md T{
-.ad l
turn on bold (extra bright) mode
T}
enter_ca_mode smcup ti T{
-.ad l
string to start programs using cup
T}
enter_delete_mode smdc dm T{
-.ad l
enter delete mode
T}
enter_dim_mode dim mh T{
-.ad l
turn on half-bright mode
T}
enter_insert_mode smir im T{
-.ad l
enter insert mode
T}
enter_secure_mode invis mk T{
-.ad l
turn on blank mode (characters invisible)
T}
enter_protected_mode prot mp T{
-.ad l
turn on protected mode
T}
enter_reverse_mode rev mr T{
-.ad l
turn on reverse video mode
T}
enter_standout_mode smso so T{
-.ad l
begin standout mode
T}
enter_underline_mode smul us T{
-.ad l
begin underline mode
T}
erase_chars ech ec T{
-.ad l
erase #1 characters (P)
T}
exit_alt_charset_mode rmacs ae T{
-.ad l
end alternate character set (P)
T}
exit_attribute_mode sgr0 me T{
-.ad l
turn off all attributes
T}
exit_ca_mode rmcup te T{
-.ad l
strings to end programs using cup
T}
exit_delete_mode rmdc ed T{
-.ad l
end delete mode
T}
exit_insert_mode rmir ei T{
-.ad l
exit insert mode
T}
exit_standout_mode rmso se T{
-.ad l
exit standout mode
T}
exit_underline_mode rmul ue T{
-.ad l
exit underline mode
T}
flash_screen flash vb T{
-.ad l
visible bell (may not move cursor)
T}
form_feed ff ff T{
-.ad l
hardcopy terminal page eject (P*)
T}
from_status_line fsl fs T{
-.ad l
return from status line
T}
init_1string is1 i1 T{
-.ad l
initialization string
T}
init_2string is2 is T{
-.ad l
initialization string
T}
init_3string is3 i3 T{
-.ad l
initialization string
T}
init_file if if T{
-.ad l
name of initialization file
T}
insert_character ich1 ic T{
-.ad l
insert character (P)
T}
insert_line il1 al T{
-.ad l
insert line (P*)
T}
insert_padding ip ip T{
-.ad l
insert padding after inserted character
T}
key_backspace kbs kb T{
-.ad l
backspace key
T}
key_catab ktbc ka T{
-.ad l
clear-all-tabs key
T}
key_clear kclr kC T{
-.ad l
clear-screen or erase key
T}
key_ctab kctab kt T{
-.ad l
clear-tab key
T}
key_dc kdch1 kD T{
-.ad l
delete-character key
T}
key_dl kdl1 kL T{
-.ad l
delete-line key
T}
key_down kcud1 kd T{
-.ad l
down-arrow key
T}
.TE
@@ -877,251 +746,189 @@ T}
center;
Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
key_eic krmir kM T{
-.ad l
sent by rmir or smir in insert mode
T}
key_eol kel kE T{
-.ad l
clear-to-end-of-line key
T}
key_eos ked kS T{
-.ad l
clear-to-end-of-screen key
T}
key_f0 kf0 k0 T{
-.ad l
F0 function key
T}
key_f1 kf1 k1 T{
-.ad l
F1 function key
T}
key_f10 kf10 k; T{
-.ad l
F10 function key
T}
key_f2 kf2 k2 T{
-.ad l
F2 function key
T}
key_f3 kf3 k3 T{
-.ad l
F3 function key
T}
key_f4 kf4 k4 T{
-.ad l
F4 function key
T}
key_f5 kf5 k5 T{
-.ad l
F5 function key
T}
key_f6 kf6 k6 T{
-.ad l
F6 function key
T}
key_f7 kf7 k7 T{
-.ad l
F7 function key
T}
key_f8 kf8 k8 T{
-.ad l
F8 function key
T}
key_f9 kf9 k9 T{
-.ad l
F9 function key
T}
key_home khome kh T{
-.ad l
home key
T}
key_ic kich1 kI T{
-.ad l
insert-character key
T}
key_il kil1 kA T{
-.ad l
insert-line key
T}
key_left kcub1 kl T{
-.ad l
left-arrow key
T}
key_ll kll kH T{
-.ad l
lower-left key (home down)
T}
key_npage knp kN T{
-.ad l
next-page key
T}
key_ppage kpp kP T{
-.ad l
previous-page key
T}
key_right kcuf1 kr T{
-.ad l
right-arrow key
T}
key_sf kind kF T{
-.ad l
scroll-forward key
T}
key_sr kri kR T{
-.ad l
scroll-backward key
T}
key_stab khts kT T{
-.ad l
set-tab key
T}
key_up kcuu1 ku T{
-.ad l
up-arrow key
T}
keypad_local rmkx ke T{
-.ad l
leave keyboard transmit mode
T}
keypad_xmit smkx ks T{
-.ad l
enter keyboard transmit mode
T}
lab_f0 lf0 l0 T{
-.ad l
label on function key f0 if not f0
T}
lab_f1 lf1 l1 T{
-.ad l
label on function key f1 if not f1
T}
lab_f10 lf10 la T{
-.ad l
label on function key f10 if not f10
T}
lab_f2 lf2 l2 T{
-.ad l
label on function key f2 if not f2
T}
lab_f3 lf3 l3 T{
-.ad l
label on function key f3 if not f3
T}
lab_f4 lf4 l4 T{
-.ad l
label on function key f4 if not f4
T}
lab_f5 lf5 l5 T{
-.ad l
label on function key f5 if not f5
T}
lab_f6 lf6 l6 T{
-.ad l
label on function key f6 if not f6
T}
lab_f7 lf7 l7 T{
-.ad l
label on function key f7 if not f7
T}
lab_f8 lf8 l8 T{
-.ad l
label on function key f8 if not f8
T}
lab_f9 lf9 l9 T{
-.ad l
label on function key f9 if not f9
T}
meta_off rmm mo T{
-.ad l
turn off meta mode
T}
meta_on smm mm T{
-.ad l
turn on meta mode (8th-bit on)
T}
newline nel nw T{
-.ad l
newline (behave like cr followed by lf)
T}
pad_char pad pc T{
-.ad l
padding char (instead of null)
T}
parm_dch dch DC T{
-.ad l
delete #1 characters (P*)
T}
parm_delete_line dl DL T{
-.ad l
delete #1 lines (P*)
T}
parm_down_cursor cud DO T{
-.ad l
down #1 lines (P*)
T}
parm_ich ich IC T{
-.ad l
insert #1 characters (P*)
T}
parm_index indn SF T{
-.ad l
scroll forward #1 lines (P)
T}
parm_insert_line il AL T{
-.ad l
insert #1 lines (P*)
T}
parm_left_cursor cub LE T{
-.ad l
move #1 characters to the left (P)
T}
parm_right_cursor cuf RI T{
-.ad l
move #1 characters to the right (P*)
T}
parm_rindex rin SR T{
-.ad l
scroll back #1 lines (P)
T}
parm_up_cursor cuu UP T{
-.ad l
up #1 lines (P*)
T}
pkey_key pfkey pk T{
-.ad l
program function key #1 to type string #2
T}
pkey_local pfloc pl T{
-.ad l
program function key #1 to execute string #2
T}
pkey_xmit pfx px T{
-.ad l
program function key #1 to transmit string #2
T}
print_screen mc0 ps T{
-.ad l
print contents of screen
T}
prtr_off mc4 pf T{
-.ad l
turn off printer
T}
prtr_on mc5 po T{
-.ad l
turn on printer
T}
repeat_char rep rp T{
-.ad l
repeat char #1 #2 times (P*)
T}
reset_1string rs1 r1 T{
-.ad l
reset string
T}
reset_2string rs2 r2 T{
-.ad l
reset string
T}
.TE
@@ -1129,251 +936,189 @@ T}
center;
Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
reset_3string rs3 r3 T{
-.ad l
reset string
T}
reset_file rf rf T{
-.ad l
name of reset file
T}
restore_cursor rc rc T{
-.ad l
restore cursor to position of last save_cursor
T}
row_address vpa cv T{
-.ad l
vertical position #1 absolute (P)
T}
save_cursor sc sc T{
-.ad l
save current cursor position (P)
T}
scroll_forward ind sf T{
-.ad l
scroll text up (P)
T}
scroll_reverse ri sr T{
-.ad l
scroll text down (P)
T}
set_attributes sgr sa T{
-.ad l
define video attributes #1-#9 (PG9)
T}
set_tab hts st T{
-.ad l
set a tab in every row, current columns
T}
set_window wind wi T{
-.ad l
current window is lines #1-#2 cols #3-#4
T}
tab ht ta T{
-.ad l
tab to next 8-space hardware tab stop
T}
to_status_line tsl ts T{
-.ad l
move to status line, column #1
T}
underline_char uc uc T{
-.ad l
underline char and move past it
T}
up_half_line hu hu T{
-.ad l
half a line up
T}
init_prog iprog iP T{
-.ad l
path name of program for initialization
T}
key_a1 ka1 K1 T{
-.ad l
upper left of keypad
T}
key_a3 ka3 K3 T{
-.ad l
upper right of keypad
T}
key_b2 kb2 K2 T{
-.ad l
center of keypad
T}
key_c1 kc1 K4 T{
-.ad l
lower left of keypad
T}
key_c3 kc3 K5 T{
-.ad l
lower right of keypad
T}
prtr_non mc5p pO T{
-.ad l
turn on printer for #1 bytes
T}
char_padding rmp rP T{
-.ad l
like ip but when in insert mode
T}
acs_chars acsc ac T{
-.ad l
graphics charset pairs, based on vt100
T}
plab_norm pln pn T{
-.ad l
program label #1 to show string #2
T}
key_btab kcbt kB T{
-.ad l
back-tab key
T}
enter_xon_mode smxon SX T{
-.ad l
turn on xon/xoff handshaking
T}
exit_xon_mode rmxon RX T{
-.ad l
turn off xon/xoff handshaking
T}
enter_am_mode smam SA T{
-.ad l
turn on automatic margins
T}
exit_am_mode rmam RA T{
-.ad l
turn off automatic margins
T}
xon_character xonc XN T{
-.ad l
XON character
T}
xoff_character xoffc XF T{
-.ad l
XOFF character
T}
ena_acs enacs eA T{
-.ad l
enable alternate char set
T}
label_on smln LO T{
-.ad l
turn on soft labels
T}
label_off rmln LF T{
-.ad l
turn off soft labels
T}
key_beg kbeg @1 T{
-.ad l
begin key
T}
key_cancel kcan @2 T{
-.ad l
cancel key
T}
key_close kclo @3 T{
-.ad l
close key
T}
key_command kcmd @4 T{
-.ad l
command key
T}
key_copy kcpy @5 T{
-.ad l
copy key
T}
key_create kcrt @6 T{
-.ad l
create key
T}
key_end kend @7 T{
-.ad l
end key
T}
key_enter kent @8 T{
-.ad l
enter/send key
T}
key_exit kext @9 T{
-.ad l
exit key
T}
key_find kfnd @0 T{
-.ad l
find key
T}
key_help khlp %1 T{
-.ad l
help key
T}
key_mark kmrk %2 T{
-.ad l
mark key
T}
key_message kmsg %3 T{
-.ad l
message key
T}
key_move kmov %4 T{
-.ad l
move key
T}
key_next knxt %5 T{
-.ad l
next key
T}
key_open kopn %6 T{
-.ad l
open key
T}
key_options kopt %7 T{
-.ad l
options key
T}
key_previous kprv %8 T{
-.ad l
previous key
T}
key_print kprt %9 T{
-.ad l
print key
T}
key_redo krdo %0 T{
-.ad l
redo key
T}
key_reference kref &1 T{
-.ad l
reference key
T}
key_refresh krfr &2 T{
-.ad l
refresh key
T}
key_replace krpl &3 T{
-.ad l
replace key
T}
key_restart krst &4 T{
-.ad l
restart key
T}
key_resume kres &5 T{
-.ad l
resume key
T}
key_save ksav &6 T{
-.ad l
save key
T}
key_suspend kspd &7 T{
-.ad l
suspend key
T}
key_undo kund &8 T{
-.ad l
undo key
T}
.TE
@@ -1381,251 +1126,189 @@ T}
center;
Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
key_sbeg kBEG &9 T{
-.ad l
shifted begin key
T}
key_scancel kCAN &0 T{
-.ad l
shifted cancel key
T}
key_scommand kCMD *1 T{
-.ad l
shifted command key
T}
key_scopy kCPY *2 T{
-.ad l
shifted copy key
T}
key_screate kCRT *3 T{
-.ad l
shifted create key
T}
key_sdc kDC *4 T{
-.ad l
shifted delete-character key
T}
key_sdl kDL *5 T{
-.ad l
shifted delete-line key
T}
key_select kslt *6 T{
-.ad l
select key
T}
key_send kEND *7 T{
-.ad l
shifted end key
T}
key_seol kEOL *8 T{
-.ad l
shifted clear-to-end-of-line key
T}
key_sexit kEXT *9 T{
-.ad l
shifted exit key
T}
key_sfind kFND *0 T{
-.ad l
shifted find key
T}
key_shelp kHLP #1 T{
-.ad l
shifted help key
T}
key_shome kHOM #2 T{
-.ad l
shifted home key
T}
key_sic kIC #3 T{
-.ad l
shifted insert-character key
T}
key_sleft kLFT #4 T{
-.ad l
shifted left-arrow key
T}
key_smessage kMSG %a T{
-.ad l
shifted message key
T}
key_smove kMOV %b T{
-.ad l
shifted move key
T}
key_snext kNXT %c T{
-.ad l
shifted next key
T}
key_soptions kOPT %d T{
-.ad l
shifted options key
T}
key_sprevious kPRV %e T{
-.ad l
shifted previous key
T}
key_sprint kPRT %f T{
-.ad l
shifted print key
T}
key_sredo kRDO %g T{
-.ad l
shifted redo key
T}
key_sreplace kRPL %h T{
-.ad l
shifted replace key
T}
key_sright kRIT %i T{
-.ad l
shifted right-arrow key
T}
key_srsume kRES %j T{
-.ad l
shifted resume key
T}
key_ssave kSAV !1 T{
-.ad l
shifted save key
T}
key_ssuspend kSPD !2 T{
-.ad l
shifted suspend key
T}
key_sundo kUND !3 T{
-.ad l
shifted undo key
T}
req_for_input rfi RF T{
-.ad l
send next input char (for ptys)
T}
key_f11 kf11 F1 T{
-.ad l
F11 function key
T}
key_f12 kf12 F2 T{
-.ad l
F12 function key
T}
key_f13 kf13 F3 T{
-.ad l
F13 function key
T}
key_f14 kf14 F4 T{
-.ad l
F14 function key
T}
key_f15 kf15 F5 T{
-.ad l
F15 function key
T}
key_f16 kf16 F6 T{
-.ad l
F16 function key
T}
key_f17 kf17 F7 T{
-.ad l
F17 function key
T}
key_f18 kf18 F8 T{
-.ad l
F18 function key
T}
key_f19 kf19 F9 T{
-.ad l
F19 function key
T}
key_f20 kf20 FA T{
-.ad l
F20 function key
T}
key_f21 kf21 FB T{
-.ad l
F21 function key
T}
key_f22 kf22 FC T{
-.ad l
F22 function key
T}
key_f23 kf23 FD T{
-.ad l
F23 function key
T}
key_f24 kf24 FE T{
-.ad l
F24 function key
T}
key_f25 kf25 FF T{
-.ad l
F25 function key
T}
key_f26 kf26 FG T{
-.ad l
F26 function key
T}
key_f27 kf27 FH T{
-.ad l
F27 function key
T}
key_f28 kf28 FI T{
-.ad l
F28 function key
T}
key_f29 kf29 FJ T{
-.ad l
F29 function key
T}
key_f30 kf30 FK T{
-.ad l
F30 function key
T}
key_f31 kf31 FL T{
-.ad l
F31 function key
T}
key_f32 kf32 FM T{
-.ad l
F32 function key
T}
key_f33 kf33 FN T{
-.ad l
F33 function key
T}
key_f34 kf34 FO T{
-.ad l
F34 function key
T}
key_f35 kf35 FP T{
-.ad l
F35 function key
T}
key_f36 kf36 FQ T{
-.ad l
F36 function key
T}
key_f37 kf37 FR T{
-.ad l
F37 function key
T}
key_f38 kf38 FS T{
-.ad l
F38 function key
T}
key_f39 kf39 FT T{
-.ad l
F39 function key
T}
key_f40 kf40 FU T{
-.ad l
F40 function key
T}
key_f41 kf41 FV T{
-.ad l
F41 function key
T}
key_f42 kf42 FW T{
-.ad l
F42 function key
T}
.TE
@@ -1633,251 +1316,189 @@ T}
center;
Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
key_f43 kf43 FX T{
-.ad l
F43 function key
T}
key_f44 kf44 FY T{
-.ad l
F44 function key
T}
key_f45 kf45 FZ T{
-.ad l
F45 function key
T}
key_f46 kf46 Fa T{
-.ad l
F46 function key
T}
key_f47 kf47 Fb T{
-.ad l
F47 function key
T}
key_f48 kf48 Fc T{
-.ad l
F48 function key
T}
key_f49 kf49 Fd T{
-.ad l
F49 function key
T}
key_f50 kf50 Fe T{
-.ad l
F50 function key
T}
key_f51 kf51 Ff T{
-.ad l
F51 function key
T}
key_f52 kf52 Fg T{
-.ad l
F52 function key
T}
key_f53 kf53 Fh T{
-.ad l
F53 function key
T}
key_f54 kf54 Fi T{
-.ad l
F54 function key
T}
key_f55 kf55 Fj T{
-.ad l
F55 function key
T}
key_f56 kf56 Fk T{
-.ad l
F56 function key
T}
key_f57 kf57 Fl T{
-.ad l
F57 function key
T}
key_f58 kf58 Fm T{
-.ad l
F58 function key
T}
key_f59 kf59 Fn T{
-.ad l
F59 function key
T}
key_f60 kf60 Fo T{
-.ad l
F60 function key
T}
key_f61 kf61 Fp T{
-.ad l
F61 function key
T}
key_f62 kf62 Fq T{
-.ad l
F62 function key
T}
key_f63 kf63 Fr T{
-.ad l
F63 function key
T}
clr_bol el1 cb T{
-.ad l
Clear to beginning of line
T}
clear_margins mgc MC T{
-.ad l
clear right and left soft margins
T}
set_left_margin smgl ML T{
-.ad l
set left soft margin at current column (not in BSD \fItermcap\fP)
T}
set_right_margin smgr MR T{
-.ad l
set right soft margin at current column
T}
label_format fln Lf T{
-.ad l
label format
T}
set_clock sclk SC T{
-.ad l
set clock, #1 hrs #2 mins #3 secs
T}
display_clock dclk DK T{
-.ad l
display clock
T}
remove_clock rmclk RC T{
-.ad l
remove clock
T}
create_window cwin CW T{
-.ad l
define a window #1 from #2,#3 to #4,#5
T}
goto_window wingo WG T{
-.ad l
go to window #1
T}
hangup hup HU T{
-.ad l
hang-up phone
T}
dial_phone dial DI T{
-.ad l
dial number #1
T}
quick_dial qdial QD T{
-.ad l
dial number #1 without checking
T}
tone tone TO T{
-.ad l
select touch tone dialing
T}
pulse pulse PU T{
-.ad l
select pulse dialing
T}
flash_hook hook fh T{
-.ad l
flash switch hook
T}
fixed_pause pause PA T{
-.ad l
-pause for 2-3 seconds
+pause for 2\(en3 seconds
T}
wait_tone wait WA T{
-.ad l
wait for dial-tone
T}
user0 u0 u0 T{
-.ad l
User string #0
T}
user1 u1 u1 T{
-.ad l
User string #1
T}
user2 u2 u2 T{
-.ad l
User string #2
T}
user3 u3 u3 T{
-.ad l
User string #3
T}
user4 u4 u4 T{
-.ad l
User string #4
T}
user5 u5 u5 T{
-.ad l
User string #5
T}
user6 u6 u6 T{
-.ad l
User string #6
T}
user7 u7 u7 T{
-.ad l
User string #7
T}
user8 u8 u8 T{
-.ad l
User string #8
T}
user9 u9 u9 T{
-.ad l
User string #9
T}
orig_pair op op T{
-.ad l
Set default pair to its original value
T}
orig_colors oc oc T{
-.ad l
Set all color pairs to the original ones
T}
initialize_color initc Ic T{
-.ad l
initialize color #1 to (#2,#3,#4)
T}
initialize_pair initp Ip T{
-.ad l
Initialize color pair #1 to fg=(#2,#3,#4), bg=(#5,#6,#7)
T}
set_color_pair scp sp T{
-.ad l
Set current color pair to #1
T}
set_foreground setf Sf T{
-.ad l
Set foreground color #1
T}
set_background setb Sb T{
-.ad l
Set background color #1
T}
change_char_pitch cpi ZA T{
-.ad l
Change number of characters per inch to #1
T}
change_line_pitch lpi ZB T{
-.ad l
Change number of lines per inch to #1
T}
change_res_horz chr ZC T{
-.ad l
Change horizontal resolution to #1
T}
change_res_vert cvr ZD T{
-.ad l
Change vertical resolution to #1
T}
define_char defc ZE T{
-.ad l
Define a character #1, #2 dots wide, descender #3
T}
enter_doublewide_mode swidm ZF T{
-.ad l
Enter double-wide mode
T}
.TE
@@ -1885,179 +1506,135 @@ T}
center;
Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
enter_draft_quality sdrfq ZG T{
-.ad l
Enter draft-quality mode
T}
enter_italics_mode sitm ZH T{
-.ad l
Enter italic mode
T}
enter_leftward_mode slm ZI T{
-.ad l
Start leftward carriage motion
T}
enter_micro_mode smicm ZJ T{
-.ad l
Start micro-motion mode
T}
enter_near_letter_quality snlq ZK T{
-.ad l
Enter NLQ mode
T}
enter_normal_quality snrmq ZL T{
-.ad l
Enter normal-quality mode
T}
enter_shadow_mode sshm ZM T{
-.ad l
Enter shadow-print mode
T}
enter_subscript_mode ssubm ZN T{
-.ad l
Enter subscript mode
T}
enter_superscript_mode ssupm ZO T{
-.ad l
Enter superscript mode
T}
enter_upward_mode sum ZP T{
-.ad l
Start upward carriage motion
T}
exit_doublewide_mode rwidm ZQ T{
-.ad l
End double-wide mode
T}
exit_italics_mode ritm ZR T{
-.ad l
End italic mode
T}
exit_leftward_mode rlm ZS T{
-.ad l
End left-motion mode
T}
exit_micro_mode rmicm ZT T{
-.ad l
End micro-motion mode
T}
exit_shadow_mode rshm ZU T{
-.ad l
End shadow-print mode
T}
exit_subscript_mode rsubm ZV T{
-.ad l
End subscript mode
T}
exit_superscript_mode rsupm ZW T{
-.ad l
End superscript mode
T}
exit_upward_mode rum ZX T{
-.ad l
End reverse character motion
T}
micro_column_address mhpa ZY T{
-.ad l
Like column_address in micro mode
T}
micro_down mcud1 ZZ T{
-.ad l
Like cursor_down in micro mode
T}
micro_left mcub1 Za T{
-.ad l
Like cursor_left in micro mode
T}
micro_right mcuf1 Zb T{
-.ad l
Like cursor_right in micro mode
T}
micro_row_address mvpa Zc T{
-.ad l
Like row_address #1 in micro mode
T}
micro_up mcuu1 Zd T{
-.ad l
Like cursor_up in micro mode
T}
order_of_pins porder Ze T{
-.ad l
Match software bits to print-head pins
T}
parm_down_micro mcud Zf T{
-.ad l
Like parm_down_cursor in micro mode
T}
parm_left_micro mcub Zg T{
-.ad l
Like parm_left_cursor in micro mode
T}
parm_right_micro mcuf Zh T{
-.ad l
Like parm_right_cursor in micro mode
T}
parm_up_micro mcuu Zi T{
-.ad l
Like parm_up_cursor in micro mode
T}
select_char_set scs Zj T{
-.ad l
Select character set, #1
T}
set_bottom_margin smgb Zk T{
-.ad l
Set bottom margin at current line
T}
set_bottom_margin_parm smgbp Zl T{
-.ad l
Set bottom margin at line #1 or (if smgtp is not given) #2 lines from bottom
T}
set_left_margin_parm smglp Zm T{
-.ad l
Set left (right) margin at column #1
T}
set_right_margin_parm smgrp Zn T{
-.ad l
Set right margin at column #1
T}
set_top_margin smgt Zo T{
-.ad l
Set top margin at current line
T}
set_top_margin_parm smgtp Zp T{
-.ad l
Set top (bottom) margin at row #1
T}
start_bit_image sbim Zq T{
-.ad l
Start printing bit image graphics
T}
start_char_set_def scsd Zr T{
-.ad l
Start character set definition #1, with #2 characters in the set
T}
stop_bit_image rbim Zs T{
-.ad l
Stop printing bit image graphics
T}
stop_char_set_def rcsd Zt T{
-.ad l
End definition of character set #1
T}
subscript_characters subcs Zu T{
-.ad l
List of subscriptable characters
T}
superscript_characters supcs Zv T{
-.ad l
List of superscriptable characters
T}
these_cause_cr docr Zw T{
-.ad l
Printing any of these characters causes CR
T}
zero_motion zerom Zx T{
-.ad l
No motion for subsequent character
T}
.TE
@@ -2076,131 +1653,99 @@ Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
String Capability Name TI TC Description
_
char_set_names csnm Zy T{
-.ad l
Produce #1'th item from list of character set names
T}
key_mouse kmous Km T{
-.ad l
Mouse event has occurred
T}
mouse_info minfo Mi T{
-.ad l
Mouse status information
T}
req_mouse_pos reqmp RQ T{
-.ad l
Request mouse position
T}
get_mouse getm Gm T{
-.ad l
Curses should get button events, parameter #1 not documented.
T}
set_a_foreground setaf AF T{
-.ad l
Set foreground color to #1, using ANSI escape
T}
set_a_background setab AB T{
-.ad l
Set background color to #1, using ANSI escape
T}
pkey_plab pfxl xl T{
-.ad l
Program function key #1 to type string #2 and show string #3
T}
device_type devt dv T{
-.ad l
Indicate language, codeset support
T}
code_set_init csin ci T{
-.ad l
Init sequence for multiple codesets
T}
set0_des_seq s0ds s0 T{
-.ad l
Shift to codeset 0 (EUC set 0, ASCII)
T}
set1_des_seq s1ds s1 T{
-.ad l
Shift to codeset 1
T}
set2_des_seq s2ds s2 T{
-.ad l
Shift to codeset 2
T}
set3_des_seq s3ds s3 T{
-.ad l
Shift to codeset 3
T}
set_lr_margin smglr ML T{
-.ad l
Set both left and right margins to #1, #2. (ML is not in BSD termcap).
T}
set_tb_margin smgtb MT T{
-.ad l
Sets both top and bottom margins to #1, #2
T}
bit_image_repeat birep Xy T{
-.ad l
Repeat bit image cell #1 #2 times
T}
bit_image_newline binel Zz T{
-.ad l
Move to next row of the bit image
T}
bit_image_carriage_return bicr Yv T{
-.ad l
Move to beginning of same row
T}
color_names colornm Yw T{
-.ad l
Give name for color #1
T}
define_bit_image_region defbi Yx T{
-.ad l
Define rectangular bit image region
T}
end_bit_image_region endbi Yy T{
-.ad l
End a bit-image region
T}
set_color_band setcolor Yz T{
-.ad l
Change to ribbon color #1
T}
set_page_length slines YZ T{
-.ad l
Set page length to #1 lines
T}
display_pc_char dispc S1 T{
-.ad l
Display PC character #1
T}
enter_pc_charset_mode smpch S2 T{
-.ad l
Enter PC character display mode
T}
exit_pc_charset_mode rmpch S3 T{
-.ad l
Exit PC character display mode
T}
enter_scancode_mode smsc S4 T{
-.ad l
Enter PC scancode mode
T}
exit_scancode_mode rmsc S5 T{
-.ad l
Exit PC scancode mode
T}
pc_term_options pctrm S6 T{
-.ad l
PC terminal options
T}
scancode_escape scesc S7 T{
-.ad l
Escape for scancode emulation
T}
alt_scancode_esc scesa S8 T{
-.ad l
Alternate escape for scancode emulation
T}
.TE
@@ -2225,36 +1770,29 @@ Lbw(25n)2 Lbw(8n)2 Lb2 Lx.
String Capability Name TI TC Description
_
enter_horizontal_hl_mode ehhlm Xh T{
-.ad l
Enter horizontal highlight mode
T}
enter_left_hl_mode elhlm Xl T{
-.ad l
Enter left highlight mode
T}
enter_low_hl_mode elohlm Xo T{
-.ad l
Enter low highlight mode
T}
enter_right_hl_mode erhlm Xr T{
-.ad l
Enter right highlight mode
T}
enter_top_hl_mode ethlm Xt T{
-.ad l
Enter top highlight mode
T}
enter_vertical_hl_mode evhlm Xv T{
-.ad l
Enter vertical highlight mode
T}
set_a_attributes sgr1 sA T{
-.ad l
Define second set of video attributes #1-#6
T}
set_pglen_inch slength YI T{
-.ad l
-Set page length to #1 hundredth of an inch (some implementations use sL for
termcap).
+Set page length to #1 hundredth of an inch
+(some implementations use sL for termcap).
T}
.TE
.\"***************************************************************************
@@ -2437,7 +1975,8 @@ the sequences
produce
.RS 6
.PP
-\fInewline\fP, \fIline-feed\fP, \fIreturn\fP, \fItab\fP, \fIbackspace\fP,
\fIform-feed\fP, and \fIspace\fP,
+\fInewline\fP, \fIline-feed\fP, \fIreturn\fP, \fItab\fP, \fIbackspace\fP,
+\fIform-feed\fP, and \fIspace\fP,
.RE
.IP
respectively.
@@ -2754,7 +2293,7 @@ print \fIpop()\fP like %c in \fBprintf\f
\fB%s\fP
print \fIpop()\fP like %s in \fBprintf\fP
.TP
-\fB%p\fI[1\-9]\fR
+\fB%p\fI[1\(en9]\fR
push \fIi\fP'th parameter
.TP
\fB%P\fI[a\-z]\fR
@@ -2854,7 +2393,8 @@ If it is zero (false), control passes to
.IP
It is possible to form else-if's a la Algol 68:
.RS
-\fB%?\fP c\d1\u \fB%t\fP b\d1\u \fB%e\fP c\d2\u \fB%t\fP b\d2\u \fB%e\fP
c\d3\u \fB%t\fP b\d3\u \fB%e\fP c\d4\u \fB%t\fP b\d4\u \fB%e\fP \fB%;\fP
+\fB%?\fP c\d1\u \fB%t\fP b\d1\u \fB%e\fP c\d2\u \fB%t\fP b\d2\u \fB%e\fP
+c\d3\u \fB%t\fP b\d3\u \fB%e\fP c\d4\u \fB%t\fP b\d4\u \fB%e\fP \fB%;\fP
.RE
.IP
where c\di\u are conditions, b\di\u are bodies.
@@ -3273,7 +2813,7 @@ to delete a single character,
with one parameter,
.IR n ,
to delete
-.IR n "characters,"
+.IR n " characters,"
and delete mode by giving \fBsmdc\fP and \fBrmdc\fP
to enter and exit delete mode (any mode the terminal needs to be placed
in for
@@ -3816,11 +3356,13 @@ This alternate character set may be spec
.PP
.TS
center;
-Lb Cb S L Lb
-Lb2 Lb2 Lb Lb1 S
+Lb Cb Lb S S
+Lb2 Lb2 Lb Lb1 Lb
+Lb2 Lb2 Lb Lb1 Lb
Lb L C Lb Lx.
-\& acsc \& \&
-ACS Name Value Symbol ASCII Fallback / Glyph Name
+\& acsc \&
+ACS Name Value Symbol ASCII Glyph Name
+\& \& \& Fallback \&
_
ACS_RARROW 0x2b + > arrow pointing right
ACS_LARROW 0x2c , < arrow pointing left
@@ -3938,7 +3480,7 @@ use the \fBsetaf\fP and \fBsetab\fP capa
.PP
The \fBsetaf\fP/\fBsetab\fP and \fBsetf\fP/\fBsetb\fP capabilities take a
single numeric argument each.
-Argument values 0-7 of \fBsetaf\fP/\fBsetab\fP are portably defined as
+Argument values 0\(en7 of \fBsetaf\fP/\fBsetab\fP are portably defined as
follows (the middle column is the symbolic #define available in the header for
the \fBcurses\fP or \fI\%ncurses\fP libraries).
The terminal hardware is free to
@@ -4020,7 +3562,7 @@ attributes understood by \fBcurses\fP is
.PP
.TS
center;
-cb cb cb cb
+cb cb cb lb
lb n n lb.
Attribute Bit Decimal Set by
_
@@ -4206,7 +3748,7 @@ and older versions of \fBtgetent\fP inst
allocate a 1024-byte buffer for the termcap entry.
The entry gets null-terminated by
the termcap library, so that makes the maximum safe length for a termcap entry
-1k\-1 (1023) bytes.
+(1\~Ki \- 1) (1023) bytes.
Depending on what the application and the termcap library being used does,
and where in the termcap file the terminal type that \fBtgetent\fP
is searching for is, several bad things can happen:
@@ -4220,7 +3762,7 @@ some neither exit nor warn, doing nothin
some simply truncate the entries to 1023 bytes.
.PP
Some application programs allocate more than
-the recommended 1K for the termcap entry; others do not.
+the recommended 1\~KiB for the termcap entry; others do not.
.PP
Each termcap entry has two important sizes associated with it: before
\*(``tc\*('' expansion, and after \*(``tc\*('' expansion.
@@ -4240,7 +3782,7 @@ Now suppose:
.bP
a termcap entry before expansion is more than 1023 bytes long,
.bP
-and the application has only allocated a 1k buffer,
+and the application has only allocated a 1\~KiB buffer,
.bP
and the termcap library (like the one in BSD/OS 1.1 and GNU) reads
the whole entry into the buffer, no matter what its length, to see
@@ -4377,7 +3919,7 @@ adding extension capabilities to the str
(in the binary format)
collide with subsequent System V and X/Open Curses extensions.
.SH AUTHORS
-Zeyd M. Ben-Halim, Eric S. Raymond, Thomas E. Dickey.
+Zeyd M.\& Ben-Halim, Eric S.\& Raymond, Thomas E.\& Dickey.
Based on \fIpcurses\fP by Pavel Curtis.
.SH SEE ALSO
\fB\%infocmp\fP(1),
Any program (person), that produces man pages, should check the output
for defects by using (both groff and nroff)
[gn]roff -mandoc -t -ww -b -z -K utf8 <man page>
The same goes for man pages that are used as an input.
For a style guide use
mandoc -T lint
-.-
Any "autogenerator" should check its products with the above mentioned
'groff', 'mandoc', and additionally with 'nroff ...'.
It should also check its input files for too long (> 80) lines.
This is just a simple quality control measure.
The "autogenerator" may have to be corrected to get a better man page,
the source file may, and any additional file may.
Common defects:
Not removing trailing spaces (in in- and output).
The reason for these trailing spaces should be found and eliminated.
"git" has a "tool" to point out whitespace,
see for example "git-apply(1)" and git-config(1)")
Not beginning each input sentence on a new line.
Line length and patch size should thus be reduced.
The script "reportbug" uses 'quoted-printable' encoding when a line is
longer than 1024 characters in an 'ascii' file.
See man-pages(7), item "semantic newline".
-.-
The difference between the formatted output of the original and patched file
can be seen with:
nroff -mandoc <file1> > <out1>
nroff -mandoc <file2> > <out2>
diff -d -u <out1> <out2>
and for groff, using
\"printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - \"
instead of 'nroff -mandoc'
Add the option '-t', if the file contains a table.
Read the output from 'diff -d -u ...' with 'less -R' or similar.
-.-.
If 'man' (man-db) is used to check the manual for warnings,
the following must be set:
The option \"-warnings=w\"
The environmental variable:
export MAN_KEEP_STDERR=yes (or any non-empty value)
or
(produce only warnings):
export MANROFFOPT=\"-ww -b -z\"
export MAN_KEEP_STDERR=yes (or any non-empty value)
-.-