Verastream SDK for Airlines
Requesting a VT Screen Object

The XML to request a VT screen object is as follows:

<ScreenVt Columns="80" Rows="24">
        <Telnetcon LocalEcho="false" InitiateNegotiation="false" NegotiateBinary="false">
                <TcpTelnetcon HostName="yourhost.com" PortNumber="23" />
        </Telnetcon>
</ScreenVt>

Additional ScreenVt XML parameters are shown in the table below. Except where noted, these parameters use the following syntax:

name="value"

where name is the name of a parameter and value is a valid value for that parameter. These tags should be placed within the object being defined. For example, to set the AutoWrap parameter, the first line of the XML shown above would be changed from

<ScreenVt Columns="80" Rows="24">
to
<ScreenVt Columns="80" Rows="24" AutoWrap="True">

The default values are shown in bold in the Value column or given in the Description column. If a parameter is not included in the XML, its default value is used automatically.

ScreenVt XML Parameters
Parameter Value Description
LocalEcho True The presentation space displays characters on the screen as you type.
False The configuration of the host determines whether or not the characters you type appear on the screen. Most hosts are configured to display the characters typed on the screen, so you can normally set this option to False.
AutoWrap True Text automatically wraps to the next line when it reaches the right margin.

This option sets only the initial state of this feature. The host can override this setting.

False Text does not automatically wrap to the next line when it reaches the right margin, but continues to overwrite in the last column.
Rows number The number of rows in the presentation space.

The default is 24 rows.
Columns number The number of columns in the presentation space.

The default is 80 columns.

Back to top

TcpTelnetcon XML Parameters
Parameter Value Description
HostName ipaddr The IP address of the host front-end.
PortValue 23 The number of the host port to use. The default value is 23. Add a PortValue to the XML only if you need to use a different host port. For the appropriate port number, contact your administrator.
InitiateNegotiation True The connection tool initiates the negotiation of the Telnet options.
False The server initiates the negotiation.
NegotiateBinary True This option negotiates the sending of 8-bit data instead of the standard 7-bit ASCII of the Telnet NVT.
False Data is sent in the standard 7-bit ASCII.
LocalEcho True The presentation space displays characters on the screen as you type.
False The configuration of the host determines whether or not the characters you type appear on the screen. Most hosts are configured to display the characters typed on the screen, so you can normally set this option to False.

Back to top

Related Topics
Defining an XML Configuration
The Screen Object Model
Requesting a Screen Object