aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-28 10:05:35 +0000
committerRichard M. Stallman1995-06-28 10:05:35 +0000
commit37dad45a1a3ea75d63ee9ac002dec2f2a1484e74 (patch)
treea88d49fa08fa619a3dd08b8b6d4f8c6630a8b0af /src/term.c
parent7e721a4fba8eeb722904cf71e42cf8f3f56ac878 (diff)
downloademacs-37dad45a1a3ea75d63ee9ac002dec2f2a1484e74.tar.gz
emacs-37dad45a1a3ea75d63ee9ac002dec2f2a1484e74.zip
(term_init): Alternative error messages for TERMCAP/TERMINFO.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index 91ba9866fb3..c7eb2ca6c7d 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1696,7 +1696,16 @@ If that is not the actual type of terminal you have, use either the\n\
1696DCL command `SET TERMINAL/DEVICE= ...' for DEC-compatible terminals,\n\ 1696DCL command `SET TERMINAL/DEVICE= ...' for DEC-compatible terminals,\n\
1697or `define EMACS_TERM \"terminal type\"' for non-DEC terminals.\n", 1697or `define EMACS_TERM \"terminal type\"' for non-DEC terminals.\n",
1698 terminal_type); 1698 terminal_type);
1699#else 1699#else /* not VMS */
1700# ifdef TERMINFO
1701 fatal ("Terminal type \"%s\" is not powerful enough to run Emacs.\n\
1702It lacks the ability to position the cursor.\n\
1703If that is not the actual type of terminal you have,\n\
1704use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
1705`setenv TERM ...') to specify the correct type. It may be necessary\n\
1706to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.\n",
1707 terminal_type);
1708# else /* TERMCAP */
1700 fatal ("Terminal type \"%s\" is not powerful enough to run Emacs.\n\ 1709 fatal ("Terminal type \"%s\" is not powerful enough to run Emacs.\n\
1701It lacks the ability to position the cursor.\n\ 1710It lacks the ability to position the cursor.\n\
1702If that is not the actual type of terminal you have,\n\ 1711If that is not the actual type of terminal you have,\n\
@@ -1704,7 +1713,8 @@ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
1704`setenv TERM ...') to specify the correct type. It may be necessary\n\ 1713`setenv TERM ...') to specify the correct type. It may be necessary\n\
1705to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", 1714to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n",
1706 terminal_type); 1715 terminal_type);
1707#endif 1716# endif /* TERMINFO */
1717#endif /*VMS */
1708 if (FRAME_HEIGHT (selected_frame) <= 0 1718 if (FRAME_HEIGHT (selected_frame) <= 0
1709 || FRAME_WIDTH (selected_frame) <= 0) 1719 || FRAME_WIDTH (selected_frame) <= 0)
1710 fatal ("The frame size has not been specified."); 1720 fatal ("The frame size has not been specified.");