aboutsummaryrefslogtreecommitdiffstats
path: root/shells/bash3/files
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-04-12 00:47:56 +0800
committerobrien <obrien@FreeBSD.org>2001-04-12 00:47:56 +0800
commitc1dd367ee79b8104714dd339bdb0a5ebac24ae43 (patch)
tree5e15f97e4ad0029cd8300a55d6e6209d74196ddc /shells/bash3/files
parentfb20ad50d02bcad38331f4b5c99aa7fcaa87fe46 (diff)
downloadfreebsd-ports-gnome-c1dd367ee79b8104714dd339bdb0a5ebac24ae43.tar.gz
freebsd-ports-gnome-c1dd367ee79b8104714dd339bdb0a5ebac24ae43.tar.zst
freebsd-ports-gnome-c1dd367ee79b8104714dd339bdb0a5ebac24ae43.zip
Our `end' key defintion for TERM==cons25 seems to be different from others.
So make the same localization here that ache made in src/contrib/libreadline/terminal.c rev 1.2. Submitted by: sobomax
Diffstat (limited to 'shells/bash3/files')
-rw-r--r--shells/bash3/files/patch-terminal.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/shells/bash3/files/patch-terminal.c b/shells/bash3/files/patch-terminal.c
new file mode 100644
index 000000000000..73e5c793650b
--- /dev/null
+++ b/shells/bash3/files/patch-terminal.c
@@ -0,0 +1,14 @@
+--- lib/readline/terminal.c.orig Tue Feb 6 12:39:22 2001
++++ lib/readline/terminal.c Wed Apr 11 09:43:44 2001
+@@ -297,7 +297,11 @@
+ { "im", &_rl_term_im },
+ { "kd", &_rl_term_kd },
+ { "kh", &_rl_term_kh }, /* home */
++#ifdef __FreeBSD__
++ { "@7", &_rl_term_kH }, /* end */
++#else
+ { "kH", &_rl_term_kH }, /* end */
++#endif
+ { "kl", &_rl_term_kl },
+ { "kr", &_rl_term_kr },
+ { "ku", &_rl_term_ku },