diff options
author | Kazutaka YOKOTA <yokota@FreeBSD.org> | 1999-07-14 10:53:41 +0000 |
---|---|---|
committer | Kazutaka YOKOTA <yokota@FreeBSD.org> | 1999-07-14 10:53:41 +0000 |
commit | de22efc974bc9214e7964b87d1d9479189b90c46 (patch) | |
tree | b90ce12ee436bbb6628155a4ed8af0a643bce5bc /sys/ddb/db_input.c | |
parent | cb435fa9192c863352e4183d10953e0566a2e0bd (diff) | |
download | src-de22efc974bc9214e7964b87d1d9479189b90c46.tar.gz src-de22efc974bc9214e7964b87d1d9479189b90c46.zip |
The following patch will remove a hack introduced in
/sys/ddb/db_input.c rev 1.19 to recognize syscons's cursor keycodes.
It is unnecessary now that scgetc() in syscons returns the escape
sequence for the cursor keys rather than their raw, internal key
codes.
Notes
Notes:
svn path=/head/; revision=48810
Diffstat (limited to 'sys/ddb/db_input.c')
-rw-r--r-- | sys/ddb/db_input.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c index 857afd637a73..a9797d286bd3 100644 --- a/sys/ddb/db_input.c +++ b/sys/ddb/db_input.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_input.c,v 1.22 1997/11/20 16:53:23 bde Exp $ + * $Id: db_input.c,v 1.23 1997/12/05 05:36:58 dyson Exp $ */ /* @@ -157,9 +157,6 @@ db_inputchar(c) case CTRL('['): escstate = 1; break; -#if __i386__ && __FreeBSD__ - case 591: /* syscons's idea of left arrow key */ -#endif case CTRL('b'): /* back up one character */ if (db_lc > db_lbuf_start) { @@ -167,9 +164,6 @@ db_inputchar(c) db_lc--; } break; -#if __i386__ && __FreeBSD__ - case 593: /* syscons's idea of right arrow key */ -#endif case CTRL('f'): /* forward one character */ if (db_lc < db_le) { @@ -227,9 +221,6 @@ db_inputchar(c) db_putnchars(BACKUP, db_le - db_lc); } break; -#if __i386__ && __FreeBSD__ - case 588: /* syscons's idea of up arrow key */ -#endif case CTRL('p'): /* Make previous history line the active one. */ if (db_lhistcur >= 0) { @@ -239,9 +230,6 @@ db_inputchar(c) goto hist_redraw; } break; -#if __i386__ && __FreeBSD__ - case 596: /* syscons's idea of down arrow key */ -#endif case CTRL('n'): /* Make next history line the active one. */ if (db_lhistcur < db_lhistidx - 1) { |