Mercurial > mxe-octave
annotate src/readline-1-binding.patch @ 4039:1c72016826aa
of-fl-core: update patch for --enable-64
* src/of-fl-core-1-fixes.patch: update patch
author | John Donoghue |
---|---|
date | Wed, 30 Sep 2015 14:11:45 -0400 |
parents | 4ce61d3172f0 |
children |
rev | line source |
---|---|
2980
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 diff -uNr a/readline.c b/readline.c |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 --- a/readline.c 2010-07-25 17:07:40.000000000 -0400 |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 +++ b/readline.c 2013-04-17 20:38:42.637674309 -0400 |
3152
4ce61d3172f0
[MSVC] align readline behavior to MinGW, remove _MSC_VER specifics
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3122
diff
changeset
|
4 @@ -1158,7 +1163,10 @@ |
2980
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 rl_bind_keyseq_if_unbound ("\340H", rl_get_previous_history); |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 rl_bind_keyseq_if_unbound ("\340P", rl_get_next_history); |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 rl_bind_keyseq_if_unbound ("\340M", rl_forward_char); |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 rl_bind_keyseq_if_unbound ("\340K", rl_backward_char); |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 + rl_bind_keyseq_if_unbound ("\340G", rl_beg_of_line); |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 + rl_bind_keyseq_if_unbound ("\340O", rl_end_of_line); |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 + rl_bind_keyseq_if_unbound ("\340S", rl_delete); |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 #endif |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 |
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 _rl_keymap = xkeymap; |