home *** CD-ROM | disk | FTP | other *** search
- I have received 12 requests so far for a Turbo C version of proff. My
- experience is that there is a big latency in news response, so I am
- sure there are more responses coming. To speed up the availability of
- the software, and to save myself the trouble of having to sort out (at
- least) a dozen addresses, I am going to post a uuencoded, pkarc'd
- source and executable.
-
- On top of the task of getting proff to compile under Turbo C, I found
- several bugs in proff, which I have fixed. For example, if you had
- failed to terminate a macro properly (with .en), the program used to
- read past the end of the file and infinite loop. Secondly, I got % to
- return the date in footers (as per the documentation). I also made to
- (very minor) corrections to the manual proffman.prf.
-
- So, here is proff for the IBM PC, compiled using small model Turbo C.
-
- I've also included my macros called hp.mac and man.mac. Man.mac helps
- me emulate Unix man page format for some simple stuff I am doing.
- Hp.mac sets turns off an hp laserjet's ideas of margins so that I can
- fit more on a page.
-
- You can format the manual with the command
-
- proff -po10 proffman.prf proff.man
-
- This places the formatted text in the file proff.man. The -po10
- creates a 10-character left margin.
-
- If somebody plans to use lots of macros or large tables of contents,
- you may need the program recompiled using a larger memory model. I
- suspect that the program fails under large model because some of the
- pointers aren't treated as 32-bits. However, my quick efforts fail to
- give me a large-model version of the program.
-
- These comments are also available in the archive under the name
- readme.
-
- Timothy L. Kay
- Caltech, 256-80
- Pasadena, CA 91125
- tim@csvax.caltech.edu
- 818-356-6633
-
-
- Here are a few notes for people who requested source.
-
- I used the TC integrated environment to compile proff. I have
- included the project file proff.prj. For the sake of completion, I
- have also included the original makefile, which I have not modified.
-
- I had to make only one minor change to get the program to compile.
- Turbo C complained about the routine remove(). I renamed the routine
- (and the one reference to the routine) to xremove().
-
- Here is the configuration of my integrated environment, converted to
- text by tcconfig.
-
- --- turboc.cfg ---
- -mh
- -w-rvl
- -1
- -f-
- -N
- -G
- -O
- -Z
- -IC:\TC15\INCLUDE
- -LC:\TC15\LIB
- ------------------
-