[comp.emacs] HELP WANTED FOR MicroEMACS 3.7i for VMS!

earleh@dartvax.UUCP (Earle R. Horton) (11/09/86)

> 
> Hello!
> 
> I got the sources for microEMACS 3.7i, and I am trying to compile
> it for VMS 4.4 on a VAX 750. I am having trouble getting it to
> run, as it always dies on the "vtinit( )" routine, module DISPLAY.C
> 
-------stuff cut out to save wear and tear on mail system-------

> Would any kind soul that has 3.7i running on VMS offer some hints
> on the #define's and/or LINK problems? It is very strange because I
> got 3.6 up and running a while ago in about half an hour!
>  
> Thanks in advance...
> 
> Spiros Triantafyllopoulos, GM Research Labs
>                            Warren, MI. 48090
>                            Spiros@GMR.COM
> 
> PS: Also on the same subject, does anyone have the VT100/VT200 arrow
>     keys working?

See my reply to news article 1930 in this news group.  To summarize:

(1)  pipe() and getname() are VAX C RTL functions, change EVERY 
     occurence of pipe() and getname() in ALL of the source files
     to something else (do it with the pre-compiler if you can 
     figure out how)

(2)  in order to get vt100/vt200 keypad support, you have to hack 
     the getcmd() and get1key() routines in input.c.  the problem
     is that the vt100 commands are three characters, (e.g. "\033OM"
     is the <enter> key) and microEMACS only understands one-character
     prefix strings.  the fix is not hard, but I can send you a few 
     lines of code if you really need it.

(3)  use VMSVT 1, ANSI 0, and you get a program which can run a vt100,
     vt52, AND an adm3a (that's almost as good as /etc/termcap!)

Disclaimer:  I'd rather be driving a UNIX!