Article View: news.software.readers
Article #254918Re: tin: garbled display of special characters
From: 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
Technical Details
Message-ID:
<kogigk$glv$1@news.albasani.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.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!newsfeed.datemas.de!news.albasani.net!.POSTED!not-for-mailReferences:
<kofmgk$k69$2@news.albasani.net> <kog887$s2a$1@news.rz.uni-karlsruhe.de> <kogc8h$4tr$2@news.albasani.net> <kogned$2sq$1@news.rz.uni-karlsruhe.de>Show Full Headers
Complete Article Headers
Message-ID: <kogigk$glv$1@news.albasani.net>
Subject: Re: tin: garbled display of special characters
Date: Sun, 02 Jun 2013 22:55:17 +0000
From: m <m@invalid.invalid>
References: <kofmgk$k69$2@news.albasani.net> <kog887$s2a$1@news.rz.uni-karlsruhe.de> <kogc8h$4tr$2@news.albasani.net> <kogned$2sq$1@news.rz.uni-karlsruhe.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!newsfeed.datemas.de!news.albasani.net!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 72
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.albasani.net
z8Vrz+XTJ0UfQOKAjpS8Gjyo09trjm9LoKhg5EyJBGnYhd3tQXTMOhV0tYfnz+ADQG5+ug6IuC5SZz0phKVrwA==
NNTP-Posting-Date: Sun, 2 Jun 2013 22:55:17 +0000 (UTC)
Injection-Info: news.albasani.net;
logging-data="SLx6RjLfsSRhf0L2ieihazyaqWi3sM6Oi656qDTgmBxoGPI5qMGxzefCQPX4s9fOVcbI1V+KhljZFKjBI8qwKISdH6b3S3gOAx0WBs9uov6w1Vz52t/iJf24zg2VGMqA";
mail-complaints-to="abuse@albasani.net"
User-Agent: tin/2.1.2-20121224 ("Langholm") (UNIX) (Linux/3.4.42-2.28-desktop
(x86_64))
Cancel-Lock: sha1:X9HF5cuUJYMMt4pVOjJ+7UBfypQ=
X-Original-Bytes: 3388