[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] do not bind \340 key sequence in readline
From: |
Michael Goffioul |
Subject: |
[Patch] do not bind \340 key sequence in readline |
Date: |
Mon, 5 Nov 2007 18:44:05 +0100 |
Please consider the following patch. This avoids binding \340 key
in readline. This key code corresponds indeed to 'à'. I modified the
readline code I use for MSVC binary package, so it's no problem.
However, this might have an impact on mingw version.
Michael.
script/ChangeLog
2007-11-05 Michael Goffioul <address@hidden>
* startup/inputrc: do not use \340 code in key binding, because
it corresponds to 'à' key under Windows
Index: scripts/startup/inputrc
===================================================================
RCS file: /cvs/octave/scripts/startup/inputrc,v
retrieving revision 1.2
diff -c -r1.2 inputrc
*** scripts/startup/inputrc 7 Dec 2006 01:17:27 -0000 1.2
--- scripts/startup/inputrc 5 Nov 2007 17:35:56 -0000
***************
*** 10,16 ****
## sequence for the UP arrow.
"\e[A": history-search-backward
- "\340H": history-search-backward
## history-search-forward:
##
--- 10,15 ----
***************
*** 20,23 ****
## sequence for the DOWN arrow.
"\e[B": history-search-forward
- "\340P": history-search-forward
--- 19,21 ----
- [Patch] do not bind \340 key sequence in readline,
Michael Goffioul <=