def rb_getstr(nolongerused, r, c, prompt, maxlen, config={})
      config[:maxlen] = maxlen
      str = rb_gets(prompt, config)
      if str
        return 0, str
      else
        return -1, nil
      end
    end
def rb_getstr(nolongerused, r, c, prompt, maxlen, config={})
      config[:maxlen] = maxlen
      str = rb_gets(prompt, config)
      if str
        return 0, str
      else
        return -1, nil
      end
    end
routine to get a string at bottom of window.
 The first 3 params are no longer required since we create a window
 of our own.
 @param [String] prompt - label to show
 @param [Integer] maxlen - max length of input
 @param [Hash] config - :default, :width of Field, :help_text, :tab_completion
 help_text is displayed on F1
 tab_completion is a proc which helps to complete user input
 NOTE : This method is now only for **backward compatibility**
 rb_getstr had various return codes based on whether user asked for help
 possibly mimicking alpine, or because i could do nothing about it.
 Now, rb_getstr handles that and only returns if the user cancels or enters
 a string, so rb_getstr does not need to return other codes.
 @deprecated