Article View: news.software.readers
Article #171676Re: [slrn] Cannot add X-face
From: Whiskers
Date: Fri, 19 Aug 2005 17:27
Date: Fri, 19 Aug 2005 17:27
70 lines
4822 bytes
4822 bytes
On 2005-08-19, The Ohmster <ohmster@ohmster.com> wrote: snip > ...phew! I gotta do all of that stuff to add an X-Face to an slrnrc > file? Only once! I keep a text file containing both the 'straight' and 'slrn-ready' versions of my X-Face string, as a just-in-case back-up; I agree that finding and 'escaping' all the iffy characters is a pain, but as I said, you only do it once. > I don't have any idea of how to do that, I would need an example, > but this seems like *far* too much trouble to add an X-Face to slrnrc. Use your beloved vim to edit ~/.slrnrc - that ~ is Unix/Linux shorthand for "/home/username/" where username is your ... umm ... username; many applications recognise it, so an admin can write scripts that work for each user according to that user's settings. (The dot before the filename means it's 'hidden'). > Do you think that most people copy and past the custom header each time > for X-Face or do you think that they really figure out how to escape all > of that stuff and make it work in the slrnrc? The latter I should think, but there's nowt so queer as folk so who can tell? I set up a text file containing my 'straight' X-Face string, and used an editor to make a copy of that string, in the same file, and then manually scanned through the duplicate putting in the necessary extra characters. So now I have both versions nice and safe, and can insert the one required into my newsreaders any time I need to set one up from scratch. (Make sure the editors don't 'wrap' the X-Face string). Here are the two versions of mine: Straight, for Pan, Knode, etc: X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p& g^8<z5>HA For ~/.slrnrc: set custom_headers "X-Face: (8UIp\\C%%,7b>N'Aa}l7v*-4z\\fb2ab=[r*LKrwTU]>W\\E]YS3Cb3mZo1Ty.t2%%6_KsTV_\"Pmt)1xC~QW%%bU/xrlDuux\";aJOH0|Ka^MEDf\"9Ck?FcYcR)aI~e[\\\"NW,mpyK}Q6dU[\\BmvwRD00xYer];5mR_!\\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ\":i_#zfZ'cH`2a^!q_lzxh@p& g^8<z5>HA" The escape characters required are set out clearly here <http://www.karl-voit.at/howtos/en/xface.txt>. You haven't asked yet how to view X-Faces in slrn ... perhaps you can discover that for yourself? ;)) > I would like to copy and past that right now to try it out but I decided > to answer this in slrn and am using vim as the editor. With vim, I could > actually open two files at once for copying and pasting? Is this very > difficult to learn, do you think, Whiskers? I'm not a vi[m] user; my preferred editor is mcedit (part of the mc or 'Midnight Commander' text-based file manager) so I can't tell you how to use vim - there are plenty of people who can though :)) You seem to be getting to grips with both slrn and vim very quickly, so I'm sure you'll get there. Rather than copy/paste or using two 'buffers' to get the same piece of text into lots of newsgroup articles, I'd have a file ready with the text in it and then 'insert file' as required (that's how I got the two X-Face strings into the body of this post) - or have a 'macro' to do it. But Linux is all about doing things /your/ way :)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Technical Details
Message-ID:
<mchht2-kpk.ln1@ID-107770.user.individual.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!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrndganm0.eg8.ohmster@ohmster.com> <Xns96B7588E32E5MyBigKitty@216.77.188.18> <MrQ96B75D11625CitsmeitsQ@QsFQDN.dyndns.org> <slrndgavpn.ef0.no.spam@thurston.blinkynet.net> <5d1ht2-3fg.ln1@ID-107770.user.individual.net> <slrndgbosr.a52.ohmster@ohmster.com>Show Full Headers
Complete Article Headers
Message-ID: <mchht2-kpk.ln1@ID-107770.user.individual.net> Subject: Re: [slrn] Cannot add X-face Date: Fri, 19 Aug 2005 18:27:18 +0100 From: Whiskers <catwheezel@operamail.com> References: <slrndganm0.eg8.ohmster@ohmster.com> <Xns96B7588E32E5MyBigKitty@216.77.188.18> <MrQ96B75D11625CitsmeitsQ@QsFQDN.dyndns.org> <slrndgavpn.ef0.no.spam@thurston.blinkynet.net> <5d1ht2-3fg.ln1@ID-107770.user.individual.net> <slrndgbosr.a52.ohmster@ohmster.com> 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!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 70 X-Trace: individual.net UbY+r6IeUn1E2j/9Mpg0ZgOXOpdBH++vGIR7jBhdyJMZf1Oow5 X-Orig-Path: ID-107770.user.individual.net!news X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p& g^8<z5>HA User-Agent: slrn/0.9.8.1 (Linux)