Juhana Sadeharju | 2 Feb 20:09 2006
Picon
Picon

Re: slrnpull/connection lost

>From:	thunder7 <at> xs4all.nl
>
>3) does it help when you (temporarily) remove the score file or
>something like that?

I don't think I'm using score file or anything else.

OK. Our newsmaster said he sent a bug fix or at least a report
on this particular problem. I don't have the fix but I will
test it as soon as you or the newsmaster sends it to me.

At meanwhile I wrote http://www.funet.fi/~kouhia/nntppull.tar.gz
which loads the articles. There is still a bug when the group
is switched, but the first group rec.games.roguelike.adom comes
ok or close.

slrnpull may have another bug as seen here.
rec/games/roguelike/adom/115957

nntppull:
Metallurgy ............... 92    (superb)       [+1d5]  Mining ......

slrnpull:
Metallurgy ............... 92    (superb)       [+1d5]  Min
ing ......

Note that nntppull removes ^M characters. The article 115957 may
have "Min^Ming".

My nntppull fails because an article has only . in a line. How
(Continue reading)

Juhana Sadeharju | 8 Feb 11:34 2006
Picon
Picon

Re: slrnpull/connection lost

>From:	Juhana Sadeharju <kouhia <at> nic.funet.fi>
>
>slrnpull may have another bug as seen here.
>rec/games/roguelike/adom/115957
>
>nntppull:
>Metallurgy ............... 92    (superb)       [+1d5]  Mining ......
>
>slrnpull:
>Metallurgy ............... 92    (superb)       [+1d5]  Min
>ing ......

slrnpull generated the line change from the void. There is no ^M
as I suspected earlier. What kind of bug it could be?

Juhana
--

-- 
  http://music.columbia.edu/mailman/listinfo/linux-graphics-dev
  for developers of open source graphics software

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Troy Piggins | 14 Feb 01:09 2006

MIME handling debate

Just out of interest - I don't know if anyone here follows the
comp.mail.misc group, but a debate has started (I'm sure not for the
first time) about MIME and newsreaders.

Message-ID: <Pine.OSX.4.64.0602131112330.503 <at> pangtzu.panda.com>

I send this mail to the slrn-users list to perhaps encourage some
better MIME (esp GPG) support in slrn.

--

-- 
Troy Piggins
Ubuntu 5.10  pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
                      vim 6.4

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Troy Piggins | 14 Feb 22:23 2006

Re: MIME handling debate

* Troy Piggins <troy <at> piggo.com> :
> Just out of interest - I don't know if anyone here follows the
> comp.mail.misc group, but a debate has started (I'm sure not for the
> first time) about MIME and newsreaders.
> 
> Message-ID: <Pine.OSX.4.64.0602131112330.503 <at> pangtzu.panda.com>
> 
> I send this mail to the slrn-users list to perhaps encourage some
> better MIME (esp GPG) support in slrn.

I apologise - the article I quoted was of interest as I mentioned
above, but the thread has degraded into a debate about whether or
not MUA's should be able to read news as well as mail.

--

-- 
Troy Piggins
Ubuntu 5.10  pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
                      vim 6.4

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Troy Piggins | 16 Feb 06:37 2006

piping message thru demime

I'm working on a macro to convert MIME messages not handled
correctly by slrn.

I'm using the perl script 'demime' if anyone knows it.  When I have
the macro working I'll post it so others can use, along with demime
installation instructions etc.

The macro below works:

define pipe_thru_demime ()
{
  pipe_article ("/usr/local/bin/demime - |
    /usr/local/share/vim/vim64/macros/less.sh '+set ft=mail' -");
}

but it just pipes the message to 'less' - what I want is to use
slrn's 'replace_article' function instead, but can't get that
working.

Below is my what I was thinking about doing, but keep getting
"S-Lang Error: Type Mismatch: Unable to typecast Integer_Type to
String_Type" error.

define demime ()
{
  replace_article (system (sprintf ("echo %s |
    /usr/local/bin/demime -", article_as_string ())));
}

Any ideas or pointers in the right direction?
(Continue reading)

Christian Ebert | 16 Feb 10:29 2006
X-Face
Picon
Picon

Re: piping message thru demime

* Troy Piggins on Thursday, February 16, 2006 at 15:37:48 +1000:
> I'm working on a macro to convert MIME messages not handled
> correctly by slrn.
> 
> I'm using the perl script 'demime' if anyone knows it.  When I have
> the macro working I'll post it so others can use, along with demime
> installation instructions etc.
> 
> The macro below works:
> 
> define pipe_thru_demime ()
> {
>   pipe_article ("/usr/local/bin/demime - |
>     /usr/local/share/vim/vim64/macros/less.sh '+set ft=mail' -");
> }
> 
> 
> but it just pipes the message to 'less' - what I want is to use
> slrn's 'replace_article' function instead, but can't get that
> working.
> 
> Below is my what I was thinking about doing, but keep getting
> "S-Lang Error: Type Mismatch: Unable to typecast Integer_Type to
> String_Type" error.
> 
> define demime ()
> {
>   replace_article (system (sprintf ("echo %s |
>     /usr/local/bin/demime -", article_as_string ())));
> }
(Continue reading)

Troy Piggins | 16 Feb 22:18 2006

Re: piping message thru demime

* Christian Ebert <blacktrash <at> gmx.net> :
> * Troy Piggins on Thursday, February 16, 2006 at 15:37:48 +1000:
> > I'm working on a macro to convert MIME messages not handled
> > correctly by slrn.
> > 
> > I'm using the perl script 'demime' if anyone knows it.  When I have
> > the macro working I'll post it so others can use, along with demime
> > installation instructions etc.
[snip]

> I don't know 'demime' so the following is completely untested and
> perhaps broken, but I use something along this structure with a
> python script, so perhaps it gives you some ideas:
> 
> define demime ()
> {
>   variable art_as_string = article_as_string ();
>   variable fp = popen ("echo '"+art_as_string+"' | /usr/local/bin/demime", "r");
>   variable art_demime = strjoin (fgetslines (fp), "");
>   pclose (fp);
>   if (art_demime != "") replace_article (art_demime);
>   else error (_function_name () +": failed");
> }

Oh you little beauty!  I got it working with one slight modification
to the above.

'demime' complains if you don't tell it where to output, so I just
changed the second line to :

(Continue reading)

Troy Piggins | 16 Feb 23:08 2006

Re: piping message thru demime

* Troy Piggins <troy <at> piggo.com> :
> * Christian Ebert <blacktrash <at> gmx.net> :
> > * Troy Piggins on Thursday, February 16, 2006 at 15:37:48 +1000:
> > > I'm working on a macro to convert MIME messages not handled
> > > correctly by slrn.
> > > 
> > > I'm using the perl script 'demime' if anyone knows it.  When I have
> > > the macro working I'll post it so others can use, along with demime
> > > installation instructions etc.
> [snip]
>  
> > I don't know 'demime' so the following is completely untested and
> > perhaps broken, but I use something along this structure with a
> > python script, so perhaps it gives you some ideas:
> > 
> > define demime ()
> > {
> >   variable art_as_string = article_as_string ();
> >   variable fp = popen ("echo '"+art_as_string+"' | /usr/local/bin/demime", "r");
> >   variable art_demime = strjoin (fgetslines (fp), "");
> >   pclose (fp);
> >   if (art_demime != "") replace_article (art_demime);
> >   else error (_function_name () +": failed");
> > }
> 
> Oh you little beauty!  I got it working with one slight modification
> to the above.
> 
> 'demime' complains if you don't tell it where to output, so I just
> changed the second line to :
(Continue reading)

Christian Ebert | 17 Feb 11:48 2006
X-Face
Picon
Picon

Re: piping message thru demime

* Troy Piggins on Friday, February 17, 2006 at 08:08:47 +1000:
> Looks like I spoke too soon.  It worked on the test message I was
> using, but running the macro on other signed messages it doesn't
> work!?

Might be the seconde issue discussed on
<http://scifi.squawk.com/demime.html>.

> Both messages are by the same author.  I'll have to tinker
> some more.

Save the message separately and run demime on it from the command
line.

> The error message spreads text all over the screen so it's hard to
> make out what the error is.

I guess the error is:

unexpected EOF while looking for matching `''

and 'echo' is the problem.

So, a rather clumsy way of doing this might be to save the
article to a file and run demime on that file:

(I replaced article_as_string with raw_article_as_string)

define demime ()
{
(Continue reading)

Troy Piggins | 17 Feb 14:55 2006

Re: piping message thru demime

* Christian Ebert <blacktrash <at> gmx.net> :
> * Troy Piggins on Friday, February 17, 2006 at 08:08:47 +1000:
> > Looks like I spoke too soon.  It worked on the test message I was
> > using, but running the macro on other signed messages it doesn't
> > work!?
> 
> Might be the seconde issue discussed on
> <http://scifi.squawk.com/demime.html>.

I thought of that, but the message doesn't have multipart/mixed in
it.

> > Both messages are by the same author.  I'll have to tinker
> > some more.
> 
> Save the message separately and run demime on it from the command
> line.

Did that, no error.  All ran ok.

> > The error message spreads text all over the screen so it's hard to
> > make out what the error is.
> 
> I guess the error is:
> 
> unexpected EOF while looking for matching `''
> 
> and 'echo' is the problem.
> 
> So, a rather clumsy way of doing this might be to save the
(Continue reading)


Gmane