HP-UX TN3270 Users Guide, March 1998

Table Of Contents
Chapter 6 171
Customizing 3270 Emulation
What Is a Style File?
What Is a Style File?
A style file contains parameters that control the appearance and
behavior of your HP-UX terminal in 3270 emulation. These parameters
determine session characteristics, display colors, key definitions, audible
signals, and file transfer parameters. The style file also contains any
keystroke sequences you have recorded (for more information, see
“Keystroke Recording and Replay”).
The name of the open style file is displayed on the main screen of the
TN3270 emulation program. If the style file that you want to change is
not open, use the File menu to open it. Then use one or more of the
options on the Customize menu to make changes.
Search Path for Style Files
When you start the TN3270 emulation program, you can specify a style
file name to be used (using the -s option on the command line). The
TN3270 emulation program uses the following order to find a style file:
1. If you use the -s option on the command line to specify a style file
name, this style file is used. The style file name must be 1–8
characters followed by the extension .stu, but you do not need to
include the extension on the command line. If you specify a directory
path for the file name with a fully qualified path name (for example
/usr/user1/user1.stu), the program tries to open the file with the
name you specify in the given directory. If you specify a directory path
for the file name with a relative path name (for example
styles/user1.stu), the program tries to open the file with the
name you specify in the given directory relative to your current
directory. If you do not specify a path, the file is assumed to be in your
current directory.
If it finds the file, the TN3270 product starts the TN3270 emulation
program using this style file. If it does not find the file, the TN3270
product uses default settings as described in Item 3.
2. If you do not specify a style file name on the command line, the entry
you stored in the configuration file defines the default style file name.
The TN3270 emulation program then looks in the following places to
find a file with this name: