Here are the files that I added... mpe/src/Makefile mpe/src/tgetent.c mpe/src/tgetflag.c mpe/src/tgetnum.c mpe/src/tgetstr.c mpe/src/tgoto.c mpe/src/ty.c mpe/src/ty.o Most of them are termcap stubs that are implemented by calling the equivalent terminfo routine. The ty.c uses an MPE/iX intrinsic to allow switching HPTYPEAHEAD on or off. Here are the files that have been adjusted... Makefile.in config.guess config.sub configure install-sh Makefile.in info/terminal.c makeinfo/makeinfo.c makeinfo/Makefile.in The changes are fairly small, only a few lines per file, except for the configure script, that has been re-generated with MPE/iX specific callci-extensions by using GNU autoconf for MPE/iX. Download the gi-mpe.tar.Z and examine the mpe/diff* files for details. Below are only a few "more interesting" diff snippets: a) How to capture termcap routines "before" libcurses.a b) Where to enable HPTYPEAHEAD for single-byte reads of Esc stuff c) Disabling of setlocale() for LC_MESSAGES (not avail on MPE) Index: Makefile.in =================================================================== RCS file: /IX/TEXINFO/cvs/texinfo/info/Makefile.in$v retrieving revision 1.1.1.1 retrieving revision 1.1.1.3 diff -u -r1.1.1.1 -r1.1.1.3 --- Makefile.in 1998/12/19 16:03:16 1.1.1.1 +++ Makefile.in 1998/12/25 19:27:03 1.1.1.3 @@ -75,7 +75,7 @@ POFILES = @POFILES@ POSUB = @POSUB@ RANLIB = @RANLIB@ -TERMLIBS = @TERMLIBS@ +TERMLIBS = -lappel @TERMLIBS@ TEXCONFIG = @TEXCONFIG@ TEXMF = @TEXMF@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ @@ -98,7 +98,7 @@ # we need to override it, so include them ourselves. INCLUDES = -I. -I$(top_srcdir)/lib -I../intl -I.. -I$(srcdir) DEFS = -DINFODIR=\"$(infodir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ -LDADD = ../lib/libtxi.a @TERMLIBS@ @INTLLIBS@ +LDADD = ../lib/libtxi.a -lappel @TERMLIBS@ @INTLLIBS@ makedoc_SOURCES = makedoc.c ginfo_SOURCES = dir.c display.c display.h doc.c doc.h dribble.c dribble.h \ Index: terminal.c =================================================================== RCS file: /IX/TEXINFO/cvs/texinfo/info/terminal.c$v retrieving revision 1.1.1.1 retrieving revision 1.1.1.2 diff -u -r1.1.1.1 -r1.1.1.2 --- terminal.c 1998/12/19 16:03:24 1.1.1.1 +++ terminal.c 1998/12/25 19:28:20 1.1.1.2 @@ -87,6 +87,10 @@ static char *term_keypad_on, *term_keypad_off; +#ifdef mpeix +static int mpe_old_typeahead; +#endif + /* How to go up a line. */ static char *term_up; @@ -791,6 +795,10 @@ ttybuff.sg_flags |= CBREAK; ioctl (tty, TIOCSETN, &ttybuff); #endif /* !HAVE_TERMIOS_H && !HAVE_TERMIO_H */ + +#ifdef mpeix + mpe_old_typeahead = mpe_typeahead (1); +#endif } /* Restore the tty settings back to what they were before we started using @@ -799,6 +807,10 @@ terminal_unprep_terminal () { int tty; + +#ifdef mpeix + mpe_typeahead (mpe_old_typeahead); +#endif if (terminal_unprep_terminal_hook) { Index: makeinfo.c =================================================================== RCS file: /IX/TEXINFO/cvs/texinfo/makeinfo/makeinfo.c$v retrieving revision 1.1.1.1 retrieving revision 1.1.1.2 diff -u -r1.1.1.1 -r1.1.1.2 --- makeinfo.c 1998/12/19 16:03:34 1.1.1.1 +++ makeinfo.c 1998/12/25 16:58:53 1.1.1.2 @@ -945,7 +945,9 @@ /* Do not use LC_ALL, because LC_NUMERIC screws up the scanf parsing of the argument to @multicolumn. */ setlocale (LC_TIME, ""); +#ifndef mpeix setlocale (LC_MESSAGES, ""); +#endif #endif /* Set the text message domain. */