RE: Hello All. :-) Usage of UBH 3.x
"Josh Matthews" <[email protected]> Mon, 23 Feb 2004 09:51:22 -0800
| Newsgroups | gmane.network.ubh |
|---|---|
| Message-ID | <[email protected]> |
Yes, the UBH 3 CVS is sure a little sketchy in terms of documentation. While I find it faster than 2.5, it seems the functionality is a bit reduced. The main reason I upgraded was I saw in a changelog that using -i while retrieving multipart binaries and choosing not to retrieve them caused them to be marked as read - something that didn't happen in 2.5. But, instead of finding out I don't have to choose 'no' for the same messages each time, I find out that -i has been removed - Murphy's law, I guess ;) Anyhow, I've pasted Gerard's quickstart guide below, which I estimate to have come out sometime around the time stable3 got committed to CVS. Once you've followed those steps (ubhdb, ubhasm, ubhcatalog), you'll have a .log file for each newsgroup. I guess you're supposed to go in and delete all the multiparts you don't want, and then run ubh -b /path/to/logfile.log - that's at least what I do. I was having a lot more luck just "sucking" down newsgroups entirely, but I can't afford to do that bandwidth-wise anymore. It sure would be nice for UBH to be intelligent enough to track the filenames I was after, and not make me choose (or exclude) individual parts using a flat text file. Anyhow, enough of that - here's Gerard's Quick Start guide for CVS. Sure would be nice in the CVS tree or on the website. Or something. 1. When you grab this tree, the first thing you will want to do is cd into the doc subdirectory and create the documentation (via the given 'makedoc' Perl program). 2. Read and understand the README file. Read the other files (starting with index.html). Read the CHANGES file for the list of closed New Features and Bugs. 3. cd into the install subdirectory, and edit the 2_servers.sql and 3_newsgroups.sql files to contain your server(s) and groups. 4. Run one of the installers, install.sh (Unix) or install.bat (Windows). This creates the (empty) database. 5. cd back to the top-level ubh directory 6. Run ubhdb 7. Run ubhasm 8. Run ubhcatalog, and look at the resulting .log files 9. Create a ubhrc (possibly including some -I) and run the ubh client. If you're doing a big download, fire off multiple copies of the client (REALLY!). 10. Let me know what you think. I'll do some cleanup based on your feedback and make a general release. -Gerard ----Original Message Follows---- From: "sudog" <[email protected]> Reply-To: [email protected] To: [email protected] Subject: [ubh] Hello All. :-) Usage of UBH 3.x Date: Mon, 23 Feb 2004 03:38:54 -0000 MIME-Version: 1.0 X-Originating-IP: 24.108.229.11 X-Sender: [email protected] Received: from n13.grp.scd.yahoo.com ([66.218.66.68]) by mc11-f12.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Sun, 22 Feb 2004 19:39:06 -0800 Received: from [66.218.66.156] by n13.grp.scd.yahoo.com with NNFMP; 23 Feb 2004 03:38:55 -0000 Received: (qmail 63884 invoked from network); 23 Feb 2004 03:38:54 -0000 Received: from unknown (66.218.66.166) by m16.grp.scd.yahoo.com with QMQP; 23 Feb 2004 03:38:54 -0000 Received: from unknown (HELO n33.grp.scd.yahoo.com) (66.218.66.101) by mta5.grp.scd.yahoo.com with SMTP; 23 Feb 2004 03:38:54 -0000 Received: from [66.218.67.151] by n33.grp.scd.yahoo.com with NNFMP; 23 Feb 2004 03:38:54 -0000 X-Message-Info: JGTYoYF78jHf0sHB9N+5Rvtcwnqh6LoU X-eGroups-Return: sentto-2917054-626-1077507534-viznet_20=hotmail.com@returns.groups.yahoo.com X-Apparently-To: [email protected] Message-ID: <[email protected]> User-Agent: eGroups-EW/0.82 X-Mailer: Yahoo Groups Message Poster X-eGroups-Remote-IP: 66.218.66.101 X-Yahoo-Profile: sudog Mailing-List: list [email protected]; contact [email protected] Delivered-To: mailing list [email protected] Precedence: bulk List-Unsubscribe: <mailto:[email protected]> Return-Path: sentto-2917054-626-1077507534-viznet_20=hotmail.com@returns.groups.yahoo.com X-OriginalArrivalTime: 23 Feb 2004 03:39:06.0528 (UTC) FILETIME=[96C7BA00:01C3F9BE] I've been a *longtime* user of UBH, and love it to death. It's probably one of the best and most capable programs for Usenet binary downloads I've ever used, and that's saying something. :) Anyway, I thought I'd dabble in the new 3.x version, since it looked interesting. Unfortunately the documentation is a little sparse. I have the MySQL server going, I have all the dependencies (or so it seems) but I was wondering if someone could send me a quick little step-by-step quick-start? Here's what I've done--tell me what I'm missing. 1. Built a .ubhrc with the variables: NNTPSERVER, NEWSRCNAME, DATADIR, MULTI_EXT, SINGLE_EXT 2. Built a .newsrc with a single newsgroup followed by a single colon and a newline. 2.5 Built the SQL tables/etc with the sql from the install directory. Modified them to match the appropriate newsserver, newsgroup, etc information, stripped out the default values. 3. Ran "./ubhcatalog" to retrieve the list of headers and it appears to have pushed them into the MySQL database. 4. Ran ./ubhmark to try to mark them all as UNREAD. 5. Ran ./ubh -A -G news.group.blah ... but when it gets to the part where it says it's about to deal with the single and multi-parts, it just immediately prints out a little status line, "0 bytes" etc etc and exits without actually having downloaded anything from the news server. What am I missing again? Thanks for your time. _________________________________________________________________ Say good-bye to spam, viruses and pop-ups with MSN Premium -- free trial offer! http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ubh/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/