IBM s/390 Tablet Accessory User Manual


 
48 S/390 PID: ThinkPad Enabled for S/390
5.8 x3270 client
The FLEX-ES product distribution includes a copy of x3270. This is based on the freely
distributable x3270 package, but with a few modifications. In general, it is intended only for
use on the ThinkPad/EFS system itself, under Linux. Users connecting from other platforms
will probably use whatever TN3270 clients are available for their platforms. For this redbook
project, we used IBMs PCOM packageusually from OS/2 machines.
An x3270 window (on the Linux console) is started with the command:
$ x3270 -model 3 -keymap pc -port tn3270 localhost &
| | | | | +-- run in background
| | | | +--------- local system (from /etc/hosts)
| | | +-------------------- port tn3270 (from /etc/services)
| | +------------------------------- in /usr/X/lib/app-defaults/X3270
| +----------------------------------------- models 2, 3, 4, 5 available
+------------------------------------------------- command
You can optionally identify the FLEX-ES terminal session you want to connect to like this:
$ x3270 -model 3 -keymap pc -port tn3270 localhost:t91f &
In this case, your resources definition (or a prior FLEX-ES mount command) must have
defined a 3270 device named t91f. If you do not identify a specific terminal connection, the
x3270 session is connected to the Terminal Solicitor. In a FLEX-ES system, port tn3270
normally resolves (via /etc/services) to port 24, the default port for the Terminal Solicitor.
The x3270 command must be in the current search path, of course.
9
It is in the /usr/flexes/bin
directory, and we suggested placing this in the current PATH. The model parameter refers to
3270 models:
Model Characteristics
2 24 lines x 80 columns
3 32 lines x 80 columns
4 43 lines x 80 columns
5 27 lines x 132 columns
These are standard 3270 family model designations. Model 3 use is perhaps the most
common and that is what we used.
Important keyboard mapping for x3270 includes:
Function Keys Used
PA1 Left-Alt + 1 (hold down the left Alt key and press 1)
PA2 Left-Alt + 2
Clear Left-Alt + c or Left-Alt + Home
Enter Enter (large Enter key performs 3270 Enter function)
NewLine Left-Alt + Enter (performs 3270 New Line function)
SysRq Left-Alt + s (the System Request key (usually for SNA))
F13 Left-Alt + F1 (and so forth for F14 - F24)
EraseEOF Left-Alt + f
Insert Left-Alt + i
Del Delete
BackTab Shift + Tab (tab backwards)
9
You must make certain than another x3270 program does not appear first in the search path, as discussed in
X3270 on page 20.