CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2015/07/17 16:35:36
Modified files: usr.bin/mandoc : Makefile main.c man.1 mdoc_term.c term.h term_ascii.c Added files: usr.bin/mandoc : tag.c tag.h Log message: Initial, still somewhat experimental implementation to leverage less(1) -T and :t ctags(1)-like functionality to jump to the definitions of various terms inside manual pages. To be polished in the tree, so bear with me and report issues. Technically, if less(1) is used as a pager, information is collected by the mdoc(7) terminal formatter, first stored using the ohash library, then ultimately written to a temporary file which is passed to less via -T. No change intended for other output formatters or when running without a pager. Based on an idea from Kristaps using feedback from many, in particular phessler@ nicm@ millert@ halex@ doug@ kspillner@ deraadt@.