in reply to Re: odd escape chars in strings obtained by SSH
in thread odd escape chars in strings obtained by SSH

And it's a good practice when running something like this (i.e. via something Expect-ish) to "sanitize" the remote environment. Things such as setting your prompt to a (simple) static value and sending the PATH you're expecting to be be in effect makes looking for prompts and debugging so much easier and more dependable. Save the angry fruit salad with 4 different typefaces for interactive use.

  • Comment on Re^2: odd escape chars in strings obtained by SSH