charles wrote:
Must work radically different in Win than in *nix, unless you didn't
notice OP's stipulation "taking into account formatting".
less /usr/man/man1/slrnface.1
yields:
ESC[1mNAMEESC[0m
slrnface - show ESC[4mX-FacesESC[24m in X11 terminal emulator
ESC[1mSYNOPSISESC[0m
ESC[1mslrnface ESC[22m[ ESC[1m-xOffsetChar ESC[4mESC[22mx_char_offsetESC[24m ] [ ESC[1m
-yOffsetChar ESC[4mESC[22my_char_offsetESC[24m ]
[ ESC[1m-xOffsetPix ESC[4mESC[22mx_pixel_offsetESC[24m ] [ ESC[1m-yOffsetPix ESC[4
mESC[22my_pixel_offsetESC[24m ] [
ESC[1m-XFacePad ESC[4mESC[22mleft_paddingESC[24m ] [ ESC[1m-ink ESC[4mESC[22mfg_color
ESC[24m ] [ ESC[1m-paper ESC[4mESC[22mbg_colorESC[24m ] [ ESC[1m-pad-ESC[0m
ESC[1mColor ESC[4mESC[22mpad_colorESC[24m ]...