Harald Koenig wrote:
> Hi,
>
> readline seems to output tgetstr("mm") even if stdout is not a terminal
> (e.g. pipe/backticks/...).
> IMHO this ESC sequence should only be output to terminal.
Readline never checks (and has never checked) whether or not it is
running on a terminal. That's the calling application's job. Readline
assumes that its output is connected to a terminal-like device.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-readline