-
Notifications
You must be signed in to change notification settings - Fork 83
/
tctyp.order
executable file
·419 lines (315 loc) · 15.3 KB
/
tctyp.order
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
This file is .INFO.;TCTYP ORDER .
A brief description (typed by "HELP" command) comes first.
Full description on the next page.
Invoke TCTYP by ":TCTYP <COMMANDS> <CR>" typed at DDT.
Command names may be abbreviated if the abbreviation is unambiguous.
The basic commands are: AAA AMBASSADOR C100 CDI DATAMEDIA DATAPOINT
DISAPPOINT DM2500 EXECUPORT GLASS GT40 GT44 H19 HEATH HP2640 IMLAC
LA36 MBEE MEMOWRECK MINIBEE4 OIMLAC OMRON PRINTING S1GRINNEL SBEE
SIMLAC SOFTWARE SUPERBEE T1061 T35 TEKTRONIX TELETYPE
TERMINET TIMLAC TISILENT TT2500 TV VT50 VT52 Z19 340D.
For other types of terminals, see INFO;CRTSTY >.
User option flags are: MORE SAIL SCROLL STANDARDIZE UPPERCASE
LOWERCASE BOW ICO OCO ACCEPT REFUSE QUERY
Flag name sets flag. Precede name by "NO" to clear flag.
Terminal property flags are:
RAW ERASEABLE BACKSPACE DISPLAY OVERPRINT HALFDUPLEX
FULLDUPLEX
Numeric argument commands are: LINELENGTH PAGE PADCR PADLF
PADTAB WHOLINE SCRLCOUNT HEIGHT ISPEED OSPEED SPEED SAVELINES
Follow command by argument.
"PADDED" command => want normal padding even on pseudo-tty line
(normally they are unpadded) e.g.: "PADDED MEMOWRECK".
Users coming from TIPs often need this option.
No commands => describe tty's settings briefly.
"DESCRIBE" command => give full description.
TCTYP is a program for examining or changing various parameters
associated with terminals. To use it, type:
:TCTYP <COMMANDS> <CR>
at DDT.
<COMMANDS> should contain 0 or more commands, separated by
delimiters. All characters except alphanumeric characters may be
used as delimiters, but punctuation characters look best. "+" and
"-" have a special meaning as delimiters. No delimiter is required
after the last command. Each command contains a keyword, and, for
certain keywords, a following number (which is octal unless
followed by a ".") If there is a number, it should be separated
from the keyword by a delimiter. A keyword may be abbreviated as
long as the abbreviation is unambiguous.
If there are no commands (the string contains only delimiters)
then a line is typed out containing commands that would restore
the tty's parameters to what they currently are, except that
switches which have their default settings are not mentioned.
Otherwise, TCTYP alters the parameters according to the commands,
unless the "DESCRIBE" command was given, in which case TCTYP
prints the values of all the parameters, even those which have
their default values. If the command string also contains
commands to change the values of parameters then, rather than
changing them, TCTYP will print out the values the parameters
would have been given. Thus, it is possible to find out what the
effect of a command string would be without actually trying it, by
adding "DESCRIBE" to it.
The "BASIC COMMANDS" are "AMBASSADOR" "DATAPOINT", "DISAPPOINT",
"DATAMEDIA", "CDI", "EXECUPORT", "GLASS", "GT40", "GT44", "HEATH",
"HP2640", "IMLAC", "LA36", "LOSER", "MEMOWRECK", "MBEE", "MINIBEE4",
"OIMLAC", "OMRON", "PRINTING", "SIMLAC", "SIMULATED", "SOFTWARE",
"SBEE", "SUPERBEE", "T35", "TELETYPE", "TIMLAC", "TISILENT",
"TERMINET", "TV", "VT50", "VT52". Some are aliases of others.
Each basic command sets most of the major parameters. The other
commands usually set only one parameter. If a parameter is set by
a basic command and a specific command, the specific command
overrides the basic command. The basic commands "PRINTING", "GLASS",
"T35", "LA36", "TELETYPE", "MEMOWRECK", "TISILENT", "EXECUPORT" and
"TERMINET" are printing terminals. Basic commands for printing terminals
will default the padding variables to appropriate values on real tty's
but to 0 (no padding) on pseudo-tty's. To override that special
treatment of pseudo-tty lines (cause padding on them), include the
command "PADDED" in the string.
If a "+" or "-" is seen when a command is expected, it should be
followed by the name of a bit in the TTYOPT table (for example,
"+%TOLWR"). The bit is set by "+" and cleared by "-".
The keywords that now exist are:
AAA Synonymous with "AMBASSADOR".
ACCEPT Accept communications from other users.
:TCTYP ACCEPT is like ^_A
AMBASSADOR Declares the terminal to be an Ann Arbor Ambassador.
BACKSPACE Declares to the system that the terminal
is capable of backspacing, by setting %TOMVB.
The basic commands all set this flag appropriately.
This flag is not intended as a user option.
C100 Declares the terminal to be a Concept 100.
CDI Declares the terminal to be a CDI-300.
DATAMEDIA Declares the terminal to be a Datamedia DM-2500.
DATAPOINT Declares the terminal to be a datapoint.
DISAPPOINT Declares the terminal to be an inferior losing datapoint.
Such "losers" are indistinguishable in appearance from
true datapoints, but garble their output if they are
treated as such.
DESCRIBE Says that, rather than changing the tty, TCTYP
should print out a complete description of what
the tty would be like if changed as specified by
the other commands in the string. The description
printed resembles that which is printed in
response to a null command string, except that the
values of all the parameters of the tty are
printed out, not just those whose values differ
from the default. The "DESCR" command may go
anywhere in the string.
DISPLAY Tells the system to regard the terminal as a
display. This is not intended as a user option
(sets %TOMVU).
DM2500 is synonymous with "DATAMEDIA".
ERASEABLE Tells the system to believe that selective-erasing
is possible on the terminal (sets %TOERS).
EXECUPORT Declares the terminal to be an execuport. An
execuport is a printing terminal (see "PADDED").
GLASS Declares the terminal to be a glass teletype. A glass
teletype is an inferior display with no cursor control
except for backspace, however it can erase in primitive
ways. It is equivalent to a TIsilent with no padding,
no overprint(thus can erase), and pagesize of 24. lines.
Terminals such as the ADM-3 are glass teletypes.
GT40 Declares the terminal to be a GT40.
GT44 Declares the terminal to be a GT44.
HALFDUPLEX Causes the terminal to be half-duplex.
HEATH Declares the terminal to be an H19.
HEIGHT <n> Sets the vertical screen size to <n> .
Overrides the basic commands, which try to
set the height to the default for the particular
type of terminal.
HELP Types the first page of this file.
HP2640 Declares the terminal to be a H.P. 2640 series display.
This should also work for the HP2621.
H19 Synonymous with "HEATH".
ICO Tells the system to allow input typed while in a
com-link to be read by programs.
IMLAC Declares the terminal to be an Imlac PDS1 (DM Style).
Its basic type is actually SOFTWARE. This type of
Imlac cannot print SAIL characters or send meta bits.
ISPEED <n> Declares the input speed to be <n> baud. Use this in
addition to SPEED <output-baud> on split-speed lines.
LA36 Declares the terminal to be a LA36 Decwriter.
LINELENGTH <n> Sets the horizontal screen size to <n> .
Overrides the specification implicit in
commands that set the type of terminal.
LOSER Is synonymous with "DISAPPOINT".
MEMOWRECK Declares your terminal to be a memowreck.
A memowreck is a printing terminal (see "PADDED").
MBEE Is synonymous with "MINIBEE4".
MINIBEE4 Declares the terminal to be a mini-bee 4 display.
Note that earlier versions of the minibee terminal
are not supported by ITS.
MORE Tells the system that the default for this
tty should be to enable system **MORE**
processing (that is, it will be on in each
newly created job, unless the program turns
it off.)
NO The command "NO" followed by the command "<X>"
is the same as the command "NO<X>". For example,
"NO SAIL" is the same as "NOSAIL".
NOBACKSPACE Tells the system that the terminal can't backspace.
NODISPLAY Tells the system that the terminal can't move
its cursor upward.
NOERASEABLE Tells the system that it is impossible to erase
only a part of the screen.
NOHALFDUPLEX Causes the terminal to be treated as full-duplex.
NOICO Tells the system that input typed while in a com-link
should be invisible to programs.
NOMORE Tells the system that the default should be
not to do **MORE** processing except for
programs that specifically enable it.
NOOCO Tells the system that programs should not be allowed
to type out while a com-link is in progress.
NOOVERPRINT Tells the system that it is impossible to
overprint on the terminal.
NORAW Leaves "RAW MODE". See "RAW".
NOSAIL Tells the system that control chars
output in ascii mode, or echoed, should not come out
in the "SAIL" character set.
NOSCROLL makes the default for new jobs
be not to be in scroll mode.
Also causes the DDT TCTYP was run under
to leave scroll mode.
NOSTANDARDIZE Stops standardization of altmodes.
This is the normal state of most terminals.
NOSUPDUP Overrides the error check which normally will
not let you change the basic type of a SUPDUP
terminal to anything other than SOFTWARE.
NOUPPERCASE Stops conversion of lower case to upper case.
OCO Tells the system to allow programs to type out
even while a com-link is in progress.
OIMLAC Declares the terminal to be an Imlac PDS1 (DM Style),
with the old SSV console program. This type of Imlac
cannot print SAIL characters or send meta bits.
OMRON Declares the terminal to be an OMRON display.
OVERPRINT Tells the system that overprinting is
possible on the terminal (sets %TOOVR). This
change is permanent, and is not intended to be
a user option.
PADCR <n> Sets the amount of padding to follow carriage-returns.
It overrides the default values supplied
by the basic commands.
See .INFO.;TTY ORDER for the meanings of the
possible values.
PADDED Normally, a basic command for a printing terminal
type gives the PADCR and PADLF variables default
values suitable for the type of terminal. However,
on pseudo-tty terminals (including network terminals)
the default values will be 0 (no padding) instead.
If padding is necessary on such a terminal, the
"PADDED" command suppresses that feature - it causes
the default PADCR and PADLF values on pseudo-tty
lines to be the same as on other tty's. Thus, the
commands "PADDED T35" might be used when TELNET'ing
to ITS from a system that supplies no padding, using
a teletype.
PADLF <n> Sets the amount of padding to follow linefeeds.
PADTAB <n> Sets the amount of padding to follow tabs.
0 => The terminal doesn't handle tabs;
1 <= n <= 7 => pad each tab with n-1 rubouts.
On displays (currently VT52-type only), <n> is 0
for no tabs, 1 for tabs, 2 for absolute cursor
positioning, and 3 for both tabs and absolute positioning.
PAGESIZE <n> Synonymous with "HEIGHT <N>".
PRINTING Declares your terminal to be a random printing
tty. The %TORAW bit is set, suppressing cursor
motion optimization. This mode is intended to win
on absolutely any terminal unless it requires
special padding treatment.
QUERY Tells the system to query you when others try
to communicate with you (same as ^_Q).
RAW Tells the system that the terminal needs to
operate in "RAW" mode, which means that no
optimization of cursor motion is done. Instead,
all formatting characters will be sent exactly
as output by the program (although padding will
still be done as specified, etc). Useful for
example on terminals that handle a crlf sequence
properly but don't handle stray cr or lf.
The command works by setting %TORAW.
REFUSE Tells the system not to let others communicate
with you (same as ^_R).
SAIL Says that control characters echoed, or output in
ascii mode, should come out as characters of the "SAIL"
character set, rather than as uparrow-whatever.
SAVELINES <n> Says that your terminal can save <n> lines of text
in local memory. EMACS uses this capability to avoid
retransmitting text, but it only works on SOFTWARE
terminals. The system rounds <n> up to a power of four.
SBEE Is synonymous with "SUPERBEE".
SCRLCOUNT The number of lines per "glitch" upward when scrolling.
On most terminals this is 1. On terminals that can't
scroll it is 0. It is more than 1 on some hairy displays.
It is always 1 on printing terminals.
SCROLL Makes scroll mode the default for new
jobs by setting %TOROL. If run from
a DDT, the DDT will also enter scroll mode.
SIMLAC Imlac PDS4 which can display SAIL characters and
has an AI keyboard (meta and top keys).
Its basic type is SOFTWARE.
SIMULATED Declares the terminal to be the SAIL telnet
in datapoint simulator mode.
SOFTWARE Declares the terminal to be an ITS "software" terminal;
that is, one that interprets internal ITS output
buffer codes. This command is unlike the other basic
commands since instead of specifying exactly how the
terminal acts, it merely supplies one piece of information
about HOW ITS should ask the terminal to perform functions.
It says nothing about what functions the terminal implements
(whether it is a display, etc). That is a property of the
program which, on some machine, is interpreting the ITS
output buffer codes. If particular such applications become
commonly used, specific basic commands will be created to
set a tty up to be used by that program.
SPEED <n> Declares the line speed to be <n> baud. E.g. SPEED 300
means 30 characters per second. This does not actually
set the speed, it simply sets the assumed speed which
controls padding.
SUPERBEE Declares the terminal to be a super-bee.
T1061 Declares the terminal to be a Teleray 1061.
(Note that the auto newline switch (switch 5 on rear)
should be in the off (auto newline disabled) position)
T35 Synonymous with "TELETYPE"
TEKTRONIX Declares the terminal to be a Tektronix storage scope
display terminal.
TELETYPE Declares the terminal to be a model 33 or 35
teletype (in other words, unable to backspace, and
needing altmode standardization).
TERMINET Declares the terminal to be a G.E. Terminet.
Padding is set according to the line speed. The PADLF
values are 1 (for 10 cps), 2 (15), 3 (30), 4 (60),
5 (120). A terminet is a printing terminal
(see "PADDED").
TIMLAC Like SIMLAC except that the Imlac is a PDS1 and cannot
output SAIL characters. Like IMLAC except that the
terminal can send meta bits.
TISILENT Declares the terminal to be an older TI terminal (TI 72X
or 73X). The 740 series is better declared with a PADCR 0.
TT2500 Declares the terminal to be a TT 2500. What is this?
TTYNUMBER <n> Tells TCTYP to deal with some other
terminal than its device TTY:.
This command is special in that it must
be the first command in the string,
and it by itself does not constitute a nonnull
command string. That is, ":TCTYP TTY <N> <CR>"
causes TCTYP to print out the parameters of
TTY <n> instead of setting them.
If TTY <n> is not free, and the rest of the
command string constitutes a request to change
it, an error message will result. However,
it is possible to get a description of a tty
that is in use.
TV Declares the terminal to be an AI PDP-11 TV.
UPPERCASE Causes conversion of lower case to upper case
on type-in. This sets the flag which ^_U
complements.
VT50 Declares the terminal to be a DEC VT50.
VT52 Declares the terminal to be a DEC VT52.
WHOLINE <n> Has no effect except on PDP-11 TV terminals.
On those, sets the who-line mode to <n>.
Thus 1 => current job, 0 => no who-line,
6 => system who-line.
WIDTH <n> Synonymous with "LINEL <N>".
Z19 Synonymous with "HEATH".
340D Declares the terminal to be the 340
datapoint simulator.