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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to