On Tue, 20 Sep 2005, Bálint Kardos wrote:

****
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.

as far as I can see at http://cvs.fedora.redhat.com/viewcvs/devel/mc/
and http://cvs.fedora.redhat.com/viewcvs/devel/slang/
Fedora is still stuck with the patched slang1.

Does anyone have a proper source code for a *working* Utf-8 Midnight
Commander?

I did what I said, which was with Slang2, and Arkadiusz confirmed that it worked. Did not use alien, just source code with patches applied.

All I know is that there are 3 Slangs floating around:
1. original 1.4.x, which is also included, stripped down, with mc in the
   slang directory. If you use this one, no matter what, you don't get
   UTF-8.
2. patched 1.4.x, used by Fedora and some others. Has a few issues with
   non-patched mc (the mc configure script refuses to use it).
3. SLang 2.0.x, which also has UTF8-support, but you need to explicitly
   enable it, using SLutf8_enable(-1), as in my mail.
   Otherwise it will be in 8-bit mode, and from mc's point of view behaves
   just like the original 1.4.x.
   As far as I can see, for instance, mc in Debian testing/unstable is
   linked against slang2, but without UTF8-support.

Bart
_______________________________________________
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to