diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/RTF-1_06a1/Porting |
Initial commit
Diffstat (limited to 'support/RTF-1_06a1/Porting')
-rw-r--r-- | support/RTF-1_06a1/Porting | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/support/RTF-1_06a1/Porting b/support/RTF-1_06a1/Porting new file mode 100644 index 0000000000..50784f4230 --- /dev/null +++ b/support/RTF-1_06a1/Porting @@ -0,0 +1,30 @@ +rtf2troff: + +You need bcopy. If you don't have one, you can write it easily. The +prototype is: + + bcopy (char *src, char *dest, int nBytes); + +copy nButes from source "src" to destination "dest". Some implementations +work for overlapping source and destination, but that is not necessary +for rtf2troff. If you don't have bcopy, but you do have memcpy, bcopy +can be implemented as + + # define bcopy(a,b,c) (void) memcpy(b,a,c) + +On a Macintosh you can use + + # define bcopy(a,b,c) BlockMove(a,b,c) + +------------------- +Some functions take a variable number of arguments; varargs.h is used +if you have it. This is all controlled by VARARGS in the Makefile. +If you use imake, the correct value should be selected automatically, +otherwise you'll have to set it by hand. + +------------------- +The table used to translate non-ASCII (> 127) characters are incomplete, +and it is possible that the special sequences used to represent +special characters are not present in all troff's. Check against your +local documentation. Take a look at trf-charmap.c. +------------------- |