Xref: utzoo comp.text:1467 comp.unix.questions:5207 comp.sys.ibm.pc:10838 Path: utzoo!mnetor!uunet!vixie!paul From: paul@vixie.UUCP (Paul Vixie Esq) Newsgroups: comp.text,comp.unix.questions,comp.sys.ibm.pc Subject: Re: Looking for Boldface/Underline Filter Message-ID: <781@vixie.UUCP> Date: 18 Jan 88 07:56:17 GMT References: <2941@killer.UUCP> Reply-To: paul@vixie.UUCP (Paul Vixie Esq) Followup-To: comp.sources.d Organization: Vixie Enterprises, San Francisco Lines: 18 Keywords: boldface underline nroff backspace cr 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 [...] Does anybody know of such a filter, in C source? I've got just what you're looking for -- I wrote it for my printer's NLQ mode, wherein the printer was shaking back and forth enough to fall off its stand :-(. (All those bidirectional smarts, and they still don't have the backspace in the prefetch scheme...) Anyway, I just posted my quick hack to comp.sources.misc. If it isn't so ugly and unreadable that BSA rejects it, you ought to see it pretty soon. -- Paul A Vixie Esq paul%vixie@uunet.uu.net {uunet,ptsfa,hoptoad}!vixie!paul San Francisco, (415) 647-7023