Date: Sun, 07 Jun 1998 16:45:29 +0100 From: Brian Somers <brian@Awfulhak.org> To: Hans Petter Bieker <zerium@webindex.no> Cc: Doug White <dwhite@resnet.uoregon.edu>, questions@FreeBSD.ORG Subject: Re: PPP chat script Message-ID: <199806071545.QAA12007@awfulhak.org> In-Reply-To: Your message of "Wed, 03 Jun 1998 12:25:13 %2B0200." <Pine.BSF.3.96.980603121858.8377A-100000@oslo11.or.uninett.no>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 3 Jun 1998, Doug White wrote: > > > > imposible to tell ppp to enter that command. instead of entering ``ppp +'' > > > it enters ```ppp' and then wait for ``+''. anyone? > > Escape the + with a pair of backslashes, like \\+. > > ``ppp\\+'' sends ``ppp+'' > ``ppp\\ +'' sends ```ppp'' and waits for ``+'' > ``ppp\ +'' sends ```ppp'' and waits for ``+'' > > -bieker- Either quote the entire string or use the \s escape: set login "...... \"ppp +\" ......" set login "...... ppp\\s+ ......" -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806071545.QAA12007>