Article View: news.software.readers
Article #205348Re: Update: [slrn] NNTP-Posting-Host whois lookup macro
From: Troy Piggins
Date: Thu, 06 Sep 2007 21:24
Date: Thu, 06 Sep 2007 21:24
141 lines
7317 bytes
7317 bytes
* Blinky the Shark is quoted & my replies are inline below : > Troy Piggins wrote: > [---=| Quote block shrinked by t-prot: 23 lines snipped |=---] >>> new libraries. >> >> As it should. >> >>> That said, I replaced your slang-v1 macro with your slang-v2 macro. And >>> it won't run. What do I have to tell slang? I don't see anything in >>> .slrnrc about where to find slang stuff. And slrn itself runs (again, >>> if I comment out the interpret command for whois). >> >> Your slrn is probably not compiled with slang2. > > Right. I hate compiling anything. Stuff puts itself in arbitrary > places and other stuff doesn't know where it is. If it compiles at all. > Did I mention I hate compiling anything? :) I think you may have mentioned it once or twice in the past as well. ;) >>> (I haven't tested any other of my macros besides stickytags, but that >>> still works.) >> >> I would imagine most (no pun intended) of them should still work, >> because they're probably compatible with both slangs. > > If slrn still only knows about slang v1 (which is now certain), then > they don't have to, do they? Won't it still be using slang v1 stuff > with them? I don't fully understand what you are asking there. Your slrn, as it is now, is compiled with the slang1 libraries. The macros you are using, except that whois.sl one with the lines "throw ...", are all compatible with slang1 _and_ slang2. The "throw" exception handler, and the others John E Davis mentioned, are new functions only available in slang2. That's why your slrn didn't like that macro but mine did. > [---=| Quote block shrinked by t-prot: 24 lines snipped |=---] >>> /usr/local/share/doc/slang/v2/COPYING >>> /usr/local/share/doc/slang/v2/slangdoc.html >>> /usr/local/share/doc/slang/v2/cref.txt >>> /usr/local/share/doc/slang/v2/cslang.txt >>> /usr/local/share/doc/slang/v2/slangfun.txt >>> /usr/local/share/doc/slang/v2/slang.txt >> >> Did you install slang2 from source or package? If the latter, I >> think to compile slrn with slang2 enabled you need to at least >> the slang2-dev package and specify which slang to use. > > From the slang-2.1.1.tar.gz that I got here: > > ftp://space.mit.edu/pub/davis/slang/v2.1/slang-2.1.1.tar.gz Ok, so you installed it from source, and hence you should have everything you need to compile slrn already. I asked about packages, because most distro packages are compiled with only what you need to run the program. I'd guess that your original slang1 libraries were installed from packages, and that your didn't install the slang1-dev package, and that's why there were less files than slang2 which you installed from source which had everything. > Did I mention how I hat compiling anything? :) I seem to recall... > I downloaded the slrn tarball last night and at the risk or fscking Where did you get it? The cvs version? Please get that version. $ cd $ mkdir cvs $ cd cvs $ cvs -d:pserver:anonymous@slrn.cvs.sourceforge.net:/cvsroot/slrn login $ cvs -z3 -d:pserver:anonymous@slrn.cvs.sourceforge.net:/cvsroot/slrn co -P slrn > *everything about* slrn, I'll try that. Oh! I can't, at this point, > beause I don't know where to point slrn for slang v2. Do I point it to > (see above) /usr/local/lib/ or /usr/local/lib/slang or /usr/local/lib/slang/v2? First, and considering your feelings on compiling, have you /ever/ compiled anything on your machine? I ask to check if you have all the tools to compile. If you don't, nothing will break but the you'll get errors when you try to run 'make'. How about I hold your hand and we go for a little walk. Since you are about to compile slrn anyway with slang2, I strongly, strongly recommend you install Thomas Weigner's patches as well so you get all the UTF-8 goodness at the same time. You can pretty safely follow the directions here, but since you have 2 slangs the configure line will need some additional arguments: http://piggo.com/~troy/slrn#utf8 In the last part where you are compiling slrn having applied the patches, all described on the above page, change the ./configure line to: $ ./configure --with-slang-library=/pathtolib --with-slang-includes=/pathtoincludes Then continue on with the "make all" etc. > And then there's this, that Andrew linked last night: > > <q> > > ./configure \ > --with-slang-library=/usr/local/libslang/lib \ > --with-slang-includes=/usr/local/libslang/include \ > --enable-hardcode-libs > make && sudo checkinstall -D > > </q> > > I don't have any inlude directory from the slang install. Wonder if Andrew can clarify that one. > Oh, and comparing them, andrew's install of slang has a metric > buttload more files than mine did. Including an includes directory. > And I don't remember using the > > -onlyInstallOneThirdOfTheFilesAndNoIncludeSubdirectory > > flag. > > Have I mentioned lately how I hate compiling shit? I think I'm teaching an old shark a new trick :) -- Troy Piggins | http://piggo.com/~troy ** NEW whois.sl MACRO 5/9/07 ** ___ | __ __ ,-O (o- O slrn macros and howto: |___ | |/ |/ | O ) //\ O http://piggo.com/~troy/slrn ___| | | | | `-O V_/_ OOO
Technical Details
Message-ID:
<20070907064447@usenet.piggo.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!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mailReferences:
<20070905110242@usenet.piggo.com> <slrnfds2dc.vb2.no.spam@thurston.blinkynet.net> <slrnfds2sp.vb2.no.spam@thurston.blinkynet.net> <20070905120737@usenet.piggo.com> <slrnfds750.178.no.spam@thurston.blinkynet.net> <20070905150540@usenet.piggo.com> <slrnfdtl54.3bm.pjr@pjr.gotdns.org> <20070906071300@usenet.piggo.com> <slrnfdudml.pcd.no.spam@thurston.blinkynet.net> <4cs3r4xvdp.ln2@news.gates-of-hell.com> <slrnfduhqt.r16.no.spam@thurston.blinkynet.net> <20070906124850@usenet.piggo.com> <slrnfdv03f.umd.no.spam@thurston.blinkynet.net> <20070906142412@usenet.piggo.com> <slrnfdv61p.u0.no.spam@thurston.blinkynet.net> <slrnfdv97q.b5u.davis@aluche.mit.edu> <slrnfdvbit.2e8.no.spam@thurston.blinkynet.net> <20070906175322@usenet.piggo.com> <slrnfdvfie.ca3.no.spam@thurston.blinkynet.net> <20070906204749@usenet.piggo.com> <slrnfe08a2.ltf.no.spam@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <20070907064447@usenet.piggo.com> Subject: Re: Update: [slrn] NNTP-Posting-Host whois lookup macro Date: Fri, 07 Sep 2007 07:24:25 +1000 From: Troy Piggins <usenet-0709@piggo.com> References: <20070905110242@usenet.piggo.com> <slrnfds2dc.vb2.no.spam@thurston.blinkynet.net> <slrnfds2sp.vb2.no.spam@thurston.blinkynet.net> <20070905120737@usenet.piggo.com> <slrnfds750.178.no.spam@thurston.blinkynet.net> <20070905150540@usenet.piggo.com> <slrnfdtl54.3bm.pjr@pjr.gotdns.org> <20070906071300@usenet.piggo.com> <slrnfdudml.pcd.no.spam@thurston.blinkynet.net> <4cs3r4xvdp.ln2@news.gates-of-hell.com> <slrnfduhqt.r16.no.spam@thurston.blinkynet.net> <20070906124850@usenet.piggo.com> <slrnfdv03f.umd.no.spam@thurston.blinkynet.net> <20070906142412@usenet.piggo.com> <slrnfdv61p.u0.no.spam@thurston.blinkynet.net> <slrnfdv97q.b5u.davis@aluche.mit.edu> <slrnfdvbit.2e8.no.spam@thurston.blinkynet.net> <20070906175322@usenet.piggo.com> <slrnfdvfie.ca3.no.spam@thurston.blinkynet.net> <20070906204749@usenet.piggo.com> <slrnfe08a2.ltf.no.spam@thurston.blinkynet.net> 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!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Newsgroups: news.software.readers Reply-To: usenet-0709@piggo.com X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) User-Agent: slrn/0.9.8.1pl2.1/rt (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 141 NNTP-Posting-Host: 124.171.193.207 X-Trace: 1189114024 per-qv1-newsreader-01.iinet.net.au 28535 124.171.193.207