DECPCTERM—Enter/Exit PCTerm or Scancode Mode

DECPCTERM enables you to switch the terminal between VT mode and PCTerm mode, while the terminal is in VT mode. It also enables you to switch the terminal between ASCII character and scancode keycode mode, while the terminal is in SCO Console mode.

Format

CSI
9/11
?
3/15
Ps1
3/n
;
3/11
Ps2
3/n
r
7/2

Parameters

Ps1
selects VT mode or PCTerm mode. In SCO console mode, this parameter selects ASCII characters or scancode keycode mode. When the mode changes, some operating features are changed to reflect the characteristics of the selected emulation mode.

Ps1 VT Emulation Mode SCO Console Mode
0 or none VT Mode ASCII characters
1 PCTerm Mode Scancodes

Ps2
indicates the character set selection. See SCS—Select Character Set for the character set designators.

Description

The character sets selectable with single-digit Ps2 parameters are available for both VT mode and PCTerm mode. If you select one of these character sets for use in PCTerm mode, then you can use the SCS—Select Character Set command to modify the PCTerm character set.

The PC character sets selectable with three-digit Ps2 parameters are available only in PCTerm mode or SCO console emulation. (SCO console uses PC character sets.) If you select one of these PC character sets, then the SCS command to invoke a character set is ignored.

Ps2 Character Set
0 or none No Change
1 PC Multilingual
2 PC International
3 PC Danish/Norwegian
4 PC Spanish
5 PC Portuguese
6 DEC Supplemental
7 ISO Latin 1
8 VT character set
210 PC Greek
220 PC Spanish
437 PC International
850 PC Multilingual
852 PC Slavic (Latin 2)
857 PC Turkish
860 PC Portuguese
862 PC Hebrew
863 PC French Canadian
865 PC Danish
866 PC Cyrillic