Entering Special Characters In String Values - Digi ConnectPort LTS8 Command Reference Manual

Connectport lts series terminal server
Hide thumbs Also See for ConnectPort LTS8:
Table of Contents

Advertisement

Basic command information

Entering special characters in string values

Several commands have options that are string values, for example the "set alarm" command's
"match" option and the "set autoconnect" command's "connect_on_string" option.
Escape sequences for special characters
Special characters can be entered in strings using the following escape sequences:
Escape Sequence
\*
\a
\b
\f
\n
\r
\s
\t
\v
\\
\xN
\N
Length limitations for string values
String values for certain command options have specific limitations on the maximum total string value
including special characters, and the maximum parsed value (that is, the character-string length when
any escape sequences in the string are processed). The option descriptions note these maximum
lengths.
Verifying device support for commands
To verify whether a ConnectPort LTS device supports a particular command or command options, and
to get the allowed ranges and limits for command options, you can enter several commands. For
example:
"help" displays all supported commands for a device.
n
"?" displays all supported commands for a device.
n
"set ?" displays the syntax and options for the "set" command. You can use this to determine
n
whether the device includes a particular "set" command variant.
ConnectPort® LTS Command Reference
Processed as:
Match any character. This escape sequence is only available on the
"set alarm match=string" option.
Alert character.
Backspace character.
Form-feed character.
New-line character.
Carriage-return character.
Acts as a separator between characters. This sequence allows you
to enter a string such as "\xB8\s4" where you want the B8
translated as a hexadecimal character separate from the numeric
character 4
Horizontal tab character.
Vertical tab character.
Backslash character ( \ ).
A hexadecimal number, where N is up to 20 hexadecimal digits. For
example: \x10\x2
An octal byte, where N is up to 3 octal digits. For example: \2 or
\208
Entering special characters in string values
12

Advertisement

Table of Contents
loading

Table of Contents