ron@vsedev.VSE.COM.UUCP (02/16/87)
Here is an m- file and diffs to make a dumped Vers 18.36 GNU Emacs work on an Altos 3068 which runs under UNIX System V Release 2. The only diff was to the file xdisp.c where the compiler chokes on a SWITCH_ENUM_BUG that apparently got missed in the distribution version of xdisp.c. As you will see the proper s- file to use is s-usg5-2.c, and you can use either TERMINFO or TERMCAP, whichever you prefer! -- ron@vsedev.VSE.COM (Ron Flax) UUCP: ..!seismo!vsedev!ron INET: vsedev.VSE.COM!ron@seismo.CSS.GOV # This is a shell archive. # Remove everything above and including the cut line. # Then run the rest of the file through sh. #-------Cut-Here--------------------Cut-Here---------- #!/bin/sh # shar: Shell Archiver # Run the following text with /bin/sh to create: # m-altos.h # altos.diffs # This archive created: Mon Feb 16 00:38:50 1987 echo shar: extracting m-altos.h '(1777 characters)' cat << \SHAR_EOF > m-altos.h /* m-altos Altos 3068 Unix System V Release 2 Copyright (C) 1985, 1986 Richard M. Stallman. This file is part of GNU Emacs. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless he says so in writing. Refer to the GNU Emacs General Public License for full details. Everyone is granted permission to copy, modify and redistribute GNU Emacs, but only under the conditions described in the GNU Emacs General Public License. A copy of this license is supposed to have been given to you along with GNU Emacs so you can know your rights and responsibilities. It should be in a file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. */ /* The following three symbols give information on the size of various data types. */ #define SHORTBITS 16 /* Number of bits in a short */ #define INTBITS 32 /* Number of bits in an int */ #define LONGBITS 32 /* Number of bits in a long */ /* Vax is not big-endian: lowest numbered byte is least significant, but 68000's are. */ #define BIG_ENDIAN /* Define how to take a char and sign-extend into an int. On machines where char is signed, this is a no-op. */ #define SIGN_EXTEND_CHAR(c) (c) #define EXPLICIT_SIGN_EXTEND /* Use type int rather than a union, to represent Lisp_Object */ #define NO_UNION_TYPE #define LIB_STANDARD -lc #define C_ALLOCA /* we have -lPW and alloca but it's broken! <vsedev!ron> */ #define SWITCH_ENUM_BUG #define NO_REMAP #define STACK_DIRECTION -1 #define TERMINFO #undef CANNOT_DUMP #undef SHORTNAMES #undef TERMCAP SHAR_EOF echo shar: extracting altos.diffs '(309 characters)' cat << \SHAR_EOF > altos.diffs *** xdisp.c.orig Mon Feb 16 00:16:39 1987 --- xdisp.c Sat Feb 14 14:40:23 1987 *************** *** 1432,1438 **** --- 1432,1442 ---- goto invalid; depth++; + #ifdef SWITCH_ENUM_BUG + switch ((int) XTYPE (elt)) + #else switch (XTYPE (elt)) + #endif { case Lisp_String: { SHAR_EOF # End of shell archive exit 0