Rudy Taraschi | 2 Feb 2010 03:23

Re: New group - limit to last 90 days

andrew wrote:
> Tim Johnson wrote:
>
>> How can I tell slrnpull to get only the messages from the
>> last 90 days?
>
> As far as I am aware this cannot be done, although I am
> prepared to be corrected. You can however tell slrnpull
> how many messages you wish to download by placing the
> required number in the second field (after the newsgroup
> name).

% ignore all articles older then 90 days
Score: =-9999
~Age: 90

Someone should write an slrnpull manual ;-)

/rudy

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

Duke Normandin | 15 Feb 2010 20:17

Joe editor with slrn

Hello list...

I've the following in `.slrnrc':

set editor_command "jmacs +%d '%s'"

expecting to be taken to the end of the quoted text when doing a
"followup". I'm doing something wrong because it's not working.

However, if I use the Joe CL arg +nnn, substituting a large integer
for "nnn" - like +500 - it takes me to a line immediately past my
sig.

set editor_command "jmacs '+500' '%s'"

I can live with that, but I'm curious as to how to get the `slrn' +%d
argument working.

Anybody using Joe and slrn together?
--

-- 
duke

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

J.B. Nicholson-Owens | 16 Feb 2010 05:55

Re: Joe editor with slrn

Duke Normandin wrote:
> I've the following in `.slrnrc':
>
> set editor_command "jmacs +%d '%s'"
>
> expecting to be taken to the end of the quoted text when doing a
> "followup". I'm doing something wrong because it's not working.

That took me to the first line of the body.  I'm using joe 3.5 (or 
thereabouts).  This behavior matches the manual

http://slrn.sourceforge.net/docs/slrn-manual-6.html#ss6.20

I don't see any language in that section of the manual describing a way 
to be taken to the end of the quoted material, as the only applicable 
percent escape always holds the "number of the first line of the message 
body".

Perhaps an S-Lang macro for slrn would suit your needs better?

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

Jonesy | 16 Feb 2010 16:12

Re: Joe editor with slrn

On Mon, 15 Feb 2010 12:17:06 -0700 (MST), Duke Normandin wrote:
> Hello list...
>
> I've the following in `.slrnrc':
>
> set editor_command "jmacs +%d '%s'"
>
> expecting to be taken to the end of the quoted text when doing a
> "followup". I'm doing something wrong because it's not working.
>
> However, if I use the Joe CL arg +nnn, substituting a large integer
> for "nnn" - like +500 - it takes me to a line immediately past my
> sig.
>
> set editor_command "jmacs '+500' '%s'"
>
> I can live with that, but I'm curious as to how to get the `slrn' +%d
> argument working.
>
> Anybody using Joe and slrn together?

Answered a day or two ago in news.software.readers

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

Duke Normandin | 16 Feb 2010 18:40

Re: Joe editor with slrn

On Tue, 16 Feb 2010, Jonesy wrote:

> On Mon, 15 Feb 2010 12:17:06 -0700 (MST), Duke Normandin wrote:
> > Hello list...
> >
> > I've the following in `.slrnrc':
> >
> > set editor_command "jmacs +%d '%s'"
> >
> > expecting to be taken to the end of the quoted text when doing a
> > "followup". I'm doing something wrong because it's not working.
> >
> > However, if I use the Joe CL arg +nnn, substituting a large integer
> > for "nnn" - like +500 - it takes me to a line immediately past my
> > sig.
> >
> > set editor_command "jmacs '+500' '%s'"
> >
> > I can live with that, but I'm curious as to how to get the `slrn' +%d
> > argument working.
> >
> > Anybody using Joe and slrn together?
>
> Answered a day or two ago in news.software.readers

No! It was not. A solution was offered using a Joe CL argument (+nnn),
which does work. However I want to know specifically about the "+%d"!
Can you offer some insight on _that_?

BTW, are you "Whiskers" or "chuckcar", or neither?
(Continue reading)

Robert Grimm | 16 Feb 2010 19:06
Picon

Re: Joe editor with slrn

Duke Normandin <dukeofperl <at> ml1.net> wrote:
>> On Mon, 15 Feb 2010 12:17:06 -0700 (MST), Duke Normandin wrote:
>> > set editor_command "jmacs +%d '%s'"
>> >
>> > expecting to be taken to the end of the quoted text when doing a
>> > "followup". I'm doing something wrong because it's not working.

> No! It was not. A solution was offered using a Joe CL argument (+nnn),
> which does work. However I want to know specifically about the "+%d"!
> Can you offer some insight on _that_?

Your expectation is wrong. As stated in the docs, %d represents the
_first_ line of the message body. e.g in my message at the line starting
with "Duke".
If you use +%d as an argument for joe I'm quite confident that joe will
place the cursor as documented.

Rob
--

-- 
If all else fails, read the manual.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

Duke Normandin | 16 Feb 2010 20:47

Re: Joe editor with slrn

On Tue, 16 Feb 2010, Robert Grimm wrote:

> Duke Normandin <dukeofperl <at> ml1.net> wrote:
> >> On Mon, 15 Feb 2010 12:17:06 -0700 (MST), Duke Normandin wrote:
> >> > set editor_command "jmacs +%d '%s'"
> >> >
> >> > expecting to be taken to the end of the quoted text when doing a
> >> > "followup". I'm doing something wrong because it's not working.
>
> > No! It was not. A solution was offered using a Joe CL argument (+nnn),
> > which does work. However I want to know specifically about the "+%d"!
> > Can you offer some insight on _that_?
>
> Your expectation is wrong. As stated in the docs, %d represents the
> _first_ line of the message body. e.g in my message at the line starting
> with "Duke".
> If you use +%d as an argument for joe I'm quite confident that joe will
> place the cursor as documented.

The correct answer (with Joe) appears to be:

+%d  => top of quoted message
+%d1 => bottom of quoted message
--

-- 
duke
when all else fails, keep you mouth shut

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
(Continue reading)

Robert Grimm | 16 Feb 2010 22:19
Picon

Re: Joe editor with slrn

Duke Normandin <dukeofperl <at> ml1.net> wrote:
> The correct answer (with Joe) appears to be:

> +%d  => top of quoted message
> +%d1 => bottom of quoted message

Coincidence.

Imagine the first line of the body is line number 9 

-> %d  == 9
   %d1 == 91

So your %d1 will set the cursor to line 91, if it is here, or else to
the last line.

Rob
--

-- 
In C we had to code our own bugs. 
In C++ we can inherit them.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

Duke Normandin | 16 Feb 2010 22:36

Re: Joe editor with slrn

On Tue, 16 Feb 2010, Robert Grimm wrote:

> Duke Normandin <dukeofperl <at> ml1.net> wrote:
> > The correct answer (with Joe) appears to be:
>
> > +%d  => top of quoted message
> > +%d1 => bottom of quoted message
>
> Coincidence.
>
> Imagine the first line of the body is line number 9
>
> -> %d  == 9
>    %d1 == 91
>
> So your %d1 will set the cursor to line 91, if it is here, or else to
> the last line.

You're _almost_ there! ;) The point is that _any_ integer appended to
`%d' seems to send it to the last line. Try %d2; %d3; %d10. The
plus-sign suffix seems to be redundant. Whatever! It's working for
me. Whether that is the intended behavior, only his-self, John Davies
can say for sure.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

(Continue reading)

J.B. Nicholson-Owens | 17 Feb 2010 05:25

Re: Joe editor with slrn

Duke Normandin wrote:
> You're _almost_ there! ;) The point is that _any_ integer appended to
> `%d' seems to send it to the last line. Try %d2; %d3; %d10. The
> plus-sign suffix seems to be redundant. Whatever! It's working for
> me. Whether that is the intended behavior, only his-self, John Davies
> can say for sure.

The plus sign is not redundant; the plus sign is needed to tell joe what 
line to start editing on.  You'll edit a different file without the plus 
sign.

I suggest taking any further discussion on this point to a joe mailing 
list because what program calls joe isn't the issue here, only joe's 
behavior is relevant.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev


Gmane