9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: [9fans] sliderules, ned and other obsolescent programs
Date: Tue, 21 Apr 2009 12:11:06 -0400	[thread overview]
Message-ID: <53129539b4ce128ec08feeb4129cce46@quanstro.net> (raw)

i don't know if anybody still uses ned, especially with nupas,
but i added a few little wrinkles to ned that folks seem to
be asking about.  they're not in the man page yet since i'm
not sure if they're just horrible, but here are a few

0.  p upasmessagefile.  any message file can be printed.

1.  p magic.  if magic is "id", then upas' message id is
printed; "fpath" prints the path to the upas/fs message,
and anything unrecognized is just printed.  so. putting
these together you can do something like this

: 1,10 p id '	' fpath '	' ffrom
1 	 /mail/fs/mbox/54 	 hugo rivera
2 	 /mail/fs/mbox/53 	 erik quanstrom
3 	 /mail/fs/mbox/52 	 Joe Blow
4 	 /mail/fs/mbox/51
5 	 /mail/fs/mbox/50 	 Devon H. O'Dell
6 	 /mail/fs/mbox/49
7 	 /mail/fs/mbox/48 	 Noah Evans
8 	 /mail/fs/mbox/47 	 Jerry M. Sixpack
9 	 /mail/fs/mbox/46 	 Jerry M. Sixpack
10 	 /mail/fs/mbox/45 	 Edward S. Hands

and now for the sleeze:

2. marked and unseen messages are marked with ' and
* respectively.  thus g/\*/h will usually print out just
new messages.

- erik



                 reply	other threads:[~2009-04-21 16:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53129539b4ce128ec08feeb4129cce46@quanstro.net \
    --to=quanstro@quanstro.net \
    --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).