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
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
Config.src
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
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
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
flashcp.c
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
last.c
less.c less: switch off nonblock on kbd_fd before exit 2016-09-13 21:05:48 +02:00
makedevs.c
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
mt.c
nandwrite.c nandwrite: implement -n (read/write without ecc) 2016-01-02 01:33:01 +01:00
raidautorun.c
readahead.c
rfkill.c
runlevel.c
rx.c
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
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
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
wall.c
watchdog.c