Mercurial > emacs
comparison src/term.c @ 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 | f85f23c50344 |
children | db5deab8a955 |
comparison
equal
deleted
inserted
replaced
12411:884975f72dd5 | 12412:7f2c068121d8 |
---|---|
1694 It lacks the ability to position the cursor.\n\ | 1694 It lacks the ability to position the cursor.\n\ |
1695 If that is not the actual type of terminal you have, use either the\n\ | 1695 If that is not the actual type of terminal you have, use either the\n\ |
1696 DCL command `SET TERMINAL/DEVICE= ...' for DEC-compatible terminals,\n\ | 1696 DCL command `SET TERMINAL/DEVICE= ...' for DEC-compatible terminals,\n\ |
1697 or `define EMACS_TERM \"terminal type\"' for non-DEC terminals.\n", | 1697 or `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\ | |
1702 It lacks the ability to position the cursor.\n\ | |
1703 If that is not the actual type of terminal you have,\n\ | |
1704 use the Bourne shell command `TERM=... export TERM' (C-shell:\n\ | |
1705 `setenv TERM ...') to specify the correct type. It may be necessary\n\ | |
1706 to 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\ |
1701 It lacks the ability to position the cursor.\n\ | 1710 It lacks the ability to position the cursor.\n\ |
1702 If that is not the actual type of terminal you have,\n\ | 1711 If that is not the actual type of terminal you have,\n\ |
1703 use the Bourne shell command `TERM=... export TERM' (C-shell:\n\ | 1712 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\ |
1705 to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", | 1714 to 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."); |
1711 | 1721 |
1712 delete_in_insert_mode | 1722 delete_in_insert_mode |