Why does ppp(8) ignore the character in my chat script?
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.
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.
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
- Technically no, it does not cost anything to reference a film. By using character names from other films in your script you just need to be careful about making sure you are not plagiarizing the source script at all in order to make sure you won have to purchase rights later.
- How do I automate my slip/ppp login using the switch.inf script language?
- Why does ppp(8) ignore the character in my chat script?