The text of a manual · part 10 of 12
JANUS 900 MHz Terminal Emulation for the Model 200 Controller, pages 91 to 100
Pages 91 to 100 of 117
The original document is the PDF (599 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec J2020, Intermec J2010 and Intermec J2050
Page 91
CODEReference
A
Terminal Emulation Files The following table lists and describes all of the terminal emulation files. Environment
File Name
Description
3270
J93270.EXE
3270 terminal emulation executable file for a 900 MHz RF environment. Requires Model 200 Controller v3.X and above.
TE3270.CFG
Configuration files for 3270 terminals. Terminal emulation configuration information is saved to this file.
JAN3270.MAP
Key mapping file for JANUS 3270 terminal emulation. Read only file.
J95250.EXE
5250 terminal emulation executable file for a 900 MHz RF environment. Requires Model 200 Controller v3.X and above.
TE5250.CFG
Configuration files for 5250 terminals. Terminal emulation configuration information is saved to this file.
JAN5250.MAP
Key mapping file for JANUS 5250 terminal emulation. Read only file.
TNVT900.EXE
VT/ANSI terminal emulation executable for a 900 MHz RF environment. Requires Model 200 Controller v3.X and above.
TE.CFG
Configuration file for VT100/220/320 and ANSI terminals.
TE.BAT
Starts the terminal emulation application.
TE.SEC
Terminal emulation security file. You must have TE.SEC to access to the terminal emulation configuration menu.
AUTOLOG.SCR
Optional file. This is a script file containing auto-login script information. This file must be present if the auto-login feature is used.
DISPTBLS.MAP
Optional file. This is a file containing Code Page 850 information which allows for single byte international character support when you run the terminal emulation program.
5250
VT/ANSI
Common Files
A-7
Page 92
JANUS 900 MHz Terminal Emulation for the Model 200 ControllerCODE
Reinstalling Terminal Emulation Software Your JANUS 900 MHz RF device with terminal emulation comes from the factory with IRL removed and terminal emulation software and a terminal emulation keypad installed. Follow the guidelines below if you need to reinstall the factory default drive C and D images and terminal emulation software on your JANUS device. •
Locate the IMG<version>.EXE file on your JANUS Boot Utilities Companion disk. This self expanding executable produces the drive C, drive D, and system software images that you will load onto your JANUS device.
•
See your JANUS user’s manual for detailed instructions on creating or changing drive C or D images.
•
Delete IRLDESK.EXE, IRL.BAT., and IRL001.DAT from the extracted drive D image files.
•
Copy the following files from the TE application disk to the drive D image you are building. 3270 TE Files
5250 TE Files
VT/ANSI TE Files
J93270.EXE
J95250.EXE
TNVT900.EXE
JAN3270.MAP
JAN5250.MAP
DISPTBLS.MAP
DISPTBLS.MAP
DISPTBLS.MAP
TE.BAT
TE.BAT
TE.BAT
TE.SEC
TE.SEC
TE.SEC TE.CFG
•
Make the following modifications to the CONFIG.SYS and AUTOEXEC.BAT files to load the correct Code Page and display the international characters. The CONFIG.SYS change sets up the display system to use Code Page 850. The AUTOEXEC.BAT change selects Code Page 850 for the display. Line added to CONFIG.SYS DEVICE=D:\DISPLAY.SYS CON=(LCD,437,1)
Lines added to AUTOEXEC.BAT D: MODE CON CP PREP=((850)D:\LCD.CPI) MODE CON CP SELECT=850 NLSFUNC CHCP 850
A-8
Page 93
CODEReference
•
A
If you are installing TNVT900.EXE, be sure that the TE.CFG configuration file is loaded on drive E. You can accomplish this by making a one line change to the AUTOEXEC.BAT file Line added to AUTOEXEC.BAT IF EXIST D:\TNVT900.EXE COPY D:\TE.CFG E:
•
Add your application or make other changes to the drive images.
•
Load the new images on your JANUS device.
A-9
Page 94
JANUS 900 MHz Terminal Emulation for the Model 200 ControllerCODE
Sample Auto-Login Scripts Listed below are example auto-login scripts. You can use these scripts as they are or use them as the starting point for creating your own auto-login files. In the first example, the HostName command in this script will match the host the user will access. The “#” starts a comment that continues to the end of line. The WaitFor command waits for a string to be displayed by the host. The WaitFor command will take up to 10 strings 20 characters long. The strings must be enclosed in quotes and separated by a comma. The Send command in the example script sends a fixed user name and password. The angle brackets can enclose uppercase mnemonics or hex values. The next WaitFor/Send pair works the same as the first set.
Auto-Login Script With All Devices Using the Same Account HostName “*” WaitFor “login:” Send “user_name<CR>” WaitFor “Password:” Send “users_password<CR>”
# Use this to log into any host # Wait for the login prompt # Send the user name # Wait for the password prompt # Send the users password
In the second example, the Input and Send commands use input variables. Input commands require a prompt string followed by a comma and a variable name to store the string in. The InputHidden command Will display “*” in place of any characters typed by the user. All input commands must be before the first HostName command. The Send command only accepts a single argument so two sends are required to send the user name and a carriage return.
Auto-Login With Different User Names and Passwords Input “Enter user name”, username # prompt for user name InputHidden “Enter Password”, password # Prompt for password HostName “*” WaitFor “login:” # Wait for the login prompt Send username # Send the user name Send “<CR>” # Send a carriage return WaitFor “Password:” # Wait for the password prompt Send password # Send the users password Send “<CR>” # Send a carriage return
A-10
Page 95
CODEReference
A
Additional modifications to this script allow the user to move automatically to an application after logging in.
Auto-Login to an Application Input “Enter user name”, username # prompt for user name InputHidden “Enter Password”, password # Prompt for password HostName “*” WaitFor “login:” # Wait for the login prompt Send username # Send the user name Send “<CR>” # Send a carriage return WaitFor “Password:” # Wait for the password prompt Send password # Send the users password Send “<CR>” # Send a carriage return WaitFor “Main Menu” # Wait for the main menu Send “3” Send “<CR>” # Pick option 3 from the menu WaitFor “Wip Menu” # Wait for the work in process menu Send “1” Send “<CR>” # Pick option 1 from the menu
In this script a section for the host name BigHost is added to the beginning of the script. If the user logs into any host other than BigHost the script will start at the HostName “*” line. This allows for different processing on each host.
Auto-Login With Variable Processing Input “Enter user name”, username # prompt for user name InputHidden “Enter Password”, password # Prompt for password HostName “BigHost” # Use this portion of the script for BigHost WaitFor “User:” # Wait for the user prompt Send username # Send the user name Send “<CR>” # Send a carriage return WaitFor “Password:” # Wait for the password prompt Send password # Send the users password Send “<CR>” # Send a carriage return HostName “*” # Match any other host name WaitFor “login:” # Wait for the login prompt Send username # Send the user name Send “<CR>” # Send a carriage return WaitFor “Password:” # Wait for the password prompt Send password # Send the users password Send “<CR>” # Send a carriage return WaitFor “Main Menu” # Wait for the main menu Send “3” Send “<CR>” # Pick option 3 from the menu WaitFor “Wip Menu” # Wait for the work in process menu Send “1” Send “<CR>” # Pick option 1 from the menu
A-11
Page 96
JANUS 900 MHz Terminal Emulation for the Model 200 ControllerCODE
TE.CFG Configuration File VT and ANSI configuration information is stored in a configuration file named TE.CFG. You can use any text editor to modify TE.CFG on your PC before it is formed into an image and programmed into the JANUS devices. Edit TE.CFG according to the instructions provided in the file listing. Note: Refer to your JANUS user’s manual for information on programming drive images on your JANUS device. ! ********************************* ! *** TE configuration file *** ! ********************************* ! Note: Comment lines begin with ':' or '!'. : ------------------------: Environment Configuration : ------------------------: Note: () indicates any text string. : : TermType - VT100, VT220, VT320, ANSI, RDRANSI : TranId - (Transaction ID followed by the system delimiter) : CommPort - COM1, COM4 : HostName - (Name of the remote host or leave blank to use DCM host) TermType=VT320 TranId=$TEV, CommPort=COM4 HostName= : ------------------: Janus Configuration : ------------------: Note: () indicates any text string. : [] indicates recommended configuration option. : : Preamble - (Any text character string) : Postamble - (Any text character string, use trailing \r for CR and \t for TAB) : NumericKeypad - [Disable], Enable : TextSize - [RegularHeight], DoubleHeight Preamble= Postamble=\r NumericKeypad=Disable TextSize=RegularHeight
A-12
Page 97
CODEReference
A
TE.CFG Configuration File (continued) : --------------------: Session Configuration : --------------------: Note: [] indicates recommended configuration option. : : InputMode - CharMode,[LineMode] : ViewportMode - [Auto], Manual : ProtocolMode - Standard, Enhanced, [0200R1] InputMode=CharMode ViewportMode=Auto ProtocolMode=0200R1 : ------------------------: VT Terminal Configuration -- For VT terminals only : ------------------------: Note: [] indicates recommended configuration option. : : KeypadMode - [Numeric], Application : CursorMode - [Cursor], Application : TermMode - [VT100], [VT220-7bit], VT220-8bit, [VT320-7bit], VT320-8bit : UserDefinedKey - [Unlock], Lock KeypadMode=Numeric CursorMode=Cursor TermMode=VT320-7bit UserDefinedKey=Unlock : ------------------------: VT Terminal Key remapping : ------------------------: Note: <keysym> = bios keycode in hex. Must be 4 bytes. : string = Text string to send can include mneumonics ie <CR> : or two byte hex. Must be quoted. : : Remap - = <keysym> = "string" : Macro - = <keysym> = "string" : RunMacro - = <keysym> : The following will remap CTL-F1 if uncommented :Remap=<405E>="send this to the host<CR>" : remap CTL-F2 :Remap=<405F>="send something else to the host<CR>line 2<CR>" : macro for 'a' :Macro=<0061>="macro number 1<0d>" : macro for 'e' :Macro=<0065>="multi line macro <CR>line 2<0d>line 3<CR>" : use CTL-F5 as run macro key :RunMacro=<4062>
A-13
Page 98
JANUS 900 MHz Terminal Emulation for the Model 200 ControllerCODE
A-14
Page 99
B VT/ANSI Keyboard Remapping