bugGNU Octave - Bugs: bug #47936, stuck in command window

 
 

bug #47936: stuck in command window

Submitted by:  None
Submitted on:  Mon 16 May 2016 02:32:36 PM UTC  
 
Category: PerformanceSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: AdamOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.2
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 16 May 2016 02:35:09 PM UTC, comment #1:

Thanks for the report. Octave uses the pager `less` by default when displaying output that fills the screen. Ctrl+C does not kill `less`, use the `q` key to exit the pager and return to the prompt. Use the command `more off` when you start Octave if you don't want to use the pager at all.

Mike Miller <mtmiller>
Project Administrator
Mon 16 May 2016 02:32:36 PM UTC, original submission:

After running the script below, the command window gets stuck. The only way I can get out of it is by pressing ctrl-c twice to exit gnu octave and restarting it again. Is there a work around this?

code:

j=1:3;
k=1:3;
n=3;
A=ones(n,n,n);
C(k,j,1)=A(k,j,1)+A(k,j,2);
C(k,j,1)
D(k,j,1)=sum(A,3);
D(k,j,1)

command window output:

ans =

2 2 2
2 2 2
2 2 2

ans =

3 3 3
3 3 3
3 3 3

lines 1-12/12 (END)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 May 2016 02:35:09 PM UTCmtmillerStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1