[Bash-completion-devel] Expect buffering fixes
Freddy Vulto
fvulto at gmail.com
Mon Feb 22 23:04:45 UTC 2010
On 100221 12:42, Ville Skyttä wrote:
> On Sunday 21 February 2010, Crestez Dan Leonard wrote:
>
> > I pushed this is in the expect-fixes branch in git. It would be great if
> > you could confirm my findings; I don't want to cause regressions.
On bash-4.0 and 4.1 it runs ok, the speed improvement is great, but on
bash-3.2.39 I get lots of errors:
FAIL: Sync after INT at timeout
This is what's in dbg.log:
PASS: Tab should complete alias
send: sending "\u0019\u0003" to { exp9 }^M
^M
expect: does "" (spawn_id exp9) match regular expression ".*\^C\r\n/@$"?
no^M
^M
^M
expect: does "\r\n" (spawn_id exp9) match regular expression
".*\^C\r\n/@$"? no^M
/@^M
expect: does "\r\n/@" (spawn_id exp9) match regular expression
".*\^C\r\n/@$"? no^M
expect: timed out^M
FAIL: Sync after INT at timeout
The ^C doesn't seem to get through to 'expect' on bash-3.2?
On bash-4.0 and bash-4.1 it looks like this:
PASS: Tab should complete alias
send: sending "\u0019\u0003" to { exp9 }^M
^M
expect: does "" (spawn_id exp9) match regular expression ".*\^C\r\n/@$"?
no^M
^C^M
expect: does "^C" (spawn_id exp9) match regular expression
".*\^C\r\n/@$"? no^M
^M
^M
expect: does "^C\r\n" (spawn_id exp9) match regular expression
".*\^C\r\n/@$"? no^M
/@^M
expect: does "^C\r\n/@" (spawn_id exp9) match regular expression
".*\^C\r\n/@$"? yes^M
Is the error reproducable on bash-3.2?
More information about the Bash-completion-devel
mailing list