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

Submitter:  Mitchel Humpherys <mitch_feaster>
Submitted:  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 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>


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

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)

    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.


    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.13-4b48.
    Corresponding source code