Debian Codegraph @

vttest.1

raw
1 .\" $Id: vttest.1,v 1.25 2024/10/10 08:06:45 tom Exp $
2 .TH VTTEST 1 2024-10-10 "" "User commands"
3 .\" Bulleted paragraph
4 .de bP
5 .ie n .IP \(bu 4
6 .el .IP \(bu 2
7 ..
8 .ie \n(.g .ds : \:
9 .el .ds : \" empty
10 .
11 .\" Escape single quotes in literal strings from groff's Unicode transform.
12 .ie \n(.g \{\
13 .ds `` \(lq
14 .ds '' \(rq
15 .\}
16 .el \{\
17 .ie t .ds `` ``
18 .el .ds `` ""
19 .ie t .ds '' ''
20 .el .ds '' ""
21 .\}",
22 .\" URL hyperlink support macros from groff's "an-ext.tmac"
23 .
24 .\" Save the automatic hyphenation mode.
25 .\"
26 .\" In AT&T troff, there was no register exposing the hyphenation mode,
27 .\" and no way to save and restore it. Set `mH` to a reasonable value
28 .\" for your implementation and preference.
29 .de mY
30 . ie !\\n(.g \
31 . nr mH 14
32 . el \
33 . do nr mH \\n[.hy] \" groff extension register
34 ..
35 .
36 .\" Prepare link text for mail/web hyperlinks. `MT` and `UR` call this.
37 .de mV
38 . ds mU \\$1\"
39 ..
40 .
41 .\" Emit hyperlink. The optional argument supplies trailing punctuation
42 .\" after link text. `ME` and `UE` call this.
43 .de mQ
44 . mY
45 . nh
46 <\\*(mU>\\$1
47 . hy \\n(mH
48 . rm mU
49 ..
50 .
51 .\" Start URL.
52 .\" .UR url
53 .if !\n(.g \{\
54 .de UR
55 . mV \\$1
56 ..
57 .\}
58 .
59 .\" End URL.
60 .\" .UE [punctuation]
61 .if !\n(.g \{\
62 .de UE
63 . mQ \\$1
64 ..
65 .\}
66 .
67 .SH NAME
68 vttest \-
69 test VT100-type terminal
70 .SH SYNOPSIS
71 .B vttest \fI[options] [24x80.132]
72 .
73 .SH DESCRIPTION
74 .I Vttest
75 is a program designed to test the functionality of a VT100 terminal
76 (or emulator thereof).
77 It tests both display (escape sequence handling) and keyboard.
78 .PP
79 The program is menu-driven and contains full on-line operating instructions.
80 .bP
81 To run a given menu-item, you must enter its number.
82 .bP
83 Menu items start at zero; this is the \*(``Exit\*('' item in almost all cases.
84 .bP
85 You can run all menu-items (for a given level) by entering an asterisk,
86 i.e, \*(``*'.
87 .bP
88 You can force a repaint of the menu items by entering \*(``?\*(''.
89 .bP
90 A few menus can be more than one page.
91 Use \*(``n\*('' and \*(``p\*('' to switch to the next or previous page.
92 .SH OPTIONS
93 You can specify the screen geometry in the form \fI[24x80.132]\fP,
94 i.e.,
95 .bP
96 24 lines,
97 .bP
98 80 minimum columns, and
99 .bP
100 132 maximum columns.
101 .PP
102 If your terminal does not switch between 80 and 132 columns you
103 may specify 24x80.80, for example, to avoid a misleading display.
104 .PP
105 Other options are:
106 .TP 5
107 .B \-V
108 print the program version, and exit.
109 .TP 5
110 .BI \-c " commands"
111 replay commands recorded by the logging option.
112 Some keyboard and mouse input is required, depending on the tests,
113 but otherwise menu selection and next-page responses are automated.
114 .TP 5
115 .BI \-f " fontfile"
116 specify a file containing a DRCS (soft character definition) string.
117 .TP 5
118 .B \-l
119 log test results to \fIvttest.log\fP.
120 .TP 5
121 .B \-p
122 use padding, e.g., for a VT100 connected to a high-speed line.
123 .TP 5
124 .B \-q
125 show only the most recent part of a continuous response,
126 e.g., any-event mouse tests, to improve readability of the test.
127 .TP 5
128 .B \-s
129 add time-delay in selected panning/scrolling options to show details.
130 .TP 5
131 .B \-u
132 suppress switch from UTF-8 mode on startup,
133 and enable a third setting in the 7-bit/8-bit parsing test to allow for
134 C2 controls as an alternate to 8-bit C1.
135 .TP 5
136 .B \-8
137 use 8-bit controls (this can be changed with a menu option).
138 .
139 .SH ENVIRONMENT
140 When \fBvttest\fP starts, it checks the locale (LC_ALL, etc.),
141 to determine if the terminal uses UTF-8,
142 and normally switches the terminal to ISO-8859\ 1.
143 Use the \*(``\fB\-u\fR\*('' option to disable this switching,
144 and provide some special cases where UTF-8 encoding is accepted.
145 .PP
146 For example, the Unicode specification does not document its relationship
147 to ECMA-48 (ISO 6429) beyond listing C0 and C1 codes which Unicode treats
148 as whitespace.
149 The latter (i.e., NEL U+0085) is misleading because Unicode
150 describes C1 controls only obliquely.
151 It goes into a little more detail regarding ECMA-35 (ISO 2022).
152 \fBvttest\fP allows for both the standard encoding of C1 (single byte)
153 and the variant implied by Unicode,
154 referred to here as C2 (two bytes) to distinguish the two encodings.
155 .
156 .SH AUTHORS
157 Per Lindberg
158 (mcvax,seismo)!enea!suadb!lindberg
159 sometime 1985.
160
161 Modified by Thomas E. Dickey
162 from June 1996, to support nonstandard screen geometry,
163 VT220-VT525, ISO color and xterm-specific tests.
164 .
165 .SH SEE ALSO
166 .nf
167 .I "XTerm Control Sequences"
168 .UR https://\*:invisible\-\*:island\*:.net/\*:xterm/\*:ctlseqs/\*:ctlseqs\*:.html
169 .UE
170 .br
171 .UR https://\*:github\*:.com/\*:mattiase/\*:wraptest/
172 .I "DEC VT terminal line-wrapping semantics"
173 .UE
174 .fi