busybox/miscutils
Denys Vlasenko a92a74961d man: allow nroff and tbl commands be overridden; unmangle writing to files
Parse this in config files:
	 DEFINE col ...
	 DEFINE tbl ...
	 DEFINE nroff ...
Add width options to nroff command line.
Use "tbl", not "gtbl", as default tbl command.
Export GROFF_NO_SGR=1 and use "col -b -p -x" instead of pager when writing to file.

function                                             old     new   delta
man_main                                             735     863    +128
if_redefined                                           -      64     +64
show_manpage                                         199     169     -30
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 192/-30)           Total: 162 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-30 22:31:30 +01:00
..
adjtimex.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
bbconfig.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
beep.c Use bb_error_msg instead of bb_info_msg in all commented-out debug printouts 2016-03-30 16:04:37 +02:00
chat.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
chrt.c chrt: remove warning for _POSIX_PRIORITY_SCHEDULING 2013-07-08 11:20:13 +02:00
Config.src tweak defconfig 2015-10-25 20:36:03 +01:00
conspy.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
crond.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
crontab.c Removes stray empty line from code 2015-07-13 03:25:46 +02:00
dc.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
devfsd.c Replace a few more bb_info_msg's by bb_error_msg or printf 2016-03-30 16:20:28 +02:00
devmem.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
eject.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
fbsplash.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
fbsplash.cfg
flash_eraseall.c Replace a few more bb_info_msg's by bb_error_msg or printf 2016-03-30 16:20:28 +02:00
flash_lock_unlock.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
flashcp.c flashcp: change BUFSIZE to 4k 2014-12-10 13:44:27 +01:00
hdparm.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
i2c_tools.c i2cdump: don't use common_bufsiz1 2016-06-24 03:58:43 +02:00
inotifyd.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
ionice.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
Kbuild.src randomconfig fixes 2016-06-19 18:15:33 +02:00
last_fancy.c libbb: add a function to make a copy of a region of memory 2015-07-19 23:05:20 +02:00
last.c randconfig fix 2015-10-11 16:58:18 +02:00
less.c less: switch off nonblock on kbd_fd before exit 2016-09-13 21:05:48 +02:00
makedevs.c makedevs: fix help-text 2011-05-30 23:00:47 +02:00
man.c man: allow nroff and tbl commands be overridden; unmangle writing to files 2016-10-30 22:31:30 +01:00
microcom.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
mountpoint.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
mt.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
nandwrite.c nandwrite: implement -n (read/write without ecc) 2016-01-02 01:33:01 +01:00
raidautorun.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
readahead.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
rfkill.c rfkill: use new-style config/kbuild/applet 2013-11-20 14:21:29 +01:00
runlevel.c *: Switch to POSIX utmpx API 2015-04-02 23:03:46 +02:00
rx.c whitespace fixes. no code changes 2013-01-15 13:58:01 +01:00
setserial.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
setsid.c setsid: fix broken -c 2016-06-20 23:50:26 +02:00
strings.c strings: implement -t radix 2016-10-24 21:52:10 +02:00
taskset.c taskset: fix non-fancy cpuset printing on big-endian 2016-02-26 14:36:24 +01:00
time.c whitespace fixes. no code changes 2013-01-15 13:58:01 +01:00
timeout.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
ttysize.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
ubi_tools.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
ubirename.c whitespace and namespace cleanups 2016-04-03 22:24:51 +02:00
volname.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
wall.c *: Switch to POSIX utmpx API 2015-04-02 23:03:46 +02:00
watchdog.c CONFIG_PID_FILE_PATH: new configuration option for pidfile paths 2012-12-19 15:53:33 -05:00