octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50045] page_output_immediately: quitting for


From: anonymous
Subject: [Octave-bug-tracker] [bug #50045] page_output_immediately: quitting for large outputs results in infinite loop
Date: Fri, 13 Jan 2017 10:14:44 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 OPR/42.0.2393.94

URL:
  <http://savannah.gnu.org/bugs/?50045>

                 Summary: page_output_immediately: quitting for large outputs
results in infinite loop
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 13 Jan 2017 10:14:43 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: MT
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Running a code

page_output_immediately(true)
disp(rand(5000,1)); % 5000 is OK

produces 5000 lines on screen. When I don't want to read them all I use q
(quit) to skip the remaining lines and everything is fine.

When running the same code with longer output (6000 lines) and using the q
option, I end up in an infinite loop printing "warning: broken pipe" on my
screen. It's pretty annoying, since it consumes whole RAM quickly, so I have
to kill the Octave process fast or the system becomes unresponsive.

page_output_immediately(true)
disp(rand(6000,1)); % 6000 is NOT OK

The problem is probably related to how Octave communicate with more/less in
Linux.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50045>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]