Notes for compiling the RTF distribution under THINK C (6.0). Build all projects with reader.c and the translator source files in one segment, and the ANSI library in another segment. Under Options/THINK C.../Prefix, use the following: #include #define VARARGS #define SYSV For THINK C 5.0, the same prefix is used, but it's found under Options/Prefix. Under Options/THINK C.../Language Settings (or Options/Language Settings for 5.0), select THINK C extensions. All the programs #include console.hand call ccommand() when THINK C is defined, to allow the user to enter a UNIX-style command line. Several of the programs formerly used a function named Control(). This conflicts with a function of the same name in Devices.h, so I changed the programs to call ControlClass() instead. Made some other renaming changes for consistency, e.g., Text() -> TextClass(). rtf2troff.h: This uses bcopy(), which is redefined in terms of memcpy() if SYSV is defined. But under THINK C, must also make sure that the third argument is 4 bytes long, or the copy gets a bad argument. Thus bcopy() is defined differently when THINK_C is defined than when not. u_long is normaly defined in sys/types.h, but it doesn't seem to be defined in any header files under THINK_C, so it's typedef'ed directly here.