🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3945

Re: 8-bit nroff fixes

#3945
From: rroot
Date: Sat, 15 Aug 1987 01:31
23 lines
1841 bytes
In article <760@cadre.dsl.PITTSBURGH.EDU>, jack@cadre.dsl.PITTSBURGH.EDU (Jack Nelson) writes:
> 
> Here is a diff -c of n10.c of nroff code (from BSD 2.9, but almost
> the same as BSD 4.3) which allows access to printer fonts above 0200;
> this is nice if you want to use math or foreign language capabilities
> of a laserjet, for example, but keep the speed and simplicity of nroff.

Since we don't have a source licence for the system that uses our 
laserjet, I used a different approach: an escape code which indicates
that the next character should have its high bit set. The program is then
sent thru a post-processor (in the 'lp' driver) which eats the prefix char
and bit-twiddles the next character).   The nice thing about this is that
it requires no source license.   The bad thing about it is that there areis 
then two characters that cannot be sent to the printer: 0x80 and your escape
code. (0x80 would require being able to embed a null char....).

    If anyone is interested in this kludge, send me a message.
If I get enough requests, then I will just post it.
-- 
-------------
 Stephen Samuel 			Disclaimer: You betcha!
  {ihnp4,ubc-vision,seismo!mnetor,vax135}!alberta!edm!steve
  BITNET: USERZXCV@UQV-MTS
Technical Details
Message-ID: <170@edm.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!ubc-vision!alberta!edm!rroot
References: <760@cadre.dsl.PITTSBURGH.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!ubc-vision!alberta!edm!rroot
From: rroot@edm.UUCP
Newsgroups: comp.text
Subject: Re: 8-bit nroff fixes
Message-ID: <170@edm.UUCP>
Date: Fri, 14-Aug-87 21:31:07 EDT
Article-I.D.: edm.170
Posted: Fri Aug 14 21:31:07 1987
Date-Received: Sun, 16-Aug-87 09:20:29 EDT
References: <760@cadre.dsl.PITTSBURGH.EDU>
Organization: Unexsys Systems Inc., Edmonton,AB.
Lines: 23
Keywords: nroff laser font
Summary: you can also do it with an escape and post-processor