Mercurial > emacs
comparison src/dispnew.c @ 71944:270a672fc28c
(init_display): Mention DISPLAY as well as TERM in err msg.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 17 Jul 2006 20:59:18 +0000 |
parents | 347f809d2edb |
children | e89be002734a |
comparison
equal
deleted
inserted
replaced
71943:88ec0239376a | 71944:270a672fc28c |
---|---|
6823 #ifdef VMS | 6823 #ifdef VMS |
6824 fprintf (stderr, "Please specify your terminal type.\n\ | 6824 fprintf (stderr, "Please specify your terminal type.\n\ |
6825 For types defined in VMS, use set term /device=TYPE.\n\ | 6825 For types defined in VMS, use set term /device=TYPE.\n\ |
6826 For types not defined in VMS, use define emacs_term \"TYPE\".\n\ | 6826 For types not defined in VMS, use define emacs_term \"TYPE\".\n\ |
6827 \(The quotation marks are necessary since terminal types are lower case.)\n"); | 6827 \(The quotation marks are necessary since terminal types are lower case.)\n"); |
6828 #else | 6828 #else /* not VMS */ |
6829 fprintf (stderr, "Please set the environment variable TERM; see tset(1).\n"); | 6829 |
6830 #endif | 6830 #ifdef HAVE_WINDOW_SYSTEM |
6831 if (inhibit_window_system) | |
6832 fprintf (stderr, "Please set the environment variable TERM; see `tset'.\n"); | |
6833 else | |
6834 #endif /* HAVE_WINDOW_SYSTEM */ | |
6835 fprintf (stderr, "Please set the environment variable DISPLAY or TERM (see `tset').\n"); | |
6836 #endif /* not VMS */ | |
6831 exit (1); | 6837 exit (1); |
6832 } | 6838 } |
6833 | 6839 |
6834 #ifdef VMS | 6840 #ifdef VMS |
6835 /* VMS DCL tends to up-case things, so down-case term type. | 6841 /* VMS DCL tends to up-case things, so down-case term type. |