🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #4314

Looking for Boldface/Underline Filter

#4314
From: Wolf Paul
Date: Sat, 16 Jan 1988 17:26
30 lines
1150 bytes
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"

and 

  "This word is b^Hb^Hbo^Ho^Hol^Hl^Hld^Hd^Hd.\r\n"

should become

  "This word is bold.\r             bold \r             bold \r\n"

Does anybody know of such a filter, in C source?

Please e-mail me at ihnp4!killer!wnp - that's the safest path.

Thanks!


Wolf Paul
ihnp4!killer!wnp
        -"- !dcs!wnp
        -"- !doulos!wnp
Technical Details
Message-ID: <2941@killer.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!burl!codas!killer!wnp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!burl!codas!killer!wnp
From: wnp@killer.UUCP (Wolf Paul)
Newsgroups: comp.text,comp.unix.questions,comp.sys.ibm.pc
Subject: Looking for Boldface/Underline Filter
Keywords: boldface underline nroff backspace cr
Message-ID: <2941@killer.UUCP>
Date: 16 Jan 88 17:26:47 GMT
Organization: The Unix(R) Connection, Dallas, Texas
Lines: 30