🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #59659

Re: [slrn] possible to use 'or' expression in s-lang regular expression?

#59659
From: Walter Dnes
Date: Sun, 26 Mar 2000 00:00
44 lines
3250 bytes
On 26 Mar 2000 16:44:57 GMT,
davis@space.mit.edu (John E. Davis)
wrote in article <slrn8dsfk7.aud.davis@aluche.mit.edu>:

> I do not see any VMS support.  It is inconceivable for me to
> use regular expressions in code that are not supported under
> all the operating systems that the slrn supports.  This has
> been the main reason for me not adopting any other regular
> expression library.  I will not abandon users of some of these
> other systems simply to give other users the luxury of more
> sophisticated regular expressions.

  No one's asking you to abandon anybody.  Make s-lang the
"floor" for those who have no real regexp support in their
OS.  But don't make it the "ceiling" and disallow better
regexp support where it does exist.

  As I understand it, text is fed into a "regexp engine"
blackbox, and a binary "yes-it-matches/no-it-doesn't-match"
result is returned.  This looks like an ideal situation to
implement an "ifdef" based on the OS.  Unix-type OS's could
link in native regexp support for the blackbox.  Windows-type
OS's could link in GNU libraries for the blackbox.  s-lang
would probably still have to be linked in anyways to handle
other portions of slrn/slrnpull.  VMS/etc would be compiled
to see the regexp engine "module" as a passthrough call to
s-lang as "regexp engine of last resort".  Yes, the score
files would be different in different OS's.  Then again, I
don't really expect to take a linux script that runs
slrnpull/slrn and execute it as a DOS batchfile.

  While we're talking about enhancements.  I have an ATI card
that can run 132 columns X 44 rows *TEXTMODE*.  I would love
to have an option to place the thread window in the first 50
columns and the article pane in the last 80 columns.  Currently,
I only see documentation re: panes one above the other.

-- 
Walter Dnes <waltdnes@waltdnes.org> http://www.waltdnes.org
SpamDunk Project procmail spamfilters.
A picture is worth a thousand words; unfortunately,
it consumes the bandwidth of ten thousand words.

Technical Details
Message-ID: <59nsds0s3mpaopfi5fdghpc4ai99jp22ie@4ax.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.mbox.zip!not-for-mail
References: <slrn8dpjcj.9s1._hate_spam_thunder7@middle.of.nowhere> <slrn8dq0rs.h84.bluemoon@ux6.cso.uiuc.edu> <slrn8dqcuf.i6u.tststs@starflower.tststs.ddns.org> <slrn8dr094.9lh.davis@aluche.mit.edu> <slrn8dr2gg.4fi.thorfinn@netizen.com.au> <slrn8dsavg.l3l.tststs@starflower.tststs.ddns.org> <slrn8dsfk7.aud.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <59nsds0s3mpaopfi5fdghpc4ai99jp22ie@4ax.com>
Subject: Re: [slrn] possible to use 'or' expression in s-lang regular expression?
Date: Sun, 26 Mar 2000 00:00:00 +0000
From: Walter Dnes <waltdnes@waltdnes.org>
References: <slrn8dpjcj.9s1._hate_spam_thunder7@middle.of.nowhere> <slrn8dq0rs.h84.bluemoon@ux6.cso.uiuc.edu> <slrn8dqcuf.i6u.tststs@starflower.tststs.ddns.org> <slrn8dr094.9lh.davis@aluche.mit.edu> <slrn8dr2gg.4fi.thorfinn@netizen.com.au> <slrn8dsavg.l3l.tststs@starflower.tststs.ddns.org> <slrn8dsfk7.aud.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 602663101
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: scrappy@hub.org
X-Trace: news.tht.net 954098534 27595 209.167.226.56 (26 Mar 2000 19:22:14 GMT)
Organization: Hub.Org Networking Services (http://www.hub.org)
X-NFilter: 1.2.0
Mime-Version: 1.0
Cancel-Lock: sha1:ITHb7gEme4LQmcxoiuyLY2ERbjU=
Newsgroups: news.software.readers