🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49404

Re: slrn: editing custom headers

#49404
From: garusher Gary Rusher
Date: Tue, 22 Jun 1999 00:00
44 lines
2212 bytes
>this is cool	 

In article <slrn7mnkdl.d9.tsca@gate1.has.dk>, Tomasz 'tsca' Sienicki wrote:
> Albert Koellner wrote
> [in <slrn7mnfto.fuf.crajk@tron.oeh.univie.ac.at>]: 
>
>> >  When composing a post I'd like to have the header
>> >  
>> >       Content-Type: text/plain; charset=iso-8859-1
>> > 
>> >  available in my editor.
>> 
>> Have a look at your .slrnrc, you can add e.g. the lines
>> 
>> set custom_headers "X-Custom-Header: anything"
>> set followup_custom_headers "X-Custom-Header: anything"
>> 
>> and the header will be added in any new post or follow-up.
>
> No, the Content-Type header is added by slrn. If you add it this way
> you'll get
> 
>    Article rejected: 441 Duplicate "Content-Type" header
>
>> You know that you can simply add
>> 
>> set use_mime 1
>> set mime_charset "iso-8859-1"
>> 
>> in your .slrnrc?
>
> Sure. I have a hook: default iso-8859-2, but iso-8859-1 for dk.*
> groups. But sometimes I wish to post sth in *-1 to non dk.* groups or
> post in *-2 to dk.* groups. That happens. So what I want is the hooks
> still working, but the Content-Type line in my editor available for
> editing in unusual cases. 
>
>-- 
> tsca                                           life is short: take risks *
> Tomasz Sienicki <tsca@cryogen.com>           if you win, you'll be happy *
>                                              if you lose, you'll be wise *
> --- [ phevbfvgl xvyyrq gur png ] --------------------------- (anonymous) *

Technical Details
Message-ID: <7ko2op$9k$5@newsource.ihug.co.nz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn7mlk3f.ln.tsca@kmodem315.has.dk> <slrn7mnfto.fuf.crajk@tron.oeh.univie.ac.at> <slrn7mnkdl.d9.tsca@gate1.has.dk>

Show Full Headers
Complete Article Headers
Message-ID: <7ko2op$9k$5@newsource.ihug.co.nz>
Subject: Re: slrn: editing custom headers
Date: Tue, 22 Jun 1999 00:00:00 +0000
From: garusher@localhost. (Gary Rusher)
References: <slrn7mlk3f.ln.tsca@kmodem315.has.dk> <slrn7mnfto.fuf.crajk@tron.oeh.univie.ac.at> <slrn7mnkdl.d9.tsca@gate1.has.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 492505314
Organization: The Internet Group Ltd
Followup-To: news.software.readers
User-Agent: slrn/0.9.5.3 (UNIX)
Newsgroups: news.software.readers