Article View: news.software.readers
Article #205360Re: Update: [slrn] NNTP-Posting-Host whois lookup macro
From: Troy Piggins
Date: Thu, 06 Sep 2007 22:44
Date: Thu, 06 Sep 2007 22:44
242 lines
11218 bytes
11218 bytes
* Blinky the Shark is quoted & my replies are inline below : > Troy Piggins wrote: > [---=| Quote block shrinked by t-prot: 22 lines snipped |=---] >>>>> 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, > > I was saying/asking that if my slrn copy only knows slang1 and it's only > using slang1, then it wouldn't matter (at this point) if my existing > macros *weren't* compatible with slang2. Correct. > Naturally, if I end up using > slang2 (which is looking less and less likely), then it matters if > slang2 is backward-compatible for those older macros. It is, at least for all the macros I've used, so I think it's pretty safe to adopt it. In fact I don't think I even have slang1 on here any more - which TBH is why I am a little vague about specifying one slang lib over the other in the ./configure compilation line, I only have one to choose from. >> 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. > > Well, that was another question, yes, if the old style "error" command > was still useful with the v2 slang. Yes, it is. Works on mine. >> 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. > > I know. That's why from his article I redid your macro myself, before > you posted the revised whois (and also posted it <g>). :) >>> [---=| 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. > > Well, except that I guess I need -dev. I didn't get that in the package > above. Something about needing the /include stuff. I have not /include > directory under anything that's slang. I'll need to look into that. You shouldn't need the -dev. WHen we've mentioned that, we are referring to either debian or redhat packages that have a -dev suffix which denotes they contain all headers, includes etc for developers to compile stuff. Since you downloaded the source tarball, not a 3rd party package, you already have everything you need. I'm just not sure about the ....../include dir not existing. I don't remember having that problem. >> 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. > > Makes sense. Well, except that this new install of slang1 dosn't have > -dev. > > As for my slang1 stuf, it's literally only two viles, and that's what > slrn and all of its macros have been running fine with: > > /usr/lib/libslang.so.1.4.9 > /usr/lib/libslang.so.1 > >>> 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. > > Once more, from the link I stated above. I still see it up there. > > ftp://space.mit.edu/pub/davis/slang/v2.1/slang-2.1.1.tar.gz YOu misread, which _slrn_ did you get? Not s-lang. >> $ 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 > > English, please. What am I getting myself into with that. cvs is a version control suite of software. It will download all the latest slrn source, not zipped/tarballed up, into a directory. It is equivalent to downloading the tarball and extracting it into a dir. Usually it is the bleeding edge, latest source. That's what we want for slrn to get the UTF-8 goodness. If you don't have it, and don't want to install it, let me know. I'll make a tarball and post a link on my site. > I'm always hesitant to pull the trigger on stuff I don't know about > like that -- I'm on a dialup, and, for instance, that's why I've > never done any patches or updates for Linux itself, and have no internet > locations set up for them. Understood. As I said above, let me know. >>> *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 > > Of course I have. I said I hate it; I didn't say I don't. I've been > doing Linux for five years. It would be pretty hard not to have > compiled anything in that amount of time. Righto. >> 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'. > > Since I've been hating but compiling for years, I think I have the > tools. I think slang2 didn't break at "make" last night; it installed. > For instance. Good. >> 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, > > Actually, I haven't made the decision to recompile slrn. Right now it > works. All of its macros work. That kind of stuff is important to me. > > I did download it (slrn) again, last night; but the decision hasn't been > made. SOrry, I was getting ahead of myself. I was keen to see one of slrn's proponents up to date. ;) >> strongly recommend you install Thomas Weigner's patches as well >> so you get all the UTF-8 goodness at the same time. > > I don't think UTF-8 really interests me, Troy. Ok. Makes my life more pleasurable for reading posts by regulars such as <<Q>> since his nick contains chars that are non-ascii etc. >> 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 > > I don't have any slang /includes from my installation from John's tarball. I hear ya. >> 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. > > I don't know. > > But I know that I have to know that slang2 is correctly and fully > installed before I worry about compiling slrn to it. Yeah, I'm thinkng you can safely uninstall slang1 so there is only one version of slang there and it won't be a problem. >>> 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 :) > > Will I have to show my work? Does neatness count? :) There will be questions later. And sit upright, don't slouch. -- 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:
<20070907082748@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> <20070907064447@usenet.piggo.com> <slrnfe0tug.qjj.no.spam@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <20070907082748@usenet.piggo.com> Subject: Re: Update: [slrn] NNTP-Posting-Host whois lookup macro Date: Fri, 07 Sep 2007 08:44:05 +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> <20070907064447@usenet.piggo.com> <slrnfe0tug.qjj.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: 242 NNTP-Posting-Host: 124.171.193.207 X-Trace: 1189118702 per-qv1-newsreader-01.iinet.net.au 28545 124.171.193.207