Commit e12c1054 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(fatal): Print a newline at the end.

(term_init): Calls to fatal changed.
parent 1bad7c59
...@@ -1474,9 +1474,9 @@ term_init (terminal_type) ...@@ -1474,9 +1474,9 @@ term_init (terminal_type)
if (status < 0) if (status < 0)
{ {
#ifdef TERMINFO #ifdef TERMINFO
fatal ("Cannot open terminfo database file.\n"); fatal ("Cannot open terminfo database file");
#else #else
fatal ("Cannot open termcap database file.\n"); fatal ("Cannot open termcap database file");
#endif #endif
} }
if (status == 0) if (status == 0)
...@@ -1486,14 +1486,14 @@ term_init (terminal_type) ...@@ -1486,14 +1486,14 @@ term_init (terminal_type)
If that is not the actual type of terminal you have,\n\ If that is not the actual type of terminal you have,\n\
use the Bourne shell command `TERM=... export TERM' (C-shell:\n\ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
`setenv TERM ...') to specify the correct type. It may be necessary\n\ `setenv TERM ...') to specify the correct type. It may be necessary\n\
to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.\n", to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.",
terminal_type); terminal_type);
#else #else
fatal ("Terminal type %s is not defined.\n\ fatal ("Terminal type %s is not defined.\n\
If that is not the actual type of terminal you have,\n\ If that is not the actual type of terminal you have,\n\
use the Bourne shell command `TERM=... export TERM' (C-shell:\n\ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
`setenv TERM ...') to specify the correct type. It may be necessary\n\ `setenv TERM ...') to specify the correct type. It may be necessary\n\
to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.",
terminal_type); terminal_type);
#endif #endif
} }
...@@ -1602,7 +1602,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", ...@@ -1602,7 +1602,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n",
if (FRAME_HEIGHT (selected_frame) < 3 if (FRAME_HEIGHT (selected_frame) < 3
|| FRAME_WIDTH (selected_frame) < 3) || FRAME_WIDTH (selected_frame) < 3)
fatal ("Screen size %dx%d is too small.\n", fatal ("Screen size %dx%d is too small",
FRAME_HEIGHT (selected_frame), FRAME_WIDTH (selected_frame)); FRAME_HEIGHT (selected_frame), FRAME_WIDTH (selected_frame));
min_padding_speed = tgetnum ("pb"); min_padding_speed = tgetnum ("pb");
...@@ -1726,7 +1726,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", ...@@ -1726,7 +1726,7 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n",
It lacks the ability to position the cursor.\n\ It lacks the ability to position the cursor.\n\
If that is not the actual type of terminal you have, use either the\n\ If that is not the actual type of terminal you have, use either the\n\
DCL command `SET TERMINAL/DEVICE= ...' for DEC-compatible terminals,\n\ DCL command `SET TERMINAL/DEVICE= ...' for DEC-compatible terminals,\n\
or `define EMACS_TERM \"terminal type\"' for non-DEC terminals.\n", or `define EMACS_TERM \"terminal type\"' for non-DEC terminals.",
terminal_type); terminal_type);
#else /* not VMS */ #else /* not VMS */
# ifdef TERMINFO # ifdef TERMINFO
...@@ -1735,7 +1735,7 @@ It lacks the ability to position the cursor.\n\ ...@@ -1735,7 +1735,7 @@ It lacks the ability to position the cursor.\n\
If that is not the actual type of terminal you have,\n\ If that is not the actual type of terminal you have,\n\
use the Bourne shell command `TERM=... export TERM' (C-shell:\n\ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
`setenv TERM ...') to specify the correct type. It may be necessary\n\ `setenv TERM ...') to specify the correct type. It may be necessary\n\
to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.\n", to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.",
terminal_type); terminal_type);
# else /* TERMCAP */ # else /* TERMCAP */
fatal ("Terminal type \"%s\" is not powerful enough to run Emacs.\n\ fatal ("Terminal type \"%s\" is not powerful enough to run Emacs.\n\
...@@ -1743,13 +1743,13 @@ It lacks the ability to position the cursor.\n\ ...@@ -1743,13 +1743,13 @@ It lacks the ability to position the cursor.\n\
If that is not the actual type of terminal you have,\n\ If that is not the actual type of terminal you have,\n\
use the Bourne shell command `TERM=... export TERM' (C-shell:\n\ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
`setenv TERM ...') to specify the correct type. It may be necessary\n\ `setenv TERM ...') to specify the correct type. It may be necessary\n\
to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.",
terminal_type); terminal_type);
# endif /* TERMINFO */ # endif /* TERMINFO */
#endif /*VMS */ #endif /*VMS */
if (FRAME_HEIGHT (selected_frame) <= 0 if (FRAME_HEIGHT (selected_frame) <= 0
|| FRAME_WIDTH (selected_frame) <= 0) || FRAME_WIDTH (selected_frame) <= 0)
fatal ("The frame size has not been specified."); fatal ("The frame size has not been specified");
delete_in_insert_mode delete_in_insert_mode
= TS_delete_mode && TS_insert_mode = TS_delete_mode && TS_insert_mode
...@@ -1795,6 +1795,7 @@ fatal (str, arg1, arg2) ...@@ -1795,6 +1795,7 @@ fatal (str, arg1, arg2)
{ {
fprintf (stderr, "emacs: "); fprintf (stderr, "emacs: ");
fprintf (stderr, str, arg1, arg2); fprintf (stderr, str, arg1, arg2);
fprintf (stderr, "\n");
fflush (stderr); fflush (stderr);
exit (1); exit (1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment