🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205307

Re: Update: [slrn] NNTP-Posting-Host whois lookup macro

#205307
From: Troy Piggins
Date: Thu, 06 Sep 2007 10:53
80 lines
5022 bytes
* Blinky the Shark is quoted & my replies are inline below :
> Troy Piggins wrote:
> [---=| Quote block shrinked by t-prot: 56 lines snipped |=---]
>>> when trying to delimit code.
>>
>> Yep, looks fine here.
>>
>>> I wonder why in the first-line comment it's not referred to as
>>> whois_postinghost.sl .
>>
>> Because I have adopted whois.sl as the filename here, and that's
>> what I've quoted on my web page.  Sorry for the confusion.  Both
>> work.
>
> Gotcha.  You weren't this arbitrary before you fell in love.  I mean with
> that girl unit.  ;)

Touche

> Hey, at the risk of all my other slrn macros falling apart, I just
> installed slang 2.1.1.  Mostly I wanted to look at John's most pager and
> figured I'd install the latest.  It needed some libaries.  So I
> downloaded slang 2.1.1 for that.  It (most) works, so it's seeing the
> 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.

> (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.

> Here's what locate finds slang
>
> /usr/lib/libslang.so.1.4.9
> /usr/lib/libslang.so.1
> /usr/local/include/slang.h
> /usr/local/lib/libslang.so.2.1.1
> /usr/local/lib/libslang.so.2
> /usr/local/lib/libslang.so
> /usr/local/lib/slang
> /usr/local/lib/slang/v2
> /usr/local/lib/slang/v2/modules
> /usr/local/lib/slang/v2/modules/slsmg-module.so
> /usr/local/lib/slang/v2/modules/termios-module.so
> /usr/local/lib/slang/v2/modules/select-module.so
> /usr/local/lib/slang/v2/modules/fcntl-module.so
> /usr/local/lib/slang/v2/modules/varray-module.so
> /usr/local/lib/slang/v2/modules/socket-module.so
> /usr/local/lib/slang/v2/modules/pcre-module.so
> /usr/local/lib/slang/v2/modules/png-module.so
> /usr/local/lib/slang/v2/modules/iconv-module.so
> /usr/local/share/slrn/macros/whois_postinghost-works-with-slang1.sl
> /usr/local/share/doc/slang
> /usr/local/share/doc/slang/v2
> /usr/local/share/doc/slang/v2/changes.txt
> /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.

-- 
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: <20070906204749@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-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <20070906204749@usenet.piggo.com>
Subject: Re: Update: [slrn] NNTP-Posting-Host whois lookup macro
Date: Thu, 06 Sep 2007 20:53:00 +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>
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: 80
NNTP-Posting-Host: 124.171.193.207
X-Trace: 1189076402 per-qv1-newsreader-01.iinet.net.au 28529 124.171.193.207