[comp.emacs] VMS Gnu Emacs and the X Window System

josh@mit-vax.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

jaa@mrmarx.UUCP (Jerry Abramson) (12/04/88)

In article <5188@mit-vax.LCS.MIT.EDU> josh@mit-vax.LCS.MIT.EDU (Joshua Marantz) writes:
>
>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:
....
....
>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

I am very interested in this, we have just upgraded to the Version 5 compatible
DecWindows and I would very much like X support for GnuEmacs.  I currently
have 18.51 running on VMS, if you could mail the diffs for 18.51->18.52 and
the diffs for 18.52->VMS X support I would be very grateful.

			Jerry Abramson
			Decision Software Company
			51 Spinelli Place
			Cambridge, MA  02138
			(617)-576-7800
			UUNET: uunet!mrmarx!jaa