Thread View: news.software.readers
14 messages
14 total messages
Started by m
Sun, 02 Jun 2013 14:57
tin: garbled display of special characters
Author: m
Date: Sun, 02 Jun 2013 14:57
Date: Sun, 02 Jun 2013 14:57
17 lines
1592 bytes
1592 bytes
Hello,
only about 20 years late to the party, here is a brand new usenet and
tin user, wondering why tin either fails to decode MIME messages or to
display special characters.
Screenshot: http://i.imgur.com/lcVSp42.png
Software: urxvt 9.15 on OpenSuse/x86_64 12.2 in an en_US.UTF-8 locale.
tin version: tin 2.1.0 release 20111224 ("Bridgend")
Any hints would be appreciated.
Best regards,
m
Re: tin: garbled display of special characters
Author: m
Date: Sun, 02 Jun 2013 16:19
Date: Sun, 02 Jun 2013 16:19
18 lines
1778 bytes
1778 bytes
I wrote:
> Screenshot: http://i.imgur.com/lcVSp42.png
>
> Software: urxvt 9.15 on OpenSuse/x86_64 12.2 in an en_US.UTF-8 locale.
> tin version: tin 2.1.0 release 20111224 ("Bridgend")
Same article on tin 2.0.1/Cygwin NT5.1: http://i.imgur.com/N6KJmur.png
(finally a spam post has been put to use at something)
On the SuSe machine, the problem persists after an upgrade to tin 2.1.2.
> Any hints would be appreciated.
This still counts ;)
Best regards,
m
Re: tin: garbled display of special characters
Author: tlvp
Date: Sun, 02 Jun 2013 19:16
Date: Sun, 02 Jun 2013 19:16
14 lines
1796 bytes
1796 bytes
m wrote: > ... wondering why tin either fails to decode MIME messages or to > display special characters. > > Screenshot: http://i.imgur.com/lcVSp42.png > > Any hints would be appreciated. Have you tried asking the list maintainer, listmaster@lists.debian.org? Conceivably there's another encoding in vogue there, and not UTF-8. Or is the problem more widespread than just linux.debian.user.japanese? HTH. Cheers, -- tlvp
Re: tin: garbled display of special characters
Author: Urs Janßen
Date: Sun, 02 Jun 2013 20:00
Date: Sun, 02 Jun 2013 20:00
16 lines
2018 bytes
2018 bytes
In <kofmgk$k69$2@news.albasani.net>, m wrote: > Hello, > > only about 20 years late to the party, here is a brand new usenet and > tin user, wondering why tin either fails to decode MIME messages or to > display special characters. I don't see a display problem with that message (Message-ID: <20110621004347.B267613A5876@liszt.debian.org>) in tin (tin 2.1.0; LC_CTYPE=en_US.utf8; XTerm(293) or mlterm 3.2.0, debian i386 and x86_64) > Software: urxvt 9.15 on OpenSuse/x86_64 12.2 in an en_US.UTF-8 locale. suse has a "good" tradition of screwing up the tin package they provide - you'd better build it from then orgiginal sources.
Re: tin: garbled display of special characters
Author: m
Date: Sun, 02 Jun 2013 20:56
Date: Sun, 02 Jun 2013 20:56
12 lines
1780 bytes
1780 bytes
Hello, tlvp <tPlOvUBpErLeLsEs@hotmail.com> wrote: > Have you tried asking the list maintainer, listmaster@lists.debian.org? > Conceivably there's another encoding in vogue there, and not UTF-8. > Or is the problem more widespread than just linux.debian.user.japanese? Sadly, it affects all articles with "funny" (i.e. non-ASCII) characters on any newsgroup I tried so far, I just picked this one as an example. Best regards, m
Re: tin: garbled display of special characters
Author: m
Date: Sun, 02 Jun 2013 21:08
Date: Sun, 02 Jun 2013 21:08
31 lines
2489 bytes
2489 bytes
Hello Urs, In <kog887$s2a$1@news.rz.uni-karlsruhe.de>, Urs Janßen wrote: > I don't see a display problem with that message (Message-ID: > <20110621004347.B267613A5876@liszt.debian.org>) in tin (tin 2.1.0; > LC_CTYPE=en_US.utf8; XTerm(293) or mlterm 3.2.0, debian i386 and > x86_64) Well, it (and other non-ASCII messages) works fine on tin/Cygwin as well.. >> Software: urxvt 9.15 on OpenSuse/x86_64 12.2 in an en_US.UTF-8 locale. > > suse has a "good" tradition of screwing up the tin package they > provide - you'd better build it from then orgiginal sources. Do you have any idea what, say, configure parameter could be responsible for the messages appearing garbled for me? Suse has only one patch applied to tin, and it seems completely harmless (removes the build time from the tin binary for whatever reason). I figured it might have been a tin bug and built my own rpm with the two upgrade patches applied. Anyway, thanks for pointing out that it might be Suse's fault, I'll try rebuilding it again. Best regards, m
Re: tin: garbled display of special characters
Author: m
Date: Sun, 02 Jun 2013 22:55
Date: Sun, 02 Jun 2013 22:55
72 lines
3688 bytes
3688 bytes
In <kogned$2sq$1@news.rz.uni-karlsruhe.de>, Urs Janßen wrote:
> In <kogc8h$4tr$2@news.albasani.net>, m wrote:
>> Do you have any idea what, say, configure parameter could be responsible
>> for the messages appearing garbled for me?
>
> I don't know what suse does, but it suffices to configure/link
> against ncurses[w] (--with-screen=ncurses[w]).
That might have been it.
>> Suse has only one patch applied to tin, and it seems completely harmless
>> (removes the build time from the tin binary for whatever reason).
>
> suse started screwing up tin back in ~1998 - a few years and some
> broken packages later i stoped worrying about what they do wrong...
I dropped a bunch of configure flags (diff below), now it works. Can't
say exactly which one is responsible, but I can narrow it down for you,
if you're interested. Otherwise, we can leave it at that. I understand
that you're tin's current maintainer?
No patches other than the "disable-build_timestamps.patch" were
involved.
Thanks for your help.
Best regards,
m
--- SPECS/tin-unstable.spec.orig 2012-09-07 07:06:51.000000000 +0200
+++ SPECS/tin-unstable.spec 2013-06-03 00:50:45.554991444 +0200
@@ -30,6 +30,8 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-%{version}.tar.bz2
Patch1: %{name}-disable_build_timestamps.patch
+Patch2: tin-2.1.0totin-2.1.1.diff
+Patch3: tin-2.1.1totin-2.1.2.diff
Conflicts: tin
%description
@@ -43,6 +45,8 @@
%prep
%setup -q -n "tin-%{version}"
%patch1
+%patch2 -p1
+%patch3 -p1
%build
CFLAGS="%optflags" \
@@ -55,18 +59,11 @@
--with-domain-name=/etc/inews_mail_gateway \
--with-libdir=/var/lib/news \
--with-inews-dir=/usr/lib/news \
- --with-mime-default-charset=UTF-8 \
- --with-screen=ncurses \
+ --with-screen=ncursesw \
--with-pcre \
- --with-gpg=gpg2 \
- --disable-debug \
- --enable-prototypes \
- --enable-warnings \
--enable-color \
--disable-etiquette \
--disable-forgery \
- --enable-locale \
- --enable-ipv6 \
--mandir=%{_mandir} \
--infodir=%{_infodir}
make build
Re: tin: garbled display of special characters
Author: Urs Janßen
Date: Mon, 03 Jun 2013 00:19
Date: Mon, 03 Jun 2013 00:19
14 lines
2159 bytes
2159 bytes
In <kogc8h$4tr$2@news.albasani.net>, m wrote: >> suse has a "good" tradition of screwing up the tin package they >> provide - you'd better build it from then orgiginal sources. > Do you have any idea what, say, configure parameter could be responsible > for the messages appearing garbled for me? I don't know what suse does, but it suffices to configure/link against ncurses[w] (--with-screen=ncurses[w]). > Suse has only one patch applied to tin, and it seems completely harmless > (removes the build time from the tin binary for whatever reason). suse started screwing up tin back in ~1998 - a few years and some broken packages later i stoped worrying about what they do wrong...
Re: tin: garbled display of special characters
Author: tlvp
Date: Mon, 03 Jun 2013 04:31
Date: Mon, 03 Jun 2013 04:31
17 lines
2121 bytes
2121 bytes
m wrote: > Hello, > > tlvp <tPlOvUBpErLeLsEs@hotmail.com> wrote: >> Have you tried asking the list maintainer, listmaster@lists.debian.org? >> Conceivably there's another encoding in vogue there, and not UTF-8. >> Or is the problem more widespread than just linux.debian.user.japanese? > > Sadly, it affects all articles with "funny" (i.e. non-ASCII) characters > on any newsgroup I tried so far, I just picked this one as an example. > > Best regards, > m Well, then it's probably (as Urs, et al., have been suggesting) a problem with your particular compilation/installation of tin. Wish I could help. Sorry I can't. Best of luck. Cheers, -- tlvp
--
Author: Jeff-Relf.Me
Date: Mon, 03 Jun 2013 15:55
Date: Mon, 03 Jun 2013 15:55
23 lines
2139 bytes
2139 bytes
Herr Urs Janßen ist wunderbar ! I enjoyed his comments on Mr. m's "unidiff"* output. [ *: http://en.wikipedia.org/wiki/Diff#Unified_format ] Good stuff, seriously. WikiPedia's "tin" entry[*] says: << [ *: http://en.wikipedia.org/wiki/Tin_%28newsreader%29 ] Since 1996, tin has been maintained by Urs Janßen. [...] Unlike trn or nn, it is easy to follow the progress of changes since 1995 in tin because its changelog is detailed and dated. >> It's a rare privilege for me to "meet"[1] a newsreader developer/coder; especially one that's mentioned on Wikipedia[2]. Way too rare. [ 1: though we've never conversed. 2: http://www.google.com/search?q=%22Urs+Jan%C3%9Fen%22%20site:WikiPedia.ORG ] This, by the way, is how I read/sort/score articles: http://Jeff-Relf.Me/Cola_Regs.HTM http://Jeff-Relf.Me/Phy_Regs.HTM
Re: tin: garbled display of special characters
Author: Urs Janßen
Date: Mon, 03 Jun 2013 16:24
Date: Mon, 03 Jun 2013 16:24
50 lines
3083 bytes
3083 bytes
In <kogigk$glv$1@news.albasani.net>, m wrote: > I dropped a bunch of configure flags (diff below), now it works. Can't > say exactly which one is responsible, but I can narrow it down for you, > if you're interested. Otherwise, we can leave it at that. I have not used suse for ages and except for debian I don't care if any dist screws up the tin package in thier dist. > I understand that you're tin's current maintainer? yes I am > - --with-mime-default-charset=UTF-8 \ should not affect your problem and nowdays only is usefull on system where locales don'tb work propperly. > - --with-screen=ncurses \ > + --with-screen=ncursesw \ ncursesw is required for wide chars > - --with-gpg=gpg2 \ this is about pgp/gpg signing/encrypting messages and has nothing todo with the problem. > - --disable-debug \ --disable-debug is the default, passing it to configure is redundant > - --enable-prototypes \ uses tins fallback prototypes for the system functions when they are missing, this may reduce the number of warnings given during compilation on some systems but should not affect the binary > - --enable-warnings \ enable some compiler warnings during build. should not affect the binary. > - --enable-locale \ --enable-locale is the default, passing it to configure is redundant > - --enable-ipv6 \ you don't have IPv6 support now. if you don't use IPv6 on your system that's ok (but enabling it shouldn't do any harm).
Re: tin: garbled display of special characters
Author: m
Date: Mon, 03 Jun 2013 17:39
Date: Mon, 03 Jun 2013 17:39
41 lines
3160 bytes
3160 bytes
In <koifvd$oc3$1@news.rz.uni-karlsruhe.de>, Urs Janßen wrote: > In <kogigk$glv$1@news.albasani.net>, m wrote: >> I dropped a bunch of configure flags (diff below), now it works. Can't >> say exactly which one is responsible, but I can narrow it down for you, >> if you're interested. Otherwise, we can leave it at that. > > I have not used suse for ages and except for debian I don't care if > any dist screws up the tin package in thier dist. I know most of these are not relevant, but I figured it might be best to use tin's default autoconf detection rather than screwing with the default values, assuming the author of the software knows best. (I'm used to package builders feeding the software they package redundant configure parameters) >> - --with-screen=ncurses \ >> + --with-screen=ncursesw \ > > ncursesw is required for wide chars I assume this is where the real problem lies, but I haven't tried yet without all of the other options. Still, the message display looks really weird with plain old ncurses. >> - --enable-ipv6 \ > > you don't have IPv6 support now. if you don't use IPv6 on your system > that's ok (but enabling it shouldn't do any harm). By the current rate of IPv6 adaption, it will take my ISP a few tin major releases to deploy IPv6 to their ADSL customers... </rant> (I assumed tin automatically does the right thing. By the way, why isn't IPv6 enabled by default? It's been around for some time after all). Thanks again, it's been a pleasure :) Best regards, m
Re: tin: garbled display of special characters
Author: m
Date: Mon, 03 Jun 2013 17:41
Date: Mon, 03 Jun 2013 17:41
12 lines
2111 bytes
2111 bytes
In <koh5uk$55i$1@dont-email.me>, tlvp wrote: > Well, then it's probably (as Urs, et al., have been suggesting) a problem > with your particular compilation/installation of tin. Wish I could help. > Sorry I can't. Best of luck. Cheers, -- tlvp The issue has been resolved for me, now I'm mostly figuring out why tin does what it does (it might be relevant to either Urs or the Suse packager. It probably isn't, because it doesn't seem like there are any other tin users on Suse left in this world ;) Best, m
Re: tin: garbled display of special characters
Author: Urs Janßen
Date: Tue, 04 Jun 2013 07:50
Date: Tue, 04 Jun 2013 07:50
23 lines
2497 bytes
2497 bytes
In <koikbl$8p3$2@news.albasani.net>, m wrote: >>> - --enable-ipv6 \ >> >> you don't have IPv6 support now. if you don't use IPv6 on your system >> that's ok (but enabling it shouldn't do any harm). > > By the current rate of IPv6 adaption, it will take my ISP a few tin major > releases to deploy IPv6 to their ADSL customers... </rant> > > (I assumed tin automatically does the right thing. By the way, why isn't > IPv6 enabled by default? It's been around for some time after all). because when it was added (mind. 1999) it wasn't very well tested and it caused some minor trouble so the default was set to off around end of 1999. since then the configure default was keept (as IPv6 is still not in widespread use, I tjimk that's ok, but if ppl. disagree: feel free to send in patches ,-). urs -- Jef Poskanzer: "When people aren't stupid Usenet is even more useful. Too bad this happens so rarely."
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