From owner-freebsd-questions Sun Jun 7 09:10:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA21597 for freebsd-questions-outgoing; Sun, 7 Jun 1998 09:10:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA21565 for ; Sun, 7 Jun 1998 09:10:34 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id QAA12007; Sun, 7 Jun 1998 16:45:30 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199806071545.QAA12007@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Hans Petter Bieker cc: Doug White , questions@FreeBSD.ORG Subject: Re: PPP chat script In-reply-to: Your message of "Wed, 03 Jun 1998 12:25:13 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jun 1998 16:45:29 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 , , 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