🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
7 messages
7 total messages Started by Dan Goodin Wed, 17 Aug 1994 01:30
Can I read my mail with nn?
#6290
Author: Dan Goodin
Date: Wed, 17 Aug 1994 01:30
7 lines
864 bytes
I'm surprised this isn't in the FAQ file.  I'm subscribed to about 40 
mailing lists and have to sort through a lot of useless threads.  Sure 
would be nice to have each topic threaded for me so that I could filter 
out some of the drivel.

Is such a thing possible?
Re: Can I read my mail with nn?
#6289
Author: Phil Albert
Date: Wed, 17 Aug 1994 20:56
27 lines
1659 bytes
dang@netcom.com (Dan Goodin) writes:


>I'm surprised this isn't in the FAQ file.  I'm subscribed to about 40 
>mailing lists and have to sort through a lot of useless threads.  Sure 
>would be nice to have each topic threaded for me so that I could filter 
>out some of the drivel.

>Is such a thing possible?

Yes.  Press 'G' to enter a new group/folder and give the folder name

    /usr/spool/mail/dang

There's your mail.  There may be easier ways to do this, but you didn't
ask that, and I'll let someone figure that out.  I don't guarantee that
your mail will truly thread (I guarantee it won't), but you will get just
as much threading as you get in nn.  Real threading looks at the
References: line of the header, nn threading just looks at the Subject:
line and the timestamp. 


-- 
Phil Albert, full-time patent attorney and part-time philosopher
Voicenet: (415) 543-9600       bizcardnet: Townsend & Townsend
Internet: palbert@netcom.com or palbert@cco.caltech.edu
 ICBMnet: 37 53 00 N, 122 17 30 W, Alt 760'
Re: Can I read my mail with nn?
#6291
Author: Casper Maarbjerg
Date: Thu, 18 Aug 1994 15:12
28 lines
1691 bytes
palbert@netcom.com (Phil Albert) writes:

>dang@netcom.com (Dan Goodin) writes:
>
>>I'm surprised this isn't in the FAQ file.  I'm subscribed to about 40 
>>mailing lists and have to sort through a lot of useless threads.  Sure 
>>would be nice to have each topic threaded for me so that I could filter 
>>out some of the drivel.
>
>>Is such a thing possible?
>
>Yes.  Press 'G' to enter a new group/folder and give the folder name
>
>    /usr/spool/mail/dang
>
>There's your mail.  There may be easier ways to do this, but you didn't

I have put this line in the global $lib/setup:

set mail /usr/spool/mail/$(LOGNAME)

Then, when mail arrives after I start reading news, I get notified by
the text 'Mail' on the menu line, and then i use :rmail to read it.

Nice feature, really. (tho I have to use the mailer to delete msgs)

--
Casper Maarbjerg / Danmarks Radio TV / casper@dr.dk  Voice:+45 35 20 27 79
Reading MH-format messages (was Re: Can I read my mail with nn?)
#6299
Author: David D Kilzer
Date: Fri, 19 Aug 1994 20:50
29 lines
2050 bytes
>dang@netcom.com (Dan Goodin) writes:
>>I'm surprised this isn't in the FAQ file.  I'm subscribed to about 40 
>>mailing lists and have to sort through a lot of useless threads.  Sure 
>>would be nice to have each topic threaded for me so that I could filter 
>>out some of the drivel.
>>Is such a thing possible?

palbert@netcom.com (Phil Albert) writes:
>Yes.  Press 'G' to enter a new group/folder and give the folder name
>    /usr/spool/mail/dang

Is there a way to use nn to read MH-format mail files without doing
something messy like this:

% (cat ~/Mail/inbox/[123456789] ; cat ~/Mail/inbox/[0123456789][0123456789]) \
? > ~/mailfile

and then using nn to read ~/mailfile?  Note that I do **not** want to
automate the above process with a command from within nn, I want to read
the mail messages in their ``native'' individual-file format.

Thanks!

Dave
-- 
David D. Kilzer               \                ST:TNG _Relics_
ddkilzer@iastate.edu          /       Capt. Montgomery Scott ("Scotty")
Computer Engineer 4           \   "I may be a captain by rank, but I never
Iowa State University, Ames   /    wanted to be anything but an engineer."
Re: Can I read my mail with nn?
#6304
Author: Milt Epstein
Date: Sun, 21 Aug 1994 03:29
34 lines
2118 bytes
palbert@netcom.com (Phil Albert) writes:

>dang@netcom.com (Dan Goodin) writes:
>
>>I'm surprised this isn't in the FAQ file.  I'm subscribed to about 40 
>>mailing lists and have to sort through a lot of useless threads.  Sure 
>>would be nice to have each topic threaded for me so that I could filter 
>>out some of the drivel.
>
>>Is such a thing possible?
>
>Yes.  Press 'G' to enter a new group/folder and give the folder name
>
>    /usr/spool/mail/dang
>
>There's your mail.  There may be easier ways to do this, but you didn't
>ask that, and I'll let someone figure that out.  I don't guarantee that
>your mail will truly thread (I guarantee it won't), but you will get just
>as much threading as you get in nn.  Real threading looks at the
>References: line of the header, nn threading just looks at the Subject:
>line and the timestamp. 

I'm no expert on these issues, but in previous discussions I've seen
on using nn for reading mail, it was mentioned that you need to make
sure that nn handles the files appropriately (some kind of file
locking scheme?) so that no mail that arrives while you're reading
mail is lost.  It wasn't clear whether nn did this or not.  I'd
suggest checking into this, else you risk losing some mail.

-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Re: Can I read my mail with nn?
#6324
Author: Sven Guckes
Date: Wed, 24 Aug 1994 13:22
17 lines
1448 bytes
From: casper@dr.dk (Casper Maarbjerg)
Organization: Danmarks Radio TV - Public Service Broadcast

>I have put this line in the global $lib/setup:
>set mail /usr/spool/mail/$(LOGNAME)
>Then, when mail arrives after I start reading news, I get notified by
>the text 'Mail' on the menu line, and then i use :rmail to read it.
>Nice feature, really. (tho I have to use the mailer to delete msgs)

Why use a mailer to delete messages?
You can use the cancel command ("C") to do this.

Sven

-- 
X-FavouriteRadioStation: BFBS
X-Frequency:  98.8 Mhz
Re: Can I read my mail with nn?
#6341
Author: Bob MacDowell
Date: Sat, 27 Aug 1994 09:23
61 lines
3311 bytes
WARNING WARNING WARNING: 
   nn does NOT implement lock-files and is NOT savvy to the concept  
   that new mail can be appended to files at any time.  If new mail
   comes in while you're reading with nn, nn will NOT KNOW ABOUT IT
   and could overwrite it. Move the file before you open it with nn.

dang@netcom.com (Dan Goodin) writes:
>I'm surprised this isn't in the FAQ file.  

I am too. 

>I'm subscribed to about 40 
>mailing lists and have to sort through a lot of useless threads.  Sure 
>would be nice to have each topic threaded for me so that I could filter 
>out some of the drivel.
>Is such a thing possible?

Yes, I do it all the time.  I have my procmail script sort the mailing-lists
into files in my ~/Mail directory:  Elbows, Debhead, RDT, for instance. 
I then have scripts that look like this...
  mv Elbows elbows.1
  nn elbows.1
Notice that I move the file before opening it; that way more mail could 
come into the Elbows file without accidents happening. 

This "threads" the mails in the file in nn's usual manner; i.e. groups them
first by Subject then by date.  (although that behaviour may vary depending
on the defaults at your site, and ones ~/.nn/init file. Here's mine: 
  set header-lines *CAnW
  map show m next-article
  sequence
  NEW  RC

You can also go 'nn -f filename'  in which case it'll not sort them at all;
just show them in the sequence it finds them in the file.  Sometimes this 
is handy.  

Another *neat* trick is that you can compress mail-files with nn: 
nn elbows.1        open the mail-file
=                   select by Subject
^ <enter>           select all articles (with a beginning).
O                   Output to file, but strip most of the headers
elbows.1a <enter> y Specify filename, and yes, create it
+                   output all selected articles 

This procedure results in a 20-40% reduction in file size, by tossing all
the "Received:" "Errors-To:" "X-Mailer: Elm 5.0" "NNTP-Posting-Host:" etc.
headers. 

Another trick is to mark All articles as I describe above; start reading 
with shift-Z, then if you need to take a break, get to the selection 
screen and use O to output the unread articles to another file. 

Granted, this technique requires some file management, but I argue it's 
not that bad.  It's certainly made it possible for me to read a LOT of mail. 

Next question:  How do you make the kill-files remember from file to file?
When I K-ill a thread, it puts an entry in .nn/kill, which it deletes as
bogus the next time I run nn.  Is there a way to make that permanent? 

-Bob
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads