Re: ncurses or slang
* Slava Zanko slavaza...@gmail.com schrieb: Hi folks, snip unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On Tue, 2009-10-27 at 18:42 +0100, Enrico Weigelt wrote: unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. Why would you drop anything at all unless there's a damn good reason for that? -- Sincerely yours, Yury V. Zaytsev ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
* Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 18:42 +0100, Enrico Weigelt wrote: unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. Why would you drop anything at all unless there's a damn good reason for that? To make the whole code smaller and cleaner ;-P cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On Tue, 2009-10-27 at 20:03 +0100, Enrico Weigelt wrote: * Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 18:42 +0100, Enrico Weigelt wrote: unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. Why would you drop anything at all unless there's a damn good reason for that? To make the whole code smaller and cleaner ;-P Does not sound compelling enough to me. Did you try LFS? :-P -- Sincerely yours, Yury V. Zaytsev ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
* Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 20:03 +0100, Enrico Weigelt wrote: * Yury V. Zaytsev y...@shurup.com schrieb: On Tue, 2009-10-27 at 18:42 +0100, Enrico Weigelt wrote: unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. Why would you drop anything at all unless there's a damn good reason for that? To make the whole code smaller and cleaner ;-P Does not sound compelling enough to me. Did you try LFS? :-P yet too big for my targets. I've got my own build/distro system (which builds everything exclusively w/ sysroot'ed crosscompilers) cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On 10/27/2009 07:42 PM, Enrico Weigelt wrote: * Slava Zankoslavaza...@gmail.com schrieb: Hi folks, snip unless there's a damn good reason for slang, I'd prefer dropping slang in favour of ncurses. The bug in mcedit where pressing the DEL key deletes the background in ncurses should be reason enough :P ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
ncurses or slang
Dear All, what is the preferred screen output library in the upcoming mc 4.7 and current pre2? I.e. if one can install both ncurses and slang2 on his system what mc is to be compiled against, what branch is developed and tested more active, where are bugs fewer and features more abundant? Sincerely, Michail ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michail Vidiassov wrote: Dear All, what is the preferred screen output library in the upcoming mc 4.7 and current pre2? I.e. if one can install both ncurses and slang2 on his system what mc is to be compiled against, what branch is developed and tested more active, where are bugs fewer and features more abundant? 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. WBR, Slavaz. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFKuiZZb3oGR6aVLpoRAviQAJ9snqSZJUffhfNVdiGDiiHWLVOSJwCfc3Qs 5Gg8kR9pytv7FeWg2d2JlF8= =Qn5O -END PGP SIGNATURE- ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
Hi! I like ncurses: the versions with full Unicode support are available on vintage distros like RHEL4 RHEL3. -- Sincerely yours, Yury V. Zaytsev On Wed, 2009-09-23 at 16:45 +0300, Slava Zanko wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michail Vidiassov wrote: Dear All, what is the preferred screen output library in the upcoming mc 4.7 and current pre2? I.e. if one can install both ncurses and slang2 on his system what mc is to be compiled against, what branch is developed and tested more active, where are bugs fewer and features more abundant? 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. WBR, Slavaz. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFKuiZZb3oGR6aVLpoRAviQAJ9snqSZJUffhfNVdiGDiiHWLVOSJwCfc3Qs 5Gg8kR9pytv7FeWg2d2JlF8= =Qn5O -END PGP SIGNATURE- ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yury V. Zaytsev wrote: I like ncurses: the versions with full Unicode support are available on vintage distros like RHEL4 RHEL3. Is latest Midnight Commander works on RHEL3? WBR, Slavaz. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFKuik5b3oGR6aVLpoRAvh8AJ93nSo+9wO+GhozcJui2cVug4Tq7wCfbFNq /0MwakeIuui9WHHIk4iRo9g= =VFx3 -END PGP SIGNATURE- ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On Wed, 2009-09-23 at 15:44 +0200, Yury V. Zaytsev wrote: Hi! I like ncurses: the versions with full Unicode support are available on vintage distros like RHEL4 RHEL3. Sorry can't check right now, but I think it worked once I've got the static glib thing just as it did for RHEL4. It's been like 3-4 months ago... -- Sincerely yours, Yury V. Zaytsev ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
Dear Slava, what is the preferred screen output library in the upcoming mc 4.7 and current pre2? 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. did you contact Thomas Dickey, the author of ncurses with your problems? I am not sure if he is still on this list (he used to be), but he is active at the ncurses list bug-ncur...@gnu.org and generally responsive to bug reports and helpful in solving complex usage cases. Sincerely, Michail ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On Wed, 23 Sep 2009, Slava Zanko wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michail Vidiassov wrote: Dear All, what is the preferred screen output library in the upcoming mc 4.7 and current pre2? I.e. if one can install both ncurses and slang2 on his system what mc is to be compiled against, what branch is developed and tested more active, where are bugs fewer and features more abundant? 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) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
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- ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: ncurses or slang
On Thu, 24 Sep 2009, Slava Zanko wrote: -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). All that sounds just like you're using slang's equivalent of add_wch() or addch(), which you can already do with ncurses. (Either way, the solution depends on locale and terminal support ;-) The one-byte codepages providing double-lines aren't available in POSIX locale. ncurses has a use_legacy_coding() function to tell it that the display can show characters which the locale says aren't printable (though mixing that with a UTF-8 locale may not give good results). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel
Re: (fwd) ncurses vs slang
Hello! On Wed, 23 Oct 2002, Andrew V. Samoilov wrote: These mails from [EMAIL PROTECTED] can be related to ncurses 5.2 turns off keypad under heavy load on xterm. Check if anything can be done about it. See last mail in link and thanks to Andrew W. Nosenko for sending these mails to me. Thanks, but keypad is used for keyboard input, and this thread is about screen output. Besides, last time I checked, the keypad bug was specific to xterm and could not be reproduced on rxvt with the same TERM, so any misinterpretation of terminfo can be probably ruled out. It's just a matter of linking with with static non-optimized ncurses and running keypad() through the debugger. I don't expect it to be very hard, unless we are forced to reimplement some parts of ncurses. -- Regards, Pavel Roskin ___ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel