Xref: utzoo comp.text:1442 comp.unix.questions:5084 comp.sys.ibm.pc:10532 Path: utzoo!mnetor!lsuc!dave From: dave@lsuc.uucp (David Sherman) Newsgroups: comp.text,comp.unix.questions,comp.sys.ibm.pc Subject: Re: Looking for Boldface/Underline Filter Message-ID: <1988Jan20.124318.18760@lsuc.uucp> Date: 20 Jan 88 17:43:16 GMT References: <2941@killer.UUCP> <889@cblpe.ATT.COM> Reply-To: dave@lsuc.UUCP (David Sherman) Organization: Law Society of Upper Canada, Toronto Lines: 23 Summary: speed(1) -- goes back to v6 UNIX In article <2941@killer.UUCP> wnp@killer.UUCP (Wolf Paul) writes: >Nroff by default produces boldface and underlines by means of backspacing. >My printer does not take to that too kindly, especially in NLQ mode. >Therefore I am looking for a filter which will convert backspace sequences >into overstruck lines, like so: > > "_^HT_^Hh_^Hi_^Hs _^Hi_^Hs _^Hu_^Hn_^Hd_^He_^Hr_^Hl_^Hi_^Hn_^He_^Hd.\r\n" > >should be converted to > > "This is underlined.\r____ __ __________ \r\n" We have a utility which does exactly that, called speed(1). It was written by Tom Duff (now alice!td) in 1976 at U of Toronto, and modified by Henry Spencer (now utzoo!henry) in 1978. It ran on v6 UNIX so it should run on anything (though you might get some warnings from your compiler about "old-fashioned" things... I'll mail it to anyone who wants it. David Sherman The Law Society of Upper Canada -- { uunet!mnetor pyramid!utai decvax!utcsri ihnp4!utzoo } !lsuc!dave