X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=chat%2Fchat.8;h=7d4ad5f937afbaa82cea9c8a180b60b006a61d48;hb=47284fad4610d6c68b8f0384ac6a0e0699f8e964;hp=2612d67ff775aa7218a19ee40123f3c2adcc5ee1;hpb=39f685ec9a552874cd02b511bbf84b3912b1058b;p=ppp.git diff --git a/chat/chat.8 b/chat/chat.8 index 2612d67..7d4ad5f 100644 --- a/chat/chat.8 +++ b/chat/chat.8 @@ -1,6 +1,6 @@ .\" -*- nroff -*- .\" manual page [] for chat 1.8 -.\" $Id: chat.8,v 1.7 1998/02/04 01:35:49 paulus Exp $ +.\" $Id: chat.8,v 1.8 1999/05/12 06:13:22 paulus Exp $ .\" SH section heading .\" SS subsection heading .\" LP paragraph @@ -153,6 +153,16 @@ character, you would have to write something like this: \'# ' logout .LP +.SH SENDING DATA FROM A FILE +If the string to send starts with an at sign (@), the rest of the +string is taken to be the name of a file to read to get the string to +send. If the last character of the data read is a newline, it is +removed. The file can be a named pipe (or fifo) instead of a regular +file. This provides a way for \fBchat\fR to communicate with another +program, for example, a program to prompt the user and receive a +password typed in. +.LP + .SH ABORT STRINGS Many modems will report the status of the call as a string. These strings may be \fBCONNECTED\fR or \fBNO CARRIER\fR or \fBBUSY\fR. It