Mercurial > emacs
comparison src/dispnew.c @ 91204:53108e6cea98
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 06 Dec 2007 09:51:45 +0000 |
parents | 880960b70474 77b991c8303d |
children | 606f2d163a64 |
comparison
equal
deleted
inserted
replaced
91203:db40129142b2 | 91204:53108e6cea98 |
---|---|
6891 { | 6891 { |
6892 fatal ("standard input is not a tty"); | 6892 fatal ("standard input is not a tty"); |
6893 exit (1); | 6893 exit (1); |
6894 } | 6894 } |
6895 | 6895 |
6896 #ifdef WINDOWSNT | |
6897 terminal_type = "w32console"; | |
6898 #else | |
6896 /* Look at the TERM variable. */ | 6899 /* Look at the TERM variable. */ |
6897 terminal_type = (char *) getenv ("TERM"); | 6900 terminal_type = (char *) getenv ("TERM"); |
6901 #endif | |
6898 if (!terminal_type) | 6902 if (!terminal_type) |
6899 { | 6903 { |
6900 #ifdef VMS | 6904 #ifdef VMS |
6901 fprintf (stderr, "Please specify your terminal type.\n\ | 6905 fprintf (stderr, "Please specify your terminal type.\n\ |
6902 For types defined in VMS, use set term /device=TYPE.\n\ | 6906 For types defined in VMS, use set term /device=TYPE.\n\ |