Micro Emacs on IRIS

Mike Goss goss at SNOW-WHITE.MERIT-TECH.COM
Sat Sep 1 05:30:53 AEST 1990


> I cannot get it to compile.  Has anyone out there gotten microemacs working
> on an IRIS?  Thanks in advance.
> --
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>  \ / \ / \ / \ / \ / \ /        Jeff Hanson            \ / \ / \ / \ / \ / \ / 
>   *   ViSC: Better    *  tohanson at gonzo.lerc.nasa.gov   *   *   *   *   *   *  
>  / \ / \ Science / \ / \  NASA Lewis Research Center   / \ / \ Through / \ / \ 
> *   *   *   *   *   *   *   Cleveland, Ohio 44135     *   *   *  Pictures *   *
>  \ / \ / \ / \  Telephone - (216) 433-2284  Fax - (216) 433-2182   \ / \ / \ / 
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> 

I've gotten Micro Emacs 3.9i to compile just fine on an IRIS (I haven't 
tried 3.10 yet on the IRIS, although I've installed it on my PC).
Before compiling, you need to configure Micro emacs for your machine.
I've included below my version 3.9i Makefile and the first part
of estruct.h that has the configuration info.  Send me email if you
need any further assistance.

Makefile----------------------------------------------------------------------
CFLAGS=		-O

OFILES=		basic.o bind.o buffer.o crypt.o display.o eval.o exec.o\
		file.o fileio.o input.o isearch.o line.o lock.o main.o\
		mouse.c random.o region.o search.o tcap.o unix.c\
		window.o word.o

CFILES=		basic.c bind.c buffer.c crypt.c display.c eval.c exec.c\
		file.c fileio.c input.c isearch.c line.c lock.c main.c\
		mouse.c random.c region.c search.c tcap.c unix.c\
		window.c word.c

HFILES=		estruct.h edef.h efunc.h epath.h ebind.h evar.h

emacs:		$(OFILES)
		$(CC) $(CFLAGS) $(OFILES) -ltermcap -lc -o emacs

$(OFILES):	$(HFILES)
EOF---------------------------------------------------------------------------

estruct.h---------------------------------------------------------------------
/*      ESTRUCT:        Structure and preprocesser defined for
                        MicroEMACS 3.9

                        written by Dave G. Conroy
                        modified by Steve Wilhite, George Jones
                        substantially modified by Daniel Lawrence

			configuration changes by Mike Goss:
				Configure for Silicon Graphics IRIS
*/

#ifdef	LATTICE
#undef	LATTICE		/* don't use their definitions...use ours	*/
#endif
#ifdef	MSDOS
#undef	MSDOS
#endif
#ifdef	AMIGA
#undef	AMIGA
#endif
#ifdef	EGA
#undef	EGA
#endif
#ifdef	CTRLZ
#undef	CTRLZ
#endif

/*	Program Identification.....

	PROGNAME should always be MicroEMACS for a distibrution
	unmodified version. People using MicroEMACS as a shell
	for other products should change this to reflect their
	product. Macros can query this via the $progname variable
*/

#define	PROGNAME	"MicroEMACS"
#define	VERSION		"3.9i"

/*	Machine/OS definitions			*/
/*	[Set one of these!!]			*/

#define AMIGA	0			/* AmigaDOS			*/
#define ST520	0			/* ST520, TOS			*/
#define MSDOS	0			/* MS-DOS			*/
#define V7	0			/* V7 UNIX or Coherent or BSD4.2*/
#define BSD	0			/* UNIX BSD 4.2 and ULTRIX	*/
#define USG	1			/* UNIX system V		*/
#define VMS	0			/* VAX/VMS			*/
#define FINDER	0			/* Macintosh OS 		*/
#define WMCS	0			/* Wicat's MCS			*/

/*	Compiler definitions			*/
/*	[Set one of these!!]			*/
#define UNIX	1	/* a random UNIX compiler */
#define MWC	0	/* Mark Williams C */
#define LATTICE 0	/* Lattice 2.14 thruough 3.0 compilers */
#define AZTEC	0	/* Aztec C 3.20e */
#define MSC	0	/* MicroSoft C compile version 3 & 4 */
#define TURBO	0	/* Turbo C/MSDOS */
#define DTL	0	/* DataLight C v3.12 */

/*	Debugging options	*/
#define	RAMSIZE	0	/* dynamic RAM memory usage tracking */
#define	RAMSHOW	0	/* auto dynamic RAM reporting */

/*   Special keyboard definitions            */

#define WANGPC	0		/* WangPC - mostly escape sequences     */
#define VT100   0               /* Handle VT100 style keypad.   */
#define XONDATA	0		/* VMS only - set to force /NOTTSYNC/NOHOSTSY */

/*	Terminal Output definitions		*/
/*	[Set one of these!!]			*/

#define ANSI    0			/* ANSI escape sequences	*/
#define	HP150	0			/* HP150 screen driver		*/
#define	HP110	0			/* HP110 screen driver		*/
#define	VMSVT	0			/* various VMS terminal entries	*/
#define VT52    0                       /* VT52 terminal (Zenith).      */
#define RAINBOW 0                       /* Use Rainbow fast video.      */
#define TERMCAP 1                       /* Use TERMCAP                  */
#define	IBMPC	0			/* IBM-PC CGA/MONO/EGA driver	*/
#define	DG10	0			/* Data General system/10	*/
#define	TIPC	0			/* TI Profesional PC driver	*/
#define	Z309	0			/* Zenith 100 PC family	driver	*/
#define	MAC	0			/* Macintosh			*/
#define	ATARI	0			/* Atari 520/1040ST screen	*/

/*	Configuration options	*/

#define CVMVAS  1	/* arguments to page forward/back in pages	*/
#define	CLRMSG	0	/* space clears the message line with no insert	*/
#define	CFENCE	1	/* fench matching in CMODE			*/
#define	TYPEAH	1	/* type ahead causes update to be skipped	*/
#define DEBUGM	1	/* $debug triggers macro debugging		*/
#define	VISMAC	0	/* update display during keyboard macros	*/
#define	CTRLZ	0	/* add a ^Z at end of files under MSDOS only	*/
#define	NBRACE	1	/* new style brace matching command		*/
#define BCOMPL	1	/* new buffer name completion code		*/
#define	CLEAN	0	/* de-alloc memory on exit			*/
#define	CALLED	0	/* is emacs a called subroutine? or stand alone */
#define ADDCR	0	/* ajout d'un CR en fin de chaque ligne (ST520) */
			/* [ = add a CR at the end of each line (ST520)]*/

#define	REVSTA	1	/* Status line appears in reverse video		*/
#define	COLOR	1	/* color commands and windows			*/

#define	FILOCK	0	/* file locking under unix BSD 4.2		*/
#define	ISRCH	1	/* Incremental searches like ITS EMACS		*/
#define	WORDPRO	1	/* Advanced word processing features		*/
#define	FLABEL	0	/* function key label code [HP150]		*/
#define	APROP	1	/* Add code for Apropos command			*/
#define	CRYPT	1	/* file encryption enabled?			*/
#define MAGIC	1	/* include regular expression matching?		*/
#define	AEDIT	1	/* advanced editing options: en/detabbing	*/
#define	PROC	1	/* named procedures				*/
#define MOUSE	1	/* Include routines for mouse actions		*/
#define	NOISY	1	/* Use a fancy BELL if it exists		*/

#define ASCII	1	/* always using ASCII char sequences for now	*/
#define EBCDIC	0	/* later IBM mainfraim versions will use EBCDIC	*/
.
.
.
[rest of file not included - all configuration info is before this point]
------------------------------------------------------------------------------



More information about the Comp.sys.sgi mailing list