s3270
s3270 is screen-scraping tool. It uses the s3270 protocol to control a display-less 3270 session with a host.
How do I configure and run it?
s3270 can be invoked interactively for basic experimentation. It does not produce a prompt immediately; it is necessary to hit Return once to get the first prompt. Obviously, this is not the usual way it is run; normally it is started as a child of some other process, with actions written to its standard input and responses captured from its standard output. It can also be configured to accept actions via HTTP requests, in which case its standard input is ignored.
s3270 uses resource definitions for its configuration, which can be set in a number of different ways:
- Specifying a session file (a file with resource definitions in xrdb format) on the s3270 command line. An s3270 session file has the suffix .s3270.
- Specifying individual command-line options when you invoke s3270. These override definitions from a session file.
s3270 also allows a number of options to be changed at run-time via the Set() action, but these changes are not saved -- you need to use one of the above methods to make your changes apply to the next session.
Notes
On Windows, s3270 used to be called ws3270, which is the identical program under a different name.
See also
Subpages: