octave 3.8.1 can't stop execution in gui command window

我的梦境 提交于 2021-02-18 09:53:29

问题


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:

  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



回答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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!