Thread View: news.software.readers
14 messages
14 total messages
Started by sl
Thu, 27 Mar 2003 03:59
[slrn] customizing headers
Author: sl
Date: Thu, 27 Mar 2003 03:59
Date: Thu, 27 Mar 2003 03:59
17 lines
1383 bytes
1383 bytes
Hello. I followed the instructions to customize my headers. But it ADDED a second line of the header I want, and kept the original. So instead of having one I like, I have the old one I didn't like AND the new one I like. How do I get it to use just one? Thanks, sl PS can you customize the From: header? I put it in .slrnrc but it never showed up right in my posts and I'm not sure you can do that.
Re: [slrn] customizing headers
Author: Tiger
Date: Thu, 27 Mar 2003 04:19
Date: Thu, 27 Mar 2003 04:19
31 lines
2240 bytes
2240 bytes
On Thu, 27 Mar 2003 03:59:18 +0000 (UTC), sl <sl@home.corcorancreations.com> wrote: > > Hello. > > I followed the instructions to customize my headers. > But it ADDED a second line of the header I want, and kept the original. > So instead of having one I like, I have the old one I didn't like AND the new > one I like. > > How do I get it to use just one? > Comment out the one you don't want. > > PS can you customize the From: header? I put it in .slrnrc but it never > showed up right in my posts and I'm not sure you can do that. The "From" header is generated from 3 variables: set username "jef" set hostname "roaring.tiger.uncaged" set realname "Tiger" Take a look at my "From" header to see how it works. -- Tiger *Registered Linux User #279548 Mandrake 9.1 Fluxbox 0.1.14
Re: [slrn] customizing headers
Author: Peter J Ross
Date: Thu, 27 Mar 2003 05:08
Date: Thu, 27 Mar 2003 05:08
32 lines
1928 bytes
1928 bytes
On Thu, 27 Mar 2003 at 03:59 GMT, a jury from news.software.readers found sl guilty of posting this: > Hello. > > I followed the instructions to customize my headers. > But it ADDED a second line of the header I want, and kept the original. > So instead of having one I like, I have the old one I didn't like AND the new > one I like. > > How do I get it to use just one? set custom_headers "Custom Header One\nCustom Header Two" set followup_custom_headers "Custom Header One\nCustom Header Two" set reply_custom_headers "Custom Header One\nCustom Header Two" You don't want any of these lines to appear more than once, and you don't want any separator between the two headers apart from "\n", representing a newline. > PS can you customize the From: header? I put it in .slrnrc but it never > showed up right in my posts and I'm not sure you can do that. If you want to post as "Clever Posting Handle <somebody@some.where>": set username "somebody" set hostname "some.where" set realname "Clever Posting Handle" -- PJR :-)
Re: [slrn] customizing headers
Author: SINNER
Date: Thu, 27 Mar 2003 15:31
Date: Thu, 27 Mar 2003 15:31
11 lines
1496 bytes
1496 bytes
While strolling through news.software.readers, Dave was overheard plotting: > Iirc, the 'followup_custom_headers' requires escape characters for > certain characters. Indeed, and different escapes then those required in custom headers. -- David
Re: [slrn] customizing headers
Author: Blinky the Shark
Date: Fri, 28 Mar 2003 02:24
Date: Fri, 28 Mar 2003 02:24
18 lines
1423 bytes
1423 bytes
SINNER wrote: > While strolling through news.software.readers, Dave was overheard > plotting: >> Iirc, the 'followup_custom_headers' requires escape characters for >> certain characters. > Indeed, and different escapes then those required in custom headers. Those plus, actually. -- Blinky Lest *we* forget, too: http://web.newsguy.com/dogfish/stuff/1944jun.jpg
Re: [slrn] customizing headers
Author: sl
Date: Sun, 30 Mar 2003 02:25
Date: Sun, 30 Mar 2003 02:25
25 lines
2082 bytes
2082 bytes
On Thu, 27 Mar 2003 at 05:08 GMT, Peter J Ross wrote: > On Thu, 27 Mar 2003 at 03:59 GMT, a jury from news.software.readers > found sl guilty of posting this: >> I followed the instructions to customize my headers. >> How do I get it to use just one? > set custom_headers "Custom Header One\nCustom Header Two" > set followup_custom_headers "Custom Header One\nCustom Header Two" > set reply_custom_headers "Custom Header One\nCustom Header Two" > You don't want any of these lines to appear more than once, and you > don't want any separator between the two headers apart from "\n", > representing a newline. Umm...so why's there two? I just have one, so do I have to format it different? and...where do you put the name of the field you want to customize? Basically, mine looks like this: set custom_headers "User-Agent: none-of-your-business" And...last time I checked (and you can check for yourself) I had both that line and the slrn-Linux line I wanted to banish. Thanks, sl
Re: [slrn] customizing headers
Author: Peter J Ross
Date: Sun, 30 Mar 2003 08:09
Date: Sun, 30 Mar 2003 08:09
43 lines
2446 bytes
2446 bytes
On Sun, 30 Mar 2003 at 02:25 GMT, a jury from news.software.readers found sl guilty of posting this: > On Thu, 27 Mar 2003 at 05:08 GMT, Peter J Ross wrote: >> On Thu, 27 Mar 2003 at 03:59 GMT, a jury from news.software.readers >> found sl guilty of posting this: >>> I followed the instructions to customize my headers. >>> How do I get it to use just one? >> set custom_headers "Custom Header One\nCustom Header Two" >> set followup_custom_headers "Custom Header One\nCustom Header Two" >> set reply_custom_headers "Custom Header One\nCustom Header Two" >> You don't want any of these lines to appear more than once, and you >> don't want any separator between the two headers apart from "\n", >> representing a newline. > > Umm...so why's there two? > I just have one, so do I have to format it different? I may have confused you with another poster who was having trouble setting more than one custom header. > and...where do you put the name of the field you want to customize? > Basically, mine looks like this: > set custom_headers "User-Agent: none-of-your-business" That seems to be correct, as long as you want only one custom header. I think you'll need to set followup_custom_headers too. > And...last time I checked (and you can check for yourself) I had both that > line and the slrn-Linux line I wanted to banish. You may have a global confuguration file (probably /etc/news/slrn.rc) as well as a personal one in ~/.slrnrc. If that doesn't solve your problem somebody who knows more than I do will have to help. -- PJR :-)
Re: [slrn] customizing headers
Author: Blinky the Shark
Date: Sun, 30 Mar 2003 20:10
Date: Sun, 30 Mar 2003 20:10
16 lines
1503 bytes
1503 bytes
Peter J Ross wrote: > You may have a global confuguration file (probably /etc/news/slrn.rc) > as well as a personal one in ~/.slrnrc. I have one at /usr/local/share/doc/slrn -- but it's just the template/help version, with everything except colors and key mappings commented out. So I think that it's irrelevant unless he's done something with it, himself. -- Blinky Lest *we* forget, too: http://web.newsguy.com/dogfish/stuff/1944jun.jpg
Re: [slrn] customizing headers
Author: J.B. Nicholson-Owens
Date: Mon, 31 Mar 2003 00:41
Date: Mon, 31 Mar 2003 00:41
16 lines
1572 bytes
1572 bytes
sl wrote: > Umm...so why's there two? > And...last time I checked (and you can check for yourself) I had both that > line and the slrn-Linux line I wanted to banish. Yes, and I think this was done by design. > User-Agent: none-of-your-business > User-Agent: slrn/0.9.7.4 (Linux) I recommend you keep the slrn-generated line and don't try to replace it. This information can be helpful. Particularly in newsgroups like news.software.readers where people try to help one another with their newsreader problems. People don't always remember to include relevant information.
Re: [slrn] customizing headers
Author: Andrew Preater
Date: Mon, 31 Mar 2003 08:02
Date: Mon, 31 Mar 2003 08:02
19 lines
1845 bytes
1845 bytes
* J.B. Nicholson-Owens <jbn@forestfield.org>: > sl wrote: >> User-Agent: none-of-your-business >> User-Agent: slrn/0.9.7.4 (Linux) > > I recommend you keep the slrn-generated line and don't try to > replace it. This information can be helpful. Better still, not messing with the slrn User-Agent avoids mishaps like the one above. :) "sl", you can't override the default headers by adding your own in this way! You can do this in Pan, but not slrn. If you really want to change your User-Agent you have to edit the source and roll your own binary. Or use slrnpull / leafnode and setup some scripting to edit the articles before they leave the spool. -- Andrew Preater
Re: [slrn] customizing headers
Author: Blinky the Shark
Date: Mon, 31 Mar 2003 08:48
Date: Mon, 31 Mar 2003 08:48
29 lines
2107 bytes
2107 bytes
On Mon, 31 Mar 2003 09:02:10 +0100, Andrew Preater wrote: > * J.B. Nicholson-Owens <jbn@forestfield.org>: >> [quoted text muted] > > Better still, not messing with the slrn User-Agent avoids mishaps > like the one above. :) "sl", you can't override the default headers > by adding your own in this way! You can do this in Pan, but not > slrn. No! You can, just by adding a custom header with the same name? I didn't have to hack the executable to remove the goofy comment from the user-agent header? Hell. :) > If you really want to change your User-Agent you have to edit the > source and roll your own binary. Or use slrnpull / leafnode and > setup some scripting to edit the articles before they leave the > spool. -- Blinky Lest *we* forget, too: http://web.newsguy.com/dogfish/stuff/1944jun.jpg
Re: [slrn] customizing headers
Author: Andrew Preater
Date: Mon, 31 Mar 2003 09:02
Date: Mon, 31 Mar 2003 09:02
25 lines
2225 bytes
2225 bytes
* Blinky the Shark <no.spam@blinkynet.net>: > On Mon, 31 Mar 2003 09:02:10 +0100, Andrew Preater wrote: >> you can't override the default headers by adding your own in this >> way! You can do this in Pan, but not slrn. > > No! You can, just by adding a custom header with the same name? Yes. I wanted to do the same as you, change the silly User-Agent to Pan/0.13.4 (Linux) or whatever. Just add the header to your `profile' and it should always be added. This has worked on every Pan version I've ever used. > I didn't have to hack the executable to remove the goofy comment > from the user-agent header? You didn't have to admit that in public. :) Actually I remember this discussion in a.o.l.mandrake some time ago, people were talking about hacking the Pan binary and all sorts! I posted about it, but everyone else seemed happy to ignore me and carry on arguing about the other, more obscure, ways of doing it. -- Andrew Preater
Re: [slrn] customizing headers
Author: Blinky the Shark
Date: Mon, 31 Mar 2003 09:49
Date: Mon, 31 Mar 2003 09:49
47 lines
2590 bytes
2590 bytes
Andrew Preater wrote: > * Blinky the Shark <no.spam@blinkynet.net>: >> On Mon, 31 Mar 2003 09:02:10 +0100, Andrew Preater wrote: >>> you can't override the default headers by adding your own in this >>> way! You can do this in Pan, but not slrn. >> No! You can, just by adding a custom header with the same name? > Yes. I wanted to do the same as you, change the silly User-Agent to > Pan/0.13.4 (Linux) or whatever. Just add the header to your `profile' > and it should always be added. This has worked on every Pan version > I've ever used. >> I didn't have to hack the executable to remove the goofy comment >> from the user-agent header? > You didn't have to admit that in public. :) <AOL> huh? this isnt e-mail? unsubscribe </AOL> <snapping back to normal> Okay, I'm all right now. Move along, folks -- nothing to see, here. :) > Actually I remember this discussion in a.o.l.mandrake some time ago, > people were talking about hacking the Pan binary and all sorts! I > posted about it, but everyone else seemed happy to ignore me and carry > on arguing about the other, more obscure, ways of doing it. I don't remember that thread, but other than The Appeal Of The Hack, I can't see any real advantage in Making It Harder. :) Actually, I can -- it's...uh..."cleaner" via the hack. -- Blinky Lest *we* forget, too: http://web.newsguy.com/dogfish/stuff/1944jun.jpg
Re: [slrn] customizing headers
Author: Thomas Schultz
Date: Sun, 06 Apr 2003 09:24
Date: Sun, 06 Apr 2003 09:24
16 lines
1510 bytes
1510 bytes
* Juha Tuomala [2003-04-05 20:01] : [...] > Where your From: header is in format: > > <realname> <username>@<hostname> > > Is that feature of your pine version? I don't know about pine, but assuming you meant slrn, the answer is yes: The new format is used since 0.9.7.2. -- Thomas Schultz <tststs@gmx.de> News on slrn: http://slrn.sf.net/news.html .-----------------------------. [2002-03-13] slrn 0.9.7.4 is out | Home of the slrn newsreader | [2002-02-03] Screenshot page online | http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads