Changes made for the Amiga version: - added in definitions for memset, memcpy - added in correct include files - included alloca and getopt distributed with GnuGrep - wrote BSD-like opendir, readdir, and closedir for the Amiga (see dir.c, dir.h) - wrote memchr, and rewrote memmove and panic If a memory exhausted error occurs, don't worry. (Be happy.) This version of sed uses the Manx heapmem routines. These routines pre-allocate a fixed size chunk of memory to deal out in the individual malloc and realloc calls. If you want to increase the size of this chunk, there is a global variable called _Heapsize, which is set in main() in sed.c. Currently, it is set at 80K. You may change it to be bigger (or smaller), but I found that 80K was about right. This means, of course, that GnuSed requires 120-150K of memory or so to run, with the 80K being a contiguous block. This is still GNU code, and as such, it conforms to the GNU public license. (see the comment at the beginning of grep.c) Any problems with the Amiga version, please send them to me at: Edwin Hoogerbeets Usenet: ehoogerbeets@rose.waterloo.edu (watmath!watrose!ehoogerbeets) or edwin@watcsc.waterloo.edu CIS: 72647,3675 (any time at all) Send any problems inherent in the source to: hack@wheaties.ai.mit.edu