For half and reverse line feeds, recognize SUSv2-style escape-digit
authorschwarze <schwarze@openbsd.org>
Sat, 9 May 2015 20:36:18 +0000 (20:36 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 9 May 2015 20:36:18 +0000 (20:36 +0000)
commit083af243491fbc60906c764c29680da53f918764
tree04f04dd223e36d218cfd9da43f998fc36cdf2713
parent7437347a16e79051cd7b2989084b03c1729afff8
For half and reverse line feeds, recognize SUSv2-style escape-digit
sequences in the input stream in addition to traditional BSD-style
escape-control-char sequences because traditional tools, for example
Heirloom roff, produce SUSv2-style sequences.  Switch the encoding
of forward half line feeds in the output of -f back to SUSv2 style
because that's likely to work with more tools than the non-standard
traditional BSD-style sequence.  Fully document these choices.

Issues originally reported by bapt at FreeBSD.
OK millert@ jmc@, and bapt@ also more or less agrees with the direction.
usr.bin/col/col.1
usr.bin/col/col.c