S3270

s3270 is screen-scraping tool. (On Windows, it is also called ws3270.)



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 to run it. 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.