Contents / Chapter 7 / Appendix B /
The VT220 terminal has two character sets (C0 and C1) active at any one time, with C0 mapped to the lower 128 bytes in the 256 byte active character table and C1 mapped to the upper 128 bytes. There are also four graphic character sets (G0, G1, G2, and G3) that are stored internally and subsequently loaded with Designate Hard Character Set (DHCS) commands.
| Mnemonic | Code | Name | Action Taken |
|---|---|---|---|
| NUL | 00h | Null | Ignored, (see CrNuIsCrLf= Option) |
| ENQ | 05h | Enquiry | Answerback message returned. See AnswerBack= Option. |
| BEL | 07h | Bell | Generate Host Beep (See HostBeeps= Option). |
| BS | 08h | Backspace | Moves cursor to the left one character position if cursor is not at left margin. If DestBksp= Option set, erases the character. |
| HT | 09h | Horizontal tabulation | Moves cursor three character positions to right. |
| LF | 0Ah | Linefeed | Moves cursor down one line in same column. If cursor is at bottom margin, screen performs a "scroll up". Same as Index. |
| VT | 0Bh | Vertical tabulation | Same as LF. |
| FF | 0Ch | Form feed | Same as LF. |
| CR | 0Dh | Carriage return | Moves cursor to left margin on current
line. (see CrNuIsCrLf= WT Option) |
| SO (LS1) | 0Eh | Shift out (Lock shift G1) |
Invokes G1 character set in GL. G1 is designated by a select-character-set (SCS) sequence. |
| SI (LS0) | 0Fh | Shift in (Lock shift G0) |
Invoke G0 character set in GL. G0 is designated by a select-character-set sequence (SCS). |
| ESC | 1Bh | Escape | Normally, Escape sequence introducer,
can be configured by EscapeChar=
Option.
|
Other C0 control characters are ignored.
See "Character Table" figure.
C1 control character processing may be disabled by Ignore8BCtrl=Yes Option.
| Mnemonic | 8Bit Code | Equivalent 7Bit Codes | Name | Action Taken |
|---|---|---|---|---|
| IND | 84h |
1Bh 44h ESC D |
Index | Same as LF |
| NEL | 85h |
1Bh 45h ESC E |
Next line | Moves cursor to first position on next line. If cursor is at bottom margin, the screen performs a scroll up. |
| HTS | 88h |
1Bh 48h ESC H |
Horizontal Tab Set | Horizontal Tabulation Set at current position |
| HTJ | 89h |
1Bh 49h ESC I |
Horizontal Tab Justify | Horizontal Tab Justify, moves string to next tab position |
| VTS | 8Ah |
1Bh 4Ah ESC J |
Vertical Tabulation Set | Vertical Tabulation Set at current line |
| RI | 8Dh |
1Bh 4Dh ESC M |
Reverse index | Moves cursor up one line in same column. If cursor is at top margin, screen performs a scroll down. |
| SS2 | 8Eh |
1Bh 4Eh ESC N |
Single shift G2 | Temporarily invokes G2 character set into GL for the next character. SS2 is a single select-character-set (SCS) sequence. |
| SS3 | 8Fh |
1Bh 4Fh ESC O |
Single shift G3 | Temporarily invokes G3 character set into GL for the next character. SS3 is a single select-character-set (SCS) sequence. |
| DCS | 90h |
1Bh 50h ESC P |
Device Control String | Loads the programmable strings. |
| CSI | 9Bh |
1Bh 5Bh ESC [ |
Control sequence introducer | ANSI control sequence introducer. |
Other C1 control characters are ignored.
See "Character Table" figure.
| Sequence | Action |
|---|---|
| ESC A | Cursor Up |
| ESC B | Cursor Down |
| ESC C | Cursor Right |
| ESC D | Cursor Left (IND in VT220 Mode) |
| ESC F | Enter Graphics Mode (Maps '0' "Graphic" in GL) |
| ESC G | Exit Graphics Mode (Maps 'B' "ASCII" in GL) |
| ESC H | Cursor To Home |
| ESC I | Reverse Line Feed |
| ESC J | Erase To End Of Screen |
| ESC K | Erase To End Of Line |
| ESC Y Row, Col | Direct Cursor Addressing |
| ESC Z | (DECID), Term Id Request |
| ESC < | (DECANM) Enter (ANSI, VT100, VT220) Mode See (TTypePreferred= WT Option) |
| ESC W | Enter Printer Controller Mode |
| ESC X | Exit Printer Controller Mode |
| Sequence | Action |
|---|---|
| ESC ] | Print Screen |
| ESC V | Print Cursor Line |
| ESC ^ | Enter Auto Print Mode |
| ESC _ | Exit Auto Print Mode |
| ESC = | Enter Alternate Keypad Mode |
| ESC > | Exit Alternate Keypad Mode |
ANSI sequences normally begins by the ANSI standard CSI sequence.
| Sequence | Action |
|---|---|
|
CSI 61"p |
Set WT in VT100 mode (7 bits Only) Overwrites WT TTypePreferred= Option and WT Bits8Mode= Option. |
|
CSI 62"p |
Set WT in VT200 mode, 8-bit controls (CSI=9Bh , SS3=8Fh) Overwrites WT TTypePreferred= Option and WT Bits8Mode= Option. |
|
CSI 62;1"p |
Set WT in VT200 mode, 7-bit controls (CSI=1Bh 5Bh, SS3=1Bh 4Fh). Overwrites WT TTypePreferred= Option and WT Bits8Mode= Option. |
| ESC ! | Select C0 control set (7-bit controls) |
| ESC " | Select C1 control set (8-bit controls) |
| ESC < | (DECANM) Enter (ANSI, VT100, VT220) Mode following WT TTypePreferred= Option. |
| CSI ?2l | Enter VT52 Mode (DECANM). Overwrites WT TTypePreferred= Option and WT Bits8Mode= Option. |
| CSI ?2h | (DECANM) Enter (ANSI, VT100 or VT220) Mode. Following WT TTypePreferred= Option and WT Bits8Mode= Option. |
CSI is "ESC [" ("1Bh 5Bh") OR "9Bh".
Each VTXXX character set are coded between 20h / 7Fh. And cant be set by different ways in GL "Graphics Left" (00h to 7Fh) or GR "Graphics Right" (80h to FFh). See "Character Table" and "Setting And Designating"
WT Emulates the three character sets with a
single 00h to FFh "PC" Font.
The character set supported by Wireless Telnet with VTX.FNT font are :
| Name | Code | Description | Usual set |
|---|---|---|---|
| ASCII Graphics | "B" | ISO ASCII Standard | Normally in GL (20h 7Fh) |
| DEC Supplemental Graphics | "0" | ASCII Uppercase + "Line drawing" | Normally in GL (20h 7Fh) |
| DEC Special Graphics | "<" | "European Special Characters" | Normally in GR (80h FFh) |
Downloading and designation of "soft character sets" is unsupported by WT.
Using SCS sequences, character sets are located in G0, G1, G2, G3. This makes the graphic sets available to map them into GL or GR using locking shifts (LS0L, LS1L, LS2L, LS3L, LS1R, LS2R and LS3R) or temporary shifts (SS2 and SS3).
Setting other fonts (437.fnt, 850.fnt, 852.fnt ...) with the [DisplayFont] section, and disabling the C1 control codes by Ignore8BCtrl=Yes WT Option allows a "PC-Like" display.
| Character Set | Sequence | Designate to |
|---|---|---|
| ASCII "B" | ESC (B | G0 (default) |
| ESC ,B | ||
| ESC )B | G1 | |
| ESC -B | ||
| ESC *B | G2 | |
| ESC .B | ||
| ESC +B | G3 | |
| ESC /B | ||
| DEC Special Graphics "<" "European Special Characters" |
ESC (< | G0 |
| ESC ,< | ||
| ESC )< | G1 | |
| ESC -< | ||
| ESC *< | G2 | |
| ESC .< | ||
| ESC +< | G3 (default) | |
| ESC /< | ||
|
DEC Supplemental "0" "Line drawing" |
ESC (0 | G0 |
| ESC ,0 | ||
| ESC )0 | G1 (default) | |
| ESC -0 | ||
| ESC *0 | G2 (default) | |
| ESC .0 | ||
| ESC +0 | G3 | |
| ESC /0 |
See also "Setting And Designating" figure.
Characters in G0 to G3 may be invoked to GL or GR by the "Locking Shift" functions.
| Mnemonic / Name | Sequence | Action |
|---|---|---|
| LS0L -- Lock Shift G0, Left | 0Fh (SI) | Invoke G0 into GL.(default) |
| LS1L -- Lock Shift G1, Left | 0Eh (SO) | Invoke G1 into GL. |
| LS1R -- Lock Shift G1, Right | ESC ~ | Invoke G1 into GR. |
| LS2L -- Lock Shift G2, Left | ESC n | Invoke G2 into GL. |
| LS2R -- Lock Shift G2, Right | ESC } | Invoke G2 into GR.(default) |
| LS3L -- Lock Shift G3, Left | ESC o | Invoke G3 into GL. |
| LS3R -- Lock Shift G3, Right | ESC | | Invoke G3 into GR. |
Characters in G2 and G3 may be invoked into GL by the "Single Shift" functions. Single shift applies only to the next character, then returns to the normal Graphic set.
| Mnemonic / Name | Sequence | Action |
|---|---|---|
| SS2 Single shift G2 |
1Bh 4Eh ESC N |
Temporarily invokes G2 character set into GL for the next character. |
| SS3 Single shift G3 |
1Bh 4Fh ESC O |
Temporarily invokes G2 character set into GL for the next character. |
See also "Setting And Designating" figure.
See WT Bits8Mode= Option.
DEC Documentation says ...
<<"Digital recommends that you use DECSCL sequences instead of
Select C1 Controls because DECSCL performs a soft reset putting the terminal in
a "known" state in addition to setting the terminal mode and C1
control state">>.
| Mnemonic | Sequence | Action |
|---|---|---|
| S7C1T | ESC sp F | Same as WT Bits8Mode=No Option, Overwrites WT Bits8Mode= Option. (By default in VT52 or VT100 modes) |
| S8C1T | ESC sp G | Same as WT Bits8Mode=Yes Option, Overwrites WT
Bits8Mode= Option. (Only in VT220 mode) In this case, all the keyboard sequences that start with : * ESC[ (7 Bits CSI) are converted to 9Bh (8 Bits CSI) * ESC0 (7 bits SS3) are converted to 8Fh (8 Bits SS3) |
| Feature | "DEC" Mnemonic | Set | Reset | Description |
|---|---|---|---|---|
| Keyboard Action | KAM | Locked CSI 2h |
Unlocked CSI 2l |
Keyboard Action mode lets your program lock and unlock the keyboard |
| Insertion- Replacement | IRM | Insert CSI 4 h |
Replace CSI 4l |
The terminal displays received characters at the cursor position. Insert / Replacement mode determines how the terminal adds characters to the screen. |
| Send-Receive (Local Echo) |
SRM | Off CSI 12h |
On CSI 12l |
Send-Receive Mode turns local echo on or off. Overwrites LocalEcho= WT Option. |
| Line Feed- New Line (Enter=CR LF) |
LNM | New Line (CR+LF) CSI 20h |
Line Feed (CR) or (CR+NUL) (EnterCrNu= WT Option) CSI 20l |
Line feed / new line mode selects the control character(s) transmitted to the application by the ENTER key. |
| Cursor Keys | DECCKM | Application CSI ?1h |
Normal Cursor CSI ?1l |
Cursor Keys selects the sequence sent to the application by the cursor
keys. (See Cursor Keys). Overrides WT CurKeysApp= Option. |
| ANSI/VT52 | DECANM | VTXXX CSI ?2h |
VT52 CSI ?2l |
Selects VT52 or ANSI VT100, VT220 compatibility modes. (See Function Keys) |
| Screen Mode | DECSCNM | Reverse CSI ?5h |
Normal CSI ?5l |
Sets white on black background (Normal Screen) or black on white background (Reversed Screen) |
| Origin mode | DECOM | Scroll Area CSI ?6h |
Absolute CSI ?6l |
Origin mode allows cursor addressing relative to a user-defined origin (Scroll Area) |
| AutoWrap Mode | DECAWM | On CSI ?7h |
Off CSI ?7l |
Start newline after column 80 (ON) or Cursor remains at end of line after column 80 (OFF) |
| Text Cursor Visible | DECTCEM | Show CSI ?25h |
Hide CSI ?25l |
Text Cursor Enable Mode determines if the text cursor is visible. |
CSI is "ESC [" ("1Bh 5Bh") OR 9Bh.
Unsupported
| Feature | Mnemonic | Set | Reset |
|---|---|---|---|
| Column | DECCOLM | 132 Column CSI ?3h |
80 Column CSI ?3l |
| Scrolling | DECSCLM | Smooth CSI ?4h |
Jump CSI ?4l |
| Keypad | DECKPAM DECKPNM |
Application ESC = |
Numeric ESC > |
| Auto Repeat | DECARM | On CSI ?8h |
Off CSI ?8l |
| Print Form Feed | DECPFF | On CSI ?18h |
Off CSI ?18l |
| Print Extent | DECPEX | Full Screen CSI ?19h |
Scrolling Region CSI ?19l |
Pn, Pl, Pc are variable numeric parameters. If you select no parameter WTnCE assumes the parameter equals 1.
| Name / Mnemonic |
Sequence | Action |
|---|---|---|
| Cursor Up (CUU) |
CSI Pn A | Moves the cursor up Pn lines in the same column. The cursor stops at the top margin. |
| Cursor Down (CUD) |
CSI Pn B | Moves the cursor down Pn lines in the same column. The cursor stops at the bottom margin. |
| Cursor Forward (CUF) |
CSI Pn C | Moves the cursor right Pn columns. The cursor stops at the right margin. |
| Cursor Backward (CUB) |
CSI Pn D | Moves the cursor left Pn columns. The cursor stops at the left margin. |
| Cursor Position (CUP) |
CSI Pl;Pc H | Moves the cursor to line Pl, column Pc. The numbering of the lines and columns depends on the state (set/reset) of origin mode (DECOM). |
| Horizontal And Vertical Position (HVP) |
CSI Pl;Pc f | Same as CUP. |
| Index (IND) | ESC D or 84h | Moves the cursor down one line in the same column. If the cursor is at the bottom margin the screen performs a scroll-up. |
| Reverse Index (RI) | ESM M or 8Dh | Moves the cursor up one line in the same column. If the cursor is at the top margin the screen performs a scroll-down. |
| Next Line (NEL) | ESC E or 85h | NEL is an 8-bit control character (8/5). It can be expressed as an escape sequence for a 7-bit environment. NEL moves the cursor to the first position on the next line. If the cursor is at the bottom margin the screen performs a scroll-up. |
| Save Cursor (DECSC) | ESC 7 | Saves : Cursor position Graphic rendition (reverse, blink, etc.) Character set shift state (G0-G3, GL, GR) State of origin mode (DECOM). |
| Restore Cursor (DECRC) | ESC 8 | Restores the states described for (DECSC) above. If none of these characteristics were saved: the cursor moves to home position, origin mode is reset, no character attributes are assigned, and the default character set mapping is established. |
| Screen Alignment Pattern (DECALN) | ESC # 8 | This control function fills the complete screen area with a test pattern used for adjusting screen alignment. |
CSI is "ESC (" 5"1Bh 5Bh") OR 9Bh.
| Sequence | Action |
|---|---|
| CSI 0m | All attributes off |
| CSI 1m | Display bold |
| CSI 4m | Display underlined |
| CSI 5m | Display blinking |
| CSI 7m | Display negative image (reverse) |
| CSI 22m | Display normal intensity (no Bold) |
| CSI 24m | Display not underlined |
| CSI 25m | Display not blinking |
| CSI 27m | Display positive image (normal, not reverse) |
| CSI 30m | Set foreground to black |
| CSI 31m | Set foreground to red |
| CSI 32m | Set foreground to green |
| CSI 33m | Set foreground to yellow |
| CSI 34m | Set foreground to blue |
| CSI 35m | Set foreground to magenta |
| CSI 36m | Set foreground to cyan |
| CSI 37m | Set foreground to white |
| CSI 40m | Set background to black |
| CSI 41m | Set background to red |
| CSI 42m | Set background to green |
| CSI 43m | Set background to yellow |
| CSI 44m | Set background to blue |
| CSI 45m | Set background to magenta |
| CSI 46m | Set background to cyan |
| CSI 47m | Set background to white |
| CSI 49m | All attributes off |
The Select Character Attributes (DECSCA) sequences are unsupported.
The Line Attribute sequences (DECDHL, DECSHL, DECSWL and DECDWL) are
unsupported.
CSI is "ESC [" ("1Bh
5Bh") OR 9Bh.
Pn is a variable numeric parameter. If you select no parameter WT assumes the parameter equals 1.
| Name / Mnemonic |
Sequence | Action |
|---|---|---|
| Insert Line (IL) |
CSI Pn L | Inserts Pn lines at the cursor. Lines within the scroll area at and below the cursor move down. Lines moved past the bottom margin are lost. The cursor is reset to the first column. |
| Delete Line (DL) | CSI Pn M | Deletes Pn lines starting at the line with the cursor. Lines within the scroll area and below the cursor move up, and blank lines are added at the bottom of the scroll region. The cursor is reset to the first column. |
| Insert Characters | CSI Pn @ | Insert Pn blank characters at the cursor position, with the character attributes set to normal. The cursor does not move and remains at the same position. Data on the line is shifted forward as in character insertion. |
| Delete Character (DCH) | CSI Pn P | Deletes Pn characters starting with the character at the cursor position. When a character is deleted, all characters to the right of the cursor move to the left. |
CSI is "ESC [" ("1Bh 5Bh") OR 9Bh.
Pn is a variable numeric parameter. If you select no parameter WT assumes the parameter equals 0.
| Name / Mnemonic |
Sequence | Action |
|---|---|---|
| Erase Character (ECH) | CSI Pn X | Erases characters at the cursor position and the next n-1 characters. The cursor remains in the same position. |
| Select Character Protection Attribute (DECSCA) | CSI 0"q | DECSED and DECSEL can erase characters |
| CSI 1"q | DECSED and DECSEL cannot erase characters | |
| CSI 2"q | Same as 0. | |
| Erase in Line (EL) | CSI K | Erases from the cursor to the end of the line, including the cursor position. |
| CSI 1 K | Erases from the beginning of the line to the cursor, including the cursor position. | |
| CSI 2 K | Erases the complete line. | |
| Selective Erase in Line (DECSEL) | CSI ?K | From the cursor through the end of the line |
| CSI ?1K | From the beginning of the line through the cursor | |
| CSI ?2K | The complete line | |
| Erase in Display (ED) | CSI J | Erases from the cursor to the end of the screen, including the cursor position. |
| CSI 1 J | Erases from the beginning of the screen to the cursor, including the cursor position. | |
| CSI 2 J | Erases the complete display. The cursor does not move. | |
| Selective Erase in Display (DECSED) | CSI ?J | From the cursor through the end of the display |
| CSI ?1J | From the beginning of the display through the cursor | |
| CSI ?2J | The complete display |
CSI is "ESC [" ("1Bh 5Bh") OR 9Bh.
| Name / Mnemonic |
Sequence | Action |
| Set Top and Bottom Margins (DECSTBM) |
CSI Pt ; Pb r | Selects top and bottom margins defining the scrolling area. Pt is the line number of the first line in the scrolling area. Pb is the line number of the bottom line. If either Pt or Pb is not selected, they default to top (1) and bottom (24) respectively. Lines are counted from "1". |
| Name | Sequence | Action |
|---|---|---|
| Printer Controller | CSI 5 i |
Turns on printer controller mode. The terminal transmits received characters to the printer without displaying them on the screen. All characters and character sequences except CSI 4 i are sent to the printer. |
| CSI 4 i | Turns off printer controller mode. |
Auto Print Mode, Print Cursor Line and Print Screen are unsupported.
CSI is "ESC [" ("1Bh
5Bh") OR 9Bh.
| Communication / Mnemonic |
Sequence | Action |
|---|---|---|
| Host to Terminal (DECID Request) |
ESC Z | DECID Request |
| Terminal to Host (DECID Response) |
VT52 = ESC / Z ANSI, VT100, VT220= Primary DA response) |
DECID Response |
| Host to Terminal (Primary DA Request) |
CSI c | Device request |
| Terminal to Host (Primary DA Response) |
CSI ? n; n; n; n; n; nc | service class terminal columns printer port selective erase, etc |
| Host to Terminal (Secondary DA Request) |
CSI > c | Type of terminal request |
| Terminal to Host (Secondary DA Response) |
CSI > n; n; nc | Identification code Firmware version Options installed. |
| Host to Terminal (Request for cursor position) |
CSI 6 n | Report cursor position |
| Terminal to Host (CPR response) |
CSI Pl; Pc R |
Cursor positioned at |
| Terminal to Host (DECREQTPARM) |
CSI <sol> x | Request Terminal Parameters |
| Name / Mnemonic |
Sequence | Action |
|---|---|---|
| Soft Terminal Reset (DECSTR) |
CSI ! p | Reset the program parameters to the defaults. |
| Hard Terminal Reset (RIS) |
ESC c | Same as DECSTR. |
| Name / Mnemonic |
Sequence | Action |
|---|---|---|
| (CHT) | CSI Pn I | Cursor Horizontal Tabulation |
| Cursor Tabulation Control (CTC) | CSI 0W | Set horizontal tab for current line at current position |
| CSI 1W | Set vertical tab stop for current line of current page | |
| CSI 2W | Clear horiz tab stop at current position of current line | |
| CSI 3W | Clear vert tab stop at current line of current page | |
| CSI 4W | Clear all horiz tab stops on current line only | |
| CSI 5W | Clear all horiz tab stops for the entire terminal | |
| CSI 6W | Clear all vert tabs stops for the entire terminal | |
| Cursor Vertical Tab (CVT) | CSI Pn Y | Move forward to Pn following vertical tab stop |
| Cursor Back Tab (CBT) | CSI Pn Z | Move backwards to Pn previous vertical tab stop |
| Tabulation Clear (TBC) | CSI 0 g | Clear horizontal tab stop at current position |
| CSI 3 g | Clear all horizontal tab stops in the terminal | |
Pn is a variable numeric parameter. If you select no parameter WT assumes the parameter equals 1.
| Name | Sequence | Action |
|---|---|---|
| CSI Pn E | Move cursor to beginning of line, Pn lines down. | |
| CSI Pn F | Moves cursor to beginning of line, Pn lines up. | |
| CSI Pn G or CSI Pn ' |
Go to column Pn. | |
| CSI Pn T | Scrolls screen down Pn lines. | |
| CSI Pn S | Scrolls screen up Pn lines. | |
| CSI Pn b | Repeat Pn times last character (until end of line). | |
| CSI Pn d | Go to line Pn. | |
| CSI s | Save cursor position. | |
| CSI u | Restore cursor position. |
These sequences are supported if RoiEscSeq=Yes
| Name | Sequence | Action |
|---|---|---|
| Disable Scanner Feature | ESC%P1;P2A | P1 = Select the option (See WT TurnOffScan= Option). 0 =Disable TurnOffScan= Option. 1, 2, 3 = Enable TurnOffScan= Option. 4= Request State
P2 = Scanner state |
| Request IP | ESC%1I | Request for the terminal's IP address The response is : ESC%?<IP Address>I |
| Control Char | ESC%nnnC | Send an ASCII C0 control character as a scan code in decimal value. Where nnn is the decimal character For example, ESC%7C sends the Bell character |
| Keyboard On | ESC%nK | Enable/disable keyboard entry from the terminal, where n is: 0 - disables the keyboard. 1 - enables the keyboard. |
| Scan On | ESC%nS | Enable/disable scanner entry from the terminal, where n is: 0 - disables the scanner. 1 - enables the scanner. |
| Enable Symbology | ESC%P1;...;PnE |
This sequence selectively enables symbologies. Where: 0 - all symbologies 1 - Code 39 2 - UPC A 3 - UPC E0 4 - EAN 13 5 - EAN 8 6 - D2 of 5 7 - I2 of 5 8 - Codabar 9 - Code 128 10 - Code 93 11 - Code 11 12 - MSI 13 - UPC E1 14 - SUPPLEMENTALS For example: ESC%0E Enables all symbologies. ESC%1;2E enables Code 39 and UPC A. All other symbology choices remain unchanged. |
| Disable Symbology | ESC%P1;...;PnD | This sequence selectively disables symbologies. Where: 0 - all symbologies 1 - Code 39 2 - UPC A 3 - UPC E0 4 - EAN 13 5 - EAN 8 6 - D2 of 5 7 - I2 of 5 8 - Codabar 9 - Code 128 10 - Code 93 11 - Code 11 12 - MSI 13 - UPC E1 14 - SUPPLEMENTALS For example: ESC%4;6;7;9D Disables EAN 13, D2 of 5, I2 of 5, and Code 128. All other symbology choices remain unchanged. |
These sequences are supported if TelxonEscSeq=Yes
Telxon escape sequences are in the following format : ESC R nn pp ESC \.
Where nn is a two-digit command number, and pp a two-digit command parameter.
| Name | Sequence | Action |
|---|---|---|
| Scanner On | ESCR05ppESC\ | Turn on or off the scanner mode, where pp: 00=Turn off scanner. 01=Turn on scanner. Overrides Enable= Option |
| Contrast | ESCR10ppESC\ | Set display contrast in terms of dimness and brightness, where pp: 00 to 15=The zero value is the dimmest and fifteen is the brightest. |
| Echo | ESCR11ppESC\ | Turn on or off the local echo feature, (See WT LocalEcho= Option) where
pp: 00=Turn off local echo feature. 01=Turn on local echo feature. |
| Scan Only | ESCR13ppESC\ | Allow only scanned data entry. |
| Scan And Keyboard | ESCR14ppESC\ | Allow scanned and keyboard data entry. Overrides Enable=Option. |
Keyboard keys send characters defined by terminal keyboard layout and standard translation process. (Normal translation is to send the character represented by lower weight byte of scan code). You can see scan codes and translations in the terminal through the Display Configuration screen.
All scan codes between 0100h - to FF00h are "Function Keys Scan Codes" and are always trapped by application. If the Function Scan Code is not found in any translation routine, the key is ignored (has no action). If the Scan Code is found in any translation routine, the corresponding string is sent to the host. Strings are always supplied into their "7 Bits format", and translation may be done if the terminal is operating in "8 Bits Mode".
Translation routines are "user-defined" translation strings associated with an Scan Code. The following routines are defined:
* User-Defined. Following [VT_SCANCODES] section in WTnCeVT configuration file.
Supplies a string associated with a scan code (Normal 0000h-00FFh or Function
0100h-FFFFh).
You can see the active translations in the terminal: tap the configure button in
the main screen and then tap Keyboard
Test.
* Normal Function Keys (Pressing [FUNC] then [n]
key, with n=numeric key). The active translation keys depends of the
terminal type choose by user or negotiated with Telnet server. The
corresponding [FNKEYS_<name>] section in the WTnCeVT configuration file
is copied into (terminal type can be dynamically changed during connection).
You
can see the active translations in the terminal by the Keyboard
Test screen.
* Shifted Function Keys (Pressing [SHIFT] then [FUNC] then [n] key, with
n=numeric key). The active translation keys depends of the terminal type choose
by user or negotiated with server. The corresponding [SFNKEYS_<name>]
section in the WT configuration file is copied into (terminal type can be
dynamically changed during connection).
You can see the active translations in
the terminal by the Keyboard Test
screen.
* Cursor Keys (Pressing Up, Down, Left or Right
Arrow keys). The active translation keys depends of the terminal type choose by
user or negotiated with server. The corresponding [CURKEYS_<name>]
or [CURKEYSAP_<name>] section in the WTnCeVT configuration file is
copied into (terminal type can be dynamically changed during connection).
Switching between "Normal" and "Application" cursor keys can
be dynamically done in some terminal types by escape sequences (See Cursor
Keys in Terminal Modes) .
Modify the WTnCeVT CurKeysApp=
Option to set by default "Normal" or "Application" cursor
keys.
You can see the active translations in the terminal with the Keyboard Test
screen.
The WTnCeVT Configuration file contains the "standard" sequences following each terminal type emulation. Those standards can be modified by user to allow application-specific keys (see Chapter 5).
7 Bits and 8 Bits operating mode may modify the strings sent by the Terminal to the Host.
7 Bits or 8 Bits operating mode may be choose by several ways :
8 Bits Mode is automatically turned off if VT52 or VT100
terminal types are selected (those are 7 Bits only terminals).
8 Bits Mode have
sense only in VT220 or ANSI WT terminal emulation modes.
Contents / Chapter 7 / Appendix B /