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 20 of 33

VT220/ANSI Terminal Emulation Programmer's Reference Guide: Section 8: Programming, pages 147 to 156

Pages 147 to 156 of 276, from VT220/ANSI Terminal Emulation Programmer's Reference Guide

The original document is the PDF (1.4 MB). 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 6400

Page 147

SECTION 8

"

Programming

Display Controls Mode The wireless station does not support the VT220 terminal display controls mode, which displays control codes as graphic characters for debugging.

Dynamically Redefinable Character Set The wireless station does not support the dynamically redefinable character set (DRCS), which is a 94-character set you can create on the VT220 terminal and down-line load into the terminal DRCS buffer.

Special Graphics Character Set The wireless station supports most of the DEC special graphics character set. The set contains ASCII C0 codes and most of the GL codes. It also has special symbols and short line segments. You would normally use these characters to create a limited range of drawings while working in text mode. Table 8-5 shows special graphics characters recognized by the wireless station. Ignored codes are parsed (removed) from the data stream with no action taken by the wireless station. Codes the wireless station ignores and does not support are also indicated in the table.

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

8-11

Page 148

SECTION 8

"

Programming

Table 8-5 Special Graphics Character Set

8-12

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

Page 149

SECTION 8

"

Programming

National Replacement Character Sets The wireless station supports the 7-bit national replacement character (NRC) sets for European languages. A Greek NRC set is also available. The NRC sets are similar to the 7-bit ASCII set, except for a few characters. You designate the character sets as hard using escape sequence formats (page 8-15). Table 8-6 lists the characters in each NRC set that are different from the ASCII set. The wireless station does not support the character “¾” (40 hexadecimal) in the Dutch NRC set. Table 8-7 shows characters in the Greek NRC set. Table 8-6 National Replacement Character Set Hexadecimal Character Set

23 40 5B 5C 5D 5E 5F 60 7B 7C 7D 7E

ASCII

#

@

British

£

@

Dutch

£

Finnish

#

French

[

\

]

^

_

‘

{

|

}

~

[

\

]

^

_

‘

{

|

}

~

ÿ

½

|

^

_

‘

¨

ƒ

’

@

Ä

Å

Ü

_

é

ä

ö

ü

£

à

§

^

_

‘

é

ù

è

¨

French Canadian

#

à

_ â

Ö ç

¼ å

ç

ê

î

_

ô

é

ù

è

û

German

#

§

Ä

Ü

^

_

‘

ä

ö

ü

ß

Italian

£

§

é

^

_

ù

à

ò

è

ì

Norwegian/Danish

#

@

_ Æ

Ö ç Ø

Å

^

_

‘

æ

ø

å

~

Portuguese

#

@

Ã

Ç

Õ

^

_

‘

ã

ç

õ

~

Spanish

£

§

¡

Ñ

¿

^

_

‘

‘

ñ

ç

Swedish

#

É

Ä

Ö

Å

Ü

_

é

ä

_ ö

å

ü

Swiss

ù

à

é

ç

ê

î

è

ô

ä

ö

ü

û

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

8-13

Page 150

SECTION 8

"

Programming

Table 8-7 Greek National Replacement Character Set

Copyright, Digital Equipment Corporation (1983, 1984). All rights reserved. Reprinted by permission. Adapted from original material.

8-14

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

Page 151

SECTION 8

"

Programming

Character Set Selection The wireless station supports hard character sets. It does not support designating soft (down-line loadable) character sets.

Designating Hard Character Sets Designate hard character sets using the escape sequence format in Table 8-8. Table 8-8 Hard Character Set Escape Sequences Escape Sequence

Designated As

Supplemental and special graphics sets: 1B hexadecimal 28 hexadecimal G0 ESC ( (Final) 1B hexadecimal 29 hexadecimal ESC )

(Final)

G1

1B hexadecimal 2A hexadecimal ESC * (Final)

G2

1B hexadecimal 2B hexadecimal ESC + (Final)

G3

NRC sets: 1B hexadecimal 2D hexadecimal ESC -(Final)

G1

1B hexadecimal 2E hexadecimal ESC . (Final)

G2

1B hexadecimal 2F hexadecimal ESC / (Final)

G3

The final character in the escape sequence represents the character set you want to designate. For the wireless station, the final characters are indicated in Table 8-9. VT220/ANSI Terminal Emulation Programmer’s Reference Guide

8-15

Page 152

SECTION 8

"

Programming

Table 8-9 Hard Character Set Final Characters Character Set

Final Character

ASCII

B (42 hexadecimal)

Special graphics National replacement

0 (30 hexadecimal) British

A (41 hexadecimal)

Dutch

4 (34 hexadecimal)

Finnish*

5 (35 hexadecimal) or C (43 hexadecimal)

French

R (52 hexadecimal)

French Canadian*

9 (39 hexadecimal) or Q (51 hexadecimal)

German

K (4B hexadecimal)

Italian

Y (59 hexadecimal)

Norwegian/Danish* ‘ (60 hexadecimal) or E (45 hexadecimal) Portuguese

% (25 hexadecimal)

Spanish

Z (5A hexadecimal)

Swedish*

7 (37 hexadecimal) or H (48 hexadecimal)

Swiss

= (3D hexadecimal)

Greek

6 (36 hexadecimal) (This is a private extension.)

* Digital recommends using the first code shown.

8-16

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

Page 153

SECTION 8

"

Programming

Locking Shifts The wireless station applies the locking shift (LS) control functions in Table 8-10. Locking shifts LS1R, LS2, LS2R, LS3, and LS3R are available in VT300 mode only. Table 8-10 Locking Shifts Control Name

Code

Function

LS0 (Locking shift 0)

SI (0F hexadecimal)

Map G0 into GL (default).

LS1 (Locking shift 1)

SO (0E hexadecimal)

Map G1 into GL.

LS1R ESC ~ Map G1 into GR. (Locking shift 1, right) (1B, 7E hexadecimals) LS2 (Locking shift 2)

ESC n Map G2 into GL. (1B, 6E hexadecimals)

LS2R ESC } Map G2 into GR. (Locking shift 2, right) (1B, 7D hexadecimals) LS3 (Locking shift 3)

ESC o Map G3 into GL. (1B, 6F hexadecimals)

LS3R ESC | Map G3 into GR. (Locking shift 3, right) (1B, 7C hexadecimals)

Received Codes Received codes are codes the wireless station receives from an application or host computer. The following pages describe received codes, and the action taken by the wireless station when it receives the codes from an application or host.

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

8-17

Page 154

SECTION 8

"

Programming

Select C1 Controls Select C1 controls (code extension announcers) control the representation of C1 control codes returned to the application. The wireless station supports select 7-bit C1 control transmission (Table 8-11), which converts all C1 codes returned to the application to their equivalent 7-bit code extensions. The wireless station also supports select 8-bit C1 control transmission, which returns C1 codes to the application without converting them to their equivalent 7-bit code extensions. " NOTE:

The wireless station does not support DECSCL sequences. Table 8-11 Select C1 Controls Transmission Sequence Wireless Station Action Select 7-bit C1 Control (S7C1T) Select 8-bit C1 Control (S8C1T)

8-18

ESC sp F

Converts all C1 codes returned to the application to their equivalent 7-bit code extensions.

ESC sp G

Returns C1 codes to the application without converting them to their equivalent 7-bit code extensions.

VT220/ANSI Terminal Emulation Programmer’s Reference Guide

Page 155

SECTION 8

"

Programming

Terminal Modes A mode is one of several operating states used by the wireless station. Table 8-12 lists selectable terminal modes and the action taken by the wireless station in set mode and reset mode. Table 8-12 Selectable Terminal Modes Set Mode Mode (Mnemonic) Reset Mode Keyboard Locked action (KAM) Unlocked Insert/ Replace (IRM)

Insert

Sequence* Wireless Station Action CSI 2 h Locks the keyboard for all following keystrokes. CSI 2 l

Unlocks the keyboard.

CSI 4 h

Selects insert mode. New display characters move old display characters to the right. Characters moved past the right margin are lost. Text moved into a protected character field is lost. If erasure mode (ERM) is reset, text moved into a protected character field is lost.

Send/Receive (SRM))

*

Replace

CSI 4 l

Selects replace mode. New display characters replace old display characters at the cursor position. The old character is erased.

Off

CSI 1 2 h

Disables local echo. When the wireless station sends characters to the host, the host must echo them back to the display.

On

CSI 1 2 l

Enables local echo. When the wireless station sends characters, they are automatically sent to the display.

The last character of each reset mode sequence is lowercase L (6C hexadecimal). VT220/ANSI Terminal Emulation Programmer’s Reference Guide

8-19

Page 156

SECTION 8

"

Programming

Table 8-12 (Continued) Selectable Terminal Modes Set Mode Mode (Mnemonic) Reset Mode Line feed/ New line New line (LNM)

Sequence* Wireless Station Action CSI 2 0 h Causes a received LF, FF, or VT code to move the cursor to the first column of the next line. “Return” sends both a CR and an LF code.

Line feed

CSI 2 0 l

Causes a received LF, FF, or VT code to move cursor to the next line in the current column. “Return” sends a CR code only.

Application

CSI ? 1 h

Causes cursor keys to send application control functions.

Cursor

CSI ? l l

Causes cursor keys to send ANSI cursor control sequences.

ANSI/VT52 (DECANM)

(None)

(None)

Not applicable.

VT52

CSI ? 2 l

Ignores this code.

Column (DECCOLM)

132 column

CSI ? 3 h

Ignores this code.

80 column

CSI ? 3 l

Selects 80 columns per line.

Scrolling (DECSCLM)

Smooth

CSI ? 4 h

Ignores this code.

Jump

CSI ? 4 l

Lets the wireless station add lines to the display as fast as possible.

Cursor key (DECCKM)

*

8-20

The last character of each reset mode sequence is lowercase L (6C hexadecimal).

VT220/ANSI Terminal Emulation Programmer’s Reference Guide