Thread View: news.software.readers
3 messages
3 total messages
Started by Jonas Voss
Sat, 31 May 2003 18:48
[tin] default_sigfile question
Author: Jonas Voss
Date: Sat, 31 May 2003 18:48
Date: Sat, 31 May 2003 18:48
43 lines
2254 bytes
2254 bytes
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. 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 Which unfortunately doesn't change anything pertaining to the charset. Is this a bug, or a feature? 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. 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. Anyone has any hints on this? -- ~/j with no auto-sig right now.
Re: [tin] default_sigfile question
Author: Dirk Nimmich
Date: Sun, 01 Jun 2003 07:14
Date: Sun, 01 Jun 2003 07:14
65 lines
3850 bytes
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.)
Re: [tin] default_sigfile question
Author: 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."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads