Article View: news.software.readers
Article #125728Re: [tin] default_sigfile question
From: Jonas Voss
Date: Sun, 01 Jun 2003 11:22
Date: Sun, 01 Jun 2003 11:22
85 lines
4245 bytes
4245 bytes
Dirk Nimmich <nimmich@muenster.de> wrote: > Did you read the umlauts.txt file in the doc directory? What are > your locale settings (LANG, LC_*)? There doesn't seem to be an umlauts.txt in the doc directory. Maybe because it's a Fink installation? [hexley:~]% ls -l /sw/share/doc/tin/ total 88 -rw-r--r-- 1 root admin 6721 Apr 9 2001 CHANGES -rw-r--r-- 1 root admin 497 May 31 18:44 COPYING -rw-r--r-- 1 root admin 1690 Jul 3 2000 README -rw-r--r-- 1 root admin 19434 Jul 3 2000 TODO -rw-r--r-- 1 root admin 5197 Jul 3 2000 WHATSNEW Trying to use locate didn't wield it either. I've googled a bit, and found an umaluts.txt file written by...you, in 1999 <http://www.math.psu.edu/local_doc/tin/umlauts.txt> Good instructions, will see if I can make it work. >> 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). Ok, I will change that. It did say to not mess with unless you knew what you did. Guess I should have listened (: I am using ISO 8859-1 as my local charset. > 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). Excellent! Thanks. I am certain I tried with the ! as the first character, but maybe I didn't remove the redirection in the end. Anyway, it works now, thanks a lot. > 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. Ok, will check this out. >> 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.) Thank you very much for making this clear to me. The signature-bit works very nice now. -- | Jonas @ 55.75, 12.42 | <http://verture.net/> | "I went mad for a while,' said Ford, 'did me no end of good."
Technical Details
Message-ID:
<f84pq-ho9.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!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!80.164.88.6!not-for-mailReferences:
<q1anq-0h8.ln1@hexley.verture.net> <bbc955$emu$00$1@news.t-online.com>Show Full Headers
Complete Article Headers
Message-ID: <f84pq-ho9.ln1@hexley.verture.net> Subject: Re: [tin] default_sigfile question Date: Sun, 1 Jun 2003 13:22:23 +0200 From: Jonas Voss <voss@null.dk> References: <q1anq-0h8.ln1@hexley.verture.net> <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!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!80.164.88.6!not-for-mail Newsgroups: news.software.readers Lines: 84 NNTP-Posting-Host: 80.164.88.6 X-Trace: fu-berlin.de 1054467005 8509977 80.164.88.6 (16 [112111]) X-Orig-Path: hexley.verture.net!news User-Agent: slrn/0.9.7.4 (Darwin)