helpThe GNU Readline library - Support: sr #107885, In vi mode, a . (dot) command does...

 
 

sr #107885: In vi mode, a . (dot) command does not repeat previous R command

Submitted by:  Geoff Clare <geoffclare>
Submitted on:  Wed 23 Nov 2011 05:35:26 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 26 Nov 2011 03:16:47 AM UTC, comment #1:

Thanks for the report. This required rather more of an involved patch than I figured at first. It will be fixed in the next release of readline.

Please cc -unavailable- next time. It was only by chance that I noticed this.

Chet Ramey <chet>
Project Administrator
Wed 23 Nov 2011 05:35:26 PM UTC, original submission:

In bash with "set -o vi" in effect, typing:

$ echo foo foo

then pressing:

RETURN ESC - f f R b a r ESC ; .

should result in the line showing "echo bar bar" and command mode in effect, but instead the result of the final . is that no change is made to the second foo and insert mode is in effect.

Tested on Debian 6.0.3 with packages bash 4.1-3 and libreadline6 6.1-3

Geoff Clare <geoffclare>

 

(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 chet (Posted a comment)
  • -unavailable- added by geoffclare (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 logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup