Mercurial > emacs
diff src/dispnew.c @ 97142:c3512b2085a0
* bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.
* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.
* message.el (Module):
* gnus-start.el (Module):
* gnus-registry.el (Module):
* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.
* etags.c:
* emacsclient.c: Remove VMS support.
* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.
* ediff.texi: Remove VMS support.
* os.texi:
* intro.texi:
* files.texi: Remove VMS support.
* emacs.texi: Remove VMS support.
* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 31 Jul 2008 05:33:56 +0000 |
parents | 9592c50233ab |
children | fab72f02d115 |
line wrap: on
line diff
--- a/src/dispnew.c Thu Jul 31 02:47:32 2008 +0000 +++ b/src/dispnew.c Thu Jul 31 05:33:56 2008 +0000 @@ -6836,12 +6836,7 @@ if (! inhibit_window_system && ! display_arg) { char *display; -#ifdef VMS - display = getenv ("DECW$DISPLAY"); -#else display = getenv ("DISPLAY"); -#endif - display_arg = (display != 0 && *display != 0); if (display_arg && !x_display_ok (display)) @@ -6912,40 +6907,15 @@ #endif if (!terminal_type) { -#ifdef VMS - fprintf (stderr, "Please specify your terminal type.\n\ -For types defined in VMS, use set term /device=TYPE.\n\ -For types not defined in VMS, use define emacs_term \"TYPE\".\n\ -\(The quotation marks are necessary since terminal types are lower case.)\n"); -#else /* not VMS */ - #ifdef HAVE_WINDOW_SYSTEM if (! inhibit_window_system) fprintf (stderr, "Please set the environment variable DISPLAY or TERM (see `tset').\n"); else #endif /* HAVE_WINDOW_SYSTEM */ fprintf (stderr, "Please set the environment variable TERM; see `tset'.\n"); -#endif /* not VMS */ exit (1); } -#ifdef VMS - /* VMS DCL tends to up-case things, so down-case term type. - Hardly any uppercase letters in terminal types; should be none. */ - { - char *new = (char *) xmalloc (strlen (terminal_type) + 1); - char *p; - - strcpy (new, terminal_type); - - for (p = new; *p; p++) - if (isupper (*p)) - *p = tolower (*p); - - terminal_type = new; - } -#endif /* VMS */ - { struct terminal *t; struct frame *f = XFRAME (selected_frame);