🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #125724

Re: [tin] default_sigfile question

#125724
From: Dirk Nimmich
Date: Sun, 01 Jun 2003 07:14
65 lines
3850 bytes
Jonas Voss wrote:
> Specs: Mac OS X 10.2, Fink 0.5.2. Tin 1.4.5
> 
> I am trying to grasp what tin is all about, but I am having some
> trouble making it render accented letters, eg. �, �, �, properly. They
> are substituted by ?, at best, and makes posts written in Dansih
> highly unreadable.

Did you read the umlauts.txt file in the doc directory? What are
your locale settings (LANG, LC_*)?

> I've changed the settings to this:
> 
> 77. MM_CHARSET                         :  ISO-8859-1
> 78. MIME encoding in news messages     :  8bit
> 79. Use 8bit characters in news headers:  ON
> 80. MIME encoding in mail messages     :  8bit
> 81. Use 8bit characters in mail headers:  ON

These are the settings for posting and mailing messages. Besides
that you shouldn't use raw 8bit in headers because nobody can then
determine which charset you used they seem to be ok (assuming that
your local charset is actually ISO 8859-1 and not some Mac specific
charset).

> Also, in slrn which I've been using until now, I have a .sig-generator
> invoked everytime I write a post to make my signature. How would I go
> about doing that with tin?
> 
> tinrc says I can use a command that makes a sig for me, and I am 
> trying with the one that did it for me in slrn
> 
> default_sigfile=~/.sig.pl .randsig > .signature
> 
> This gives me no signature though.

Because tin tries to read the file "~/.sig.pl .randsig > .signature"
which of course doesn't exist. For commands to execute here, use !
as the first character. The command in default_sigfile has to
produce output on stdout which is then used as your signature (so
remove the redirection at the end as well).

Just as a side note, random signatures can be used much easier than
with executing a script file if you have them all in single files.
Create a directory, put all your signature files in it, and let
default_sigfile point to that directory. Tin will automatically
choose a file randomly from the directory. For a fixed part of the
signature, create a .sigfixed file in your home directory.

> I've tried moving the command into the default_editor_format, like so:
> 
> default_editor_format=./.sig.pl .randsig > .signature ; jed '%F' -g %N
> -tmp
> 
> But this also gives me no signature, just blank space underneath the
> post, or followup.

Of course, the signature file must exist before the default_editor
is invoked.  How did you expect the signature to jump into the
article file between the .sig.pl and the jed command? (~/.sig.pl
.randsig >> '%F' && jed '%F' -g %N -tmp as default_editor_format
_may_ work but doesn't include the signature delimiter. I suggest
using the command syntax in default_sigfile as described above.)

Technical Details
Message-ID: <bbc955$emu$00$1@news.t-online.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <q1anq-0h8.ln1@hexley.verture.net>

Show Full Headers
Complete Article Headers
Message-ID: <bbc955$emu$00$1@news.t-online.com>
Subject: Re: [tin] default_sigfile question
Date: Sun, 1 Jun 2003 09:14:45 +0200
From: Dirk Nimmich <nimmich@muenster.de>
References: <q1anq-0h8.ln1@hexley.verture.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 64
Sender: Dirk Nimmich <dirk@roxel.fqdn.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1054451685 00 15070 AzVEVeIbS+YQG 030601 07:14:45
X-Complaints-To: usenet-abuse@t-online.de
X-ID: EYOzvwZDZeUVk+Q5QJX5rWlLkBd9Z7vII-xMcVLf1yPROUrOwCRc8S