Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 13:46:30 -0800 (PST)
From:      Thomas Dean <tomdean@ix.netcom.com>
To:        Joe.Jacobson@Halliburton.com
Cc:        current@FreeBSD.ORG
Subject:   Re: Problems with Recent PPP Changes
Message-ID:  <200002162146.NAA02484@ix.netcom.com>
In-Reply-To: <A5DD93A6B983D211BA350000E865F4B101FC6230@houexch018.halnet.com> (message from Joe Jacobson on Wed, 16 Feb 2000 11:13:30 -0600)
References:   <A5DD93A6B983D211BA350000E865F4B101FC6230@houexch018.halnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002162146.NAA02484>