Thread View: news.software.nn
10 messages
10 total messages
Started by Edward Vielmetti
Mon, 30 Nov 1992 22:36
Using NN on MH mail folders
Author: Edward Vielmetti
Date: Mon, 30 Nov 1992 22:36
Date: Mon, 30 Nov 1992 22:36
21 lines
1573 bytes
1573 bytes
I'd like to use NN to browse through my collected MH mail folders. Here's what the FAQ has to say: Bill Wohler (wohler@sap-ag.de) wrote: : Archive-name: nn-fa: 20. How do I save files that I can read later with MH, elm, Mail, ...? : 202020: : MH: : Save your files with +$F/$N. For example, if you save message 10 : in news.software.nn in this way, you will create a file called : ~/News/news/software/nn/10. If you have a symbolic link from : ~/Mail/news to ~/News, then you can look at your saved nn : messages with "scan +news/news/software/nn". Note that it's not *quite* the same. It seems as though NN can read mbox files just fine - when I point it at a copy of my mail spool file it seems to do the right thing - but pointing it at the mail directories just yields the moral equivalent of a blank stare. thanks --Ed
Re: Using NN on MH mail folders
Author: Bill Wohler
Date: Wed, 02 Dec 1992 14:09
Date: Wed, 02 Dec 1992 14:09
12 lines
1059 bytes
1059 bytes
emv@msen.com (Edward Vielmetti) writes: >I'd like to use NN to browse through my collected MH mail folders. ed, i agree. i reported this as a bug long ago (is it still there peter?). it's unfortunate that nn can save files it can't do anything with. at least mh can do something with them. Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler> Heidelberg Red Barons Ultimate Frisbee Team
Re: Using NN on MH mail folders
Author: Peter Kaminski
Date: Thu, 03 Dec 1992 18:56
Date: Thu, 03 Dec 1992 18:56
36 lines
2227 bytes
2227 bytes
In <1fe521INNmku@nigel.msen.com> emv@msen.com (Edward Vielmetti) writes: >I'd like to use NN to browse through my collected MH mail folders. >Here's what the FAQ has to say: >Bill Wohler (wohler@sap-ag.de) wrote: >20. How do I save files that I can read later with MH, elm, Mail, ...? Note that the FAQ answer is the inverse of your question. Saving articles from nn with numbered filenames into various folders will work fine if you want to read them with MH. However, you want to read MH messages with nn. ME TOO!!! For those not familiar with MH, "mail folders" are just directories and subdirectories, and "mail messages" are just files with a number for the filename, one per message. Just like a news spool! If one could just point nn at a "spool" directory other than "/usr/spool/news/" (say, "$HOME/Mail/" for MH), and have nn fake it if it doesn't find the indexing files generated by nnmaster, it would work! This might have other application as an info browser, wherein nn could browse a hierarchy of directories with informational text files in it. This would work best if nn could present a menu of the psuedo-newsgroups at each level (which could use the same code as a menu of real newsgroups, in newsreader mode). This gets me to another dream -- the "hierarchy of directories with informational text files in it" is essentially the data structure a gopher server serves. nn would make a great gopher navigator... :). (Ah, if only I had the spare time...) Pete
Re: Using NN on MH mail folders
Author: Edward Vielmetti
Date: Thu, 03 Dec 1992 21:45
Date: Thu, 03 Dec 1992 21:45
11 lines
1260 bytes
1260 bytes
Peter Kaminski (kaminski@netcom.com) wrote:
: For those not familiar with MH, "mail folders" are just directories and
: subdirectories, and "mail messages" are just files with a number for the
: filename, one per message. Just like a news spool!
hehe. yep, and I'd even be willing to build a fake "active" file or
"history" file on the spool just so that I could use the ordinary
tools. (hm, that might be the key...)
Edward Vielmetti, vice president for research, Msen Inc. emv@Msen.com
Msen Inc., 628 Brooks, Ann Arbor MI 48103 +1 313 998 GLOB
Re: Using NN on MH mail folders
Author: La Monte Yarroll
Date: Mon, 07 Dec 1992 04:51
Date: Mon, 07 Dec 1992 04:51
29 lines
1858 bytes
1858 bytes
emv@msen.com (Edward Vielmetti) writes: >Peter Kaminski (kaminski@netcom.com) wrote: >: For those not familiar with MH, "mail folders" are just directories and >: subdirectories, and "mail messages" are just files with a number for the >: filename, one per message. Just like a news spool! >hehe. yep, and I'd even be willing to build a fake "active" file or >"history" file on the spool just so that I could use the ordinary >tools. (hm, that might be the key...) .. Sigh. For years I've wanted an integrated mail/news reader. I'd really like to treat my mailing lists just like news groups, and do MH-style searches on news (over something like NNTP that is...). The c-client package from the University of Washington has some of the pieces to start building this sort of thing, but NNTP support from that package is still pretty weak. For the moment I use a combination of elm, mh, and nn, but they don't much care for each other. -- La Monte H. Yarroll Home: piggy@baqaqi.chi.il.us Work: piggy@hilbert.maths.utas.edu.au AKA: piggy@gargoyle.uchicago.edu Once upon a time: postmaster@clout.chi.il.us
Re: Using NN on MH mail folders
Author: Shinji Kono
Date: Mon, 07 Dec 1992 06:05
Date: Mon, 07 Dec 1992 06:05
22 lines
1672 bytes
1672 bytes
In article <piggy.723703879@newsroom.utas.edu.au> , piggy@hilbert.cc.utas.edu.au (La Monte Yarroll) writes >Sigh. For years I've wanted an integrated mail/news reader. I'd >really like to treat my mailing lists just like news groups, and do >MH-style searches on news (over something like NNTP that is...). For the search if you have news spool or remote mounted spool, MH commands work directly. For example, ln -s /usr/spool/news ~/Mail alias sc 'echo scan last:20 +news/\!* | sed -e s-\\.-/-g|sh' sc comp.mail.mh You can even post a news from MH (like this post). The mehtod is described in MH sources's misc directory. So if you can feed your mailing lists to the news system using mail2news, most of your problems are solved in MH. The only remaining things are reading MH mail from a news reader.... --- Shinji Kono @ kono@csl.sony.co.jp Sony Computer Science Laboratory, Inc,Japan
Re: Using NN on MH mail folders
Author: La Monte Yarroll
Date: Wed, 09 Dec 1992 00:00
Date: Wed, 09 Dec 1992 00:00
42 lines
2563 bytes
2563 bytes
kono@csl.sony.co.jp (Shinji Kono) writes: >In article <piggy.723703879@newsroom.utas.edu.au> , > piggy@hilbert.cc.utas.edu.au (La Monte Yarroll) writes > >>Sigh. For years I've wanted an integrated mail/news reader. I'd >>really like to treat my mailing lists just like news groups, and do >>MH-style searches on news (over something like NNTP that is...). >For the search if you have news spool or remote mounted spool, >MH commands work directly. For example, .. Ah, but I don't have a news spool or even a remote mounted spool. Does the NNTP protocol include search features? If I could overcome the other problems of MH and news, perhaps it might be worthwhile for me to try talking the powers-that-be into allowing the news spools to be NFS mounted. The main problem with using MH with news spools seems to be that MH really wants to write in the spool directories. I could use sequences to implement something like nn's autokill/autoselect, and I suspect that there's a way to tell MH "show me only things I've never seen", but sequences are always stored in the same directory as the messages, and MH marks messages as "seen" by actually changing the message itself. Is there a way to get MH to do "out of band control"? I.e. get to put its control information somewhere else? It occurs to me that if I had access to spool directories, I could duplicate the tree structure and make symlinks for all the articles, but this strikes me as extraordinarily wasteful. >The only remaining things are reading MH mail from a news reader.... Don't forget reading gopher and wais from a news reader... :-) -- La Monte H. Yarroll Home: piggy@baqaqi.chi.il.us Work: piggy@hilbert.maths.utas.edu.au AKA: piggy@gargoyle.uchicago.edu Once upon a time: postmaster@clout.chi.il.us
Re: Using NN on MH mail folders
Author: Peter Kaminski
Date: Wed, 09 Dec 1992 04:02
Date: Wed, 09 Dec 1992 04:02
24 lines
1605 bytes
1605 bytes
In <piggy.723859225@newsroom.utas.edu.au> piggy@hilbert.cc.utas.edu.au (La Monte Yarroll) writes: >The main problem with using MH with news spools seems to be that MH >really wants to write in the spool directories. If the spool directory isn't writable by you, MH will create "private" sequences, which are stored in your MH context file, instead of in the spool directory. You can also use the "-nopublic" switch to 'mark' or 'pick' to force that action. >and MH marks messages as "seen" by actually changing the message itself. I thought it used sequences (like "Unseen-Sequence"). Just pretend to "inc" new articles somehow, and you're set (as long as the unseen sequence doesn't get too long). >>The only remaining things are reading MH mail from a news reader.... >Don't forget reading gopher and wais from a news reader... :-) Right on! :) Pete
Re: Using NN on MH mail folders
Author: Scott Blachowicz
Date: Wed, 09 Dec 1992 18:00
Date: Wed, 09 Dec 1992 18:00
44 lines
2920 bytes
2920 bytes
>>>>> "emv" == Edward Vielmetti <emv@msen.com>
emv> Peter Kaminski (kaminski@netcom.com) wrote:
emv> : For those not familiar with MH, "mail folders" are just directories and
emv> : subdirectories, and "mail messages" are just files with a number for the
emv> : filename, one per message. Just like a news spool!
emv> hehe. yep, and I'd even be willing to build a fake "active" file or
emv> "history" file on the spool just so that I could use the ordinary
emv> tools. (hm, that might be the key...)
Which is easy enough to do (I build an active file on my mail spool each night
when I refile my +inbox into other folders. That way I can use GNUS from Emacs
to read my mail easily enough (I've got "some hacks that need cleanup" to GNUS
3.13 to give me mixed NNTP and MH mail directory access...my .newsrc file has
a lot of mail folders in it. I need to merge them into GNUS 3.14.1, and
cleanup some annoyances.)
At any rate, constructing the active file goes something like this:
# Make sure you don't have any .mh_profile components that would screw up
# the 'pick' command below (like '-seq picked' or something similar).
cd $HOME/Mail
find . -type d ! -name inbox -print |
while read dir
do
fl=`pick +$dir first last 2>/dev/null`
if [ $? -eq 0 ]
then
set -- $fl
echo `echo $dir | tr '/' '.'` ${2:-$1} $1 n
fi
done > mh_active
I trimmed it a little bit to remove some private/local cruft, but that's the
basic idea. It'd probably be faster to something where you do a 'find' for the
message files, piping that into a numeric sort and picking off the 1st last
entries for a directory, then filter the directory path (/ --> .). Running
`pick first last` on each directory is probably not the fastest, but I do it
overnight, so it's no big deal.
--
Scott Blachowicz Ph: 206/283-8802x240 USPS: Statistical Sciences, Inc
1700 Westlake Ave N #500
scott@statsci.com / uunet!statsci!scott Seattle, WA USA 98109
.or.. Scott.Blachowicz@seaslug.org
Re: Using NN on MH mail folders
Author: Shinji Kono
Date: Fri, 11 Dec 1992 07:18
Date: Fri, 11 Dec 1992 07:18
13 lines
1377 bytes
1377 bytes
In article <piggy.723859225@newsroom.utas.edu.au> , piggy@hilbert.cc.utas.edu.au (La Monte Yarroll) writes >Ah, but I don't have a news spool or even a remote mounted spool. >Does the NNTP protocol include search features? One of my friends write perl script to "inc" from nntp server. He said he had tried nntp with bbl, but no good. I find reading remote mounted spool is faster than nntp. So if you really need "pick" for news, it is better to ask remote mount. --- Shinji Kono @ kono@csl.sony.co.jp Sony Computer Science Laboratory, Inc,Japan
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