bugGNU Octave - Bugs: bug #41828, Command Window display hangs when...

 
 

bug #41828: Command Window display hangs when options for less, forward, quit appear

Submitter:  None
Submitted:  Tue 11 Mar 2014 04:02:47 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Deuterium Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 29 Aug 2014 05:24:42 PM UTC, comment #7: 

I am running the experimental 3.8.2 build on Windows 7 and observed the behavior described by the OP.

The cause of the problem is that I have a version of less.exe that got used rather than the less.exe from Octave-3.8.2\bin.  I am sure lots of people have some version of less.exe or more.exe.

Once I renamed the other version of less.exe the paging works w/o problem.

May be the Octave exe file should alter PATH so that files in bin directory are located before other files on the PATH.

Hern Chen <hernchen>
Sat 19 Apr 2014 07:12:37 PM UTC, comment #6: 

No response from the OP for over a month, we have to assume this was under cygwin and running octave-gui directly. If this problem occurs again and we can get some more information, feel free to reopen this report.

Mike Miller <mtmiller>
Group Member
Mon 07 Apr 2014 05:42:27 PM UTC, comment #5: 

If it is cygwin, then I'd guess you have to run octave, and not octave-gui.  That way the wrapper program (octave) can give up the controlling terminal and then exec the GUI.  That's the way things have to work on Unixy systems, and I assume that Cygwin behaves similarly.

For windows, there is no controlling terminal so you can run the octave-gui program directly.

If this is so, then the Cygwin distribution should not be installing the octave-gui program in the bin directory but should hide that in the lib directory the same as we do for other Unixy systems.

John W. Eaton <jwe>
Group administrator
Mon 07 Apr 2014 05:31:11 PM UTC, comment #4: 

Works for me with a 3.8.1 MXE build on plain Windows.

I think on plain Windows the "progenitor" is cmd32.exe. That'll show up even if octave-gui.exe is launched directly.

Philip Nienhuis <philipnienhuis>
Group Member
Wed 26 Mar 2014 01:31:21 AM UTC, comment #3: 

If the OP is monitoring this bug report, can you confirm whether you were running Octave in a vanilla Windows environment or in Cygwin? And how Octave is being launched?

Cygwin is blend of Windows and Unix that I don't fully understand, but if I recall the right way to launch the GUI on Windows is using the octave-gui executable directly, while on Linux and Unix that does not work, the octave wrapper executable should be used. Based on comment #2, it looks like it's behaving like Unix in this regard, and that is the same behavior I see on Linux.

Mike Miller <mtmiller>
Group Member
Sun 16 Mar 2014 11:44:03 AM UTC, comment #2: 

I noted the same defect on cygwin when running directly
  octave-gui
while using
  octave --force-gui
shows no issue.

Running octave-gui directly causes the input of less
to be taken from the progenitor of octave-gui, usually
a shell in xterm, and not from the octave-gui window.


NOT WORKING
$ pstree -A
?-+-XWin---<defunct>
  |-sh---xterm---bash---pstree
  `-xterm---bash---octave-gui

WORKING
$ pstree -A
?-+-XWin---<defunct>
  |-sh---xterm---bash---pstree
  `-xterm---bash---octave-3.8.1---octave-gui


marco atzeri <matzeri>
Wed 12 Mar 2014 01:07:54 PM UTC, comment #1: 

A workaround is to turn off the pager with "more off" or "page_screen_output (false)".

Can someone running a current stable mxe build on Windows test this?

Mike Miller <mtmiller>
Group Member
Tue 11 Mar 2014 04:02:47 AM UTC, original submission:  

When displaying a matrix with more than 20 lines, the command window hangs and will not except any choice (f, less, q, etc). Must kill entire application and restart. Window works OK if all displayed variables do not trigger the automated scroll mechanism.

Anonymous

 

(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 hernchen (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by matzeri (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-19 mtmiller StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2014-03-12 mtmiller StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code