]> git.ozlabs.org Git - ppp.git/blobdiff - chat/chat.8
chat: Fix *roff errors in the man page
[ppp.git] / chat / chat.8
index b532292c6f3bfea8be880778ed13f315927f63f6..7b07553dcf06dc80dc02b3561c19af993fd5157b 100644 (file)
@@ -50,7 +50,7 @@ keyword. When echoing is enabled, all output from the modem is echoed
 to \fIstderr\fR.
 .TP
 .B \-E
-Enables environment variable substituion within chat scripts using the
+Enables environment variable substitution within chat scripts using the
 standard \fI$xxx\fR syntax.
 .TP
 .B \-v
@@ -77,7 +77,7 @@ SYSLOG.  The use of \-S will prevent both log messages from '\-v' and
 error messages from being sent to the SYSLOG.
 .TP
 .B \-T \fI<phone number>
-Pass in an arbitary string, usually a phone number, that will be
+Pass in an arbitrary string, usually a phone number, that will be
 substituted for the \\T substitution metacharacter in a send string.
 .TP
 .B \-U \fI<phone number 2>
@@ -204,7 +204,7 @@ terminal), standard error will normally be redirected to the file
 .LP
 \fBSAY\fR strings must be enclosed in single or double quotes. If
 carriage return and line feed are needed in the string to be output,
-you must explicitely add them to your string.
+you must explicitly add them to your string.
 .LP
 The SAY strings could be used to give progress messages in sections of
 the script where you want to have 'ECHO OFF' but still let the user
@@ -224,14 +224,14 @@ SAY "Waiting up to 2 minutes for connection ... "
 .br
 CONNECT '' 
 .br
-SAY "Connected, now logging in ...\n"
+SAY "Connected, now logging in ...\\n"
 .br
 ogin: account
 .br
 ssword: pass
 .br
 $ \c
-SAY "Logged in OK ...\n"
+SAY "Logged in OK ...\\n"
 \fIetc ...\fR
 .LP
 This sequence will only present the SAY strings to the user and all
@@ -288,7 +288,7 @@ ABORT   'BUSY'
 .br
 ABORT   'NO CARRIER'
 .br
-''      ATZ
+\&''      ATZ
 .br
 OK\\r\\n  ATD1234567
 .br
@@ -318,7 +318,7 @@ signal behavior.  Here is an (simple) example script:
 .IP
 ABORT   'BUSY'
 .br
-''      ATZ
+\&''      ATZ
 .br
 OK\\r\\n  ATD1234567
 .br
@@ -365,7 +365,6 @@ The special reply string of \fIEOT\fR indicates that the chat program
 should send an EOT character to the remote. This is normally the
 End-of-file character sequence. A return character is not sent
 following the EOT.
-.PR
 The EOT sequence may be embedded into the send string using the
 sequence \fI^D\fR.
 .SH GENERATING BREAK
@@ -374,7 +373,6 @@ to be sent. The break is a special signal on the transmitter. The
 normal processing on the receiver is to change the transmission rate.
 It may be used to cycle through the available transmission rates on
 the remote until you are able to receive a valid login prompt.
-.PR
 The break sequence may be embedded into the send string using the
 \fI\\K\fR sequence.
 .SH ESCAPE SEQUENCES
@@ -457,7 +455,7 @@ For example, the character DC1 (17) is shown as \^^Q.
 Environment variables are available within chat scripts, if  the \fI\-E\fR
 option was specified in the command line. The metacharacter \fI$\fR is used
 to introduce the name of the environment variable to substitute. If the
-substition fails, because the requested environment variable is not set,
+substitution fails, because the requested environment variable is not set,
 \fInothing\fR is replaced for the variable.
 .SH TERMINATION CODES
 The \fIchat\fR program will terminate with the following completion