Article View: news.software.readers
Article #35387Re: slrn: "fetch the FAQ" macro
From: Olly Betts
Date: Mon, 21 Jul 1997 00:00
Date: Mon, 21 Jul 1997 00:00
33 lines
1547 bytes
1547 bytes
In article <slrn5t01fr.mk.mike@apm0-43.realtime.net>, Mike Mckinney wrote:
>>define fetch_faq ()
>>{
>> variable url = "ftp://rtfm.mit.edu/pub/usenet/";
>> url = strcat( url, current_newsgroup() );
>> url = strcat( url, "/" );
>> launch_url( url );
>>}
>
>Okay, as most of you have probably already guessed, I'm a bit "challenged"
>when it comes to adding patches or macros..Now, here's my problem:
>
>I tried adding the above macro to my slrn.sl file
You need to put it in a separate file (say ".fetchfaq.sl" in your home
directory) and add a line to .slrnrc which says:
interpret .fetchfaq.sl
>Also, which key would I use to call this macro ?
That's up to you. If you wanted it on "Z" you'd add this to your .slrnrc:
setkey article fetch_faq "Z"
Or you could put this line in ".fetchfaq.sl" instead.
Olly
--
Don't send a man to do a buoy's job.
Technical Details
Message-ID:
<slrn5t72op.lfp.olly@noxious.muscat.co.uk>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-mailReferences:
<slrn5sutck.8lv.olly@noxious.muscat.co.uk> <slrn5t01fr.mk.mike@apm0-43.realtime.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn5t72op.lfp.olly@noxious.muscat.co.uk> Subject: Re: slrn: "fetch the FAQ" macro Date: Mon, 21 Jul 1997 00:00:00 +0000 From: olly@muscat.co.uk (Olly Betts) References: <slrn5sutck.8lv.olly@noxious.muscat.co.uk> <slrn5t01fr.mk.mike@apm0-43.realtime.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.mbox.zip!not-for-mail X-Deja-AN: 258007368 Mail-Copies-To: always Organization: Muscat Ltd -- http://www.muscat.co.uk/ Newsgroups: news.software.readers