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
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
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