🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #255926

Re: Some more slrn questions

#255926
From: Sandman
Date: Wed, 30 Oct 2013 15:08
56 lines
2839 bytes
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?

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



-- 
Sandman[.net]
Technical Details
Message-ID: <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!et7no748181wib.1!news-out.google.com!ed8ni6wic.0!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnl6iooj.6hm.mr@irc.sandman.net> <0557kaxdl.ln2@news.ducksburg.com> <slrnl723r5.gkl.mr@irc.sandman.net> <slrnl724rp.19sp.g.kreme@mbp55.local>

Show Full Headers
Complete Article Headers
Message-ID: <slrnl728ja.gr8.mr@irc.sandman.net>
Subject: Re: Some more slrn questions
Date: Wed, 30 Oct 2013 15:08:39 +0000
From: Sandman <mr@sandman.net>
References: <slrnl6iooj.6hm.mr@irc.sandman.net> <0557kaxdl.ln2@news.ducksburg.com> <slrnl723r5.gkl.mr@irc.sandman.net> <slrnl724rp.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!et7no748181wib.1!news-out.google.com!ed8ni6wic.0!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
X-Received: by 10.204.54.2 with SMTP id o2mr1142905bkg.2.1383145720524;
MIME-Version: 1.0
Newsgroups: news.software.readers
Lines: 56
X-Trace: individual.net ACwv/IYusT/Fb6NoQb5puwqdJc4lwwvag/+/+APDKUasggq+E=
Cancel-Lock: sha1:87asGcAmYFCuutFRY8Xmg0Opp7I=
User-Agent: slrn/pre1.0.0-18 (Linux)
X-Original-Bytes: 2538