Programming with Reflection

image\rwnprg32.gif TerminalType property

 

Syntax

object.TerminalType
object.TerminalType = Value

Works with

image\r124.gif

Data type

Enumeration

 

Description

Returns (first syntax line) or specifies (second syntax line) which terminal Reflection is to emulate.

Values

The possible values are different for different Reflection products:

In Reflection for HP, the default is rcHP70092. The possible values are:

rcHP2392A

rcHP70092 (HP70092 and HP70096 emulation)

rcHP70094 (HP70094 and HP70098 emulation)

rcVT52

rcVT102

rcVT220_7

rcVT220_8

In Reflection for UNIX and OpenVMS, the default is rcVT500_7. The possible values are:

rcVT52

rcVT102

rcVT500_7 (equivalent to rcVT400_7)

rcVT500_8 (equivalent to rcVT400_8)

rcLINUX_CONSOLE (Linux console emulation)

rcANSIBBS (BBS ANSI terminal emulation)

rcANSIUNIX (SCO ANSI terminal emulation)

rcADDS

rcWYSE50

rcWYSE60

rcDG215

rcT27 (Unisys T27 terminal emulation)

rcAT386

rcIBM3151

rcVTUTF8

rcTVI955

rcQNX

rcXTERM

In Reflection for ReGIS, the default is rcVT500_7. The possible values are:

rcVT52

rcVT102

rcVT500_7 (equivalent to rcVT400_7)

rcVT500_8 (equivalent to rcVT400_8)

rcLINUX_CONSOLE (Linux console emulation)

rcANSIBBS (BBS ANSI terminal emulation)

rcANSIUNIX (SCO ANSI terminal emulation)

rcADDS

rcWYSE50

rcWYSE60

rcDG215

rcT27 (Unisys T27 terminal emulation)

rcAT386

rcIBM3151

rcTek401X

rcVTUTF8

rcTVI955

rcQNX

rcXTERM

Additional Comments

When you set TerminalType to rcANSIBBS or rcANSIUNIX in Reflection for UNIX and OpenVMS or Reflection for ReGIS Graphics, the default values for the following properties change:

Property

Default Value for rcANSIBBS and rcANISUNIX

DisplayRows

25

EndOfLineWrap

True

TransmitXonXoff

True

UseAnsiColor

True

In addition, the value of TransmitPacing, one of the "keyword tokens" you can use to configure a connection in Reflection, behaves in a like manner—when you set TerminalType to rcANSIBBS or rcANSIUNIX in Reflection for UNIX and OpenVMS or Reflection for ReGIS Graphics, the value of TransmitPacing automatically becomes None.

When you change from a non-ANSI value to an ANSI value, or vice versa, all properties relating to the terminal (that is, all properties that are equivalent to settings in the Terminal Setup dialog box) are reset to their defaults. The properties listed above revert to their non-ANSI defaults when TerminalType is set to a non-ANSI value, and vice versa.

In Reflection for HP, setting TerminalType to rcVT52, rcVT102, rcVT220_7, or rcVT220_8 automatically changes the default values for the following properties:

Property

HP Default for rcVT52, rcVT102, rcVT220_7, rcVT220_8

EndOfLineWrap

False

EnqAck

False

NumLock

True

In Digital emulations, the TerminalType property affects the codes generated by the numeric keypad and function keys, the interpretation of escape sequences, and the response to terminal identification requests. When TerminalType is set to rcVT52 or rcVT102, all received data is forced to 7 bits, so you cannot use multinational characters or 8-bit control characters. When TerminalType is set to rcVT220_7 or rcVT500_7, 7-bit control sequences are still generated but 8-bit control sequences are processed correctly. When TerminalType is set to VT220_8 or VT500_8, 8-bit control sequences are both generated and received.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property