Path: 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 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