Re: utf8 patch for mc, slang 2 version



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 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 slang.h as it is redundant).
> >
> > Jindrich, please merge this patch with the UTF8 patch. You might even
> > consider to build the next mc for FC --with-screen=mcslang, as I see the
> > FC development tree does not yet feature slang-2.
> >

slang-2.0.5 is used since FC5 so only FC4 now uses the old slang-1.4.9.

> Hi all,
> 
> 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
> SLsmg_write_char(). It should be applied on top of all the previous patches.

Thanks for the patch. The last hunk didn't apply as there's no
view_add_character used in editdraw.c.

Jindrich




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]