HP-UX TN3270 Users Guide, March 1998

Table Of Contents
Chapter 3 71
Getting Started with 3270 Emulation
Running 3270 Emulation in the Background
Your LANG environment variable is set to the correct language for the
host program (refer to your operating system documentation for the
names of valid languages).
Contact your System Administrator if necessary.
Starting the TN3270 Emulation Program
To start the TN3270 emulation program in the background, enter the
following command at the HP-UX command prompt:
xtn3270 -b [-s[/path/]stylefile] [-h IDlist][-l host list]
Motif The Motif program, xtn3270, cannot be run in the background; tn3270
must be used.
End of section
The -b option indicates that the program is to be run in the background.
For more information about the other command-line options, see
“Starting the TN3270 Emulation Program”. If you use more than one
option, you can specify them in any order.
When you start the TN3270 emulation program in the background, all
sessions suitable for running in the background (initially active printer
sessions or initially active display sessions that have a session ID
assigned to them) are automatically activated. If there is no initially
active printer session or initially active display session that has a session
ID assigned to it, the program terminates with an error message.
Stopping the TN3270 Emulation Program
To stop the background 3270 process, use the tnstop3270 utility by
typing tnstop3270. This will stop all copies of the TN3270 emulation
program that are running with your HP-UX user ID.
The TN3270 product responds with a message indicating the number of
copies of the program it found and stopped.