> I copied xv-3.10a for dec-alpha dunix, and find that it does not understand
> postscript files. But others have assured me that xv does understand postcript
> now. Can someone please let me know what the truth is?
The answer to this question is, yes it can, as long as you have 'ghostscript'
already installed on your system.
Thank you Juan Gallego <juan_at_hep.physics.mcgill.ca> for pointing out that all
you need to do is edit the config.h file and rebuild xv. I just tried it, and it
worked!
Here is Juan's definitive answer:
>From the xv-3.10a distribution, file config.h, lines 69+:
/***************************************************************************
* PostScript file input support:
*
* if you have the 'ghostscript' package installed (version 2.6 or later),
* XV can use it to read and display PostScript files. To do so,
* uncomment the '#define GS_PATH' line, below. You probably will not
* need to modify the GS_LIB or GS_DEV lines, but if you do modify them,
* be sure to uncomment them, as well.
*
* the ghostscript package can be acquired via anonymous ftp on
* prep.ai.mit.edu, in the 'pub/gnu' directory
*
* GS_PATH specifies the complete path to your gs executable.
*
* GS_LIB should be set if there's some other gs libs that should be
* searched, but aren't by default. (In which case you should probably
* just fix your 'gs' so it looks in the right places without being told...)
*
* GS_DEV is the file format that ghostscript will convert PS into. It
* should not need to be changed
*/
/* #define GS_PATH "/usr/local/bin/gs" */
/* #define GS_LIB "." */
/* #define GS_DEV "ppmraw" */
So, just uncomment these 3 lines :) (note: i suggest that you only
specify the GhostScript executable name (gs) and rely on your PATH for xv
to find it... it avoids recompiling xv if ever you change the location of
gs...
Thanks also to the following people with similar replies:
Steffen Kluge <kluge_at_ave.ac.agit.de>
Peter Stern <peter_at_wiscpa.weizmann.ac.il>
Pete <kaiser_at_acm.org>
Patrick O'Brien <pobrien_at_cfa.harvard.edu>
Ian Hogg <ijh_at_ces.com>
Received on Thu Aug 01 1996 - 02:39:46 NZST