9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Lawrence E. Bakst" <ml@iridescent.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] how to print a program
Date: Wed,  8 Sep 2010 03:08:25 -0400	[thread overview]
Message-ID: <p06240806c8ace1aba783@[192.168.0.7]> (raw)
In-Reply-To: <AANLkTinRjsh8UqxcFtG8kmAcFbnWi-0srQTd5A360smf@mail.gmail.com>

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




  reply	other threads:[~2010-09-08  7:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-07 21:00 Rudolf Sykora
2010-09-07 21:05 ` Rudolf Sykora
2010-09-07 21:06 ` John Floren
2010-09-07 21:37   ` Rudolf Sykora
2010-09-07 21:48     ` erik quanstrom
2010-09-08  6:25   ` Rudolf Sykora
2010-09-08  7:08     ` Lawrence E. Bakst [this message]
2010-09-08 17:59       ` erik quanstrom
2010-09-08 18:42       ` Akshat
2010-09-08 19:16         ` Charles Forsyth
2010-09-07 21:19 ` erik quanstrom
2010-09-08 11:45 ` roger peppe
2010-09-08 13:55   ` Federico G. Benavento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p06240806c8ace1aba783@[192.168.0.7]' \
    --to=ml@iridescent.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).