PRODUCTS
ABOUT US
CONTACT US

JAVA VT220 TELNET APPLET CONFIGURATION FILE

The configuration file for our VT220 terminal emulator applet is an ASCII file which should reside on the web server in the same directory as the html and jar files. All the settings have standard defaults, so you may not even need a configuration file provided you specify the host name in the html file.

It contains the following optional settings:

 

CONNECTION

TAG
DESCRIPTION
FORMAT
 SAMPLE
 DEFAULT

 HOSTNAME

 Name or IP address of the host computer. Required if not on the command line

Text

HOSTNAME "hp.xyz.com"

 

 PORT

 TCP/IP Port to Connect to (if not the standard telnet port 23)

 Numeric

PORT 23

 23

 IDSTRING

 Name of the terminal emulated, as reported to Telnet

 Text

 IDSTRING vt220

vt220

 LOGINCHAR

 Character used by the host to trigger logging in (typically $ or #)

 Text

 LOGINCHAR :

 $

 LOGIN

 String to send the first time the loginchar is received

 Text

 LOGIN agreatuser

 

 LOGIN1

 String to send the second time the loginchar is received

 Text

 LOGIN1 alousypassword

 

 LOGIN2

 String to send the third time the loginchar is received

 Text

 LOGIN2 ls -l

 

 LOGIN3

 String to send the fourth time the loginchar is received

 Text

 LOGIN3 mail

 

 HOSTCHARS

 Use a translation table for characters transmitted

 Text

 HOSTCHARS GERMAN.TBL

 

 PCCHARS

 Use a translation table for characters received

 Text

 PCCHARS GERMAN.TBL

 

SCREEN FORMATTING

TAG
DESCRIPTION
FORMAT
 SAMPLE
 DEFAULT

 ROWS

 Screen Rows (not including function keys or status)

 Numeric

 ROWS 24

 24

 COLUMNS

 Screen Columns

 Numeric

 COLUMNS 132

 80

 SCREEN80

 Font to use in 80 column mode

  See Separate Description

 Calculated

SCREEN132

 Font to use in 132 column mode

  See Separate Description

 

 Calculated

 VSCROLL80

 Display a vertical Scroll Bar in 80 column Mode

 ON/OFF

 SCREEN80 OFF

 ON

 VSCROLL132

 Display a vertical Scroll Bar in 132 column Mode

 ON/OFF

 SCREEN132 OFF

 ON

 HIDEFKEYS

 Do not display the function key labels

 ON/OFF

 HIDEFKEYS ON

 OFF

 UNDERLINE

 How to show underlined characters

 BOLD/ITALIC

 UNDERLINE BOLD

 BOLD

 BLINK

 How to show blinking characters

 BOLD/ITALIC

 BLINKING BOLD

 ITALIC

 FGCOLOR

 Foreground color for the specified attribute

 See below

 

 

 BGCOLOR

 Background color for the specified attribute

 See below

 

 

 CENTERING

Whether to center the text portion of the screen

 ON/OFF

 CENTERING OFF

 ON

 BUFFERTEXT

 Buffer text for writing to screen. Usually improves performance

ON/OFF

 BUFFERTEXT ON

 OFF

 BLOCKCURSOR

 Use a block cursor instead of underline curson

 ON/OFF

 BLOCKCURSOR ON

 OFF

 SCRDELAY

 Insert a forced delay after changing screen size (needed for some platforms such as Sun Workstations)

 Numeric (milliseconds)

 SCRDELAY 200

 None

KEYBOARD

TAG
DESCRIPTION
FORMAT
 SAMPLE
 DEFAULT

 MAP

 Map a Key to a character or String

 See Section Below

 

 

 DESTRBS

 Turn on destructive backspace

 ON/OFF

 DESTRBS ON

 OFF

PRINTER

TAG
DESCRIPTION
FORMAT
 SAMPLE
 DEFAULT

PRINTER LANDSCAPE

 Landscape Mode

 None

 PRINTER LANDSCAPE

 PORTRAIT

 PRINTER COLUMNS

Number of columns the printer can print

 Numeric

 PRINTER COLUMNS 80

80

 PRINTERFONT

 Name of the printer font to use

 Text

 PRINTERFONT arial

 

 PRINTER BOLD

 Print in Bold Face

  ON/OFF

PRINTERBOLD ON

OFF

 PRTIME

Start printing after this period of inactivity

 Numeric

 PRTIME 200

 

 

TRANSLATION TABLES

 A translation table is a 256 byte binary file that specifies which character each character from 0 to 255 should be mapped to. The primary use is to enable the correct display of non-English characters. HOSTCHARS specifies how characters typed will be transmitted to the host. PCCHARS specifies how characters received from the host will be displayed.

For example, to map A to B, so that when A is typed B is sent, offset 65 in the file (corresponding to ASCII 'A') would contain the number 66 (ASCII 'B'). Translation tables are mainly used to support non-English character sets, and are optional.

MAPPING KEYS

 The MAP command enables you to map specified keys to perform specified functions.

The format is MAP{fromkey} TO [operator] {tokey, string, action}

fromkey specifies the key you are remapping. It can have one of the following formats

  • The actual letter preceded by one or more of ALT SHIFT CTRL. For example to map the combination produced by holding down the Alt key and pressing the C key, use "ALT C"
  • A key name. Valid key names are: "UP", "DOWN", "LEFT", "RIGHT",
    "INS", "DEL",
    "PAGEUP", "PAGEDOWN",
    "HOME", "END", "TAB",
    "F1", "F2", "F3", "F4","F5","F6","F7","F8","F9", "F10","F11","F12",
    "NUMLOCK", "MULTIPLY", "DIVIDE", "SUBTRACT", "ADD"};

operator can be one of the following:

  • CHAR - map to the following character
  • KEY - map to the following key name. Valid key names are: "PRINT", "ENTER", "RETURN",
    "SELECT", "TAB", "BACKTAB",
    "HOMEUP", "HOMEDOWN", "UP", "ROLLUP", "DOWN", "ROLLDOWN","RIGHT", "LEFT","PAGEDOWN", "PAGEUP",
    "CLEARLINE", "CLEARSCREEN",
    "INSERTLINE", "INSERTCHAR", "REMOVELINE",
    "DELETECHAR", "STOP", "BREAK",
    "HARDRESET", "SOFTRESET", "SYSTEM",
    "USER", "MENU", "USERMENU",
    "BACKSPACE", "DELETE", "F1", "F2", "F3", "F4",
    "F5", "F6", "F7", "F8", "COMMA", "INSERTWRAP", "DELETEWRAP", "FIND", "INSERT", "REMOVE", "NUM0", "NUM1", "NUM2", "NUM3", "NUM4", "NUM5", "NUM6", "NUM7", "NUM8", "NUM9", "MINUS", "PERIOD", "PF1", "PF2", "PF3", "PF4", "F9", "F10", "F11", "F12", "F13", "F14", "F15", "F16", "F17", "F18", "F19", "F20",
    "SHIFTF6", "SHIFTF7", "SHIFTF8", "SHIFTF9", "SHIFTF10","SHIFTF11", "SHIFTF12","SHIFTF13","SHIFTF14","SHIFTF15","SHIFTF16","SHIFTF17",
    "SHIFTF18","SHIFTF19","SHIFTF20", "WIDTHTOGGLE"};
  • STRING - map the the following String. For example: MAP CTRL A TO STRING "mail"
  • DECIMALS - map to a string consisting of the following characters defined in ASCII. For example MAP SHIFT F10 TO DECIMALS 13 10

SPECIFYING COLORS

The FGCOLOR and BGCOLOR commands are used to map certain screen attributes or attribute combinations to colors. For example, to display inverse text as red foreground on light gray background use:

FGCOLOR INVERSE "red"

BGCOLOR INVERSE "lightgray"

Valid color names are: black, blue, darkgray, gray, green, lightgray, magenta, orange, pink, red, white, yellow, darkblue, darkgreen, darkcyan, darkred, darkpurple

Valid attribute names are:

NORMAL, BLINK, BLINK_INVERSE, UNDERLINE, BLINK_UNDERLINE, INVERSE_UNDERLINE, BLINK_INVERSE_UNDERLINE , BOLD, BOLD_BLINK, BOLD_BLINK_INVERSE, BOLD_UNDERLINE, BOLD_BLINK_UNDERLINE, BOLD_INVERSE_UNDERLINE, BOLD_BLINK_INVERSE_UNDERLINE

 

 

BACK TO TOP

HOME