bugGNU Octave - Bugs: bug #50100, GNU/Octave...

 
 

bug #50100: GNU/Octave "out-of-memory" when PAGER("more") set

Submitted by:  Alexander Steinmetz <alexander_st>
Submitted on:  Fri 20 Jan 2017 02:22:28 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Unexpected Error
Status: InvalidAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 20 Jan 2017 02:37:04 AM UTC, comment #2:

"page_screen_output(false)" did it!

Sorry for submitting under wrong mailing list! I am new with Octave community!

Thank you!

Alexander Steinmetz <alexander_st>
Fri 20 Jan 2017 02:28:16 AM UTC, comment #1:

I think you are looking for "more off" or "page_screen_output(false)".

This looks like a request for help, not a bug report, in the future please direct questions to the help mailing list, see http://www.octave.org/support for more information.

I don't think Octave's Windows distribution comes with a more executable at all, so this probably is not expected to work.

Mike Miller <mtmiller>
Project Administrator
Fri 20 Jan 2017 02:22:28 AM UTC, original submission:

Hi,
I have an issue with displaying arrays in the command window. The arrays are not long, typically 101-1001 elements. However, I want it to be displayed entirely as the script ran or on the call later. That was possible and easy done in MatLab versions. However, I've now switched to Octave and displaying the arrays is always interrupted by the PAGER when set to "less". In the case when it is set to "more" then an error message "out-of-memory" appears.
Again the array are small so I don't think it consumes lot of physical memory of the system and is rather limited by the display size of the Command Window. Below the example of the error occurrence:
(

>> length(Ne)

ans = 701

>> PAGER

ans = less
Ne =
Columns 1 through 7:
2.3611 2.3596 2.3582 2.3567 2.3553 2.3538
2.3524..... until "-- less -- (f)orward, (b)ack, (q)uit"

>> PAGER("more")
>> PAGER

ans = more

>> Ne

Not enough memory.
)

Is there a fix/solution for that?

Is there a way how to make paging in Octave, that it displays the arrays fully and automatically scrolls the Command Window?

Best regards,
Alexander

Alexander Steinmetz <alexander_st>

 

(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 alexander_st (Submitted the item)
  •  

    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
    Fri 20 Jan 2017 02:28:16 AM UTCmtmillerStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1