Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 542
wyverniv Avatar asked Oct 08 '15 03:10

wyverniv


Video Answer


3 Answers

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
like image 153
4 revs, 2 users 68% Avatar answered Oct 23 '22 17:10

4 revs, 2 users 68%


It's a long-running bug that hasn't been fixed since 2012, run with --no-gui if possible.

like image 1
Alexander Solovets Avatar answered Oct 23 '22 15:10

Alexander Solovets


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.

like image 1
Abhijit_STACK Avatar answered Oct 23 '22 15:10

Abhijit_STACK