/usr/local/sharebecause autoconf likes it that way; the new library directory will contain a subdirectory for each mgv version installed.
mallocdebugging via dmalloc (
ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz). If for some reason you want to enable dmalloc, make sure you configure dmalloc to allow freeing
NULLpointers: ANSI guarantees that
free(0)will work and I assume ANSI all over the place.
wlib/create.c, gadgets seem to be working fine now.
dsc.c. Thanks to Marty Leisner for the fix.
INSTALLfile to the top directory where it should be. Thanks to Marty Leisner for telling me about this brain damage.
wlib/resource.cfile wasn't supposed to exist in 2.4 but I neglected to delete a CVS tag so it was there. This caused some build problems because
wlib/wlib/wlib.hdidn't have the necessary prototypes for
wlib/resource.c. I have now properly killed
mgv.icon*files as their icon if they wish (the images are pretty cheesy, if anyone wants to donate a better one, please do).
mk-editresto no in the appropriate
make/sys.*.mkfile before compiling.
-O2on all platforms. I don't think this will cause any problems.
-W" to the compiler warning flags for all gcc setups. This gives even more warnings the "
-Wall -Werror -ansi -pedantic -Wmissing-prototypes" and this is good.
wlib/create.cso it doesn't hurt me either).
errnoso the message wasn't always accurate.
%!" we'll scan for the structure comments. DSC documents are supposed to start with "
%!PS-Adobe-" and a version number but there are some naughty PostScript files out there.
wlib/wlib/dirtysocks.hthat were causing problems on Sun machines with Sun's compiler. Thanks go to Jean-Jacques Moulis for letting me know about the problem.
--" or use "
./-blah") to open files which begin with a hyphen from the command line. Thanks to David Green for this suggestion.
echo-on.nethave been converted to the new and improved
splash.xbmfiles in the final library directory. If you don't like splash screens at all, use the -nosplash switch or set the "mgv*wlShowSplashScreen" resource to False.
ranlibif necessary. As far as I know, only FreeBSD (version 2.X at least) needs
ranlib. This change also has the bonus side effect of allowing "
make -j" to be used in the
wlibdirectory (this may not matter to you but it is a big win on my K6-200); the only disadvantage is a slight increase in disk space when you're compiling.
-D_XOPEN_SOURCE_EXTENDEDto the compiler flags for AIX. I hear that AIX 4.3 needs this rather than
-D_XOPEN_SOURCEso I'll try it out with both defined and hope for the best (will the madness of
-D_BSD_SOURCE, etc... ever end?). Thanks to Lukasz Dutkiewicz for telling me about this new piece of vendor/standards brilliance.
longwhere it should have had an
off_t. Apparently HP-UX 10.20's
longlike it is on all the other machines (otherwise the compilers would have complained long ago). This was reported and fixed by Karl Storck.
mgv not-there.ps" used to just give an empty window.
MGv*Ghostview.baseTranslations: #replace \n\ <Key>osfHelp: wlHelpContext() \n\ <Message>: gvMessage() \n\ !<Btn2Down>: mgvZoom(begin) \n\ !<Btn2Motion>: mgvZoom(extend) \n\ !<Btn2Up>: mgvZoom(end) \n\ !<Btn1Down>: mgvZoom(begin) \n\ !<Btn1Motion>: mgvZoom(extend) \n\ !<Btn1Up>: mgvZoom(end) \n\ <EnterWindow>: gvNotify(0) \n\ <LeaveWindow>: gvNotify(0) \n\ <MotionNotify>: gvNotify(0) \n\ <Key>osfUp: mgvScroll(up, magical) \n\ <Key>osfDown: mgvScroll(down, magical) \n\ <Key>osfLeft: mgvScroll(left) \n\ <Key>osfRight: mgvScroll(right)These bindings will give you zooming with either button one or button two.
*.ps*to get gzipped/compressed files) to try and pick up
file:///path/to/x/blah.html" without realizing that