diff options
-rw-r--r-- | shells/bash/files/patch-terminal.c | 14 | ||||
-rw-r--r-- | shells/bash2/files/patch-terminal.c | 14 | ||||
-rw-r--r-- | shells/bash3/files/patch-terminal.c | 14 |
3 files changed, 42 insertions, 0 deletions
diff --git a/shells/bash/files/patch-terminal.c b/shells/bash/files/patch-terminal.c new file mode 100644 index 000000000000..73e5c793650b --- /dev/null +++ b/shells/bash/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 }, diff --git a/shells/bash2/files/patch-terminal.c b/shells/bash2/files/patch-terminal.c new file mode 100644 index 000000000000..73e5c793650b --- /dev/null +++ b/shells/bash2/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 }, 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 }, |