[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can only interrupt once
In article <20000121054038.937961.FMU887@piglet.prv.splode.com>,
Noah Friedman <friedman@splode.com> writes:
> Has anyone else noticed this behavior?
> On linux (redhat 6.1), if I start es, I can hit C-c once to interrupt a
> process started by es. Afterward, sigint is forever ignored.
Hi Noah,
Until today, I had never seen this problem on Linux (mainly since I
don't use Linux day to day).
I have, however, seen this problem under OSF1 and other environments
depending on the exact commands.
For example:
; while {true}{true}
[manually hit C-c]
; while {true}{true}
[manually hit C-c]
appears to produce a hung es process for all machines on which I have
es compiled (in all cases, against the GNU readline library).
However, that case is somewhat pathological (and I just avoid it). On
FreeBSD and Solaris, as long as the predicate is not a built-in
command, terminal interruption appears to work properly multiple times
in a row. Thus:
; while {sleep 1}{true}
[manually hit C-c]
; while {sleep 1}{true}
[manually hit C-c]
Regards,
Loren