bugGNU Octave - Bugs: bug #45533, GUI should not run screen output...

 
 

bug #45533: GUI should not run screen output through the pager

Submitter:  Tim <timmmm>
Submitted:  Sun 12 Jul 2015 07:52:34 PM UTC
   
 
Category:  GUI Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Timmmm Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 14 Jul 2015 08:20:23 PM UTC, comment #3: 

I would like to vehemently say "no" to changing this default. You can also scroll back in a terminal. That's not the reason for why paging is the default.

It's the default because usually you don't want to have a ton of garbage in your output. It's not a matter of scrolling back. You just don't want to dump a large amount of output (and wait for it to dump!) if you accidentally miss a semicolon somewhere. The safe thing is to page.
 
I am going to aggressively mark this bug as invalid. Matlab does the wrong thing here by default.

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Mon 13 Jul 2015 12:58:26 PM UTC, comment #2: 

Thanks for the bug report. Confirm and I've thought about raising this issue.

Of course either way the default is set, someone will want it another way, and this is easily accomplished per-user or per-system with a startup file.

I have the following in my ~/.octaverc:


if (exist ("isguirunning") && isguirunning ())
  page_screen_output (false);
endif


Mike Miller <mtmiller>
Group Member
Sun 12 Jul 2015 08:00:40 PM UTC, comment #1: 

Workaround is to run `more off`. That should be the default.

Tim <timmmm>
Sun 12 Jul 2015 07:52:34 PM UTC, original submission:  

By default in Octave 4.0.0, when you run a command that outputs a lot of text it is displayed using the `less` command. This makes no sense at all because in the GUI it is trivial to scroll back. Also it interferes with running further commands (e.g. the Run Selection command seems to do nothing if you are blocked in `less`).

Suggested fix: Don't use `less` in the GUI.

Tim <timmmm>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by timmmm (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-14 jordigh StatusConfirmed Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2015-07-13 mtmiller Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupOther Feature Request
        StatusNone Confirmed
        Release4.0.0 dev
        SummaryLong output is run through less even in the GUI GUI should not run screen output through the pager

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code