Lines Matching refs:the
3 This file describes the driver that supports local channel attachment
17 You may have 3270s in-house and not know it. If you're using the
19 the command "DEF GRAF <hex-address>" This paper presumes you will be
20 defining four 3270s with the CP/CMS commands
29 workstation. With the DEF GRAF command, an application such as xterm,
33 This paper covers installation of the driver and operation of a
39 You install the driver by installing a patch, doing a kernel build, and
40 running the configuration script (config3270.sh, in this directory).
42 WARNING: If you are using 3270 console support, you must rerun the
43 configuration script every time you change the console's address (perhaps
44 by using the condev= parameter in silo's /boot/parmfile). More precisely,
45 you should rerun the configuration script every time your set of 3270s,
46 including the console 3270, changes subchannel identifier relative to
47 one another. ReIPL as soon as possible after running the configuration
48 script and the resulting /tmp/mkdev3270.
54 You may generate both 3270 and 3215 console support, or one or the
55 other, or neither. If you generate both, the console type under VM is
56 not changed. Use #CP Q TERM to see what the current console type is.
58 3270 console support, then the driver automatically converts your console
61 In brief, these are the steps:
62 1. Install the tub3270 patch
70 2. Use the DIAL command in that window.
73 Here are the installation steps in detail:
75 1. The 3270 driver is a part of the official Linux kernel
76 source. Build a tree with the kernel source and any necessary
88 load the driver when it's needed. With this line added, you will see
90 with emulated 3270s, as soon as you dial into your vm guest using the
91 command "DIAL <vmguestname>"). Since the line-mode major number is
92 227, the line to add should be:
103 3270s, and this enables the tub3270 driver once loaded to respond
104 correctly to the configuration requests of the next step. If
108 5. Run the 3270 configuration script config3270. It is
110 config3270.sh. Inspect the output script it produces,
111 /tmp/mkdev3270, and then run that script. This will create the
112 necessary character special device files and make the necessary
116 the telinit command with the q operand:
130 Here are the testing steps in detail:
133 3279, or use the 3270 emulator of your choice. You would be
134 running the emulator on your PC or workstation. You would use
135 the command, for example,
137 if you wanted a 3278 Model 4 with 43 rows of 80 columns, the
142 lines near the bottom. Use TAB to move to the bottom line,
145 2. Use the DIAL command instead of the LOGIN command to connect
146 to one of the virtual 3270s you defined with the DEF GRAF
152 see instead the line "DIALED TO my-vm-guest-name 0620".
156 A. Is the driver loaded? Use the lsmod command (no operands)
158 the command "insmod tub3270". Does that command give error
161 B. Is the /etc/inittab file modified as in installation step 3
162 above? Use the grep command to find out; for instance, issue
166 C. Are the device special files created, as in installation
167 step 2 above? Use the ls -l command to find out; for instance,
168 issue "ls -l /dev/3270/tty620". The output should start with the
170 just to the left of the device name. No such file? no "c"?
174 D. Do you get the message
176 If so, you must issue the command "DEF GRAF 620" from your VM
177 3215 console and then reboot the system.
183 The driver defines three areas on the 3270 screen: the log area, the
184 input area, and the status area.
186 The log area takes up all but the bottom two lines of the screen. The
187 driver writes terminal output to it, starting at the top line and going
188 down. When it fills, the status area changes from "Linux Running" to
189 "Linux More...". After a scrolling timeout of (default) 5 sec, the
190 screen clears and more output is written, from the top down.
192 The input area extends from the beginning of the second-to-last screen
193 line to the start of the status area. You type commands in this area
197 fuzzy feeling. When the log area fills up and output awaits, it
199 nothing. If you do nothing, the screen will clear in (default) 5 sec
201 the input area to toggle between "Linux More..." and "Linux Holding",
203 Running" and nothing typed, the application receives a newline.)
205 You may change the scrolling timeout value. For example, the following
208 changes the scrolling timeout value to 60 sec. Set scrolltime to 0 if
211 Other things you may do when the log area fills up are: hit PA2 to
212 clear the log area and write more output to it, or hit CLEAR to clear
213 the log area and the input area and write more output to the log area.
215 Some of the Program Function (PF) and Program Attention (PA) keys are
219 PA1 causes a SIGINT to the currently running application. You may do
220 the same thing from the input area, by typing "^C" and hitting ENTER.
222 PA2 causes the log area to be cleared. If output awaits, it is then
223 written to the log area.
225 PF3 causes an EOF to be received as input by the application. You may
231 execute the command:
234 If the input you type does not end with the two characters "^n", the
235 driver appends a newline character and sends it to the tty driver;
236 otherwise the driver strips the "^n" and does not append a newline.
239 Pf10 causes the most recent command to be retrieved from the tube's
240 command stack (default depth 20) and displayed in the input area. You
241 may hit PF10 again for the next-most-recent command, and so on. A
242 command is entered into the stack only when the input area is not made
243 invisible (such as for password entry) and it is not identical to the
244 current top entry. PF10 rotates backward through the command stack;
245 PF11 rotates forward. You may assign the backward function to any PF
246 key (or PA key, for that matter), say, PA3, with the command:
248 This assigns the string ESC-k to PA3. Similarly, the string ESC-j
249 performs the forward function. (Rationale: In bash with vi-mode line
254 the fly. To change to saving the last 100 commands, execute the
259 the command
261 to execute the commands mkdir foobar and cd foobar immediately when you
262 hit PF24. Want to see the command line first, before you execute it?
263 Use the -n option of the echo command:
268 Happy testing! I welcome any and all comments about this document, the