Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 5 of 12

JANUS 900 MHz Terminal Emulation for the Model 200 Controller, pages 41 to 50

Pages 41 to 50 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 41

code3 nuggCustomizing Your Configuration

3

4. After you set a password, the Verify TE Password screen is displayed when you attempt to access the TE configuration application. Type the password and press to proceed.

@

Using the Auto-Login Feature The TE auto-login feature is invoked at TE startup when an auto-login script is detected. The script file, AUTOLOG.SCR must be stored in the application startup directory. Auto-login information is lost when you reboot your JANUS device. In addition, processing of the auto-login script is terminated if you press any key during the auto-login sequence. The Auto-Login Restart commands ( for 3270/5250 or for VT/ANSI) allows you to restart the auto-login sequence when a host session is broken. For more information on the Auto-Login Restart commands, see Chapter 4, “3270 and 5250 Commands” or Chapter 5, “VT/ANSI Commands.”

IMPORTANT! Auto-login information is saved when you end a TE session by logging off from the host computer. This DOES NOT prevent another user from establishing a TE session using your login informationd. You must exit the terminal emulation application to purge auto-login information.

Developing Auto-Login Scripts A typical auto-login script consists of a few Input and InputHidden commands followed by a HostName command, followed by a series of WaitFor and Send commands. A very simple script may not have any input commands if all of the JANUS devices are using the same account. There are six commands you can use to create auto-login scripts. All commands are case sensitive. For example, WaitFor is a command but Waitfor is not a valid command. For more information on auto-login scripts, see “Sample Auto-Login Scripts” in Appendix A.

3-11

Page 42

JANUS 900 MHz Terminal Emulation for the Model 200 Controller code2 nugg

Auto-login script commands are defined below: Input Input is called with two parameters. The first parameter is a quoted string that is used as a prompt to the user. The second parameter is a string variable name indicating where the text string will be stored. InputHidden Same as the Input script command except that user input is echoed as a string of asterisks. HostName HostName is followed by a quoted string. The quoted string can be a host name or an asterisk. The host name command acts as an IF clause. If the host name matches, the following section of the script is executed up to the next host name command. If an asterisk is used, it matches any host name. WaitFor Wait for a list of up to 10 strings. The strings must be quotes and must be separated by a comma. The strings cannot exceed 20 characters in length. Send This command sends a quoted string or string variable to the host. The quoted string can have an embedded control key in VT/ANSI emulation and embedded IBM mnemonics in 3270 and 5250 emulation. PromptSessionStart PromptSessionStart is a predefined variable. If this variable is defined and set to any value other than 0, TE prompts the user to press before starting a Telnet session with the host.

@

Control Characters for Auto-Login Scripts You can also include control characters in your auto-login script. The control character must be enclosed by < > in the AUTOLOG.SCR file. Note: For VT/ANSI terminal emulation, you can also use the corresponding hexadecimal value to represent the control character. For a description of control characters and their hexadecimal equivalents, see the “Full ASCII Table” in your JANUS user’s manual.

3-12

Page 43

code3 nuggCustomizing Your Configuration

3

3270/5250 Control Characters Control Character

Definition

Control Character

Definition

Control Character

Definition

<ATTN>

Attention

<RTAB>

Right Tab

<F12>

Function Key

<CLEAR>

Clear

<SPACE>

Space

<F13>

Function Key

<CUR_DN>

Cursor Down

<F1>

Function Key

<F14>

Function Key

<CUR_LF>

Cursor Left

<F2>

Function Key

<F15>

Function Key

<CUR_RT>

Cursor Right

<F3>

Function Key

<F16>

Function Key

<CUR_UP>

Cursor Up

<F4>

Function Key

<F17>

Function Key

<DEL>

Delete

<F5>

Function Key

<F18>

Function Key

<ERS_EOF>

Erase EOF

<F6>

Function Key

<F19>

Function Key

<HOME>

Home

<F7>

Function Key

<F20>

Function Key

<INS>

Insert

<F8>

Function Key

<F21>

Function Key

<LTAB>

Left Tab

<F9>

Function Key

<F22>

Function Key

<NEWLN>

New Line

<F10>

Function Key

<F23>

Function Key

<RESET>

Reset

<F11>

Function Key

<F24>

Function Key

Definition

Control Character

Definition

VT/ANSI Control Characters Control Character

Definition

Control Character

<ACK>

Acknowledgment

<ENQ>

Enquiry

<NUL>

Null, or zeroes

<BEL>

Bell

<EOT>

End of Transmission

<RS>

Record Separator

<BS>

Backspace

<ESC>

Escape

<SI>

Shift In

<CAN>

Cancel

<ETB>

End Transmission Block

<SO>

Shift Out

<CR>

Carriage Return

<ETX>

End of Text

<SOH>

Start of Heading

<DC1>

Device Control 1 (XON)

<FF>

Form Feed

<STX>

Start of Text

<DC2>

Device Control 2

<FS>

File Separator

<SUB>

Substitute

<DC3>

Device Control 3 (XOFF)

<GS>

Group Separator

<SYN>

Synchronous Idle

<DC4>

Device Control

<HT>

Horizontal Tab

<US>

Unit Separator

<DLE>

Data Link Escape

<LF>

Line Feed

<VT>

Vertical Tab

<EM>

End of Medium

<NAK>

Negative Acknowledge

3-13

Page 44

JANUS 900 MHz Terminal Emulation for the Model 200 Controller code2 nugg

Loading the Auto-Login File Create your auto-login file using any text editor or copy and modify one of the example scripts in Appendix A. Save the file you create as AUTOLOG.SCR. You must load the AUTOLOG.SCR file in the same directory as the TE application. Refer to your JANUS user’s manual for information about creating drive images and loading the drive image on your JANUS device.

Configuring Terminal Emulation to Display International Characters You can configure your JANUS 900 MHz terminal emulation device to display single byte international characters. In order to use international character sets, you must configure the device to load Code Page 850. You must copy the Code Page Table with the international characters you want to display to the DISPTBLS.MAP file and then create and download a new drive image on your JANUS device. Refer to your JANUS user’s manual for information about creating drive images and loading the drive image on your JANUS device. Note: International character maps for 3270 and 5250 TE are stored in the USERDATA\TERMAPPS\IBMTE directory on the Model 200 Controller. International character maps for VT/ANSI TE are stored in the USERDATA\TERMAPPS\VTTE directory.

IBM 3270 and 5250 Code Pages

3-14

Country

Code Page

File

Other Countries

U. S. English

37

037-850.MAP

Canada

Germany

273

273-850.MAP

Norway

277

277-850.MAP

Denmark

Sweden

278

278-850.MAP

Finland

Italy

280

280-850.MAP

Spain

284

284-850.MAP

France

297

297-850.MAP

Portugal

500

500-850.MAP

Belgium, Brazil, Switzerland

Page 45

code3 nuggCustomizing Your Configuration

3

VT/ANSI Code Pages To use a custom translation table for VT/ANSI terminal emulation, make a copy of ISO1-850.MAP (for UNIX hosts) or DEC-850.MAP (for DEC/VAX hosts) and copy the file to DISPTBLS.MAP on the JANUS device. Character Set

File

ISO8859-1

ISO1-850.MAP

DEC Multinational

DEC-850.MAP

AUTOEXEC.BAT and CONFIG.SYS Changes After installing the correct code page table, you will also need to make modifications to the CONFIG.SYS and AUTOEXEC.BAT files on the JANUS device 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. Lines 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

3-15

Page 46

JANUS 900 MHz Terminal Emulation for the Model 200 Controller code2 nugg

3-16

Page 47

4 3270 and 5250 Commands

Page 48

This page is a scan with no text; see it in the PDF.

Page 49

(".-

CODE

NUG3270 and 5250 Commands

4

This chapter lists all of the terminal emulation commands you can use with 3270 and 5250 terminals.

Command Descriptions IMPORTANT! To scan the bar code labels in this chapter, you must configure your JANUS device to use Code 39 in Full ASCII mode. This chapter contains an alphabetical listing of the 3270 and 5250 terminal emulation commands that you can use on your JANUS device. Each command contains a description, key sequence, and bar code. You will also find program function and program attention keys listed with their associated bar codes, but no function description because you can program the keys differently for each application.

Arrow Keys Arrow keys move the cursor one space up, down, right, or left. You can move the cursor to any place on the display, even within protected fields. To select a specific arrow key, press one of the arrows on the edges of this key. Keypad:

F

Scan:

N/A

Attention The Attention key contacts the host and asks permission to send data from the JANUS display. The keypad locks automatically when you send this command or any other AID command. When the host computer grants permission to send data, the keypad unlocks. This key is useful for finding out if the host computer is free before you attempt to transmit data. For 5250 terminals, this key sequence prompts the host system to display the Operational Assistant Menu. Keypad: Scan:

<5

Attention

*/EATTN* *%ATTN*

4-3

Page 50

(".-

JANUS 900 MHz Terminal Emulation for the Model 200 ControllerCODENUG NUG

Auto-Login Restart Auto-Login Restart restarts the auto-login script from the correct host name statement. Keypad:

Scan:

Auto-Login Restart

*/EALRS* *%ALRS*

Backtab Backtab moves the cursor back to the most recent first field position. If the cursor is in the middle of a field, Backtab moves it to the first position of the same field. If the cursor is at the first position of a field, Backtab moves it to the first position of the preceding input field. Keypad:

O A M or A A M

Scan:

Backtab

*/EBTAB* *%BTAB*

Clear This command clears the display and moves the cursor to the home position. This is an AID key. For 5250 terminals, this command sends the clear AID (X’BD) function to the host computer, which then clears the keyboard. Keypad:

<4

Scan:

Clear

*/ECLR* *%CLR*

4-4