bugGNU Octave - Bugs: bug #37468, Octave hangs when using F instead...

 
 

bug #37468: Octave hangs when using F instead of f for More or Less

Submitter:  Doug Stewart <dastew>
Submitted:  Sun 30 Sep 2012 01:43:50 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Duplicate Assigned to:  None
Originator Name:  Doug Stewart Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 28 Jul 2013 07:42:16 PM UTC, comment #6: 

Update: duplicate of bug #37672. Closing this bug as I've now copied the information about less not receiving a SIGINT to that bug report.

Mike Miller <mtmiller>
Group Member
Sun 30 Sep 2012 12:36:17 PM UTC, comment #5: 

I think this is really a duplicate of #36986. Less is behaving correctly but you need Ctrl-C to work to exit out of "tail" mode, otherwise it will intentionally block forever.

Mike Miller <mtmiller>
Group Member
Sun 30 Sep 2012 04:25:15 AM UTC, comment #4: 

I am using "less"

Doug Stewart <dastew>
Sun 30 Sep 2012 04:17:56 AM UTC, comment #3: 

Confirmed on development build 2fa06d83263a.

Which pager are you using?  Try typing PAGER at the Octave prompt to find out.  When I use 'less' I see the problem that you do.  According to the man page for 'less', the key 'F' is a command.


F
 Scroll forward, and keep trying to read when the end of file is reached. Normally this command would be used when already at the end of the file. It is a way to monitor the tail of a file which is growing while it is being viewed. (The behavior is similar to the "tail -f" command.)


My guess is that less tries to do a read and there is no more data and so the process blocks.

I have no problems if I use 'more'.


PAGER ("more");
PAGER_FLAGS (" ");


A good test case is 'help eigs' because this has a long docstring which invokes the pager.

Rik <rik5>
Group administrator
Sun 30 Sep 2012 02:07:49 AM UTC, comment #2: 

OK just GUI

Doug Stewart <dastew>
Sun 30 Sep 2012 01:56:17 AM UTC, comment #1: 

Please avoid using the term "GUIDE" to refer to Octave's graphical interface.  Using that term just invites confusion among our users because Matlab has something called "GUIDE" that is used for building programs that have graphical interfaces.

John W. Eaton <jwe>
Group administrator
Sun 30 Sep 2012 01:43:50 AM UTC, original submission:  

When trying  hg id
219479b461b8 tip

I accidently typed in F instead of f in the pager. and the GUIDE system froze and would not even close with the X or the close command. I had to use Ubuntu Kill command to get rid of it.

Doug Stewart <dastew>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by dastew (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-28 mtmiller StatusConfirmed Duplicate
        Open/ClosedOpen Closed
    2013-07-28 mtmiller Dependencies- Depends on bugs #37672
    2012-09-30 rik5 StatusNone Confirmed
    2012-09-30 jwe SummaryGUIDE system hangs when using F instead of f for More or Less Octave hangs when using F instead of f for More or Less

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code