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

 
 

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

Submitted by:  None
Submitted on:  Tue 11 Mar 2014 04:02:47 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: InvalidAssigned to: None
Originator Name: DeuteriumOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission 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>
Project Administrator
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>
Project 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>
Project 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>
Project Administrator
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>
Project Administrator
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 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 hernchen (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by matzeri (Posted a comment)
  • -unavailable- added by mtmiller (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Apr 2014 07:12:37 PM UTCmtmillerStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Wed 12 Mar 2014 01:07:54 PM UTCmtmillerStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1