From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Wed, 8 Sep 2010 03:08:25 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> From: "Lawrence E. Bakst" Content-Type: text/plain; charset="us-ascii" Subject: Re: [9fans] how to print a program Topicbox-Message-UUID: 528cc9f0-ead6-11e9-9d60-3106f5b1d025 At 8:25 AM +0200 9/8/10, Rudolf Sykora wrote: >also, just note that cb doesn't always work even for c source: >running on /sys/src/cmd/page/gfx.c >produces crap... cb has been a looser since I've known it, which is longer than most. It often dumped core, even back in the 70's. It's good in a pinch to turn someone's "far out" indenting style back to K&R normal form. OTOH gofmt is more of the real deal done right. My advise is to stick with pr and deal with truncated lines. If you can't deal with truncated lines try landscape mode or messing with fonts and sizes if that's possible. If you have access to another platform enscript has lots of bells and whistles for doing what you want. It's probably time to move past "lp". They don't exist much anymore in the real world. leb -- leb@iridescent.org