Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-spam!sri-unix!hplabs!decwrl!decvax!dartvax!earleh From: earleh@dartvax.UUCP (Earle R. Horton) Newsgroups: comp.emacs Subject: Re: HELP WANTED FOR MicroEMACS 3.7i for VMS! Message-ID: <5331@dartvax.UUCP> Date: Sun, 9-Nov-86 01:56:25 EST Article-I.D.: dartvax.5331 Posted: Sun Nov 9 01:56:25 1986 Date-Received: Tue, 11-Nov-86 01:03:19 EST References: <8611071407.AA07394@ucbvax.Berkeley.EDU> Organization: Dartmouth College, Hanover, NH Lines: 41 > > 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 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!