diff scripts/startup/inputrc @ 5316:aaa6df7aa13a

[project @ 2005-04-28 15:01:33 by jwe]
author jwe
date Thu, 28 Apr 2005 15:01:34 +0000
parents
children 15b299f6803d
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/scripts/startup/inputrc
@@ -0,0 +1,21 @@
+## This file configures the behavior of line-input editing for all
+## Octave users when Octave is configured to use GNU Readline library
+## for input-line editing.
+
+## history-search-backward:
+## 
+##   Search backward through the history for the string of characters
+##   between the start of the current line and the point.  This is a
+##   non-incremental search.  Bound to "\e[A", the ANSI escape
+##   sequence for the UP arrow.
+
+"\e[A": history-search-backward
+
+## history-search-forward:
+## 
+##   Search forward through the history for the string of characters
+##   between the start of the current line and the point.  This is a
+##   non-incremental search.  Bound to "\e[B", the ANSI escape
+##   sequence for the DOWN arrow.
+
+"\e[B": history-search-forward