stern@bnl.UUCP (eric) (05/21/85)
I would like to attempt to port GNU emacs to run under VMS. The C library under VMS provides pretty good UNIX emulation so there are only a few system dependent things I need to worry about. 1) Terminal IO. Under 4.2, emacs uses SIGIO driven character input. I suppose it also runs in RAW mode. It is reasonably trivial to do the same kind of thing under VMS, but the mechanism of implementing is different. So, what I need is find all the places that emacs does ioctl's, fctrl's and read's from the terminal and change them to the approprate thing under VMS. Can anyone give me any clues as to where in the code this sort of thing gets done? Is it just one place, or is all over? 2) Signals. The signal routines supplied with VMS C operate more like Version 7, than the 4.2 specific signal routines. What signals does emacs use, and how. Does it use the 4.2 specific signals, or does it use the V7 compatability signal functions? 3) Stat. Stat is not supported under VMS, so if emacs uses stat, I will have to arrange a work around. Where does emacs use stat, and what for? Well that about covers my questions. Ordinary file IO, and standard IO work the same under VMS so that should be no problem. Have I missed anything else that would be important? Of course, if I succeed, I will arrange some way to distribute the result free. Flames about VMS will be ignored, since I know more about it that you do. Thanks for your patience, Eric G. Stern stern@bnl.arpa ...!philabs!sbcs!bnl!stern