Author Topic: are there any newsreaders?  (Read 12631 times)

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
are there any newsreaders?
« Reply #15 on: January 25, 2004, 11:47:02 am »
Well I still get the same errors while compiling slrn with the older gcc install  :cry:

As far as getting headers goes,  it goes into slrn, gives you a display showing your subscribed newsgroups.

Highlight the group you want, press return once.

It will then say \"newsgroupname: Read how many? (default 43965) \"
if you press return here it will read the full amount in brackets, type 500 press return and it will only read 500 in.

The reason why I am giving the exact keypresses here, is that the line is quite long and this info may be getting truncated on the 5600 screen.

Have you tried the screen rotate? It comes installed with some of the roms(tkcrom) if you rotate the screen to landscape mode before going into the terminal you should get more on the screen.  The only problem then is that your keyboard is to the side rather than under the screen.

As far as the offline bit goes, (if I ever get it to compile) you should be able to just download the headers to your card, disconnect the internet connection, browse through the headers at your leisure marking any interesting ones.  When you go back online it will pull in the bodies for the marked headers only, and pull back any new headers since your last connection.

This won\'t take up much space on text only groups, and will be quicker as you are not downloading every header for the group every time you connect.

You should also be able to select some smaller groups as allways download all bodies.  Once the message has been read you can run the expire script which will delete them from your storage.

Peter.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
are there any newsreaders?
« Reply #16 on: January 25, 2004, 12:40:40 pm »
Yes, that\'s exactly what I would like, if you can get it to work ;-)

I haven\'t tried a screen rotate yet. I still use the Sharp 1.32 roms and am not too sure I want to try a different rom. Maybe when I\'m more sure of my zaurusing, and being able to restore things if it doesn\'t go well... I\'ve heard that the old rotate program won\'t work on the 5600, but it must be possible because tkcvideo rotates the playback quite nicely. It might be a good idea for slrn and I should do some more searching for that.

See, that\'s what I mean by reading the docs ;-) I must have missed that. I thought it meant something more like \"get from message number\", so if it said 5524, I entered 5000 thinking it would only get 24 headers...

Thanks for your help & work. Someday in the not so distant future, I may be able to try a compile myself... Unfortunately, there\'s a lot of ground to cover from here to there ;-)
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
are there any newsreaders?
« Reply #17 on: January 25, 2004, 03:59:07 pm »
Quote
Yes, that\'s exactly what I would like, if you can get it to work

I just have done  

I had to sacrifice slang support as that was where the errors where coming from. but it does seem to work ok.

I downloaded 132 articles from tnn.sys.zaurus  which took 1m:40s and used 792 kb in /mnt/card/news.  

I reloaded news support from the my local feed, which put my ~/.jnewsrc file down to 313 bytes as it now has only 1 newsgroup in it.

slrn startup time is now almost immediate, it doesn\'t have to download all the headers everytime it starts.

Quote
I\'ve heard that the old rotate program won\'t work on the 5600

Looks like it has been fixed, see the last post in this thread:-

http://www.zaurususergroup.com/index.php?n...ighlight=rotate

Quote
Thanks for your help & work. Someday in the not so distant future, I may be able to try a compile myself... Unfortunately, there\'s a lot of ground to cover from here to there

I\'ve taken more than I have given from this forum, shortly I will be able to give something back (other than just advice), even if you are the only one that wants it  

Everybody has to start somewhere.  I have been meaning to do this ever since I got my first zaurus (sl5500) you gave me the incentive to do it so I should be thanking you.

I will mail you the binaries once I have done a bit of testing first, and compiled some sort of \'howto\' guide to get it all working.

Peter.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
are there any newsreaders?
« Reply #18 on: January 25, 2004, 11:39:14 pm »
Sounds great! And it goes to card instead of internal, which is even better. I would think when all this works, there will be more interest in it.

I grabbed the fixed rotation ipk and will give that  a look later. Don\'t know if I\'ll have time tonight though...

Yes, it\'s nice to give back now and then. I started \'taking\' quite a lot on a camera board a long time ago. And I\'ve turned into one of the \'givers\' when I can But in a sense, even the \'takers\' give to others because they supply the question/answer posts that people come here to read to solve their problems. If noone asked, we\'d all lose... And official \'givers\' are very much appreciated!  Thank you for joining their ranks! ;-)
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

jebaker

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
are there any newsreaders?
« Reply #19 on: January 29, 2004, 02:18:55 pm »
I have compiled the latest slrn (0.9.8.0) with slrnpull if anyone is interested. I made a ipk, but I am not sure if it will work. I will upload it to the downloads section if anyone wants to try it. zbones, to fix the compile errors you were getting, you need to create a symlink called libdl.so to libdl-2.2.2.so. I just put the link in /usr/lib/ by doing a \"ln -s /lib/libdl-2.2.2.so /usr/lib/libdl.so\".  After creating the link, you then have to re-run configure. For some reason, the linker needs the library to be called libdl.so to see it.

Jeff

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
are there any newsreaders?
« Reply #20 on: January 29, 2004, 02:44:07 pm »
Thanks for the tip jrebaker.

I did manage to compile it eventually, I noticed that the link errors were all for slang, so I did the configure with
Code: [Select]
--with-slrnpull --disable-slang

I was going to make an ipk of it tonight, as I have been busy lately, (was in london on Tuesday).  Since you have made an ipk and your version includes slang, then it would probably be easier for you to upload yours.

How did you get round the check for sendmail?  did you compile it?
I cheated by creating a shell script called sendmail that just did exit 0.

If you managed to compile sendmail, I wouldn\'t mind a copy of the binary.

Peter.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
are there any newsreaders?
« Reply #21 on: January 29, 2004, 02:54:26 pm »
Here\'s my setup instructions I was writing for slrnpull :-

Code: [Select]
cd /mnt/card

mkdir -p /.news/slrnpull/news



Ln -s /mnt/card/.news /var/spool/news



If you create the directory prefixed with a . as above then it stops other apps searching through you 20,000 news messages you have on there.



Add the following lines to ~/.slrnrc (create it if it doesn\'t exist)



       set spool_inn_root       "/var/spool/news/slrnpull"

       set spool_root           "/var/spool/news/slrnpull/news"

       set spool_nov_root       "/var/spool/news/slrnpull/news"

       set use_slrnpull 1

       set read_active 1

       set server_object        "spool"

       set hostname "zaurus.com" (or enter a real fully qualified domain name)

       set username "root" (or enter zaurus, or any other user you have created)



create slrnpull.conf int /mnt/card/.news/slrnpull

here\'s mine :-



    default                         500   14      0

    # indicates a default value of 500 articles to be retrieved from the server and

    # that such an article will expire after 14 days.



    # The following lines will get this default

    alt.true-crime

    tnn.sys.zaurus

    rec.autos.sport.f1

    rec.autos.sport.f1.moderated





Edit it and add your news groups in, or just leave the tnn.sys.zaurus group.



get the news

type slrnpull -d /var/spool/news/slrnpull -h text.news.ntlworld.com (substitute for your news server)



using broadbank via wifi card on a cl760 :-



132 articles in tnn.sys.zaurus took 1m:40s and took 792 kb in /mnt/card/news

rec.autos.sport.f1 21176 articles examined, 11820 articles retrieved, 2hr:37m size on sd card 56mb



I only managed to average 4086bps downloading even though the cable connection, and wifi card support much more than this. This was either down to the news server (wouldn\'t supprise me) or the fact that I was writing to my 256mb sd card which is pretty slow storage, my cf card is much faster, but I can\'t use it at the same time as my wifi card.





The next time you run it, it only gets new articles.



run slrn, telling it to use spool, and re-create it\'s news server list from your local feed.



slrn --spool --create



press s on the newsgroup to subscribe to it. (note the u next to it disappears)



Press return to select the group, press return again to read all headers (you may as well, it\'s now almost instant).



see the docs page for slrn here :- http://slrn.sourceforge.net/docs/index.html
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

jebaker

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
are there any newsreaders?
« Reply #22 on: January 29, 2004, 03:15:35 pm »
Quote
How did you get round the check for sendmail?  did you compile it?
I cheated by creating a shell script called sendmail that just did exit 0.  

If you managed to compile sendmail, I wouldn\'t mind a copy of the binary.

Peter.

Thats funny, I was going to do the same thing, but I decided to try to pass \"--with-mta=/dev/null\" to configure and it seemed to work.

Jeff

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
are there any newsreaders?
« Reply #23 on: January 29, 2004, 04:42:43 pm »
I have to thank both of you for your work on this! Now if I could find the ipk, I\'d be more than happy to give it a try!
jeff: Have you uploaded it already? If so, where? If not, please do ;-)
Peter, thanks for the setup info. As soon as I get the new package, I\'ll give it a try...

Rich...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

jebaker

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://
are there any newsreaders?
« Reply #24 on: January 29, 2004, 08:33:46 pm »
Rich,
  It is in the Packages/Applications section of the downloads area. Let me know if it works, as it is my first package. It installed on my system, but I couldn\'t get it to install to my SD card. Anyone know if I have to do anything special to allow it to instal to a CF/SD card? Once it is installed, you can set an environment variable or pass an option to slrnpull to have it download the newsfeed to wherever you want.

Jeff

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
are there any newsreaders?
« Reply #25 on: January 29, 2004, 09:02:43 pm »
Okay, got it. I\'ll give it a try very soon. Gotta do a backup first ;-) then save a few things, then read over the above setup, then try the install. getting it out to sd card would be very nice. It was easy to get the huge nwssrc file out to card, and like a lot of people my memory is starting to fill up. So is my Zaurus ;-)
Thanks! I\'ll let you know what happens.

Rich...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
are there any newsreaders?
« Reply #26 on: January 29, 2004, 10:52:09 pm »
While I\'m waiting ;-) A quick update. The ipk instaleld just fine. I set up the conf files as per Peter\'s instructions and ran slrnpull. So now I have nothing to do... It\'s downloading the newsgroups at a stated avg of 2300bps (but there is a lag between messages). Seems to take about 10 to 12 minutes for the 500 messages, and that\'s from my poor dial-up through the Z\'s wifi, plus quite a few e-mail recieves from this machine. It\'s a normal speed for my setup no matter what newsreader I use. It\'s gone through maybe 4 of the six groups I entered in, so I still have some time to kill, but it looks like it\'s woring.

The only problem I had was storage space! I had to go in and delete quite a few files to make room. Thanks goodness I can run more than one program... I may cut down the number of messages to 100 instead of 500. What was I thinking? ;-)

I\'ll post again once it\'s done and I see how slrn reads the groups off-line... Right now, I may as well go get another cup of coffee ;-)

Rich...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
are there any newsreaders?
« Reply #27 on: January 29, 2004, 11:58:36 pm »
Well, that took a while... Now slrnpull worked just fine apparently. But when I try to run slrn using: slrn --spool --create
I get:
\"Unable to find a valid hostname for constructing your e-mail address. You will have to psecify a hostname in your .slrnrc file.\"

Oddly, there is no \".slrnrc\" file, just the \"slrn.rc\" file, which does have my hostname set and worked just fine in the previous installation of slrn. I even copied slrn.rc to .slrnrc, then copied both to the .news/slrnpull directory. Didn\'t help...

Got any ideas?
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
are there any newsreaders?
« Reply #28 on: January 30, 2004, 12:07:31 am »
Sorry, I posted just before I got an idea... I ran slrn with the -i /home/etc/slrn.rc option and it worked perfectly!

So, does this version of slrn look for slrn.rc or .slrnrc and where is it looking? Obviously not in /home/etc or  the .news/slrnpull directories? A minor problem though and it looks like it all does work fine except for this...

Thanks,
Rich...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
are there any newsreaders?
« Reply #29 on: January 30, 2004, 02:38:48 am »
By default it will look in your home directory eg ~/.slrnc
the ~ is a shortcut to your home directory in bash and a few other shells.

You only need the create option the first time you run slrn.

If you are running out of space you may want to cut the expire option down a bit too, I set it to 14 days, but it seems to only expire stuff that you have had for 14 days, ie most of the 100mb of news(30,000 articles) I pulled down is several months old but expire hasn\'t deleted anthing yet, not even articles I have read.

To expire the news, you will need to run
Quote
slrnpull -d /var/spool/news/slrnpull --expire

Did you sort out how to remove the author from the status bar?
in the default slrnrc file there are several sets, some without the authors filed, you use esc a to switch between them.  

Peter
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.