On 03/28/2011 08:15 PM, Ron Johnson wrote:
On 03/28/2011 06:49 PM, Duncan wrote:
Ron Johnson posted on Sun, 27 Mar 2011 15:49:53 -0500 as excerpted:
The GUI interface is great, but not so optimized for downloading the
headers of big groups.
So, I request a separate program pan-get-headers (which is part of the
pan2 source tree and thus gets built when you run "make") that uses the
already-existing pan nntp functions.
It would work something like:
$ pan-get-headers --group=alt.really.big --all
$ pan-get-headers --group=alt.really.big --new
$ pan-get-headers --group=alt.really.big --days=nn
$ pan-get-headers --group=alt.really.big --latest=nn
While I haven't looked at it in awhile nor really ever used it myself,
pan
already has a "gui-less" CLI interface, that specifically /does/ have
header-fetch functionality. Try running pan --help in a terminal window
and see if it has what you're looking for.
Interesting. Thanks.
A quick-look says it fetches new headers (no options for the others).
Good for a continuing cronjob or the like, to keep up with a group so
when
running pan normally it's already up2date, but not so much for
initializing a big group.
I'm trying it now. Will see how long it takes to crash...
$ date && pan --no-gui headers:alt.binaries.dvd ; date
Mon Mar 28 20:12:05 CDT 2011
5 hours...
$ date && pan --no-gui headers:alt.binaries.dvd ; date
Mon Mar 28 20:25:33 CDT 2011
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
Tue Mar 29 01:27:17 CDT 2011
--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749
_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users