[Bash-completion-devel] Expect buffering fixes

Freddy Vulto fvulto at gmail.com
Wed Feb 24 21:45:55 UTC 2010


This is the thread:

   http://www.mail-archive.com/bug-bash@gnu.org/msg07023.html

Looks like we can/should use this for bash-4:

   echo 'set echo-control-characters on' >> ~/.inputrc
   bind 'set echo-control-characters on'

but need another solution for bash-3.  I did a short try with the workaround,
like this: 

   # Send QUIT/INT
   send \031
   send \003
   send "sync001"
   expect -re ".*sync001$prompt$"

but for some reason the "sync001" interferes with the output.  Otherwise we
should maintain the `sleep .1' just for bash-3?



More information about the Bash-completion-devel mailing list