|
|
|
|
|
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:
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
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 |
|
|
|
|
BGCOLOR |
Background color for the specified attribute |
|
|
|
|
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 |
|
|
|
|
|
|
|
MAP |
Map a Key to a character or String |
|
|
|
|
DESTRBS |
Turn on destructive backspace |
ON/OFF |
DESTRBS ON |
OFF |
|
|
|
|
|
|
|
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 |
|
|
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. |
|
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
operator can be one of the following:
|
|
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
|