Mercurial > emacs
changeset 12412:7f2c068121d8
(term_init): Alternative error messages for TERMCAP/TERMINFO.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 28 Jun 1995 10:05:35 +0000 |
parents | 884975f72dd5 |
children | a580af99789c |
files | src/term.c |
diffstat | 1 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Wed Jun 28 10:02:03 1995 +0000 +++ b/src/term.c Wed Jun 28 10:05:35 1995 +0000 @@ -1696,7 +1696,16 @@ DCL command `SET TERMINAL/DEVICE= ...' for DEC-compatible terminals,\n\ or `define EMACS_TERM \"terminal type\"' for non-DEC terminals.\n", terminal_type); -#else +#else /* not VMS */ +# ifdef TERMINFO + fatal ("Terminal type \"%s\" is not powerful enough to run Emacs.\n\ +It lacks the ability to position the cursor.\n\ +If that is not the actual type of terminal you have,\n\ +use the Bourne shell command `TERM=... export TERM' (C-shell:\n\ +`setenv TERM ...') to specify the correct type. It may be necessary\n\ +to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.\n", + terminal_type); +# else /* TERMCAP */ fatal ("Terminal type \"%s\" is not powerful enough to run Emacs.\n\ It lacks the ability to position the cursor.\n\ If that is not the actual type of terminal you have,\n\ @@ -1704,7 +1713,8 @@ `setenv TERM ...') to specify the correct type. It may be necessary\n\ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", terminal_type); -#endif +# endif /* TERMINFO */ +#endif /*VMS */ if (FRAME_HEIGHT (selected_frame) <= 0 || FRAME_WIDTH (selected_frame) <= 0) fatal ("The frame size has not been specified.");