[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ctrl-C in octave
From: |
Ted Harding |
Subject: |
Ctrl-C in octave |
Date: |
Thu, 25 Jul 1996 17:05:00 +0100 (GMT+0100) |
Hi all,
Been meaning to ask this for some time ...
I have trouble interrupting a running octave program with Ctrl-C.
Sometimes it works, mostly it doesn't (especially for "heavy" programs).
Undoubtedly octave "sees" the Ctrl-C, because a "line-feed" occurs, i.e.
the screen moves up a line leaving a blank line below; but the program
continues.
Am I right in guessing that this failure to stop the program on Ctrl-C
occurs if the program is in an inner loop, or evaluating a function call,
i.e. not at its "top level" when Ctrl-C is pressed?
(octave is running on Linux; this behaviour is independent of kernel
version).
It would be very nice if things could be arranged so that Ctrl-C would
stop the program in fairly short order: I quite often want to quit out of
a trial run giving unwanted results, when left to itself the program will
run for another 20 minutes or more (on a Pentium-120!)
Any comments?
Thanks, and best wishes to all,
Ted. (address@hidden)
- Ctrl-C in octave,
Ted Harding <=