🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #171273

[slrn] external editor and sorting

#171273
From: Ohmster
Date: Sun, 14 Aug 2005 17:37
70 lines
4349 bytes
I want to use slrn to read and post to this newsgroup and am having a 
whale of a time in getting slrn to work the way I want it to. Can someone 
help me? I am using slrn-0.9.8.1-1 in fedora core 3 and have to questions 
for right now:

Question #1
I have set pico as my default editor in /etc/slrn.rc file as such:

% Set your favourite editor.  Use %s for the file name and %d for the 
line
% where the cursor should be placed (usually at the beginning of the 
body).
% set editor_command "vi '%s' -g %d -tmp"
set editor_command "/usr/bin/pico -t"

This for sure works, I have pico as my default slrn editor. I have copied 
over the sample slrn.rc file to ~/.slrn.rc and changed this line to:

% Set your favourite editor.  Use %s for the file name and %d for the 
line
% where the cursor should be placed (usually at the beginning of the 
body).
%set editor_command "jed '%s' -g %d -tmp"
set editor_command "vi '+set tw=72' +%d '%s'"

I have tried variations of this like using /usr/bin/vim instead of vi but 
I always end up with pico now. How can I change my external editor to vi 
with a $HOME/.slrn.rc file? I know that the file is being read by slrn 
because I have pointed to a signature in this file and the signature 
(Same one that I use below.) now shows up in slrn test posts. I could 
probably make this change in the /etc/slrn.rc file, but I think that 
custom slrn changes should go into one's ~/.slrn.rc file, no?

Question #2
I have no clue as to how slrn is sorting and threading the articles. With 
xnews, this happens very nicely and the way that I want and expect for it 
to happen. Articles at the very top are the newest articles and they are 
threaded so that the original post shows up and follow ups are underneath 
it, grouped by a folder icon that when clicked, expands to show the 
individual threads. I have tried using the sort menu (ESC s) and then 
trying 9 or B) but I still do not seem to see what I expect to see. Is 
there a way to make slrn behave like xnews does with regard to sorting?

Here is the startup message that I get when starting slrn (In ssh window 
from XP machine):

[ohmster@ohmster ~]$ slrn
slrn 0.9.8.1 [2004-10-07]

Reading startup file /etc/slrn.rc.
Using newsrc file /home/ohmster/.jnewsrc for server newsgroups.xxx.net.
Connecting to host newsgroups.xxx.net ...
Connected to host.  Posting ok.
Authenticating xxx@xxxx.xxx ...
Checking for new groups ...
Checking news ...

I do not see any reference to slrn reading my ~/.slrn.rc file.

When using slrn via ssh (SecureCRT, VT100 emulation), the sort menu (ESC 
s) flashes, or from the CLI on the local machine. When using the sort 
menu in a term in xwindows (gnome), there is no flashing of the sort 
menu. Can someone help figure out what is going on here?

Thanks.

-- 
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
Technical Details
Message-ID: <Xns96B28AF298750MyBigKitty@216.77.188.18>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews6.bellsouth.net.POSTED!069558c3!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns96B28AF298750MyBigKitty@216.77.188.18>
Subject: [slrn] external editor and sorting
Date: Sun, 14 Aug 2005 17:37:59 GMT
From: Ohmster <notareal@emailaddress.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews6.bellsouth.net.POSTED!069558c3!not-for-mail
Newsgroups: news.software.readers
Organization: Ohm's Fish Market
User-Agent: Xnews/5.04.25
X-Face: .XlXp$frDJgk"+lb;
 #RRo7mu{1=_.HV?RtB}%$JLN.!>>|\CPyQIi3/aBRW#(.dd8zlF9N]k8{xh03zVf=zG1G6{.bb%H8Vs%|7l'1YWAw+A)x'S"-}(Y`#ZN`#04OktRpU*!NdugZh(o%w5K,?/WqZ(qWs}K)Req:&D'|lkj%*a[N0bMk^Tr<PY{Sz6YcFm'[*2fkS/RV>}L.;
 =6evum0C,LE}%s@g; ]-DhWu4J"DbcJ*+fIo,l8cH@ZxF|dm~; Vg;
 XxV@K!Wp|SV+3HPyIOS,Z'j]jz]i=/5*!J&hVOQ[
Lines: 70
X-Complaints-To: abuse@bellsouth.net
X-Abuse-Info: Please forward a copy of all headers for proper handling
X-Trace: ofjmidbaofeaohdodbdpiflmbcekedmfhojhikkbagflhcbofcaikdnkhhpickfagodbobakcklodlklmnfgjlkdkffamffniggncpkgocpapbigppihcgbamglkeopcoihmcgpndiehkhloomlgcccebcdfdbbm
NNTP-Posting-Date: Sun, 14 Aug 2005 13:37:59 EDT