[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: chat script & ppp
- From: "Kevin D. Colby" <kevin marcal com>
- To: redhat-install-list redhat com
- Subject: Re: chat script & ppp
- Date: Fri, 03 Apr 1998 09:11:18 -0600
Blomgren Mike wrote:
>
> > /usr/sbin/chat -v -t 45 "" ATZ OK ATDT<phone-number> \
> > CONNECT "" ername: <my login name> ssword: <my password>
> > ervice> ppp
> >
> > My problem is the prompt for service is a ">" not a ":"
> > How can I get it to take the character ">" and not think its a
> > redirection?
> >
> [Mike's comment] Wouldn't it suffice to look for 'ervice',
> without the '>' , prior to transmitting 'ppp'?
While this would probably work, it isn't a good idea.
The server could have input turned off until the prompt is complete
and then dump the buffer. In that case, a 'p' or two may be lost
sporadically--very hard to track down and rather unreliable.
While I doubt the server would do so at that point, some
servers _do_ do that for login/password. The true solution isn't
that complex, so I don't see any reason to push your luck.
- Kevin Colby
kevin marcal com
> ------------------------------
> Mike Blomgren
> Internet/Intranet
>
> Know-IT / Netarc AB
> mike blomgren knowit se
> ------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]