问题
I'm running octave 3.8 with the gui in Ubuntu 14.04. I have an infinite loop somewhere in my program and it seems like the terminal doesn't respond to the typical keypresses to stop execution. (eg. Ctrl+C, Ctrl+Z) When I run programs in the terminal, I can just press Ctrl+C, but that doesn't seem to work here. What can I do to halt execution?
回答1:
To stop a running command or script in octave GUI or prompt:
- Ctrl+C
you will see:
less -- (f)orward, (b)ack, (q)uit
To abort (and close the GUI or command line):
- Control+C
To just stop printing the output of the command or script (?):
- q
- Enter
回答2:
It's a long-running bug that hasn't been fixed since 2012, run with --no-gui
if possible.
回答3:
after going through lots of bugs report and all.
Finally by hitting (ctr + c + Enter) at command window (below the pause statment) execution gets terminated.
hope it works for u too.
来源:https://stackoverflow.com/questions/33006266/octave-3-8-1-cant-stop-execution-in-gui-command-window