diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-02 01:33:28 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-02 01:33:28 +0000 |
| commit | c6acecdc95de9195b46a1767ec6318818c52726c (patch) | |
| tree | eab6a15f7e9cd40928ea07e3ce7ef065405c3146 /lib/libedit/term.c | |
| parent | 21abf3d3ce98c4cc184386997d3ce101899920ed (diff) | |
Notes
Diffstat (limited to 'lib/libedit/term.c')
| -rw-r--r-- | lib/libedit/term.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 4971ef1d8928..053f052b1d1a 100644 --- a/lib/libedit/term.c +++ b/lib/libedit/term.c @@ -135,6 +135,12 @@ private struct { #ifdef B38400 { "38400", B38400 }, #endif +#ifdef B57600 + { "57600", B57600 }, +#endif +#ifdef B115200 + { "115200", B115200 }, +#endif { NULL, 0 } }; @@ -834,7 +840,11 @@ term_set(el, term) if (i <= 0) { if (i == -1) +#ifdef __FreeBSD__ + (void) fprintf(el->el_errfile, "Cannot open /usr/share/misc/termcap.\n"); +#else (void) fprintf(el->el_errfile, "Cannot open /etc/termcap.\n"); +#endif else if (i == 0) (void) fprintf(el->el_errfile, "No entry for terminal type \"%s\"\n", term); |
