annotate scripts/startup/inputrc @ 19628:fe689210525c gui-release

maint: Periodic merge of stable to gui-release.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:05:42 -0500
parents 3ed674758e0d 446c46af4b42
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5316
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
1 ## This file configures the behavior of line-input editing for all
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
2 ## Octave users when Octave is configured to use GNU Readline library
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
3 ## for input-line editing.
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
4
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
5 ## history-search-backward:
19627
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 16650
diff changeset
6 ##
5316
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
7 ## Search backward through the history for the string of characters
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
8 ## between the start of the current line and the point. This is a
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
9 ## non-incremental search. Bound to "\e[A", the ANSI escape
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
10 ## sequence for the UP arrow.
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
11
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
12 "\e[A": history-search-backward
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
13
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
14 ## history-search-forward:
19627
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 16650
diff changeset
15 ##
5316
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
16 ## Search forward through the history for the string of characters
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
17 ## between the start of the current line and the point. This is a
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
18 ## non-incremental search. Bound to "\e[B", the ANSI escape
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
19 ## sequence for the DOWN arrow.
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
20
aaa6df7aa13a [project @ 2005-04-28 15:01:33 by jwe]
jwe
parents:
diff changeset
21 "\e[B": history-search-forward
16650
18d3c1b981e7 disable \C-v keybinding
John W. Eaton <jwe@octave.org>
parents: 7106
diff changeset
22
18d3c1b981e7 disable \C-v keybinding
John W. Eaton <jwe@octave.org>
parents: 7106
diff changeset
23 ## Disable so the usual paste shortcut will work on Windows systems.
18d3c1b981e7 disable \C-v keybinding
John W. Eaton <jwe@octave.org>
parents: 7106
diff changeset
24 ## \C-q should still be available for quoted insert.
18d3c1b981e7 disable \C-v keybinding
John W. Eaton <jwe@octave.org>
parents: 7106
diff changeset
25
18d3c1b981e7 disable \C-v keybinding
John W. Eaton <jwe@octave.org>
parents: 7106
diff changeset
26 "\C-v": ""
19125
3ed674758e0d Disable bell in Windows (Bug #42268)
John Donoghue <john.donoghue@ieee.org>
parents: 16650
diff changeset
27
3ed674758e0d Disable bell in Windows (Bug #42268)
John Donoghue <john.donoghue@ieee.org>
parents: 16650
diff changeset
28 ## In windows, disable audiable bell which is enabled by default
3ed674758e0d Disable bell in Windows (Bug #42268)
John Donoghue <john.donoghue@ieee.org>
parents: 16650
diff changeset
29 $if term=cygwin
3ed674758e0d Disable bell in Windows (Bug #42268)
John Donoghue <john.donoghue@ieee.org>
parents: 16650
diff changeset
30 set bell-style none
3ed674758e0d Disable bell in Windows (Bug #42268)
John Donoghue <john.donoghue@ieee.org>
parents: 16650
diff changeset
31 $endif