Re: ncurses or slang



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

24.09.2009 00:37, Thomas Dickey wrote:

Thomas, hi. Glad to see you in this maillist.

>> Preferred to S-Lang (as default), but Ncurses fully supported too.
>>
>> With NCurses we have some restrictions (like trouble with drawing of
>> double lines for boxes). S-Lang is a more powerfull library.
> not really (just lack of developers for MC that happen to know both
> libraries)

Well... Drawing double lines possible in NCurses via tty_print_string()
function (not via hline() vline() and etc). In this case we (side of mc)
must take care of user encoding, terminal type and used current font. If
we use hline or vline functions (like now) then this headache of NCurses.

Now Midnight Commander (from git) have initial support of skins.
Possible to change drawing of lines via skin-file. With Ncurses library
we used vline, hline and ACS_* constants, therefore double lines not
drawing, but lines look good with any codepage of user. With S-Lang
library we used anoter way (in opposite): draw lines directly via
SLsmg_write_char. As result: we have any UTF-8 lines but we have trouble
in one-byte codepages ('LANG=C mc' or 'LANG=POSIX mc' show this trouble
as well).

I'm don't know how handle this situation :( We need help from all
interested persons.

WBR, Slavaz.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkq6nIwACgkQb3oGR6aVLpqqjACfbxT+XkF/VdKqsKpiB0QY2Xn6
5p0AmwWzNpViznYcH1+/z8xY15HMM98Y
=Ieif
-----END PGP SIGNATURE-----


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