Article View: news.software.readers
Article #66492[slrn] Very-Mini-Howto
From: Michael B. Allen
Date: Sat, 14 Oct 2000 00:00
Date: Sat, 14 Oct 2000 00:00
128 lines
6400 bytes
6400 bytes
[slrn] Very-Mini-Howto I just setup slrn on my RH 5.2 Linux machine. For the benifit of other slrn newbies like myself I thought I would summerize what I went throught to get everything to work to taste. If your a regular slrn user perhaps you can add suggested tweeks and bits on usage that you find usefull. In a sentance, the idea is to get the latest source, compile, copy the rc file to your home dir, export the NNTPSERVER environment variable, create the .jnewsrc file, tweek the .slrnrc file to taste, and go. Actually you probably already have slrn but I thought I'd go over installation too for good measure. You may just want skip to tweeking the slrnrc file. See that section below for the problems I expirienced. I felt I should just get the latest(also this fixed the FAQ of not being able to display special characters). INSTALLING ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/slrn/slang-1.4.2.tar.gz ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/slrn/slrn-0.9.6.3.tar.gz Put the above files in /usr/local/ and untar with tar -xvzf <file>. You'll need to be root to do all this stuff. Make the slang package first. You should be able to do ./configure, make, make install just like the README says. Now do slrn. If you want to compile the latest you might want to remove the old slrn(don't remove the old slang package, I did and it broke everything, just leave it, I think you can get away with it). If you have slrn installed via rpm, make a note of which rpm it is exactly so you can replace it if all this doesn't work. You can find out with rpm -qa | grep slrn. Again, compiling slrn should just be a matter of ./configure, make, make install. ENVIRONMENT I think the only thing slrn really needs to work is the name of your news server. All I did was add 'export NNTPSERVER=news.myisp.com' to my .bash_profile and logout/login again. THE .jnewsrc FILE Create the list of newsgroups from your news server by just doing 'slrn -create'. This will take a little while but you only have to do it the very first time you use slrn. KICKING THE TIRES Now do 'slrn' to see if it works. Of course you have to be connected to your isp just as you do for the previous step. One thing that messed me up a little was that there where some groups but not all. It looked like it half worked. But I guess there are some default groups that you start out subscribed to. As for actually using slrn and the commands for getting around I leave that to you. See 'man slrn'. If it doesn't work then .... I don't know. These kind of problems are a little context specific. You can _try_ emailing me :~) THE .SLRNRC FILE Copy the /usr/local/slrn-0.9.6.3/doc/slrn.rc to your home directory as '.slrnrc'. Notice how the names of these files are totally different. I was using '.slrn.rc' for a while until I discovered it was not being read at all because it was not named properly :~). Also do 'chown myusername.myusername .slrnrc' as root to make it readable by you as a normal user. Now go back to being a normal user(you shouldn't be root anymore). Here's the stuff that I changed/added to my .slrnrc from the default copied over from the distribution: hostname "erols.com" set username "mballen" set realname "Michael B. Allen" set replyto "mballen@erols.com" set use_color 1 set followup_string "%r wrote:" set auto_mark_article_as_read 0 set save_posts "News/posts" set save_replies "News/replies" set postpone_directory "News/Postponed" set use_header_numbers 0 The hostname, username, realname, and reply to are especially usefull if your username/domain is different than what your known as on the net. This is invariably the case with dialup users. Setting this stuff will make your name and email addres look correct(or incorrect if you so desire :~) when you post and followup(I didn't know 'followup' means to post a reply, reply means to send only the author an email reply). One of the last things I noticed is the thing I wish I fixed first. For whatever reason slrn did not think I had a terminal capable of color. Try 'slrn -C'. If it looks different(better b/c it's color) you can add this to your .slrnrc as 'set use_color 1' to realeive you of typing '-C' each time. If you try to post a message that has more than 80 characters on a line slrn will complain and ask you to edit to comply with this limit. The default followup_string is a little long and tends to go over this. So I changed this to use just %r to use the "real name" of the author in a followup. I didn't like how slrn automatically marked stuff as being read after looking at an article. I might want to back out an look at something else and come back to it later. Setting auto_mark_article_as_read to 0 will prevent this. The other stuff is just little stupid stuff. I changed the file to store posts in from News/My_Posts to just News/posts because it looked like a Windows kind of thing to do and my convention is that directories get a capital letter and files lowercase. Same with the two other directives like that. OTHER JUNK Also when your asked to enter a number for the number for the number of articles to retreive, you sould select as many as are reasonable for your connection speed because the threads are build from only the messages downloaded. So if there where articles of a thread that fall outside the range of articles downloaded you won't see them in the thread. Also try hitting 'h' when in article mode. That will bring you back to the bigger list of headers which is kind of nice. Happy Newsgrouping, Mike
Technical Details
Message-ID:
<slrn8uhu53.rp.mballen@angus.mimosa.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn8uhu53.rp.mballen@angus.mimosa.com> Subject: [slrn] Very-Mini-Howto Date: Sat, 14 Oct 2000 00:00:00 +0000 From: mballen@erols.com (Michael B. Allen) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 681525324 X-Trace: T068YYN9ScnLKLtnX5UvUAbpQwaDtsASMAhNjSczMWo= Keywords: slrn,linux,howto,tutorial,setup,configure,newsreader User-Agent: slrn/0.9.6.3 (Linux) Reply-To: mballen@erols.com NNTP-Posting-Date: 14 Oct 2000 23:16:54 GMT Newsgroups: news.software.readers X-Complaints-To: abuse@rcn.com