CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2015/07/28 12:38:05
Modified files: usr.bin/mandoc : main.c tag.c tag.h Log message: Remove the hack of scrolling forward and backward with +G1G that many (jmc@, millert@, espie@, deraadt@) considered revolting. Instead, when using a pager, since we are using a temporary file for tags anyway, use another temporary file for the formatted page(s), as suggested by millert@ and similar to what the traditional BSD man(1) did, except that we use only one single temporary output file rather than one for each formatted manual page, such that searching (both with / and :t) works across all the displayed files.