[net.micro.amiga] Fixes to MicroEmacs 3.7 for Aztec C

james@uw-atm.UUCP (James M Synge) (08/07/86)

[ line eat

[ I'm re-posting this message because I left some stuff out of the diffs ]

  On Monday I posted a message asking if anybody had succedded in getting
MicroEmacs 3.7 working on the Amiga using Aztec C compiler.  I kept working
with it and found some problems related to the difference in the size of ints.
I've included diffs to termio.c which is the only place I've found the problem
so far.

  Other than these difficulties, I really like the changes/improvements to
MicroEmacs.  Of course, I still want it to use a  border-less window, the
mouse and menus.  The version of MicroEmacs which comes in the software
toolkit from C-A with the 1.2 Beta disks is nice, but includes no sources (I
just love them sources).

termio.c diffs ----------------------------------------------------------------
11,12c11,12
< #define NEW 1006
< #define AMG_MAXBUF      1024
---
> #define NEW 1006L
> #define AMG_MAXBUF      1024L
15c15,16
< static int      scrn_tmp_p = 0;
---
> static long int scrn_tmp_p = 0;
> extern long int IoErr();
90a92,96
>         if (!terminal) {
>                 printf("\nttopen: Unable to open the RAW window.\n");
>                 printf("ttopen: IoErr = %ld\n", IoErr());
>                 exit();
>         }
320c326
<         Read(terminal, &ch, 1);
---
>         Read(terminal, &ch, 1L);
-------------------------------------------------------------------------------

If you find any problems with these, please let me know.

-- James
-- 
---------------------------------------------------------------------------
James M Synge, Department of Atmospheric Sciences, University of Washington
UUCP: uw-beaver!geops!uw-atm!james (prefered)           VOX: 1 206 543 0308
      uw-beaver!uw-june!james                ARPA: james@cs.washington.arpa