Article View: news.software.readers
Article #205350Re: Update: [slrn] NNTP-Posting-Host whois lookup macro
From: Blinky the Shark
Date: Thu, 06 Sep 2007 21:56
Date: Thu, 06 Sep 2007 21:56
207 lines
9932 bytes
9932 bytes
Troy Piggins wrote: > * 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, 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. 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. > 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. > 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 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 > $ 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. 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. >> *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. > 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. > 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. > 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. > 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. > 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. >> 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? :) -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <----------- New Site Aug 28
Technical Details
Message-ID:
<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!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!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>Show Full Headers
Complete Article Headers
Message-ID: <slrnfe0tug.qjj.no.spam@thurston.blinkynet.net> Subject: Re: Update: [slrn] NNTP-Posting-Host whois lookup macro Date: Thu, 06 Sep 2007 21:56:51 +0000 From: Blinky the Shark <no.spam@box.invalid> 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> 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!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 207 X-Trace: individual.net 2bRKnfSsDjvp8xJCAbctpweitidhIEDoImKeDKNUm9K4yWLSs8 Cancel-Lock: sha1:3hl1z/XzAxt1R78Z4gEFeBsLnSk= X-The-Usenet-Improvement-Project: http://blinkynet.net/comp/uip5.html X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva 2006 Linux; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=black; TextColor=black User-Agent: slrn/0.9.8.1 (Linux)