Article View: news.software.readers
Article #255924Re: Some more slrn questions
From: Lewis
Date: Wed, 30 Oct 2013 15:19
Date: Wed, 30 Oct 2013 15:19
63 lines
3545 bytes
3545 bytes
In message <slrnl728ja.gr8.mr@irc.sandman.net>
Sandman <mr@sandman.net> wrote:
> In article <slrnl724rp.19sp.g.kreme@mbp55.local>, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
>> > I have now solved this! Partly with your help.
>>
>> > My .slrnc:
>>
>> > interpret "/home/sandman/bin/slrn/sandman.sl"
>>
>> > sandman.sl:
>>
>> #v+
>> define quote_post ()
>> {
>> set_string_variable ("editor_command", "~/bin/quote.php; pico +8,1 -r 75 -Y followup");
>> call ("followup");
>> set_string_variable ("editor_command", "pico +8,1 -r 75 -Y followup");
>> }
>> definekey ("quote_post", "r", "article");
>> #v-
>>
>> (tthis is the sort of thing #v+ and #v- were invented for)
> Why? I've seen that before, but the script works without it, so why is it
> there?
It has nothing to do with the SCRIPT, it has to do with the POST. Look
at your post, look at mine. See how they are different?
>> > So, hitting "f" creates a normal followup, but hitting "r" changes the
>> > editor_command, follows up, then changes it back.
>>
>> Where are you setting r the first time? and WHy aren't you using
> First time? It is set in the S Lang file.
Well, *normally* f is for followup and r is for reply-by-mail, right?
>> post_editor_command
>> mail_editor_command
>>
>> instead?
>>
>> set mail_editor_command "~/bin/quote.php; pico....
>> set post_editor_command "pico ....
> How would that help me? The mail_editor_command is default invoked by "r"
> and creates a mail file (with "to:" headers instead of "newsgroups:"
> headers) which wouldn't help me here.
>> there is nothing sauing that mail_editor has to be for mailing. Since
>> I never send emails to USENET poster, I used to double the commands
>> myself to do slightly different things if I hit r or f.
> Right, but I am editing the slrn-created post file, and when hitting "r"
> which invokes the mail editor, the file created is not a usenet post.
> Right?
Not necessarily.
--
Lisa Bonet ate no Basil
Technical Details
Message-ID:
<slrnl728sp.19sp.g.kreme@mbp55.local>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!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mailReferences:
<slrnl6iooj.6hm.mr@irc.sandman.net> <0557kaxdl.ln2@news.ducksburg.com> <slrnl723r5.gkl.mr@irc.sandman.net> <slrnl724rp.19sp.g.kreme@mbp55.local> <slrnl728ja.gr8.mr@irc.sandman.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnl728sp.19sp.g.kreme@mbp55.local> Subject: Re: Some more slrn questions Date: Wed, 30 Oct 2013 15:19:53 +0000 From: Lewis <g.kreme@gmail.com.dontsendmecopies> References: <slrnl6iooj.6hm.mr@irc.sandman.net> <0557kaxdl.ln2@news.ducksburg.com> <slrnl723r5.gkl.mr@irc.sandman.net> <slrnl724rp.19sp.g.kreme@mbp55.local> <slrnl728ja.gr8.mr@irc.sandman.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!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: Miskatonic U Lines: 63 Injection-Date: Wed, 30 Oct 2013 15:19:53 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="67a6ffcad0084cff2eaf00478b4e9e19"; logging-data="4255"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hqUrrOgmCOOo4Fa0umC64" User-Agent: slrn/1.0.1 (Darwin) X-No-Archive: Yes X-Excuse: Been playing lots of WoW X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z Cancel-Lock: sha1:nMp9XPSa004d3bAZ5dZh59kxKlA= Mail-Copies-To: nobody X-Original-Bytes: 3249