Hello,
I apologize that I post a followup to my own message, but I have made a
silly mistake:
On Sun, Apr 16, 2006 at 09:21:13PM +0200, Stepan Kasal wrote:
> > iii) maybe, 242 should be:
> > if (isatty (STDIN_FILENO) && isatty (STDOUT_FILENO))'?
>
> This still would not be enough for autom4te. If it is going to make
> a freezed file, if first runs m4 with output set to stdout, to make sure
> that the ``macro definitions'' produce no output.
Of course the proposed help is enough; perl captures the output of the
command, it doesn't go to a terminal.
So if were so kind to add the above change, autom4te could happily remove
the old hack, without any need for `-b'.
(The change means that
m4 input_file | less
will now be buffered and interruptible, but I presume it's OK.)
Thank you,
Stepan Kasal
_______________________________________________
M4-discuss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-discuss