Escape Sequences - Watchguard Firebox X20E Reference Manual

Vpn gateway
Hide thumbs Also See for Firebox X20E:
Table of Contents

Advertisement

BREAK
The special reply string of BREAK will cause a break condition to be sent. The
break is a special signal on the transmitter. The break sequence can be
embedded into the send string using the \K sequence.

Escape sequences

The expect and reply strings may contain escape sequences. All of the sequences are
legal in the reply string. Many are legal in the expect sequence. Those that are not
valid in the expect sequence are so indicated.
"" or ' '
Expect or send a null string. If you send a null string, it will still send the
return character. This sequence can either be a pair of apostrophes or quotes.
\b
Backspace.
\c
Suppress the new line at the end of the reply string. This is the only method to
send a string without a trailing return character. It must be at the end of the
send string. For example, the sequence hello\c will simply send the characters
h, e, l, l, o (not valid in expect).
\d
Delay for 1 second (not valid in expect).
\K
Insert a BREAK (not valid in expect).
\n
Send a newline or linefeed character.
\N
Send a null character. The same sequence can be represented by \0 (not valid
in expect).
\p
Pause for a fraction of a second. The delay is 1/10th of a second (not valid in
expect).
\q
Suppress writing the string to the logging system. The string ?????? is written
to the log in its place (not valid in expect).
\r
Send or expect a carriage return.
\s
A space character in the string. This can be used when it is not desirable to
quote the strings that contains spaces. For example, the sequence 'HI TIM' and
HI\sTIM are the same.
Reference Guide
Modem initialization strings
53

Advertisement

Table of Contents
loading

This manual is also suitable for:

Firebox system 4.6Firebox x55eFirebox x10e

Table of Contents