linux chat 命令,chat__linux命令中文解释.html

linux命令

CHAT

Section: Maintenance Commands (8) Updated: 22 May 1999 Index Return to Main Contents

NAME

chat -自通的指令稿

总览 SYNOPSIS

chat[ options] script

描述 DESCRIPTION

chat程式在之定通交事宜。它最主要的目的是用在定的形程式 (pppd)以及端的 pppd程序之建立。

选项 OPTIONS

- f chat案取 chat指令稿。的使用 chat的令稿互斥(mutually exclusive)。使用者必具有存取案的取。在案中允多(multiple lines)定。要以空白或是向定位(horizontal tab)字元分隔字串。 - t於所要接收的期待字串(expected string)定逾限制。如果在限制有接收到字串的那就不送出回覆字串(reply string)。可以送出一通(alternate)的回覆或者如果有通的回覆字串指令稿失。一失的指令稿使得 chat程式以一非零的束。 - r Set the file for output of the report strings. If you use the keyword REPORT, the resulting strings are written to this file. If this option is not used and you still use REPORT keywords, the stderr file is used for the report strings. - e Start with the echo option turned on. Echoing may also be turned on or off at specific points in the chat script by using the ECHO keyword. When echoing is enabled, all output from the modem is echoed to stderr. - E Enables environment variable substituion within chat scripts using the standard$xxx syntax. - v要求 chat指令稿以冗(verbose)模式行。 chat程式接下所有接收的文字以及出的字串到 SYSLOG去。The default is to log through the SYSLOG; the logging method may be altered with the -S and -s flags. - V Request that the chat script be executed in a stderr verbose mode. The chat program will then log all text received from the modem and the output strings sent to the modem to the stderr device. This device is usually the local console at the station running the chat or pppd program. - s Use stderr. All log messages from '-v' and all error messages will be sent to stderr. - S Do not use the SYSLOG. By default, error messages are sent to the SYSLOG. The use of -S will prevent both log messages from '-v' and error messages from being sent to the SYSLOG. - T Pass in an arbitary string, usually a phone number, that will be substituted for the\T substitution metacharacter in a send string. - U Pass in a second string, usually a phone number, that will be substituted for the\U substitution metacharacter in a send string. This is useful when dialing an ISDN terminal adapter that requires two numbers. script

1-932-jpg_6_0_______-654-0-0-654.jpg

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值