简体   繁体   中英

octave 3.8.1 can't stop execution in gui command window

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?

To stop a running command or script in octave GUI or prompt:

  1. Ctrl + C

you will see:

less -- (f)orward, (b)ack, (q)uit

To abort (and close the GUI or command line):

  1. Control + C

To just stop printing the output of the command or script (?):

  1. q
  2. Enter

这是一个长期运行的错误 ,自2012年以来一直没有修复,如果可能的话,运行--no-gui

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM