I don't use Expect, so take this with a grain of salt.
If it's only happening during login, perhaps you could start logging *after* you've logged in. (If you need to debug logins, perhaps log the logins to one file, then switch to a new log file for normal operations. That way, you could ignore the sequence.)
If it's happening all the time, perhaps you could either modify your log file viewer application to ignore the escape sequences, or even pipe them through a quick script that will squash them out for you.
If there's an Expect method (such as using a filtered file handle or such) we'll have to wait for someone a bit more experienced/knowledgeable to chime in.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re^3: Expecting non-print chars from HP Procurve
by roboticus
in thread Expecting non-print chars from HP Procurve
by sgrey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |