Display-related properties of the HostOptions object
Related Topics

image\validfor_v.gif

Applies To Objects

HostOptions

Description

The properties in this group affect the appearance of your emulation window. Many of these options correspond to the options available on the DIGITAL terminal. You can change the VT page width and page size. You can couple the cursor to automatically keep in view the page where the cursor is located, and you can control the rate of VT scrolling. They are equivalent to the options on the page Settings, Display, Display.

Syntax

Unless noted, all display-related properties have the following syntax:

object.Property

Element

Description

Object

The HostOptions object.

Property

A display-related property.

 

Names and Descriptions of individual properties

AutoWrap Property

Returns or sets the autowrap feature. Set this property TRUE to automatically wrap text when it reaches the right margin.

 

Columns Property

Returns or sets the number of columns 80 or 132 as an integer. This is the page width for text. When you change this setting, the screen is cleared.

 

DisplayControls Property

Returns or sets whether to display control characters, or process them normally. Set this property TRUE to display all received control characters, instead of processing them.

 

InverseScreenProperty

Returns or sets whether to reverse foreground and background colors. Set this property TRUE to exchange the foreground and background colors for normal text.

 

Lines Property

Returns or sets the number of lines per page for this session. This also determines the number of VT pages. You can have any number of lines between 24 and 144, for 1 to 6 VT pages.

 

 

NewLine Property

Returns or sets which new line sequence to set. Set this property TRUE to send a CR and LF, instead of just a CR, when ENTER is pressed.

 

PageCoupling Property

Returns or sets whether display a page from page memory when the cursor moves to that page. Set this property TRUE to automatically display a different page when the cursor moves to that page in page memory.

 

ResetTabs Method

Resets tab stop settings to the default of 8-column intervals.

 

Scroll Property

Returns or sets the scrolling mode. Because scrolling requires all the text in the emulation window to be re-written in a different position, data that is arriving too fast might have to wait while a slow machine repeatedly moves lines of text. To avoid delay because of scrolling, select xScrollJump2, xScrollJump4, or xScrollPaged. No data is lost, only the line-by-line scrolling is omitted to save time. As soon as possible, the window is re-written to show the most recently received text.

Use the following values to control the scroll rate.

Constant

Value

xSCROLLDISABLED

0

xSCROLLJUMP1

1

xSCROLLJUMP2

2

xSCROLLJUMP4

3

xSCROLLPAGED

4

 

StatusDisplay Property

Returns or sets the use of VT status line.

Use the following values to control use of the VT Status Line.

Constant

Value

Description

xSTATUSNONE

0

Do not display a status line.

xSTATUSINDICATOR

1

Display application messages on the status line.

xSTATUSHOST

2

Display host messages on the status line.

 

TabsColumns Property

Returns or sets the column position of tab stops. The default is 8-column intervals.