[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with forms and ncurses
From: |
Thomas Dickey |
Subject: |
Re: Problem with forms and ncurses |
Date: |
Sun, 07 Jan 2007 17:44:13 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sun, Jan 07, 2007 at 04:58:32PM -0500, Ron Gage wrote:
> Basically, I can't get forms to work. More specifically, I believe I am
> following the correct steps to get forms working (create the field
> objects, create the form from the field objects, post the form to the
> display, and refresh) and it's not displaying anything!
It would help if the example were complete. Not knowing what that would
be, I just tried with the necessary variables, to see what it would do.
I linked it with a copy of ncurses that I'd configured with
the trace option, and did
NCURSES_TRACE=0x224 ./foo
to see. For my example, the post_form() fails (E_NO_ROOM is -6):
called {new_form(0xbfa8a7bc)
+ called {Connect_Fields(0x805b540,0xbfa8a7bc)
+ return }0
+ called {form_driver(0x805b540,-291056)
+ return }0
return }0x805b540
called {post_form(0x805b540)
return }-6
called {set_current_field(0x805b540,0x804a1c8)
return }0
Making the screen bigger got a form to show up. That may not be your
particular problem, but the trace feature can be helpful.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature