🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205855

Re: [slrn] newbie stuck some what

#205855
From: Thomas Wiegner
Date: Fri, 14 Sep 2007 15:58
46 lines
2849 bytes
Hi

On Fri, 14 Sep 2007, Blinky the Shark <no.spam@box.invalid> wrote:

> I see you've added an X-Face.  Didn't believe me about that PITA warning,
> eh?  :)  ;)

I don't think it's too hard to press one additional "f" for each article
you write, but if it is really that PITA for you, you could try this
patch:

<---------- bite here ------->

--- mime.c	2007-09-14 17:31:19.000000000 +0200
+++ mime.c	2007-09-14 17:53:39.000000000 +0200
@@ -1231,17 +1231,23 @@
    char *tmp, *ret;
    Slrn_Mime_Error_Obj *err=NULL;
    
    if (strlen(s) <= 78)
      {
 	/* nothing to do */
 	return NULL;
      }
-	
+
+   if (slrn_case_strncmp(s,"x-face:",7) == 0)
+     {
+	/* leave X-Face untouched do */
+	return NULL;
+     }
+
    /* First step: counting. */
    
    /* skip the first word and all ws after it
     * (folding after the keyword is not allowed) */
    /* I'm not sure about that FS */
    while (((last_ws) || (s[pos] != ' ')) && (s[pos] != '\0'))
      {
 	if (s[pos] == ' ')

<---------- bite here ------->

Cheers,

 Thomas
Technical Details
Message-ID: <imnqr4-a47.ln1@wiegner.user.individual.de>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <GuGdnb2Nc_-5qnrbnZ2dnUVZ_ramnZ2d@insightbb.com> <20070912112705@usenet.piggo.com> <os-dnRw9ioRgQHrbnZ2dnUVZ_jOdnZ2d@insightbb.com> <slrnfegii7.har.no.spam@thurston.blinkynet.net> <aradnU51muySyXXbnZ2dnUVZ_uXinZ2d@insightbb.com> <slrnfeglhs.kdq.no.spam@thurston.blinkynet.net> <aradnUt1mux4y3XbnZ2dnUVZ_uXinZ2d@insightbb.com> <fcdrth$hhj$2@registered.motzarella.org> <slrnfekttr.8ol.wiegner@dost.mchm.siemens.de> <pan.2007.09.14.12.39.05.706431@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <imnqr4-a47.ln1@wiegner.user.individual.de>
Subject: Re: [slrn] newbie stuck some what
Date: Fri, 14 Sep 2007 17:58:42 +0200
From: Thomas Wiegner <wiegner@gmx.de>
References: <GuGdnb2Nc_-5qnrbnZ2dnUVZ_ramnZ2d@insightbb.com> <20070912112705@usenet.piggo.com> <os-dnRw9ioRgQHrbnZ2dnUVZ_jOdnZ2d@insightbb.com> <slrnfegii7.har.no.spam@thurston.blinkynet.net> <aradnU51muySyXXbnZ2dnUVZ_uXinZ2d@insightbb.com> <slrnfeglhs.kdq.no.spam@thurston.blinkynet.net> <aradnUt1mux4y3XbnZ2dnUVZ_uXinZ2d@insightbb.com> <fcdrth$hhj$2@registered.motzarella.org> <slrnfekttr.8ol.wiegner@dost.mchm.siemens.de> <pan.2007.09.14.12.39.05.706431@thurston.blinkynet.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 46
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net mwSur9Z2qyC63yWtegGbJwNRpvMp8MqN9g/wKy9V8zwnfzFmc=
X-Orig-Path: wiegner.user.individual.de!news
Cancel-Lock: sha1:LO2WEG0y0AXwXbPGiRkSL6OhnV0=
X-Face: '%&JPOa%XrUMb:H+G-#tXLZ0,u(/+4!b`eA]eg+kMKrrs&E@u%xm[V5$xu[TNa74m"CQoF?&E'q;
 :~<JToc@{<_PWOq81]s7O`<mGQ2-I^qGb~)[s1z+~#Kn1rRS9Y`K+pkZ0~U,Cv@o%kliBx])[BkZ_\me07H+fotWo&ouZViG/s)Z|9m^m>C@u$q8\[/InWbf-X={>d/A-~Id:?E;
 Ln#'z; bk(`}&y; !:<r-G:fYT>%e8\{~?_;
 F~~ce,Km&!}d7N?#e{HabqX<{zo?3vP1kzpS=QKzM(dU7Q
User-Agent: slrn/0.9.8.1pl2.1 (Linux)