Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/tmode.refentry @ 2187:dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
author | boisy |
---|---|
date | Wed, 11 Mar 2009 02:07:19 +0000 |
parents | 4dae346c4969 |
children |
rev | line source |
---|---|
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> | |
1093 | 9 <command>tmode</command> |
139 | 10 <arg choice="opt"> |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
648
diff
changeset
|
11 .<replaceable>pathnum</replaceable> |
139 | 12 </arg> |
13 <arg choice="opt"> | |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
648
diff
changeset
|
14 <replaceable>arglist</replaceable> |
139 | 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 | |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
648
diff
changeset
|
34 option ".<replaceable>path num</replaceable>" must be used to specify one of the standard |
139 | 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> | |
1092 | 167 <entry>Abort character (normally <keycombo action="simul"><keycap>Control</keycap> |
168 <keycap>C</keycap></keycombo>). Numeric value | |
139 | 169 of character in hexadecimal.</entry> |
170 </row> | |
171 <row> | |
172 <entry>quit=h</entry> | |
1092 | 173 <entry>Quit character (normally <keycombo action="simul"><keycap>Control</keycap> |
174 <keycap>E</keycap></keycombo>). Numeric value | |
139 | 175 of character in hexadecimal.</entry> |
176 </row> | |
177 <row> | |
178 <entry>baud=d</entry> | |
179 <entry>Set baud rate for software-controllable interface. Numeric | |
180 code for baud rate: 0=110 1=300 2=600 3=1200 4=2400 5=4800 | |
181 6=9600 7=19200</entry> | |
182 </row> | |
183 </tbody> | |
184 </tgroup> | |
185 </informaltable> | |
186 | |
187 </refsect1> | |
188 <refsect1><title>Examples</title> | |
189 <screen> | |
190 tmode -upc lf null=4 bselF pause | |
191 | |
192 tmode pag=24 pause bsl -echo bsp=8 bsl=C | |
193 </screen> | |
194 <para> | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
195 NOTE: If you use <command>tmode</command> in a procedure file, it will be necessary to |
139 | 196 specify one of the standard output paths (.1 or .2) since the |
197 shell's standard input path will have been redirected to the disk | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
975
diff
changeset
|
198 file (<command>Tmode</command> can be used on an SCFMAN-type devices only). |
139 | 199 |
200 Example: | |
201 </para> | |
202 <screen> | |
203 tmode .1 pag=24 (set lines/page on standard output) | |
204 </screen> | |
205 </refsect1> | |
206 </refentry> | |
207 |