[comp.unix.xenix] MicroEmacs Problems

milton@milton.acs.washington.edu (Stephen Milton) (02/02/90)

I am currently using an old version of Xenix/286 (2.2.3), and am 
trying to get MicroEmacs to compile...it seems to have problems
with a few of the files...does anyone know if there are major
incompatibility problems with xenix, or if there exists a patch
for xenix?  And if it isn't going to work...is there a simple
solution to gewtting emacs on my system?

Any help appreciated.

lance@embassy.UUCP (Lance N. Antrim) (02/03/90)

From article <1687@milton.acs.washington.edu>, by milton@milton.acs.washington.edu (Stephen Milton):
> 
> I am currently using an old version of Xenix/286 (2.2.3), and am 
> trying to get MicroEmacs to compile...it seems to have problems
> with a few of the files...does anyone know if there are major
> incompatibility problems with xenix, or if there exists a patch
> for xenix?  And if it isn't going to work...is there a simple
> solution to gewtting emacs on my system?
> 
> Any help appreciated.

Here are my notes of the changes I made to the vanilla Unix makefile
that came with microEmacs 3.10:

Changed Makefile libraries to add -lx, and to call the M_TERMCAP
	library instead of M_TERMINFO
Added XENIX to estruct.h in def's of ENVVAR and PATHCAR to mathc
	USG and BSD
Changed Nap() period from 35000L to 33 to get correct delay in testing
	where escape is a Meta- or an escape sequence.  This may be 
        incorrect for the Sun and earlier Xenix since I 
	don't know what `35000L' meant.
Changed path to `ndir.h' in bind.c to <sys/ndir.h>
Included header files <sys/types.h> and <sys/stat.h> to main.c{I think}

=====
I also compiled microEmacs using M_TERMINFO, and the -ltinfo -lx lines
in the Makefile, and that worked too.

Hope this helps,
Lance

-- 

Lance Antrim                            Project on Multilateral Negotiation
..!uunet!embassy!lance                  American Academy of Diplomacy
___________________________________________________________________________