🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Christian Perrier Sat, 16 Jan 1999 00:00
slrn/S-Lang : how to use the output of an external command in a S-Lang macro?
#45986
Author: Christian Perrier
Date: Sat, 16 Jan 1999 00:00
15 lines
1248 bytes
My question is not directly related to slrn. It is more a S-Lang issue,
probably.

I want to use, in a slrn macro, the output of an external Unix command
(date +%m/%d/%Y)....

How may I proceed for getting this output in a S-Lang string variable? I
didn't found such answer in the slrn documentation. I tried 
system("date +%m/%d/%Y") but this returns the errorlevel of the command, not
its output on stdout....

-- 


Re: slrn/S-Lang : how to use the output of an external command in a S-Lang macro?
#45980
Author: John E. Davis
Date: Sat, 16 Jan 1999 00:00
13 lines
1313 bytes
On 16 Jan 1999 08:24:44 GMT, Christian Perrier <bubulle@mykerinos.kheops.frmug.org>
wrote:
>How may I proceed for getting this output in a S-Lang string variable? I

Grab one of the 1.3.x slang snapshots (e.g., 1.3.5) and use the popen
function: ftp://space.mit.edu/pub/davis/slang/snapshots/

Hopefully, this message will not be superseded by hipcrime.  Anyone
have any clues about what can be done about hipcrime?   

--John

Re: slrn/S-Lang : how to use the output of an external command in a S-Lang macro?
#45981
Author: brian moore
Date: Sat, 16 Jan 1999 00:00
34 lines
2343 bytes
On 16 Jan 1999 19:50:23 GMT, 
 John E. Davis <davis@space.mit.edu> wrote:
> On 16 Jan 1999 08:24:44 GMT, Christian Perrier <bubulle@mykerinos.kheops.frmug.org>
> wrote:
> >How may I proceed for getting this output in a S-Lang string variable? I
> 
> Grab one of the 1.3.x slang snapshots (e.g., 1.3.5) and use the popen
> function: ftp://space.mit.edu/pub/davis/slang/snapshots/

On a related note (and dealing with slrn :)): is it possible to take an
article and pass it through a slang function and pipe the input back
into slrn's pager?  (Basically to allow an external program to fiddle
with the displayed message a tad, for auto-pgp-verifying, but others may
have other uses. :))

Yes, I know I can manually verify them, but it would be nice to look for
a '^----- BEGIN PGP SIGNED MESSAGE' and pipe it through GPG and still
keep the internal slrn page.   [Yeah, I want it all!]

> Hopefully, this message will not be superseded by hipcrime.  Anyone
> have any clues about what can be done about hipcrime?   

Filter and NoCeM.

Usenet is still quite readable here.  (Though slrn and a decent killfile
help control the followups to hipcrime's nonsense.)

-- 
Brian Moore                       | "The Zen nature of a spammer resembles
      Sysadmin, C/Perl Hacker     |  a cockroach, except that the cockroach
      Usenet Vandal               |  is higher up on the evolutionary chain."
      Netscum, Bane of Elves.                 Peter Olson, Delphi Postmaster

Re: slrn/S-Lang : how to use the output of an external command in a S-Lang macro?
#45983
Author: Dawn Owens-Nicholson
Date: Sat, 16 Jan 1999 00:00
9 lines
1116 bytes
brian moore wrote:
> On a related note (and dealing with slrn :)): is it possible to take an
> article and pass it through a slang function and pipe the input back
> into slrn's pager?

I don't think so.  I believe there's no way to control the content of any
display in slrn except the various prompts and the last line of the screen.

Re: slrn/S-Lang : how to use the output of an external command in a S-Lang macro?
#45988
Author: David Gerard
Date: Sun, 17 Jan 1999 00:00
25 lines
1918 bytes
On 16 Jan 1999 19:50:23 GMT, John E. Davis <davis@space.mit.edu> wrote:

:Hopefully, this message will not be superseded by hipcrime.  Anyone
:have any clues about what can be done about hipcrime?   


Every anti-spammer on Usenet is on the case.

(The most annoying thing at present is that 'HipCrime' is not one person -
it's quite a lot of people, using the software and variations on it.)

The best defence is to get your news-server admin to start using CleanFeed
or equivalent.

For the end user, the best defence is slrn, and that was a big factor in
motivating me to get my slrn for Windows page up  :-)


-- 
http://thingy.apana.org.au/~fun/           http://suburbia.net/~fun/scn/
"Once again, welcome to alt.gothic.junior.high, where insults fly as
gracefully as weasels, the wit is as sharp as a sponge, and cunningly worded
snippets crash as infrequently as Windows."  (Nytwind)

Handling Hipcrime (was: Re: slrn/S-Lang : how to use the output of an external command in a S-Lang macro?)
#45990
Author: Heikki Kantola
Date: Sun, 17 Jan 1999 00:00
21 lines
1517 bytes
John E. Davis <davis@space.mit.edu> informed
news.software.readers with the following:
>Hopefully, this message will not be superseded by hipcrime.  

Thumbs up.

>Anyone have any clues about what can be done about hipcrime?   

At least the already superseded junk can be killed pretty easily, for
example I've used following:
	Score: -9999
		Message-Id: ^<\c[A-Z0-9]+@
        	Xref: alt\.gothic:	

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Re: slrn/S-Lang : how to use the output of an external command in a S-Lang macro?
#46012
Author: Sylvain Robitaille
Date: Mon, 18 Jan 1999 00:00
19 lines
1457 bytes
On 16 Jan 1999 19:50:23 GMT, John E. Davis <davis@space.mit.edu> wrote:

> Hopefully, this message will not be superseded by hipcrime.  Anyone
> have any clues about what can be done about hipcrime?   

I use Cleanfeed to filter the incoming feed, and that seems to take care
of a lot of the abuse.

I hope that helps...

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca

Concordia newsmaster                              Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------

Re: slrn/S-Lang : how to use the output of an external command in a S-Lang macro?
#46025
Author: Stefan Scholl
Date: Tue, 19 Jan 1999 00:00
10 lines
1070 bytes
On 16 Jan 1999 19:50:23 GMT, John E. Davis <davis@space.mit.edu> wrote:
> Hopefully, this message will not be superseded by hipcrime.  Anyone
> have any clues about what can be done about hipcrime?   

I thought every American is allowed to carry a gun?


The solution is so near ...

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads