1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

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
This commit is contained in:
David E. O'Brien 2001-04-11 16:47:56 +00:00
parent 0773c869d7
commit 906c6edb8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41295
3 changed files with 42 additions and 0 deletions

View File

@ -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 },

View File

@ -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 },

View File

@ -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 },