Page 132 Configuring Modem Connections 90030500B
Escape commands
You can use any of the following escape commands in
E
,
M
, and
[]
command strings:
Special characters
The following characters have special meaning in
%N
phonenumber strings (see
Escape Commands
above), and are replaced with corresponding strings from the
set
chat
command:
^c
The control character derived by the logical and-ing of ASCII character
c
and octal mask 037. This is the character transmitted by a standard
ASCII keyboard when the
Ctrl
key is held down and the character
c
is
depressed.
\c
Standard C language escapes:
\b
(backspace),
\f
(form feed),
\t
(tab),
\n
(new line),
\\
(backslash) and
\r
(return).
\
nnn
The octal byte value
nnn
.
\x
hh
The hexadecimal byte value
hh.
%
p
Parameter substitution where
p
is an integer from 1 to 9. Parameters 1-9
are provided by the
set
user
parameter options for login scripts or the
set device
options for dialer scripts. The parameter is substituted for
the
%p
expression.
%
n
Phone number substitution where the number provided in the User Table
is substituted for
%
n
%
N
Phone number substitution with special character translation. The
numbers from the system table are substituted for
%
N after special
characters are replaced.
*
(star) Generates a tone equivalent to dialing * on a touch-tone telephone.
#
(pound or hash) Generates a tone equivalent to dialing # on a touch-tone
telephone.
=
(pause) Pause 2 seconds.
w
(wait) Wait for secondary dial tone.
-
Completely ignored and not passed to modem.