From: huber@mppmu.mpg.de Sent: Friday, January 18, 2002 8:20 AM To: Info-VAX@Mvb.Saic.Com Subject: RE: Antiword MS Word reader port to VMS? In Article huber@mppmu.mpg.de (Joseph Huber) writes: >In Article <0lod4u8ocqfvq7drkdsc6go1a86rp0t4bf@4ax.com> >Alan Greig writes: >> >> I just noticed a post in comp.unix.tru64 regarding a port of >>something called "Antiword" to Tru64. Apparently it was trivial. >> >> ... >> >>Has anyone used this and/or thought of a VMS port? I'd imagine it >>shouldn't be too difficult. In fact might just about compile as is. >>Before I go and investigate this has anyone else done so? >> >>Web site at http://www.winfield.demon.nl >>-- >>Alan > >I made a DCL procedure vms_make.com, and at least the word->postscript works >reasonable. I did not make real extensive tests... > >reasonable. I did not make real extensive tests... Just now I took version 0.32, and the modiifications are now minimal: in antiword.h, the directory specification for the font directory has to be changed from Unix ".antowrd" to "antiword" (no leading dot !): #if defined(VMS) /* .antiword changed to antiword for VMS */ #define ANTIWORD_DIR "antiword" #else #define ANTIWORD_DIR ".antiword" #endif and eventually the definition #define GLOBAL_ANTIWORD_DIR "/opt/antiword/share" unless there is such a directory on Your site . (At my side it is "/util_root/data/antiword"). Look into http://wwwvms.mppmu.mpg.de/~huber/pds/antiword_0_32/ The only file changed from the original distribution is antiword.h . http://wwwvms.mppmu.mpg.de/~huber/pds/antiword_0_32/antiword.h I added http://wwwvms.mppmu.mpg.de/~huber/pds/antiword_0_32/vms_make.com , and http://wwwvms.mppmu.mpg.de/~huber/pds/antiword_0_32/makefile.vms (works with GNU make). Compiled o.k. with Compaq C V6.2-008 on OpenVMS Alpha V7.2-1: There is a multiply defined entry decc$wcwidth (from file utf8.c). I have no test-file to see if the routine is working together with Compaq C RTL, eventually remove wcwidth from utf8.c. -- This message does not represent the policies of the Max-Planck-Institute. Joseph "Sepp" Huber, MPI Physik, http://wwwvms.mppmu.mpg.de/~huber