bugGNU Octave - Bugs: bug #47877, command line freezes with display...

 
 

bug #47877: command line freezes with display of line1-17/17 (end)

Submitted by:  None
Submitted on:  Mon 09 May 2016 01:17:18 AM UTC  
 
Category: PerformanceSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: AdamOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.1
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 09 May 2016 02:47:40 PM UTC, comment #2:

This is not a bug. The pager ‘less’ is used to display long outputs by default. If you press ‘q’ it will exit and return to your prompt. If you don't want to use the pager, use the command “more off” when starting Octave.

Mike Miller <mtmiller>
Project Administrator
Mon 09 May 2016 01:55:11 AM UTC, comment #1:

It works ok for me!!
octave 4.1.0+
ubuntu 15.10

Elapsed time is 0.045119 seconds.
B =

Columns 1 through 4:

0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000
0.000000000000000 -1.803476763811556 -0.052252043185187 1.998637198358258
0.000000000000000 -0.707474717123402 2.038042824769158 -1.060741622696704
0.000000000000000 -0.155816340519223 -0.014464516649241 -1.033619363394236
0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000

Column 5:

0.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000

Doug Stewart <dastew>
Mon 09 May 2016 01:17:18 AM UTC, original submission:

after running the code below:
clear all;
close all;
clc;
n=5;
A=zeros(n,n);
B=zeros(n,n);
A=rand(n,n)
i=2:n-1;
j=2:n-1;
tic;
B(j,i)=A(j+1,i)-2A(j,i)+A(j-1,i)+A(j,i+1)-2A(j,i)+A(j,i-1);
toc
B
and executing the script, the command window freezes after displaying the matrix and printing line 1-17/17 (end)
I cannot continue programming until I press cntrl-c twice to shut down octave and restarting octave again. Is there a work around this...It is very common when displaying matrix.

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)
  • -unavailable- added by dastew (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 09 May 2016 02:47:40 PM UTCmtmillerStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1