beautypg.com

Login scripts – Avocent DSView User Manual

Page 79

background image

Appendices

73

To enable/disable 7-bit ASCII:

1.

Select Options - Session Properties from the menu bar.
- or -
Click the Session Settings icon in the toolbar.

2. Click

the

Terminal tab.

3. Enable or disable the Strip 8th Bit checkbox. The default value is disabled.

Login scripts

The DSView Telnet application has a login scripting function that enables you

to automatically log in to a device. A login script is built with a sequence of

expect and send strings, and initial transmission characters that work with

them. To use a login script, you must enable automatic login in a checkbox.

The first Initial character (that is, the first entry in the Initial character

column) specifies what is sent to the device as soon as the Telnet session

is established. This is selected from a list containing the choices: None, CR

(carriage return), CR+LF (carriage return and linefeed), ESC (Escape) and

CTRL+P (Control and P).

The first Expect string indicates what the device will send as its first prompt.

The first Send string indicates what the login script will send to the device after

it receives the first Expect string.

You may then build additional Expect and Send strings according to what the

particular device will prompt for and what will be sent in response.

To build a login script and enable/disable automatic login:

1.

Select Options - Session Properties from the menu bar.
- or -
Click the Session Settings icon in the toolbar.

2. Click

the

Login Scripts tab.

3. Enable or disable the Automate Login checkbox. The default value

is disabled.

4. In the Initial Character list, select one option: CR (carriage return),

CR+LF (carriage return and linefeed), ESC (Escape), CTRL+P (Control+P
sequence, Ø x 10 in hex) or None (no initial transmission character).

5. In the Expect box, type the 1-32 alphanumeric character string that you

expect from the device. Spaces are allowed.