From owner-freebsd-current Wed Feb 16 13:48:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id ECC6E37B851 for ; Wed, 16 Feb 2000 13:48:02 -0800 (PST) (envelope-from tomdean@ix.netcom.com) Received: from fb01.eng00.mindspring.net (fb01.eng00.mindspring.net [207.69.229.19]) by builder.freebsd.org (Postfix) with ESMTP id 4EC03132E0 for ; Wed, 16 Feb 2000 13:47:22 -0800 (PST) Received: from ix.netcom.com (sil-wa16-40.ix.netcom.com [207.93.148.168]) by fb01.eng00.mindspring.net (8.9.3/8.8.5) with ESMTP id QAA30645; Wed, 16 Feb 2000 16:46:04 -0500 (EST) Received: (from tomdean@localhost) by ix.netcom.com (8.9.3/8.8.8) id NAA02484; Wed, 16 Feb 2000 13:46:30 -0800 (PST) (envelope-from tomdean@ix.netcom.com) Date: Wed, 16 Feb 2000 13:46:30 -0800 (PST) Message-Id: <200002162146.NAA02484@ix.netcom.com> X-Authentication-Warning: celebris.tddhome: tomdean set sender to tomdean@ix.netcom.com using -f From: Thomas Dean To: Joe.Jacobson@Halliburton.com Cc: current@FreeBSD.ORG In-reply-to: (message from Joe Jacobson on Wed, 16 Feb 2000 11:13:30 -0600) Subject: Re: Problems with Recent PPP Changes References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A very careful reading of the man page shows: Note that two parsers will examine these escape sequences, so in order to have the `chat parser' see the escape character, it is necessary to escape it from the `command parser'. This means that in practice you should use two escapes, for example: So, I changed my set login to set login "TIMEOUT 5 ogin:-\\r-ogin: \\#xxxxxxx word: xxxxxx" ^^ and, it worked. I previously tried one escape for the '#'. But, two parsers see the login string. So, two escapes are needed. Thanks for the reply. tomdean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message