Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does ppp(8) ignore the character in my chat script?

character chat PPP Script
0
10 Posted

Why does ppp(8) ignore the character in my chat script?

0

The ppp utility parses each line in your config files so that it can interpret strings such as set phone “123 456 789″ correctly and realize that the number is actually only one argument. In order to specify a ” character, you must escape it using a backslash (\). When the chat interpreter parses each argument, it re-interprets the argument in order to find any special escape sequences such as \P or \T (see the manual page). As a result of this double-parsing, you must remember to use the correct number of escapes.

0

Ppp parses each line in your config files so that it can interpret strings such as set phone “123 456 789″ correctly (and realize that the number is actually only one argument. In order to specify a ” character, you must escape it using a backslash (\). When the chat interpreter parses each argument, it re-interprets the argument in order to find any special escape sequences such as \P or \T (see the man page). As a result of this double-parsing, you must remember to use the correct number of escapes.

0

Ppp parses each line in your config files so that it can interpret strings such as set phone “123 456 789″ correctly and realize that the number is actually only one argument. In order to specify a ” character, you must escape it using a backslash (\). When the chat interpreter parses each argument, it re-interprets the argument in order to find any special escape sequences such as \P or \T (see the manual page). As a result of this double-parsing, you must remember to use the correct number of escapes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.