Article View: news.software.readers
Article #205930Re: [slrn] newbie stuck some what
From: Blinky the Shark
Date: Sat, 15 Sep 2007 21:58
Date: Sat, 15 Sep 2007 21:58
83 lines
4846 bytes
4846 bytes
Peter J Ross wrote: > In news.software.readers on 15 Sep 2007 21:15:59 GMT, Blinky the Shark ><no.spam@box.invalid> wrote: > >> Peter J Ross wrote: >>> In news.software.readers on 15 Sep 2007 17:28:04 GMT, Blinky the >>> Shark >>><no.spam@box.invalid> wrote: >>> >>>> After posting the above I gave pl2 one more shot, with a few lines >>>> of code Thomas W. supplied for manual addition to mime.c, that keep >>>> it from length-checking X-Face. That works. See headers. >>> >>> "User-Agent: slrn/0.9.8.1pl2.1 (Linux)" >>> >>> Hurrah! >>> >>> But you'll need to adjust your locale settings from ISO-Latin to >>> UTF-8 to get the full benefit. >> >> The notes I got when I ran it said that charset and mime_charset were >> now irrelevant in the .slrnrc file. So I commented them out. Or are >> you talking about something else? I do not have string "locale" in >> .slrnrc. > > Yes, I'm talking about something else. What happens if you type > "locale" at a prompt? I get this: > > pjr@lenny:~$ locale > LANG=en_GB.UTF-8 > LC_CTYPE="en_GB.UTF-8" > LC_NUMERIC="en_GB.UTF-8" > LC_TIME="en_GB.UTF-8" > LC_COLLATE="en_GB.UTF-8" > LC_MONETARY="en_GB.UTF-8" > LC_MESSAGES="en_GB.UTF-8" > LC_PAPER="en_GB.UTF-8" > LC_NAME="en_GB.UTF-8" > LC_ADDRESS="en_GB.UTF-8"> > LC_TELEPHONE="en_GB.UTF-8" > LC_MEASUREMENT="en_GB.UTF-8" > LC_IDENTIFICATION="en_GB.UTF-8" > LC_ALL= LANG=en_US LC_CTYPE=en_US LC_NUMERIC=en_US LC_TIME=en_US LC_COLLATE=en_US LC_MONETARY=en_US LC_MESSAGES=en_US LC_PAPER=en_US LC_NAME=en_US LC_ADDRESS=en_US LC_TELEPHONE=en_US LC_MEASUREMENT=en_US LC_IDENTIFICATION=en_US LC_ALL= >>>> I suppose that test could be regex'ed to include Face headers, >>>> which are even longer. >>> >>> Adding a group of similar lines to mime.c for Face: headers might be >>> better, since 7 (the length in characters of the string "X-Face:") >>> would need to be changed to 5. >> >> That can't be done based on the rightmost five characters, and catch >> both? I don't know s-lang. But I'm not a stranger to string >> functions in general. > > I'm a stranger to all programming (apart from my BASIC experiments > with my Sinclair QL in the mid 80s), so I have no idea. Any language I've played with can extract parts of strings: left n characters; right n characters, substring length x starting with position y; etc. I'd be surprised if s-lang was lacking that. -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <----------- New Site Aug 28
Technical Details
Message-ID:
<slrnfeold5.cok.no.spam@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!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<GuGdnb2Nc_-5qnrbnZ2dnUVZ_ramnZ2d@insightbb.com> <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> <slrnfekubn.ukn.no.spam@thurston.blinkynet.net> <sqpqr4-eg8.ln1@wiegner.user.individual.de> <slrnfelmki.4u6.no.spam@thurston.blinkynet.net> <slrn.2007-09-14.19-53-40@cunegonde.bas.me.uk> <pan.2007.09.15.02.00.13.218296@thurston.blinkynet.net> <slrn.2007-09-15.03-17-29@cunegonde.bas.me.uk> <slrnfemm3t.abl.no.spam@thurston.blinkynet.net> <slrn.2007-09-15.12-32-02@cunegonde.bas.me.uk> <slrnfeo3ot.5eu.no.spam@thurston.blinkynet.net> <slrn.2007-09-15.17-02-39@cunegonde.bas.me.uk> <slrnfeo5ia.91a.no.spam@thurston.blinkynet.net> <slrnfeoa5p.vb8.pjr@pjr.gotdns.org> <slrnfeoitl.c72.no.spam@thurston.blinkynet.net> <slrnfeokhj.vb8.pjr@pjr.gotdns.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnfeold5.cok.no.spam@thurston.blinkynet.net> Subject: Re: [slrn] newbie stuck some what Date: Sat, 15 Sep 2007 21:58:23 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <GuGdnb2Nc_-5qnrbnZ2dnUVZ_ramnZ2d@insightbb.com> <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> <slrnfekubn.ukn.no.spam@thurston.blinkynet.net> <sqpqr4-eg8.ln1@wiegner.user.individual.de> <slrnfelmki.4u6.no.spam@thurston.blinkynet.net> <slrn.2007-09-14.19-53-40@cunegonde.bas.me.uk> <pan.2007.09.15.02.00.13.218296@thurston.blinkynet.net> <slrn.2007-09-15.03-17-29@cunegonde.bas.me.uk> <slrnfemm3t.abl.no.spam@thurston.blinkynet.net> <slrn.2007-09-15.12-32-02@cunegonde.bas.me.uk> <slrnfeo3ot.5eu.no.spam@thurston.blinkynet.net> <slrn.2007-09-15.17-02-39@cunegonde.bas.me.uk> <slrnfeo5ia.91a.no.spam@thurston.blinkynet.net> <slrnfeoa5p.vb8.pjr@pjr.gotdns.org> <slrnfeoitl.c72.no.spam@thurston.blinkynet.net> <slrnfeokhj.vb8.pjr@pjr.gotdns.org> 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!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 83 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net 3aDq6isgQhT/2uUTlvsk1Ap9HrprxeoC2ZY+7KbCB4n49Od+Th Cancel-Lock: sha1:gOKF5kY2DlMR8K3WE8EdP2OpKcA= X-The-Usenet-Improvement-Project: http://improve-usenet.org X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva 2006 Linux; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=black; TextColor=black User-Agent: slrn/0.9.8.1pl2.1 (Linux)