readline (in c)

Bill Oliver vendor at billoblog.com
Sat Sep 28 21:08:31 UTC 2013


On Sat, 28 Sep 2013, Patrick Dupre wrote:

> Hello,
>
> It is probably not the right list to post my question, just in case!
>
> I would like to catch the ESC or ctl C key when using readline.
>
> Is it possible?
>
> Thank
>


I'm not sure, but I think you can set behaviors for special keys in an inputrc file.

See: http://unixhelp.ed.ac.uk/CGI/man-cgi?readline+3

billo


More information about the users mailing list