chat.8 (cfe30d02adda7c3b5c76156ac52d50d8cab325d9) | chat.8 (6d6d6c360322227ba838c53ed72d31937a425800) |
---|---|
1.\" $FreeBSD$ 2.Dd September 10, 2012 3.Dt CHAT 8 4.Os 5.Sh NAME 6.Nm chat 7.Nd Automated conversational script with a modem 8.Sh SYNOPSIS --- 277 unchanged lines hidden (view full) --- 286strings must be enclosed in single or double quotes. 287If carriage return and line feed are needed in the string to be output, 288you must explicitly add them to your string. 289.Pp 290The 291.Dv SAY 292strings could be used to give progress messages in sections of 293the script where you want to have 'ECHO OFF' but still let the user | 1.\" $FreeBSD$ 2.Dd September 10, 2012 3.Dt CHAT 8 4.Os 5.Sh NAME 6.Nm chat 7.Nd Automated conversational script with a modem 8.Sh SYNOPSIS --- 277 unchanged lines hidden (view full) --- 286strings must be enclosed in single or double quotes. 287If carriage return and line feed are needed in the string to be output, 288you must explicitly add them to your string. 289.Pp 290The 291.Dv SAY 292strings could be used to give progress messages in sections of 293the script where you want to have 'ECHO OFF' but still let the user |
294know what is happening. An example is: | 294know what is happening. 295An example is: |
295.Bd -literal -offset indent 296ABORT BUSY 297ECHO OFF 298SAY "Dialling your ISP...\\n" 299\&'' ATDT5551212 300TIMEOUT 120 301SAY "Waiting up to 2 minutes for connection ... " 302CONNECT '' --- 342 unchanged lines hidden --- | 296.Bd -literal -offset indent 297ABORT BUSY 298ECHO OFF 299SAY "Dialling your ISP...\\n" 300\&'' ATDT5551212 301TIMEOUT 120 302SAY "Waiting up to 2 minutes for connection ... " 303CONNECT '' --- 342 unchanged lines hidden --- |