[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 02/08/06, Simon Waters <simon@xxxxxxxxxxxxxx> wrote: > Mike Martin wrote: > > > > N^HNA^HAA^HAM^HME^HEE > > > > anyone any ideas whats happening here (only happens with Headings) > > N backspace N A backspace A M backspace M E Backpace E > > I guess these days you'd write: > > <strong>NAME</strong> > > But that doesn't work well on line printers ;) > > The output format by default is designed to display on consoles or > printers. You can try "info groff" or kick Neil, if you really need it > as plain text, but I'm not sure there is a direct representation in > ascii of most manual pages, as aside from highlighting words, they also > use underlining and other things that don't map well to plain old ascii. > > i.e. Try "nroff" without "-man" and see what else messes up. > > Everything is working as designed, why are you trying to turn man pages > from formatted text into plain text, they are designed for humans, and > the tools should let you turn them into Postscript, or HTML (of a sort) > easily enough, if the normal man view isn't sufficient. > > I'm doing a man gateway in CGI and I cant do anything with the characters when I get it into perl. The closest I have got to so far is using nroff -man|col -b, but then I lose out on bold formatting. > -- > The Mailing List for the Devon & Cornwall LUG > http://mailman.dclug.org.uk/listinfo/list > FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html > -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html