Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Patch for ncursesw branch (use panelw and formw)
@ 2009-11-02 12:06 Gregor Hoffleit
  0 siblings, 0 replies; only message in thread
From: Gregor Hoffleit @ 2009-11-02 12:06 UTC (permalink / raw)
  To: sup-talk

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')
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-02 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-02 12:06 [sup-talk] Patch for ncursesw branch (use panelw and formw) Gregor Hoffleit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox