[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] key bindings proposal
From: |
frederik |
Subject: |
Re: [Bug-readline] key bindings proposal |
Date: |
Thu, 19 May 2016 20:34:31 -0700 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
Hi Chet,
Thanks for explaining your views.
Bash has a facility which I believe is based on binding a key to a
string which is executed as if entered at the prompt, is that correct?
Or were you referring to something else?
Frederick
On Thu, May 19, 2016 at 02:53:02PM -0400, Chet Ramey wrote:
> On 5/2/16 5:10 PM, address@hidden wrote:
> > Dear Bug-Readline / Chet,
> >
> > I've been thinking that it would be good if it were possible for users
> > to bind key combinations to 'system()' commands in .inputrc. Is this a
> > possible improvement for which a patch would be accepted?
>
> I'd like to see a couple of different implementations of this before
> putting it into Readline proper (since it would require extensive
> changes to binding and key sequence types). Bash has one, and it works
> pretty well. You could use that as a basis for a separate implementation
> that would help flesh out the idea and identify any limitations in the
> current Readline support.
>
> Chet
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
>