patchThe GNU Bourne-Again SHell - Patches: patch #7634, Print keyboard macros

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7634: Print keyboard macros

Submitted by:  Mitchel Humpherys <mitch_feaster>
Submitted on:  Fri 14 Oct 2011 08:53:37 AM UTC  
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 14 Oct 2011 08:53:37 AM UTC, original submission:

I was wondering a while back if one could somehow "view the source" of a keyboard macro (much like M-x edit-kbd-macro in emacs). The ability to do so would make it easier to save handy macros in ~/.inputrc.

I asked around the internet (see http://superuser.com/questions/293799/is-there-any-way-to-save-a-keyboard-macro-in-bash) and didn't find anything, so I dug into the source code and added it :).

I basically tried to do the "inverse" of rl_translate_keyseq from bind.c.

Another note, I'm usually not this "goto-happy", I swear, but in this case I think it really results in a cleaner solution.

Let me know what you think.

Mitchel Humpherys <mitch_feaster>

 

Attached Files
file #24144:  0001-initial-whack-at-printing-keyboard-macros.patch added by mitch_feaster (5KiB - text/x-patch - from git format-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by mitch_feaster (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-04 chet StatusNone => Done
    2011-10-14 mitch_feaster Attached File- => Added 0001-initial-whack-at-printing-keyboard-macros.patch, #24144

    Back to the top


    Powered by Savane 3.3