CVS log for xc/programs/xman/vendor.h
Request diff between arbitrary revisions
This incorporates changes that I made in September 1993. I happened to recall this when looking up xman's source to make a fix for the GROFF_NO_SGR for cygwin (also in this commit). I also fixed spelling, updated the manpage (which omitted some resource descriptions), changed code to match the documented Paned Manpage_Vpane widget (noticed because of a patch reject). (files:ScrollByL.c) Add resource halfLines. If true, it modifies ScrollByL.c so that it does not assume it will to set boldface on multiples of 66 lines (NLINES). Rather, assume that the first nonblank line in the file is a header line that repeats periodically, and boldface that. This makes xman handle manpages that have half spacing much better. The old version is the default. (files:ScrollByL.c) modified 'Boldify()' to set boldface only if the line has no spaces prefixed (fixes cases where a line happened to be all uppercase). (files:buttons.c) use XtCalloc rather than XtMalloc, fixes a couple of places where structure-members were referenced w/o being initialized. (files:main.c,misc.c,man.h) made new application-resource "formatCommand" which can then be used to override the compiled-in FORMAT definition. (files:search.c,man.h,misc.c,handler.c) modified CTL/M toggle to show either manpage-name or original filename (so we can see where in the MANPATH things come from). =>new function ShowManTitle =>new function ShowDirTitle (files:handler.c) Added logic to 'GotoPage()' so that if a user types a CTL/D when the directory is already shown, it toggles the layout resource, allowing display in vertical columns (in contrast to the default, by rows).