From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] troff -man prints poorly Date: Tue, 26 Feb 2008 13:32:22 -0500 From: Sape Mullender In-Reply-To: <0497b4634bc7e790a2fd0adf29263215@csplan9.rit.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ptozvlxjneuqgsbiubugvksbwa" Topicbox-Message-UUID: 6208abf4-ead3-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-ptozvlxjneuqgsbiubugvksbwa Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit troff -man /sys/man/1/cat | page troff -man /sys/man/1/cat | lp -dPrinter --upas-ptozvlxjneuqgsbiubugvksbwa Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Tue Feb 26 13:24:12 EST 2008 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id A6D47150F1 for <9fans-local@plan9.bell-labs.com>; Tue, 26 Feb 2008 13:23:52 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id ABF56163C0 for <9fans@cse.psu.edu>; Tue, 26 Feb 2008 13:22:54 -0500 (EST) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28036-01-47 for <9fans@cse.psu.edu>; Tue, 26 Feb 2008 13:22:52 -0500 (EST) Received: from csplan9.rit.edu (csplan9.rit.edu [129.21.34.236]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 323A91711F for <9fans@cse.psu.edu>; Tue, 26 Feb 2008 13:22:51 -0500 (EST) Message-ID: <0497b4634bc7e790a2fd0adf29263215@csplan9.rit.edu> To: 9fans@cse.psu.edu Date: Tue, 26 Feb 2008 13:22:49 -0500 From: john@csplan9.rit.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cse.psu.edu Subject: [9fans] troff -man prints poorly X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+9fans-local=plan9.bell-labs.com@cse.psu.edu Errors-To: 9fans-bounces+9fans-local=plan9.bell-labs.com@cse.psu.edu I've been writing a man page and wanted to see how it looks when formatted with troff and printed, so I tried: troff -man | dpost | lp only to find that the printout was extremely ugly. Words seem to have run together in some very strange ways; if I had a scanner handy I could show what I mean. Anyway, the same thing happens when I do: troff -man /sys/man/1/cat | dpost | lp but not when I do: troff -ms /sys/doc/asm.ms | dpost | lp Am I missing something simple and fundamental, or is troff/dpost just broken? John --upas-ptozvlxjneuqgsbiubugvksbwa--