Thread View: news.software.readers
11 messages
11 total messages
Started by Jamie
Sat, 28 Jan 2006 20:32
[Lucy] version .004 available
Author: Jamie
Date: Sat, 28 Jan 2006 20:32
Date: Sat, 28 Jan 2006 20:32
68 lines
2809 bytes
2809 bytes
Hello newsgroup,
Just wanted to let anyone interested know that version .004 is done.
Lucy is a TermCap based newsreader for the UNIX'ish platform, tested
on macintosh and linux. It's very much alpha level stuff, your mileage
may vary, etc.. It's written in perl, so it's easy to customize. It
does NOT need the curses module, but it should have Term::ReadLine::Gnu
It is NOT for the usenet newbie.
http://www.geniegate.com/other/lucy/
New features are:
Background downloading / binary threading
It'll download and decode binaries in the background now
if you tell it to. (via another server connection)
Binary threading (optional) allows you to view a list of
articles such "file.mp3 (1/3)" as a thread.
It'll seek out looking for missing / present parts as well
if you ask it to.
The background downloader will then seek out these parts
and attempt to assemble them.
In keeping true to the UNIX spirit, it can also run the 'nget'
program for you. (or other, configurable download program)
XOVER cache. (if you want)
This is really only good for slow servers or cases
where you're paying by the byte.
The speed improvements on my tests are only a matter
of ~10-20 seconds.
command completion of most pattern prompts.
Will fill in words from nearby article subjects,
(useful for weeding out certain things, etc..)
place holders (:spot-push, :spot-pop, :spot-cycle)
Mark an article, view another, jump back to the first
(or second or third or ...)
scrollable subjects (for long subject lines)
An "install.pl" will try and run CPAN for you on the missing
modules. (Critical are Set::IntSpan and Net::NNTP)
Probably a few I'm missing here...
Have fun.
Jamie
--
http://www.geniegate.com Custom web programming
guhzo_42@lnubb.pbz (rot13) User Management Solutions
Re: [Lucy] version .004 available
Author: SINNER
Date: Wed, 01 Feb 2006 00:29
Date: Wed, 01 Feb 2006 00:29
25 lines
2006 bytes
2006 bytes
* Jamie wrote in news.software.readers: > Hello newsgroup, > Just wanted to let anyone interested know that version .004 is done. > Lucy is a TermCap based newsreader for the UNIX'ish platform, tested > on macintosh and linux. It's very much alpha level stuff, your mileage > may vary, etc.. It's written in perl, so it's easy to customize. It > does NOT need the curses module, but it should have Term::ReadLine::Gnu > It is NOT for the usenet newbie. > http://www.geniegate.com/other/lucy/ I must say this looks inviting and intimidating all at once. If I knew more Perl(read:any) I would be much more tempted. Will you post users mods on your site for others to download? [...] -- David Hodie natus est radici frater. [ Unto the root is born a brother ]
Re: [Lucy] version .004 available
Author: Ben Shimmin
Date: Wed, 01 Feb 2006 01:46
Date: Wed, 01 Feb 2006 01:46
18 lines
1595 bytes
1595 bytes
SINNER <99nesorjd@gates_of_hell.invalid>:
[...]
> --
> David
> Hodie natus est radici frater.
>
> [ Unto the root is born a brother ]
What happened to `hodie' in the translation? `*Today* a brother is born...'
b.
--
<bas@bas.me.uk> <URL:http://bas.me.uk/>
`If all the girls who attended the Harvard-Yale game were laid end to end,
I wouldn't be surprised.' -- Dorothy Parker
Re: [Lucy] version .004 available
Author: Jamie
Date: Thu, 02 Feb 2006 16:57
Date: Thu, 02 Feb 2006 16:57
72 lines
4167 bytes
4167 bytes
In: <rob5b3xvk5.ln2@news.gates-of-hell.com>, SINNER <99nesorjd@gates_of_hell.invalid> wrote:
>* Jamie wrote in news.software.readers:
>> Hello newsgroup,
>
>> Just wanted to let anyone interested know that version .004 is done.
>
>> Lucy is a TermCap based newsreader for the UNIX'ish platform, tested
>> on macintosh and linux. It's very much alpha level stuff, your mileage
>> may vary, etc.. It's written in perl, so it's easy to customize. It
>> does NOT need the curses module, but it should have Term::ReadLine::Gnu
>
>> It is NOT for the usenet newbie.
>
>
>> http://www.geniegate.com/other/lucy/
>
>I must say this looks inviting and intimidating all at once. If I knew
>more Perl(read:any) I would be much more tempted. Will you post users
>mods on your site for others to download?
I was thinking about maybe setting up an actual news server for that purpose
at some point. (well, for that and testing...) Posting user mods would have
to be on a "pr. version" basis, because the core of it will probably change
a lot.
Have to warn you (and others..) it's got more then it's share of bugs at the
moment. A MAJOR one is that it'll clobber a newsrc. (Fortunately, this is
pretty easy to fix..) By default it won't access a ~/.newsrc anyway.
I'd release a fix, but.. I discovered it shortly after tearing it into pieces
again. (I want to give it support for profiles and the ability to swap in and
out of followup posts, Ie: post a followup, drop out, back to group, back to
post, check another group, back to post, hit submit, ideally with the ability
to "pick up" a post from another screen session)
If anyone asks me about it I'll help them get the newsrc bug fixed up. I don't
want to fix something if no one but me is actually using it, this should do it:
Lucy::VanillaSrc:
$ent->{run} =~ s/[\d\-\,]//g;
Should be:
$ent->{run} =~ s/[^\d\-\,]//g;
During the "save" process it's a little too zealous about cleaning it up.. :-(
The "devel copy" has the ability to keep multiple groups open at once, so I
know these things are possible (Some day it will consume every bit as much
memory as the GUI brothers, thus putting it on par with a GUI heh)
It already has profile support via 'server aliases' but.. this is less then
convenient. Can't switch from profile to profile w/out restarting it or
holding multiple connections open.
Also, why thread in the usual way and then explicitly RE-thread on binaries?
Also want to rip out the need for Net::NNTP, since most of the heavy work
has been done by Graham Barr's excellent Net::Cmd anyway. Most of this has
been done in some test code I've got.
I'm hammering on it a lot here, 'cause I see the bugs.. (well.. it is named
after a rabbit, maybe should have been called "Bugs" bunny?) it does have
a lot of promise though. I thought the Term::Cap (-vs- Curses) would have
been a major slowup, but this is turning out so far not to be that hard
to work around.
Jamie
--
http://www.geniegate.com Custom web programming
guhzo_42@lnubb.pbz (rot13) User Management Solutions
It takes me about 60 seconds to download two thousand Full_Text articles.
Author: Jeff_โelf
Date: Wed, 15 Feb 2006 22:38
Date: Wed, 15 Feb 2006 22:38
10 lines
1437 bytes
1437 bytes
Hi Jamie, I wrote my own newsreader in C++, and Visual_Studio's VBA. It's not for binaries... I use ShareAza.EXE for that, see ShareAza.COM. I never use XOVER, by the way, I always download a batch of full articles, headers and all. Sending a large batch of Article commands is very fast. It takes me about 60 seconds to download two thousand Full_Text articles. You can read more about it at my website, Cotse.NET/users/jeffrelf Use FireFox to download the .TXT and .CPP files, by the way, IE6 can't do it.
Re: It takes me about 60 seconds to download two thousand Full_Text articles.
Author: Jamie
Date: Sun, 19 Feb 2006 13:26
Date: Sun, 19 Feb 2006 13:26
42 lines
2837 bytes
2837 bytes
Hi, In <Jeff_Relf_2006_Feb_15_ACs8@Cotse.NET>, =?UTF-8?Q?Jeff=5F=E2=84=9Eelf?= <Me@Privacy.NET> mentions: >Hi Jamie, I wrote my own newsreader in C++, and Visual_Studio's VBA. >It's not for binaries... I use ShareAza.EXE for that, see ShareAza.COM. I was there, sounds like news reader writing is not a dying art. :-) >I never use XOVER, by the way, I always download a batch of full articles, >headers and all. Sending a large batch of Article commands is very fast. >It takes me about 60 seconds to download two thousand Full_Text articles. Take quite a bit longer here for some reason, even if I do something like, access with telnet and then switch to another screen (to minimize the effects of stdio) XOVER is pretty fast, albeit limited in what you can do. Depends on the server implementation, I suppose. Over here, XOVER is fast. >You can read more about it at my website, Cotse.NET/users/jeffrelf >Use FireFox to download the .TXT and .CPP files, by the way, IE6 can't do it. I was there, sounds like yours is more for windows. I do like the fact that it'll dump into a text editor. Actually, you've inspired the "save-listing" command in my newsreader because of that. I want a newsreader to work with other commands. Mine is more for the unix type, people who don't like a GUI. (believe it or not, it would have been EASIER to give it a gui.. I just happen to dislike GUI's (several reasons for that) Oh, and to bring newsreaders back into perl, since perl was originally designed to work with news systems. :-) Good to know people are still designing news readers. :-) Jamie -- http://www.geniegate.com Custom web programming guhzo_42@lnubb.pbz (rot13) User Management Solutions
A _Bunch_ of Article_XXXX commands in _One_ send buffer.
Author: Jeff_โelf
Date: Sun, 19 Feb 2006 17:32
Date: Sun, 19 Feb 2006 17:32
42 lines
2518 bytes
2518 bytes
Hi Jamie, Speaking of perl... Does it have text_Replacement macros like C's #define ? I love macros, they remove a lot of redundancy and other ugliness. You wrote: XOVER is pretty fast, albeit limited in what you can do. Depends on the server implementation, I suppose. Over here, XOVER is fast. Back when I used to use XOVER, I hated it, because it lacks these headers: X-Proxy-User, X-No-Archive, Path, User-Agent, X-Newsreader X-HTTP-UserAgent, X-Mailer, NNTP-Posting-Host, Newsgroups As far as the speed of batch downloading full articles, have you tried issuing a _Bunch_ of Article_XXXX commands in _One_ send buffer, ...and then waiting for the results only after that ? For some reason that's much faster than issuing Article_XXXX commands one at a time. I've done a lot of timing tests, and XOVER was slow, I thought, plus not all NNTP servers have it, e.g. News.ReadFreeNews.NET:119 Also, I don't know how your ATT.NET compares but Individual.NET is very, very fast... and only 13.48 USD per year. You mentioned that you don't like GUIs... What editor do you use, VI ? X, my newsreader, mostly just dumps stuff to UFT-16 encoded .TXT files, it relies heavily on Visual_Studio_2005 and VBA macros for the rest. Visual_Studio is a kick_ass editor, I think. X uses Direct_Draw to scroll logs, repainting up to 50 times per second if need be, ...but zero times per second when there's no activity. The other very Windows_Specific stuff is the UTF-8/16 routines and Outlook's MLang, a COM/DLL that handles all kinds of encodings and charsets.
Re: A _Bunch_ of Article_XXXX commands in _One_ send buffer.
Author: Jamie
Date: Sun, 19 Feb 2006 18:28
Date: Sun, 19 Feb 2006 18:28
111 lines
6242 bytes
6242 bytes
In <Jeff_Relf_2006_Feb_19_E5ZX@Cotse.NET>, =?UTF-8?Q?Jeff=5F=E2=84=9Eelf?= <Me@Privacy.NET> mentions: >Hi Jamie, > >Speaking of perl... Does it have text_Replacement macros like C's #define ? >I love macros, they remove a lot of redundancy and other ugliness. Not really, kind of if you count source filters, but, I've only used them occasionaly (just to experiment with them) It would be nice _sometimes_ I guess. Overall, you're not generally going to get the same performance out of perl as you would in C or C++. Places where this has really been an issue is in the scorefile (I'm ripping out the killfile and replacing it with a score file) and the way newsrc files are handled. In fact, I've discovered that I can't KEEP UP with a high speed news servers XOVER dump. The cache in these cases will actually slow it down. (it uses compression, on linux compression is fast, but on my mac, compression is a real bottleneck) The bright side to all this, is that one could actually design and implement their own commands or scorefile rules using straight perl if they wanted, which is like having a macro-language built in. Thought about embedding REXX, TCL or Perl in your newsreader as a macro language? REXX is really easy for people to pick up, and it's designed for this type of thing. >Back when I used to use XOVER, I hated it, because it lacks these headers: > > X-Proxy-User, X-No-Archive, Path, User-Agent, X-Newsreader > X-HTTP-UserAgent, X-Mailer, NNTP-Posting-Host, Newsgroups Newsgroups would have been useful. Has "xref" usually though. >As far as the speed of batch downloading full articles, have you tried >issuing a _Bunch_ of Article_XXXX commands in _One_ send buffer, >...and then waiting for the results only after that ? Nope, didn't try that. Makes sense though. >For some reason that's much faster than >issuing Article_XXXX commands one at a time. I could see it, it has to do with the in <-> out process cycle, there was a big stink about it some time ago regarding how news servers talk to one another. >I've done a lot of timing tests, and XOVER was slow, I thought, >plus not all NNTP servers have it, e.g. News.ReadFreeNews.NET:119 True. The implementation I have could easily be ported (now that I've stripped out the News::NNTP stuff and just rolled my own..) In fact, anything that implements an iterator could be used. (I was thinking some day of having a "shell command" back end for it, so one could "plumb" it in to any set of commands that produce tab files and articles. You could "view news" by running sql queries or whatever this way. >You mentioned that you don't like GUIs... What editor do you use, VI ? >X, my newsreader, mostly just dumps stuff to UFT-16 encoded .TXT files, >it relies heavily on Visual_Studio_2005 and VBA macros for the rest. > >Visual_Studio is a kick_ass editor, I think. I use vim these days, but I was a die-hard emacs fan at one point. I really, really HATE the way you have to play musical editors. (In fact, it's one of the things I don't like about web browser textarea interfaces) >X uses Direct_Draw to scroll logs, >repainting up to 50 times per second if need be, >...but zero times per second when there's no activity. Thats where it's quite a challenge to do terminal stuff, you have to think about the "refresh" cycle. Terminals (even xterms..) have a baud rate, each character is sent through a serial interface and then "interpreted" by the terminal (or xterm). Really makes even basic things like scrolling difficult. (I don't use curses, since I want it to run on an old machine I've got that doesn't have the curses module, makes it a bit easier to install) The good news is, you could use a terminal program from one computer, detach (using 'screen') and then pickup from a different computer without shutting anything down. This is handy for work or working from a friends house to your computer. Command line interfaces are really, really nice to have as well. Especially for features you don't often use, no need to memorize keystrokes or navigate through endless lists of menus, just hitting ':tag-<tab>' will show all commands beginning with 'tag-' (in this case, commands related to tagged articles) >The other very Windows_Specific stuff is >the UTF-8/16 routines and Outlook's MLang, >a COM/DLL that handles all kinds of encodings and charsets. Yea, thats an area I'm a bit concerned about, the UTF crap. In my opinion... any language that can't be represented in 7 bits is broken, NOT the software. 2^7 really ought to be enough to represent everything. Languages that have more then that many characters should consider stripping some of them out. :-) UTF stuff would probably depend on which terminal the person is using, but, I suspect there are a number of warts in Lucy that would crop up if I were to test it out for UTF. Jamie -- http://www.geniegate.com Custom web programming guhzo_42@lnubb.pbz (rot13) User Management Solutions
Perl's source filters.
Author: Jeff_โelf
Date: Sun, 19 Feb 2006 22:43
Date: Sun, 19 Feb 2006 22:43
49 lines
2826 bytes
2826 bytes
Hi Jamie, I checked out Perl's source filters, looks better than #define, near as I can tell, ...at least for those of us who like that sort of thing. You told me: I'm ripping out the killfile and replacing it with a score file. Speaking of scoring... As you may know, I like to see direct and indirect replies to me first, then posts who's titles don't start with Re:, sorted by how many lines of direct and indirect replies they got, weighted by level, or if no replies, by how recent they are. That's the only scoring I use, and I really love it, ...I don't Trash_Bin anyone. You asked me: Thought about embedding REXX, TCL or Perl in your newsreader as a macro language ? REXX is really easy for people to pick up, and it's designed for this type of thing. No, I only use C++ to do my scoring and such, which only helps me, of course. I use VBA, Visual_Basic_for_Applications, to enhance Visual_Studio. I may replace VS with my own custom editor... someday. Despite how often I've mentioned my newsreader on Usenet, I don't know of anyone besides me who has actually run it, which is probably fortunate, as supporting anyone else would be a real pain. Speaking of XOver, you wrote: Has "xref" usually though. I save off the Message_IDs of the last few articles I downloaded, along with the last Article_Numver to a special place so I know where to pick up again next time should I have to switch NNTP servers. I only use XRef, from the headers, to find an article number from a Message_ID. XOver is useless for that because you can't pass it a Message_ID. I mistakenly wrote: I've done a lot of timing tests, and XOVER was slow, I thought, plus not all NNTP servers have it, e.g. News.ReadFreeNews.NET:119 ReadFreeNews does have XOver, complete with the XRef field.
Re: Perl's source filters.
Author: Jamie
Date: Mon, 20 Feb 2006 02:43
Date: Mon, 20 Feb 2006 02:43
68 lines
4285 bytes
4285 bytes
In <Jeff_Relf_2006_Feb_19_zNI8@Cotse.NET>, =?UTF-8?Q?Jeff=5F=E2=84=9Eelf?= <Me@Privacy.NET> mentions: >Hi Jamie, I checked out Perl's source filters, >looks better than #define, near as I can tell, >...at least for those of us who like that sort of thing. My experience with perl source filters is mixed, it WILL slow down the script considerably, (well, the startup time anyway) because it's source needs to be parsed each time, a source filter adds an additional layer to that. (You obviously don't have this problem with compiled languages) I guess perl6 is addressing that (bytecode), some of which has been backported into perl5. So far, source filters are a dirty hack in my experience. Promising idea though. >As you may know, I like to see direct and indirect replies to me first, >then posts who's titles don't start with Re:, >sorted by how many lines of direct and indirect replies they got, >weighted by level, or if no replies, by how recent they are. > >That's the only scoring I use, and I really love it, >...I don't Trash_Bin anyone. Sounds cool, I find it really depends on the group I'm in how I want scoring, usually, I just want it in the same order the server sends it. When downloading MP3's.. I want it sorted on subjects with the "threading" by part numbers. >Despite how often I've mentioned my newsreader on Usenet, >I don't know of anyone besides me who has actually run it, >which is probably fortunate, as supporting anyone else would be a real pain. It's clearly a labor of love. I do wish a person could earn their keep doing NNTP stuff, but franky, I just can't think of a good sound business model. A couple people that I know of have run mine, but very few. Mostly people looking to check it out. (it does have bugs, I openly admit..) I'm fan of SLRN and NN/TIN as well, not overly pushy about any particular newsreader. All terminal mode newsreaders are good, IMO. :-) (slrn is really quite stable, I've always been impressed by the work of Mr Davis, his rxvt program is about the best I'd ever seen) Some day.. I'd like to work with something like 8-bit NNTP for podcasts since podcasting is bandwidth intensive and there really isn't a "tuner mechanism". I would think flooding protocol could serve a useful place in that. Alas, where is the business model? (actually, I have difficulty seeing the business model of regular usenet) >I save off the Message_IDs of the last few articles I downloaded, >along with the last Article_Numver to a special place so I know >where to pick up again next time should I have to switch NNTP servers. Hmm.. so do you use newsrc files with article numbers to mark which has been read and which hasn't then? Thought about going the route of message ID's (internally, I index them that way since I need to use them for threading anyway) but I went the newsrc route because it's a standard. (and much less space intensive) Jamie -- http://www.geniegate.com Custom web programming guhzo_42@lnubb.pbz (rot13) User Management Solutions
Jamie, I like Visual_Studio_2005 like you like command-lines.
Author: Jeff_โelf
Date: Mon, 20 Feb 2006 17:03
Date: Mon, 20 Feb 2006 17:03
40 lines
2710 bytes
2710 bytes
Hi Jamie, I wrote: I save off the Message_IDs of the last few articles I downloaded, along with the last Article_Number, to a special place so I know where to pick up again next time should I have to switch NNTP servers. and you replied: Hmm... so do you use newsrc files with article numbers to mark which has been read and which hasn't then ? Thought about going the route of message ID's ( internally, I index them that way since I need to use them for threading anyway ) but I went the newsrc route because it's a standard. ( and much less space intensive ) The Article_Number of last message I downloaded is thee Only Article_Number I ever keep track off... and I almost never use it. I only keep the last 5 Message-IDs from the _References_ header of the last 2,000 posts, i.e. direct and indirect replies, 5 deep. If I want to see raw headers or bodies I just download them. I like Visual_Studio_2005 like you like command-lines. NR.TXT is an example of my only storing/sorting/searching/editing/posting system, it's a 5 meg UTF-16 encoded file. IE6 can neither display nor download it properly... what a riot. My X.EXE created it, X.TXT has its settings. Cotse.NET/users/jeffrelf/NR_TXT.PNG Cotse.NET/users/jeffrelf/NR.TXT Cotse.NET/users/jeffrelf/X.TXT Cotse.NET/users/jeffrelf/X.EXE My Home Page: Cotse.NET/users/jeffrelf I use Visual_Studio VBA macros to delete or save off articles, i.e. remove them from NR.TXT or place them at the end of the file. VS can undo/redo everything, of course, including entire NR.TXT files that X might be creating.
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