diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1996-10-30 21:40:25 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1996-10-30 21:40:25 +0000 |
| commit | 75680b05c6efe55e93b863d2673eb9b36ac5fa6d (patch) | |
| tree | 7f91e449007a1047faa2d9f2c7a89b4278636efe /sys/ddb/db_input.c | |
| parent | eb651d9f73619faf4502ba8701fb14d3dd333267 (diff) | |
Notes
Diffstat (limited to 'sys/ddb/db_input.c')
| -rw-r--r-- | sys/ddb/db_input.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c index 5e737ca62c05..0b009e9c8a2b 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.13 1996/05/08 04:28:34 gpalmer Exp $ + * $Id: db_input.c,v 1.14 1996/08/10 13:38:44 joerg Exp $ */ /* @@ -219,6 +219,13 @@ db_inputchar(c) db_lc = db_le; goto redraw; + case -1: + /* + * eek! the console returned eof. + * probably that means we HAVE no console.. we should try bail + * XXX + */ + c = '\r'; case '\n': case '\r': *db_le++ = c; |
