aboutsummaryrefslogtreecommitdiff
path: root/shells/bash2
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-08-06 07:22:41 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-08-06 07:22:41 +0000
commitdfa32123f51f2e83a8e08da7dc4eafaa1865e233 (patch)
tree3b5783bae0c1739931829fa55bb62f2e1008121f /shells/bash2
parent1659aea7bbe8eee98ce48bce3a2ccafc9e8e2cdd (diff)
downloadports-dfa32123f51f2e83a8e08da7dc4eafaa1865e233.tar.gz
ports-dfa32123f51f2e83a8e08da7dc4eafaa1865e233.zip
Notes
Diffstat (limited to 'shells/bash2')
-rw-r--r--shells/bash2/files/patch-bind.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/bash2/files/patch-bind.c b/shells/bash2/files/patch-bind.c
new file mode 100644
index 000000000000..f2e14e4e0cc4
--- /dev/null
+++ b/shells/bash2/files/patch-bind.c
@@ -0,0 +1,16 @@
+*** lib/readline/bind.c.orig Thu Jan 24 11:15:52 2002
+--- lib/readline/bind.c Wed Jul 31 09:11:18 2002
+***************
+*** 312,316 ****
+ and the function bound to `a' to be executed when the user
+ types `abx', leaving `bx' in the input queue. */
+! if (k.function /* && k.type == ISFUNC */)
+ {
+ map[ANYOTHERKEY] = k;
+--- 312,316 ----
+ and the function bound to `a' to be executed when the user
+ types `abx', leaving `bx' in the input queue. */
+! if (k.function && ((k.type == ISFUNC && k.function != rl_do_lowercase_version) || k.type == ISMACR))
+ {
+ map[ANYOTHERKEY] = k;
+