[sup-talk] Patch for ncursesw branch (use panelw and formw)

Gregor Hoffleit gregor at hoffleit.de
Mon Nov 2 07:06:36 EST 2009


I noticed that the ncursesw branch implements only the first part of the
wide-char fixes suggested in the extconf patch in
http://rubyforge.org/pipermail/sup-talk/2007-October/000297.html.

Entering UTF-8 characters in the textfields ('To', 'Subject', 'Alias')
still doesn't work.

It worked fine, though, applied the second part of the patch as well.
This is the diff against ncursesw:

diff --git a/ncurses-0.9.1/extconf.rb b/ncurses-0.9.1/extconf.rb
index a559385..7c4d2c2 100644
--- a/ncurses-0.9.1/extconf.rb
+++ b/ncurses-0.9.1/extconf.rb
@@ -118,11 +118,11 @@ have_func("attr_get")
 
 puts "checking for the panel library..."
 if have_header("panel.h")
-  have_library("panel", "panel_hidden")
+  have_library("panelw", "panel_hidden")
 end
 puts "checking for the form library..."
 if have_header("form.h")
-  have_library("form", "new_form")
+  have_library("formw", "new_form")
 end
 
 create_makefile('ncurses')


More information about the sup-talk mailing list