diff options
author | Cody Peter Mello <cody.mello@joyent.com> | 2016-04-09 23:16:53 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2016-06-20 21:45:30 -0700 |
commit | df23d905b96680e56379c5a5ecb4b363f36b9e74 (patch) | |
tree | ef051abcf35272eef8058b0891f4221c9dc9df64 /usr/src/man/man1m/chat.1m | |
parent | 71af3be340c57171837478555e2eb0d496318cfc (diff) | |
download | illumos-joyent-df23d905b96680e56379c5a5ecb4b363f36b9e74.tar.gz |
7041 Fix spelling mistakes in sections 1 and 1M
Reviewed by: Marcel Telka <marcel@telka.sk>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/man/man1m/chat.1m')
-rw-r--r-- | usr/src/man/man1m/chat.1m | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/usr/src/man/man1m/chat.1m b/usr/src/man/man1m/chat.1m index 0f3b594215..db5b98ebd5 100644 --- a/usr/src/man/man1m/chat.1m +++ b/usr/src/man/man1m/chat.1m @@ -4,7 +4,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH CHAT 1M "May 4, 2001" +.TH CHAT 1M "April 9, 2016" .SH NAME chat \- automated conversational exchange tool .SH SYNOPSIS @@ -14,14 +14,12 @@ chat \- automated conversational exchange tool .fi .SH DESCRIPTION -.sp .LP The \fBchat\fR program implements a conversational text-based exchange between the computer and any serial device, including (but not limited to) a modem, an ISDN TA, and the remote peer itself, establishing a connection between the Point-To-Point Protocol daemon (\fBpppd\fR) and the remote \fBpppd\fR process. .SH OPTIONS -.sp .LP The \fBchat\fR command supports the following options: .sp @@ -161,7 +159,6 @@ is included as parameters to the \fBchat\fR program. .SH EXTENDED DESCRIPTION .SS "Chat Script" -.sp .LP The \fBchat\fR script defines communications. A script consists of one or more "expect-send" pairs of strings separated by spaces, with an optional @@ -233,7 +230,6 @@ return sequence is sent and then the script looks for login: again. If line noise obscures the first login prompt, send the empty line to generate a login prompt again. .SS "Comments" -.sp .LP Comments can be embedded in the \fBchat\fR script. Comment lines are ignored by the chat program. A comment starts with the hash ("#") character in column one. @@ -249,7 +245,6 @@ with a \fB#\fR character, write something like this: .in -2 .SS "Sending Data From A File" -.sp .LP If the string to send begins with an at sign ("@"), the remainder of the string is interpreted as the name of the file that contains the string. If the last @@ -258,7 +253,6 @@ pipe (or fifo) instead of a regular file. This enables \fBchat\fR to communicate with another program, for example, a program to prompt the user and receive a password typed in. .SS "Abort " -.sp .LP Many modems report the status of a call as a string. These status strings are often "CONNECTED" or "NO CARRIER" or "BUSY." If the modem fails to connect to @@ -281,13 +275,11 @@ sends the string BUSY, causing the string to match the abort character sequence. The script fails because it found a match to the abort string. If the NO CARRIER string is received, it aborts for the same reason. .SS "Clr_Abort " -.sp .LP The CLR_ABORT sequence clears previously set ABORT strings. ABORT strings are kept in an array of a pre-determined size; CLR_ABORT reclaims the space for cleared entries, enabling new strings to use that space. .SS "Say " -.sp .LP The SAY string enables the script to send strings to a user at a terminal via standard error. If \fBchat\fR is being run by \fBpppd\fR and \fBpppd\fR is @@ -334,7 +326,6 @@ Logged in OK ... .in -2 .SS "Report" -.sp .LP REPORT is similar to the ABORT string. With REPORT, however, strings and all characters to the next control character (such as a carriage return), are @@ -368,13 +359,11 @@ remainder of the script is executed. In addition, the program writes the string CONNECT to the report file (specified by \fB-r\fR) in addition to any characters that follow. .SS "Clr_Report" -.sp .LP CLR_REPORT clears previously set REPORT strings. REPORT strings are kept in an array of a pre-determined size; CLR_REPORT reclaims the space for cleared entries so that new strings can use that space. .SS "Echo" -.sp .LP ECHO determines if modem output is echoed to \fBstderr\fR. This option may be set with the \fB-e\fR option, but can also be controlled by the ECHO keyword. @@ -400,7 +389,6 @@ ogin: account All output resulting from modem configuration and dialing is not visible, but output is echoed beginning with the CONNECT (or BUSY) message. .SS "Hangup" -.sp .LP The HANGUP option determines if a modem hangup is considered as an error. HANGUP is useful for dialing systems that hang up and call your system back. @@ -431,10 +419,9 @@ ABORT 'BUSY' .in -2 .SS "Timeout" -.sp .LP The initial timeout value is 45 seconds. Use the \fB-t\fR parameter to change -the intial timeout value. +the initial timeout value. .sp .LP To change the timeout value for the next expect string, the following example @@ -461,7 +448,6 @@ prompt. .LP Once changed, the timeout value remains in effect until it is changed again. .SS " EOT" -.sp .LP The EOT special reply string instructs the \fBchat\fR program to send an EOT character to the remote. This is equivalent to using ^D\ec as the reply string. @@ -469,7 +455,6 @@ The EOT string normally indicates the end-of-file character sequence. A return character is not sent following the EOT. The EOT sequence can embedded into the send string using the sequence ^D. .SS " BREAK" -.sp .LP The BREAK special reply string sends a break condition. The break is a special transmitter signal. Many UNIX systems handle break by cycling through available @@ -477,7 +462,6 @@ bit rates, and sending break is often needed when the remote system does not support autobaud. BREAK is equivalent to using \eK\ec as the reply string. You embed the break sequence into the send string using the \eK sequence. .SS "Escape Sequences" -.sp .LP Expect and reply strings can contain escape sequences. Reply strings accept all escape sequences, while expect strings accept most sequences. A list of escape @@ -653,7 +637,6 @@ in expect.) .RE .SH ENVIRONMENT VARIABLES -.sp .LP Environment variables are available within \fBchat\fR scripts if the \fB-E\fR option is specified on the command line. The metacharacter \fB$\fR introduces @@ -661,7 +644,6 @@ the name of the environment variable to substitute. If the substition fails because the requested environment variable is not set, nothing is replaced for the variable. .SH EXIT STATUS -.sp .LP The \fBchat\fR program terminates with the following completion codes: .sp @@ -759,7 +741,6 @@ possible to decide if the string "BUSY" was received from the modem versus "NO DIALTONE." While the first event may be retried, the second probably will not succeed during a retry. .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -775,7 +756,6 @@ Interface Stability Evolving .TE .SH SEE ALSO -.sp .LP \fBsleep\fR(1), \fBuucp\fR(1C), \fBpppd\fR(1M), \fBuucico\fR(1M), \fBsyslog\fR(3C), \fBattributes\fR(5) |