diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1997-08-17 21:21:50 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1997-08-17 21:21:50 +0000 |
| commit | ce8a01541244874c5f79eb021cea11582757302d (patch) | |
| tree | 756a837e5f66fb02dc869e99dfc6de03036e3a2a /sys | |
| parent | 3dfd5a629525224dcd56857055803d95daa3bd0d (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/ddb/db_input.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c index 3d67c8c350c2..8b91cc14fb16 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.17 1997/02/22 09:28:23 peter Exp $ + * $Id: db_input.c,v 1.18 1997/04/12 17:35:02 joerg Exp $ */ /* @@ -158,6 +158,9 @@ db_inputchar(c) case CTRL('['): escstate = 1; break; +#if __i386__ && __FreeBSD__ + case 591: /* syscons's idea of an arrow key... */ +#endif case CTRL('b'): /* back up one character */ if (db_lc > db_lbuf_start) { @@ -165,6 +168,9 @@ db_inputchar(c) db_lc--; } break; +#if __i386__ && __FreeBSD__ + case 593: /* syscons's idea of an arrow key... */ +#endif case CTRL('f'): /* forward one character */ if (db_lc < db_le) { @@ -222,6 +228,9 @@ db_inputchar(c) db_putnchars(BACKUP, db_le - db_lc); } break; +#if __i386__ && __FreeBSD__ + case 588: /* syscons's idea of an arrow key... */ +#endif case CTRL('p'): /* Make previous history line the active one. */ if (db_lhistcur >= 0) { @@ -231,6 +240,9 @@ db_inputchar(c) goto hist_redraw; } break; +#if __i386__ && __FreeBSD__ + case 596: /* syscons's idea of an arrow key... */ +#endif case CTRL('n'): /* Make next history line the active one. */ if (db_lhistcur < db_lhistidx - 1) { |
