ncurses-ruby bugs

Discussion in 'Ruby' started by Nit Khair, Oct 27, 2008.

  1. Nit Khair

    Nit Khair Guest

    Sorry for posting here. I mailed the email in the code 3 weeks back but
    no response. Berlios.de has closed bug reporting.

    1. dynamic_field_info (form_wrap.c):
    The function takes 3 arrays, but was not allowing 3.
    I changed 2 to 3 in line 1392, column 44. This is 0.9.1.

    > RB_CLASS_METH(cFIELD, dynamic_field_info,2);


    > RB_CLASS_METH(cFIELD, dynamic_field_info,3);


    Now the method is callable.

    2. ungetch: Many methods go through "method_missing". But this fails on
    ungetch and is likely to give an error on other methods too. I was not
    confident of touching that part of the code, so opened the class in ruby
    as follows:

    module Ncurses
    class WINDOW
    def ungetch(ch)
    Ncurses.ungetch(ch)
    end
    end
    end

    Something similar can be done for other methods that fail in
    method_missing.

    Thanks.
    --
    Posted via http://www.ruby-forum.com/.
     
    Nit Khair, Oct 27, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tobias Peters

    [ANN] ncurses-ruby-0.8

    Tobias Peters, Sep 2, 2003, in forum: Ruby
    Replies:
    0
    Views:
    103
    Tobias Peters
    Sep 2, 2003
  2. Armin Roehrl
    Replies:
    2
    Views:
    107
    Dick Davies
    Apr 19, 2004
  3. Alexey Verkhovsky
    Replies:
    5
    Views:
    106
    Yukihiro Matsumoto
    Oct 5, 2004
  4. Josef 'Jupp' Schugt

    Still use 'ruby-bugs' for Ruby bugs?

    Josef 'Jupp' Schugt, Nov 4, 2004, in forum: Ruby
    Replies:
    2
    Views:
    165
    Tom Copeland
    Nov 4, 2004
  5. Kenneth McDonald
    Replies:
    1
    Views:
    154
    Nit Khair
    Sep 27, 2008
Loading...

Share This Page