🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49371

Re: slrn: editing custom headers

#49371
From: Tomasz 'tsca' Sienicki
Date: Sat, 19 Jun 1999 00:00
41 lines
2212 bytes
 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: <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
References: <slrn7mlk3f.ln.tsca@kmodem315.has.dk> <slrn7mnfto.fuf.crajk@tron.oeh.univie.ac.at>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7mnkdl.d9.tsca@gate1.has.dk>
Subject: Re: slrn: editing custom headers
Date: Sat, 19 Jun 1999 00:00:00 +0000
From: tsca@cryogen.com (Tomasz 'tsca' Sienicki)
References: <slrn7mlk3f.ln.tsca@kmodem315.has.dk> <slrn7mnfto.fuf.crajk@tron.oeh.univie.ac.at>
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: 491476281
X-WWW: <http://www.cryogen.com/tsca>
X-Complaints-To: abuse@telia.dk
X-Trace: news101.telia.com 929812908 8073 194.255.2.100 (19 Jun 1999 17:21:48 GMT)
Organization: spolebaandoptager 45
User-Agent: slrn/0.9.5.6 (UNIX)
NNTP-Posting-Date: 19 Jun 1999 17:21:48 GMT
Newsgroups: news.software.readers