🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49389

Re: slrn: editing custom headers

#49389
From: Tomasz 'tsca' Sienicki
Date: Mon, 21 Jun 1999 00:00
28 lines
1992 bytes
 Tomasz 'tsca' Sienicki wrote
 [in <slrn7mnkdl.d9.tsca@gate1.has.dk>]: 

>  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. 

 Well, I after a short look into slrnfuns.txt I came up with something
 much better (which greatly improved my mood :) 

 define post_filter_hook ()
 {
        variable mime_charset;
        variable n_code ;
        n_code = select_list_box ("Choose encoding",
        "iso-8859-1", "iso-8859-2", "iso-8859-3", "iso-8859-4", 4, 2);
        set_string_variable ("mime_charset", n_code);
 }

-- 
 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: <slrn7msdm6.8eu.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> <slrn7mnkdl.d9.tsca@gate1.has.dk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7msdm6.8eu.tsca@gate1.has.dk>
Subject: Re: slrn: editing custom headers
Date: Mon, 21 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> <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: 492080945
X-WWW: <http://www.cryogen.com/tsca>
X-Complaints-To: abuse@telia.dk
X-Trace: news101.telia.com 929969853 5302 194.255.2.100 (21 Jun 1999 12:57:33 GMT)
Organization: spolebaandoptager 45
User-Agent: slrn/0.9.5.6 (UNIX)
NNTP-Posting-Date: 21 Jun 1999 12:57:33 GMT
Newsgroups: news.software.readers