🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #4520

Re: Troff landscape

#4520
From: Bill Tuthill
Date: Fri, 11 Mar 1988 02:48
18 lines
907 bytes
In <20497@bu-cs.BU.EDU>, berlin@bu-cs.BU.EDU (David K. Fickes) writes:
> Has anyone hacked a version of Troff to support landscape output??

All you have to do is change t10.c so lines can be longer.  Here's how
we did this for a maximum line length of 11 inches:

% sccs diffs t10.c

------- t10.c -------
281c281,284
<               if(((j = (esct + i*(1-2*escm))) > (46*72+18-T_IESC)) ||
---
>               /*
>                * 2nd expr is: #inches max * #units/inch + fudge factor
>                */
>               if(((j = (esct + i*(1-2*escm))) > (11*432+18-T_IESC)) ||

Bill Tuthill
Technical Details
Message-ID: <45083@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!oliveb!sun!cairo!tut
References: <20497@bu-cs.BU.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!oliveb!sun!cairo!tut
From: tut%cairo@Sun.COM (Bill Tuthill)
Newsgroups: comp.text
Subject: Re: Troff landscape
Message-ID: <45083@sun.uucp>
Date: 11 Mar 88 02:48:26 GMT
References: <20497@bu-cs.BU.EDU>
Sender: news@sun.uucp
Lines: 18