I have put together my own bash debugger (I like it better than the others I've seen), and wanted to have variable name auto completion in the 'read' built-in, just like it is in the base command line. Is there a reason that bash uses a readline that is differently configured in the 'read' builtin versus the full featured autocompletion available in readline at the command line? Would this be a difficult thing to implement?
-- Jeremy