[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trapping SIGINT?
From: |
Stepan Kasal |
Subject: |
Re: Trapping SIGINT? |
Date: |
Mon, 17 Apr 2006 10:33:20 +0200 |
User-agent: |
Mutt/1.4.1i |
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