Article View: news.software.nn
Article #6341Re: Can I read my mail with nn?
From: Bob MacDowell
Date: Sat, 27 Aug 1994 09:23
Date: Sat, 27 Aug 1994 09:23
61 lines
3311 bytes
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
Technical Details
Message-ID:
<bobmacdCv6sr9.JK5@netcom.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!hookup!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!csus.edu!netcom.com!bobmacdReferences:
<dangCuno66.FD6@netcom.com>Show Full Headers
Complete Article Headers
Message-ID: <bobmacdCv6sr9.JK5@netcom.com> Subject: Re: Can I read my mail with nn? Date: Sat, 27 Aug 1994 09:23:32 GMT From: bobmacd@netcom.com (Bob MacDowell) References: <dangCuno66.FD6@netcom.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!hookup!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!csus.edu!netcom.com!bobmacd Newsgroups: news.software.nn Organization: NETCOM On-line Communication Services (408 261-4700 guest) Lines: 61