Re: utf8 patch for mc, slang 2 version

2006-06-29 Thread Michail Vidiassov
Dear All, On Wed, 14 Jun 2006, Egmont Koblinger wrote: On Tue, Jun 13, 2006 at 07:14:41PM +0200, Tomasz K?oczko wrote: BTW: anyone is working on UFT-8 support for ncurses(w) backend ? I don't think so, and I don't think it is worth it. Maintaining two backends IMHO just causes headaches

Re: utf8 patch for mc, slang 2 version

2006-06-16 Thread Bart Oldeman
On Thu, 15 Jun 2006, Egmont Koblinger wrote: Anyway, there are plenty of apps (e.g. vim, joe) that perfectly support UTF-8 and use ncurses (not the w version). I wonder how it is possible... Because they only use the terminfo (low-level) parts of ncurses, see man 3ncurses terminfo. Those

Re: utf8 patch for mc, slang 2 version

2006-06-15 Thread Egmont Koblinger
Hi, BTW: anyone is working on UFT-8 support for ncurses(w) backend ? I don't think so, and I don't think it is worth it. Maintaining two backends IMHO just causes headaches while it doesn't make mc better. I still can't see why developers do not decide which one to use and drop the

Re: utf8 patch for mc, slang 2 version

2006-06-14 Thread Egmont Koblinger
On Tue, Jun 13, 2006 at 07:14:41PM +0200, Tomasz Kłoczko wrote: BTW: anyone is working on UFT-8 support for ncurses(w) backend ? I don't think so, and I don't think it is worth it. Maintaining two backends IMHO just causes headaches while it doesn't make mc better. I still can't see why

Re: utf8 patch for mc, slang 2 version

2006-06-14 Thread Vladimir Nadvornik
On Monday 12 June 2006 10:55, Jindrich Novy wrote: Please take notice. It would probably be good if Vladimir and you could keep your UTF-8 patch sets in sync. It just seems wasted effort to do this in two places independently. Some inter-distro communication is not going to hurt. Maybe

Re: utf8 patch for mc, slang 2 version

2006-06-14 Thread Bart Oldeman
On Wed, 14 Jun 2006, Egmont Koblinger wrote: On Tue, Jun 13, 2006 at 07:14:41PM +0200, Tomasz K?oczko wrote: BTW: anyone is working on UFT-8 support for ncurses(w) backend ? I don't think so, and I don't think it is worth it. Maintaining two backends IMHO just causes headaches while it

Re: utf8 patch for mc, slang 2 version

2006-06-14 Thread Pavel Roskin
Hello! On Thu, 2006-06-15 at 09:45 +1200, Bart Oldeman wrote: On Wed, 14 Jun 2006, Egmont Koblinger wrote: On Tue, Jun 13, 2006 at 07:14:41PM +0200, Tomasz K?oczko wrote: BTW: anyone is working on UFT-8 support for ncurses(w) backend ? I don't think so, and I don't think it is worth

Re: utf8 patch for mc, slang 2 version

2006-06-14 Thread Oswald Buddenhagen
On Thu, Jun 15, 2006 at 09:45:26AM +1200, Bart Oldeman wrote: On Wed, 14 Jun 2006, Egmont Koblinger wrote: On Tue, Jun 13, 2006 at 07:14:41PM +0200, Tomasz K?oczko wrote: BTW: anyone is working on UFT-8 support for ncurses(w) backend ? I don't think so, and I don't think it is worth it.

Re: utf8 patch for mc, slang 2 version

2006-06-14 Thread Tomasz Kłoczko
On Wed, 14 Jun 2006, Egmont Koblinger wrote: On Tue, Jun 13, 2006 at 07:14:41PM +0200, Tomasz Kłoczko wrote: BTW: anyone is working on UFT-8 support for ncurses(w) backend ? I don't think so, and I don't think it is worth it. Maintaining two backends IMHO just causes headaches while it

Re: utf8 patch for mc, slang 2 version

2006-06-14 Thread Pavel Tsekov
On Wed, 14 Jun 2006, Pavel Roskin wrote: Hello! On Thu, 2006-06-15 at 09:45 +1200, Bart Oldeman wrote: On Wed, 14 Jun 2006, Egmont Koblinger wrote: On Tue, Jun 13, 2006 at 07:14:41PM +0200, Tomasz K?oczko wrote: BTW: anyone is working on UFT-8 support for ncurses(w) backend ? I don't

Re: utf8 patch for mc, slang 2 version

2006-06-13 Thread Egmont Koblinger
On Sun, Jun 11, 2006 at 01:08:46PM +0200, Leonard den Ottolander wrote: Egmonts patches are worth looking at. I've blatantly ignored pushing them to you as I'd expected you to integrate them over time. I've probably not made it clear enough to you before that these patches are worth

Re: utf8 patch for mc, slang 2 version

2006-06-12 Thread Jindrich Novy
Hi Leonard, On Sun, 2006-06-11 at 13:08 +0200, Leonard den Ottolander wrote: On Thu, 2006-06-08 at 20:13 +0200, Egmont Koblinger wrote: I've just upgraded to slang-2 in our distro and also updated the UTF-8 patches to mc-4.6.1 (based on SUSE's version). It was easier than I thought it

Re: utf8 patch for mc, slang 2 version

2006-06-11 Thread Leonard den Ottolander
Hello Jindrich, On Thu, 2006-06-08 at 20:13 +0200, Egmont Koblinger wrote: I've just upgraded to slang-2 in our distro and also updated the UTF-8 patches to mc-4.6.1 (based on SUSE's version). It was easier than I thought it would be. I was glad to see that you had applied plenty of my patches

Re: utf8 patch for mc, slang 2 version

2006-06-08 Thread Vladimir Nadvornik
In non-UTF-8 mode slang2 behaves a bit different than the patched slang1. As a result, mc does work with 8bit encodings, like 8859-2 or KOI8. The attached patch fixes the SLsmg_write_nwchars() function to be fully compatible with the slang1 version and uses it consistently instead of

Re: utf8 patch for mc, slang 2 version

2006-06-08 Thread Egmont Koblinger
Hi Vladimir (and others), I've just upgraded to slang-2 in our distro and also updated the UTF-8 patches to mc-4.6.1 (based on SUSE's version). It was easier than I thought it would be. I was glad to see that you had applied plenty of my patches in SUSE (those named 00-*). Please take a look at

Re: utf8 patch for mc, slang 2 version

2006-06-07 Thread Vladimir Nadvornik
On Saturday 12 November 2005 20:59, Leonard den Ottolander wrote: Hi Bart, list, On Tue, 2005-09-20 at 08:14 +1200, Bart Oldeman wrote: Basically you'd need to apply Fedora's patch, and then (sorry no proper patch here but it's not a big deal) Attached you'll find a proper patch. I've

Re: utf8 patch for mc, slang 2 version

2006-06-07 Thread Jindrich Novy
Hi, On Wed, 2006-06-07 at 12:18 +0200, Vladimir Nadvornik wrote: On Saturday 12 November 2005 20:59, Leonard den Ottolander wrote: Hi Bart, list, On Tue, 2005-09-20 at 08:14 +1200, Bart Oldeman wrote: Basically you'd need to apply Fedora's patch, and then (sorry no proper patch here

Re: utf8 patch for mc, slang 2 version

2005-11-12 Thread Leonard den Ottolander
Hi Bart, list, On Tue, 2005-09-20 at 08:14 +1200, Bart Oldeman wrote: Basically you'd need to apply Fedora's patch, and then (sorry no proper patch here but it's not a big deal) Attached you'll find a proper patch. I've moved the hunk from global.h to myslang.h (and dropped the inclusion of

Re: utf8 patch for mc, slang 2 version

2005-09-26 Thread Koblinger Egmont
Hi, config.h @ 3 +#ifdef __APPLE__ +#define unix 1 +#endif I guess developers prefer patches created with diff -u rather than just some pseudo-code. Exctact the original source code to a directory called mc-4.6.1.orig (or actually you can call it whatever you want), copy it to mc-4.6.1 (or

Re: utf8 patch for mc, slang 2 version

2005-09-26 Thread Koblinger Egmont
Hi, I have patches for the NFC / NFD issue and two other patches for the Darwin/Mac Platform for the current UTF-8 version, with all patches applied (I don't know where to post it, so I post here, sorry): config.h @ 3 +#ifdef __APPLE__ +#define unix 1 +#endif I guess developers prefer

Re: utf8 patch for mc, slang 2 version

2005-09-26 Thread Bálint Kardos
Hi, 1) thank you for your answer, I'll post a diff if everything will work as expected :) 2) the multi-byte char Slang2 bug came up at Debian too, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316010 . I applied this patch (080_wide_chars.patch), but still counts badly. Still no Asian

Re: utf8 patch for mc, slang 2 version

2005-09-23 Thread Bálint Kardos
Hi, I have patches for the NFC / NFD issue and two other patches for the Darwin/Mac Platform for the current UTF-8 version, with all patches applied (I don't know where to post it, so I post here, sorry): config.h @ 3 +#ifdef __APPLE__ +#define unix 1 +#endif config.h @ 53 +#include wchar.h

Re: utf8 patch for mc, slang 2 version

2005-09-21 Thread Koblinger Egmont
On Tue, Sep 20, 2005 at 10:11:28PM +0200, Bálint Kardos wrote: But even with all patches and stuff, I see the following Unicode glitches: - the utf-8 chars are not diplayed in the dir list (on Ubuntu, everything is OK) for ÉÁŰŐÚÖÜÓ I see EAUOUOUO (upper, lowercase all wrong) - the

Re: utf8 patch for mc, slang 2 version

2005-09-21 Thread Bálint Kardos
Hi, I've debuged it from the beginning, and: screen.c 762: // inserted wchar_t lonaka[100]; memcpy(lonaka,buffer,txtlen*sizeof(wchar_t)); lonaka[txtlen]=0; // end inserted printw (%*s, still, );

Re: utf8 patch for mc, slang 2 version

2005-09-21 Thread Pavel Tsekov
Hello, Maybe this discussion should be moved to general list - mc at gnome dot org. On Wed, 21 Sep 2005, [ISO-8859-1] Bálint Kardos wrote: Hi, I've debuged it from the beginning, and: screen.c 762: // inserted wchar_t lonaka[100];

Fwd: utf8 patch for mc, slang 2 version

2005-09-20 Thread Bálint Kardos
Hmm, sorry for splitting my email to two parts, but Gmail has keyboard shortcuts too... *** So I've Ubuntu too, I aliened the FC4 mc rpm version to it, but: - it said, it needs glibc 2.3.5 for Utf-8 operations - and requires the slang2 library, which was unavaliable. anyway I patched up

Re: utf8 patch for mc, slang 2 version

2005-09-20 Thread Bálint Kardos
Hi Folks, sorry for bothering, I'm just a newbie, who tries to have UTF-8 MC on his OS X. I've downloaded the latest source, compiled, it was errorous. I have Fedora, and their MC far more better, but I just can not reproduce it on my Mac. I've downloaded from the CVS all FC4 patches and applied

Re: utf8 patch for mc, slang 2 version

2005-09-20 Thread Arkadiusz Miskiewicz
On Monday 19 of September 2005 22:14, Bart Oldeman wrote: Does anyone know mc utf8 patch that uses slang-2 ? No, but it's not too hard too change the existing patch. Basically you'd need to apply Fedora's patch, and then (sorry no proper patch here but it's not a big deal) Thanks, works.

Re: utf8 patch for mc, slang 2 version

2005-09-20 Thread Bálint Kardos
hi, Arkadiusz was kind enough to provide me the sourcecode, and I managed to compile it on my Mac (Darwin 8.2.0). But even with all patches and stuff, I see the following Unicode glitches: - the utf-8 chars are not diplayed in the dir list (on Ubuntu, everything is OK) for ÉÁŰŐÚÖÜÓ I see

utf8 patch for mc, slang 2 version

2005-09-19 Thread Arkadiusz Miskiewicz
Hi, There are few patches adding UTF-8 support to mc available but they require modified slang1 library. There is already stable slang-2 version with native UTF-8 support. Does anyone know mc utf8 patch that uses slang-2 ? -- Arkadiusz MiśkiewiczPLD/Linux Team