CVSROOT: /home/x-cvs
Module name: xc
Changes by: [EMAIL PROTECTED] 04/03/11 18:17:56
Log message:
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).
Modified files:
xc/programs/xman/:
ScrollByL.c ScrollByL.h ScrollByLP.h Xman.ad buttons.c
handler.c help.c main.c man.c man.h misc.c search.c
vendor.h xman.help xman.man
Revision Changes Path
1.8 +171 -108 xc/programs/xman/ScrollByL.c
1.2 +1 -0 xc/programs/xman/ScrollByL.h
1.2 +3 -2 xc/programs/xman/ScrollByLP.h
1.3 +1 -0 xc/programs/xman/Xman.ad
1.5 +62 -73 xc/programs/xman/buttons.c
1.8 +82 -52 xc/programs/xman/handler.c
1.4 +3 -3 xc/programs/xman/help.c
1.5 +18 -15 xc/programs/xman/main.c
1.9 +108 -108 xc/programs/xman/man.c
1.5 +17 -11 xc/programs/xman/man.h
1.11 +21 -19 xc/programs/xman/misc.c
1.7 +30 -29 xc/programs/xman/search.c
1.14 +3 -3 xc/programs/xman/vendor.h
1.2 +8 -6 xc/programs/xman/xman.help
1.5 +84 -43 xc/programs/xman/xman.man
_______________________________________________
Cvs-commit mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/cvs-commit