139
|
1 <refentry id="tmode">
|
|
2 <refnamediv>
|
|
3 <refname>TMODE</refname>
|
|
4 <refpurpose>Change terminal operating mode</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <cmdsynopsis>
|
|
9 <command>TMODE</command>
|
|
10 <arg choice="opt">
|
|
11 .&replstart;pathnum&replend;
|
|
12 </arg>
|
|
13 <arg choice="opt">
|
|
14 &replstart;arglist&replend;
|
|
15 </arg>
|
|
16 </cmdsynopsis>
|
|
17 </refsynopsisdiv>
|
|
18
|
|
19 <refsect1><title>Description</title>
|
|
20 <para>
|
|
21 This command is used to display or change the operating parameters
|
|
22 of the user's terminal.
|
|
23 </para>
|
|
24 <para>
|
|
25 If no arguments are given, the present values for each parameter are
|
|
26 displayed, otherwise, the parameter(s) given in the argument list
|
|
27 are processed. Any number of parameters can be. given, and are
|
|
28 separated by spaces or commas. A period and a number can be used to
|
|
29 optionally specify the path number to be affected. If none is given,
|
|
30 the standard input path is affected.
|
|
31 </para>
|
|
32 <para>
|
|
33 NOTE: If this command is used in a shell procedure file, the
|
|
34 option ".&replstart;path num&replend;" must be used to specify one of the standard
|
|
35 output paths (0, 1 or 2) to change the terminal's operating
|
|
36 characteristics. The change will remain in effect until the path is
|
|
37 closed. To effect a permanent change to a device characteristic,
|
|
38 the device descriptor must be changed.
|
|
39 </para>
|
|
40 <para>
|
|
41 This command can work only if a path to the file/device has already
|
|
42 been opened. You may alter the device descriptor to set a device's
|
|
43 initial operating parameter (see the System Programmer's Manual).
|
|
44 </para>
|
|
45
|
|
46 <informaltable frame="none">
|
|
47 <tgroup cols="2">
|
648
|
48 <colspec colwidth="1in"/>
|
|
49 <colspec colwidth="4in"/>
|
139
|
50 <tbody>
|
|
51 <row>
|
|
52 <entry>upc</entry>
|
|
53 <entry>Upper case only. Lower case characters are automatically
|
|
54 converted to upper case.</entry>
|
|
55 </row>
|
|
56 <row>
|
|
57 <entry>-upc</entry>
|
|
58 <entry>Upper case and lower case characters permitted (default).</entry>
|
|
59 </row>
|
|
60 <row>
|
|
61 <entry>bsb</entry>
|
|
62 <entry>Erase on backspace: backspace characters echoed as a
|
|
63 backspace-space-backspace sequence (default).</entry>
|
|
64 </row>
|
|
65 <row>
|
|
66 <entry>-bsb</entry>
|
|
67 <entry>no erase on backspace: echoes single backspace only</entry>
|
|
68 </row>
|
|
69 <row>
|
|
70 <entry>bsl</entry>
|
|
71 <entry>Backspace over line: lines are "deleted" by sending
|
|
72 backspace-space-backspace sequences to erase the same
|
|
73 line (for video terminals) (default).</entry>
|
|
74 </row>
|
|
75 <row>
|
|
76 <entry>-bsl</entry>
|
|
77 <entry>No backspace over line: lines are "deleted" by printing
|
|
78 a new line sequence (for hard-copy terminals).
|
|
79 echo Input characters "echoed" back to terminal (default)</entry>
|
|
80 </row>
|
|
81 <row>
|
|
82 <entry>-echo</entry>
|
|
83 <entry>No echo</entry>
|
|
84 </row>
|
|
85 <row>
|
|
86 <entry>lf</entry>
|
|
87 <entry>Auto line feed on: line feeds automatically echoed to
|
|
88 terminal on input and output carriage returns (default).</entry>
|
|
89 </row>
|
|
90 <row>
|
|
91 <entry>-lf</entry>
|
|
92 <entry>Auto line feed off.</entry>
|
|
93 </row>
|
|
94 <row>
|
|
95 <entry>pause</entry>
|
|
96 <entry>Screen pause on: output suspended upon full screen. See
|
|
97 "pag" parameter for definition of screen size. Output
|
|
98 can be resumed by typing any key.</entry>
|
|
99 </row>
|
|
100 <row>
|
|
101 <entry>-pause</entry>
|
|
102 <entry>Screen pause mode off.</entry>
|
|
103 </row>
|
|
104 <row>
|
|
105 <entry>null=n</entry>
|
|
106 <entry>Set null count: number of null ($00) characters
|
|
107 transmitted after carriage returns for return delay.
|
|
108 The number is decimal, default = 0.</entry>
|
|
109 </row>
|
|
110 <row>
|
|
111 <entry>pag=n</entry>
|
|
112 <entry>Set video display page length to n (decimal) lines.
|
|
113 Used for "pause" mode, see above.</entry>
|
|
114 </row>
|
|
115 <row>
|
|
116 <entry>bsp=h</entry>
|
|
117 <entry>Set input backspace character. Numeric value of
|
|
118 character in hexadecimal. Default = 08.</entry>
|
|
119 </row>
|
|
120 <row>
|
|
121 <entry>bse=h</entry>
|
|
122 <entry>Set output backspace character. Numeric value of
|
|
123 character in hexadecimal. Default = 08.</entry>
|
|
124 </row>
|
|
125 <row>
|
|
126 <entry>del=h</entry>
|
|
127 <entry>Set input delete line character. Numeric value of
|
|
128 character in hexadecimal. Default = 18.</entry>
|
|
129 </row>
|
|
130 <row>
|
|
131 <entry>bell=h</entry>
|
|
132 <entry>Set bell (alert) output character. Numeric value of
|
|
133 character in hexadecimal. Default = 07</entry>
|
|
134 </row>
|
|
135 <row>
|
|
136 <entry>eor=h</entry>
|
|
137 <entry>Set end-of-record (carriage return) input character.
|
|
138 Numeric value of character in hexadecimal. Default = 0D</entry>
|
|
139 </row>
|
|
140 <row>
|
|
141 <entry>eof=h</entry>
|
|
142 <entry>Set end-of-file input character. Numeric value of
|
|
143 character in hexadecimal. Default 1B.</entry>
|
|
144 </row>
|
|
145 <row>
|
|
146 <entry>type=h</entry>
|
|
147 <entry>ACIA initialization value: sets parity, word size, etc.
|
|
148 Value in hexadecimal. Default 15</entry>
|
|
149 </row>
|
|
150 <row>
|
|
151 <entry>reprint=h</entry>
|
|
152 <entry>Reprint line character. Numeric value of character
|
|
153 in hexadecimal.</entry>
|
|
154 </row>
|
|
155 <row>
|
|
156 <entry>dup=h</entry>
|
|
157 <entry>Duplicate last input line character. Numeric value of
|
|
158 character in hexadecimal.</entry>
|
|
159 </row>
|
|
160 <row>
|
|
161 <entry>psc=h</entry>
|
|
162 <entry>Pause character. Numeric value of character in
|
|
163 hexadecimal.</entry>
|
|
164 </row>
|
|
165 <row>
|
|
166 <entry>abort=h</entry>
|
|
167 <entry>Abort character (normally control C). Numeric value
|
|
168 of character in hexadecimal.</entry>
|
|
169 </row>
|
|
170 <row>
|
|
171 <entry>quit=h</entry>
|
|
172 <entry>Quit character (normally control E). Numeric value
|
|
173 of character in hexadecimal.</entry>
|
|
174 </row>
|
|
175 <row>
|
|
176 <entry>baud=d</entry>
|
|
177 <entry>Set baud rate for software-controllable interface. Numeric
|
|
178 code for baud rate: 0=110 1=300 2=600 3=1200 4=2400 5=4800
|
|
179 6=9600 7=19200</entry>
|
|
180 </row>
|
|
181 </tbody>
|
|
182 </tgroup>
|
|
183 </informaltable>
|
|
184
|
|
185 </refsect1>
|
|
186 <refsect1><title>Examples</title>
|
|
187 <screen>
|
|
188 tmode -upc lf null=4 bselF pause
|
|
189
|
|
190 tmode pag=24 pause bsl -echo bsp=8 bsl=C
|
|
191 </screen>
|
|
192 <para>
|
|
193 NOTE: If you use TMODE in a procedure file, it will be necessary to
|
|
194 specify one of the standard output paths (.1 or .2) since the
|
|
195 shell's standard input path will have been redirected to the disk
|
|
196 file (TMODE can be used on an SCFMAN-type devices only).
|
|
197
|
|
198 Example:
|
|
199 </para>
|
|
200 <screen>
|
|
201 tmode .1 pag=24 (set lines/page on standard output)
|
|
202 </screen>
|
|
203 </refsect1>
|
|
204 </refentry>
|
|
205
|