[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] How to force GNU readline to call functions bound to

From: Mara Kim
Subject: Re: [Bug-readline] How to force GNU readline to call functions bound to 'C-d' even when line is empty
Date: Sun, 14 Jul 2013 18:52:17 -0500

I realized you would also want this info:

Readline version:
GNU Readline 6.2

Machine info:
3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:39:32 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

On Sun, Jul 14, 2013 at 5:13 PM, Mara Kim <address@hidden> wrote:
Hi bug-readline!

I asked this question over on Stack Overflow (http://stackoverflow.com/questions/17608865/how-to-force-gnu-readline-to-call-bound-functions-when-line-is-blank), but figured it would be a good idea to get some insight from the developers.

I am trying to bind C-d to a function (specifically, setting an exit flag).  It works, but only when the current line is not blank.  It appears that this behaviour is specific to C-d, as I have no issues when I bind other keys.

See the Stack Overflow link for a short example which demonstrates this behaviour.

On a side note, excellent work on the library.  I am extremely impressed at how easy it is to integrate such powerful functionality into my programs.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]