josh@VX.LCS.MIT.EDU (Joshua Marantz) (12/03/88)
I have ported Gnu Emacs 18.52 to the X Window System under VAX/VMS. If you are running X or DECwindows, there are two advantages to using these modifications: 1. The LK-201 Compose key is a full Meta key. 2. Screen repaint is very much faster than in the terminal emulator. The VMS/X port required changes to the following files: compile.com, config.h, keyboard.c, s-vms.h, sysdep.c, temacs.opt, x11fns.c, x11term.c, and x11term.h. The reason that the changes were so extensive is that the Unix X11 port used Unix signals, fcntl, and sockets, rather than the X event queing mechanism. Unfortunately, to do a portable X port of Emacs would require changes to Emacs' input notification strategy. The VMS port of Emacs under X uses DECwindows asynchronous event notification support to hook into the existing VMS Emacs code for dealing with the keyboard using QIOs, ASTs, and event flags. The graphics output code did not have to be changed. In addition to the X modifications, I have added the "time-string" function to dired.c to allow the direx.el directory editing package to show modification times. I have also modified direx.el to work with VMS, though I have not tested every function. The advantage of direx over dired is that it uses system calls to read the directory, rather than spawning a subprocess. Is there interest in these changes? If so, what would be an appropriate way to post them? Diffs? Full source? Joshua Marantz Viewlogic Systems, Inc. (508) 480-0881 josh@vx.lcs.mit.edu
tower@BU-IT.BU.EDU (Leonard H. Tower Jr.) (12/13/88)
Return-Path: <josh@vx.lcs.mit.edu> Path: mit-eddie!mit-vax!josh From: josh@vx.lcs.mit.edu (Joshua Marantz) Newsgroups: comp.emacs,comp.windows.x Subject: VMS Gnu Emacs and the X Window System Date: 2 Dec 88 17:40:35 GMT Organization: MIT LCS, Cambridge, MA Apparently-To: emacs-netnews-distribution@prep.ai.mit.edu I have ported Gnu Emacs 18.52 to the X Window System under VAX/VMS. If you are running X or DECwindows, there are two advantages to using these modifications: 1. The LK-201 Compose key is a full Meta key. 2. Screen repaint is very much faster than in the terminal emulator. The VMS/X port required changes to the following files: compile.com, config.h, keyboard.c, s-vms.h, sysdep.c, temacs.opt, x11fns.c, x11term.c, and x11term.h. The reason that the changes were so extensive is that the Unix X11 port used Unix signals, fcntl, and sockets, rather than the X event queing mechanism. Unfortunately, to do a portable X port of Emacs would require changes to Emacs' input notification strategy. The VMS port of Emacs under X uses DECwindows asynchronous event notification support to hook into the existing VMS Emacs code for dealing with the keyboard using QIOs, ASTs, and event flags. The graphics output code did not have to be changed. In addition to the X modifications, I have added the "time-string" function to dired.c to allow the direx.el directory editing package to show modification times. I have also modified direx.el to work with VMS, though I have not tested every function. The advantage of direx over dired is that it uses system calls to read the directory, rather than spawning a subprocess. Is there interest in these changes? If so, what would be an appropriate way to post them? Diffs? Full source? Joshua Marantz Viewlogic Systems, Inc. (508) 480-0881 josh@vx.lcs.mit.edu