bugGNU Octave - Bugs: bug #46352, Command prompt does not...

 
 

bug #46352: Command prompt does not autocomplete last command beginning with a string

Submitted by:  Francisco Vico <nightcod3r>
Submitted on:  Sun 01 Nov 2015 09:01:01 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidAssigned to: None
Originator Name: nightcod3rOpen/Closed: Closed
Release: 3.8.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 01 Nov 2015 07:10:06 PM UTC, comment #3:

The `-f` option skips loading all initialization files, including the default readline initialization file (/usr/share/octave/$VERSION/m/startup/inputrc). So what you are seeing is the expected behavior with the `-f` option.

Mike Miller <mtmiller>
Project Administrator
Sun 01 Nov 2015 06:44:53 PM UTC, comment #2:

Thanks for prompt reply. You're right, Mike, there's a difference in how both sessions did start. `octave -qf` does not show the auto-complete behavior, while `octave` does. But I fail to understand, since there's nothing in the ~/.octaverc file, so it does not affect the initialization.

Francisco Vico <nightcod3r>
Sun 01 Nov 2015 03:19:29 PM UTC, comment #1:

Hi, thanks for your bug report. This behavior works for me by default. Can you tell what is different between the two sessions of Octave that show different behavior? What options are you using to start Octave? Do you have a ~/.octaverc?

The relevant readline bindings are the following:

If you load the system /etc/inputrc or ~/.inputrc and use a different binding for the up and down arrow keys, you will get different behavior.

Mike Miller <mtmiller>
Project Administrator
Sun 01 Nov 2015 09:01:01 AM UTC, original submission:

I used to recover in Octave the last command beginning with a certain string by typing it and then pressing the up arrow key. Sometimes this behavior does not reproduce in the command line. Meaning, I type something, press up, and the very last command shows up, no matter if a previous one starting with that string is in the stack.

The behavior looks weird. I've been running the 3.8.1 release in two different tabs of the same Ubuntu terminal, one displaying the good-old behavior, the other not.

Francisco Vico <nightcod3r>

 

(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 mtmiller (Posted a comment)
  • -unavailable- added by nightcod3r (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 01 Nov 2015 07:10:06 PM UTCmtmillerStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Sun 01 Nov 2015 03:19:29 PM UTCmtmillerCategoryNone=>Interpreter
      StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1