and maybe this should be the default behaviour unless some specific
circumstances are met (e.g. reading from an actual file rather than a
pipe, or only when not using stdin). Is anyone here familiar with the
Emacs specific behaviour in bash?
I suppose if interactive is forced, and the input is a pipe (or otherwise
not seekable, but not a tty), and we're running under emacs, bash could
perform single-character reads, but it seems like an awfully special case
compensating for some strange circumstances.
The only `emacs-specific' behavior here is turning off readline, as if
--noediting had been supplied. The real oddity is trying to use interactive
mode without a tty, for which I never did get a reason.
I didn't hear anything back on this, so I made the change I described
above.It will appear in the devel branch in a future push.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/