- A curses initialization routine such as <STRONG>initscr</STRONG> must be
- called before using any of these functions.
-
-
-</PRE>
-<H3><a name="h3-Current-Default-Values-for-Field-Attributes">Current Default Values for Field Attributes</a></H3><PRE>
- The <STRONG>form</STRONG> library maintains a default value for field
- attributes. You can get or set this default by calling
- the appropriate <STRONG>set_</STRONG> or retrieval routine with a <STRONG>NULL</STRONG>
- field pointer. Changing this default with a <STRONG>set_</STRONG> function
- affects future field creations, but does not change the
- rendering of fields already created.
-
-
-</PRE>
-<H3><a name="h3-Routine-Name-Index">Routine Name Index</a></H3><PRE>
- The following table lists each <STRONG>form</STRONG> routine and the name
- of the manual page on which it is described.
-
- <STRONG>curses</STRONG> Routine Name Manual Page Name
- -------------------------------------------------
- current_field <STRONG><A HREF="form_page.3x.html">form_page(3x)</A></STRONG>
- data_ahead <STRONG><A HREF="form_data.3x.html">form_data(3x)</A></STRONG>
- data_behind <STRONG><A HREF="form_data.3x.html">form_data(3x)</A></STRONG>
- dup_field <STRONG><A HREF="form_field_new.3x.html">form_field_new(3x)</A></STRONG>
- dynamic_field_info <STRONG><A HREF="form_field_info.3x.html">form_field_info(3x)</A></STRONG>
- field_arg <STRONG><A HREF="form_field_validation.3x.html">form_field_validation(3x)</A></STRONG>
- field_back <STRONG><A HREF="form_field_attributes.3x.html">form_field_attributes(3x)</A></STRONG>
- field_buffer <STRONG><A HREF="form_field_buffer.3x.html">form_field_buffer(3x)</A></STRONG>
- field_count <STRONG><A HREF="form_field.3x.html">form_field(3x)</A></STRONG>
- field_fore <STRONG><A HREF="form_field_attributes.3x.html">form_field_attributes(3x)</A></STRONG>
- field_index <STRONG><A HREF="form_page.3x.html">form_page(3x)</A></STRONG>
- field_info <STRONG><A HREF="form_field_info.3x.html">form_field_info(3x)</A></STRONG>
- field_init <STRONG><A HREF="form_hook.3x.html">form_hook(3x)</A></STRONG>
- field_just <STRONG><A HREF="form_field_just.3x.html">form_field_just(3x)</A></STRONG>
- field_opts <STRONG><A HREF="form_field_opts.3x.html">form_field_opts(3x)</A></STRONG>
- field_opts_off <STRONG><A HREF="form_field_opts.3x.html">form_field_opts(3x)</A></STRONG>
- field_opts_on <STRONG><A HREF="form_field_opts.3x.html">form_field_opts(3x)</A></STRONG>
- field_pad <STRONG><A HREF="form_field_attributes.3x.html">form_field_attributes(3x)</A></STRONG>
- field_status <STRONG><A HREF="form_field_buffer.3x.html">form_field_buffer(3x)</A></STRONG>
- field_term <STRONG><A HREF="form_hook.3x.html">form_hook(3x)</A></STRONG>
- field_type <STRONG><A HREF="form_field_validation.3x.html">form_field_validation(3x)</A></STRONG>
-
- field_userptr <STRONG><A HREF="form_field_userptr.3x.html">form_field_userptr(3x)</A></STRONG>
- form_driver <STRONG><A HREF="form_driver.3x.html">form_driver(3x)</A></STRONG>
- form_driver_w <STRONG><A HREF="form_driver.3x.html">form_driver(3x)</A></STRONG>*
- form_fields <STRONG><A HREF="form_field.3x.html">form_field(3x)</A></STRONG>
- form_init <STRONG><A HREF="form_hook.3x.html">form_hook(3x)</A></STRONG>
- form_opts <STRONG><A HREF="form_opts.3x.html">form_opts(3x)</A></STRONG>
- form_opts_off <STRONG><A HREF="form_opts.3x.html">form_opts(3x)</A></STRONG>
- form_opts_on <STRONG><A HREF="form_opts.3x.html">form_opts(3x)</A></STRONG>
- form_page <STRONG><A HREF="form_page.3x.html">form_page(3x)</A></STRONG>
- form_request_by_name <STRONG><A HREF="form_requestname.3x.html">form_requestname(3x)</A></STRONG>
- form_request_name <STRONG><A HREF="form_requestname.3x.html">form_requestname(3x)</A></STRONG>
- form_sub <STRONG><A HREF="form_win.3x.html">form_win(3x)</A></STRONG>
- form_term <STRONG><A HREF="form_hook.3x.html">form_hook(3x)</A></STRONG>
- form_userptr <STRONG><A HREF="form_userptr.3x.html">form_userptr(3x)</A></STRONG>
- form_win <STRONG><A HREF="form_win.3x.html">form_win(3x)</A></STRONG>
- free_field <STRONG><A HREF="form_field_new.3x.html">form_field_new(3x)</A></STRONG>
- free_fieldtype <STRONG><A HREF="form_fieldtype.3x.html">form_fieldtype(3x)</A></STRONG>
- free_form <STRONG><A HREF="form_new.3x.html">form_new(3x)</A></STRONG>
- link_field <STRONG><A HREF="form_field_new.3x.html">form_field_new(3x)</A></STRONG>
- link_fieldtype <STRONG><A HREF="form_fieldtype.3x.html">form_fieldtype(3x)</A></STRONG>
- move_field <STRONG><A HREF="form_field.3x.html">form_field(3x)</A></STRONG>
- new_field <STRONG><A HREF="form_field_new.3x.html">form_field_new(3x)</A></STRONG>
- new_fieldtype <STRONG><A HREF="form_fieldtype.3x.html">form_fieldtype(3x)</A></STRONG>
- new_form <STRONG><A HREF="form_new.3x.html">form_new(3x)</A></STRONG>
- new_page <STRONG><A HREF="form_new_page.3x.html">form_new_page(3x)</A></STRONG>
- pos_form_cursor <STRONG><A HREF="form_cursor.3x.html">form_cursor(3x)</A></STRONG>
- post_form <STRONG><A HREF="form_post.3x.html">form_post(3x)</A></STRONG>
- scale_form <STRONG><A HREF="form_win.3x.html">form_win(3x)</A></STRONG>
- set_current_field <STRONG><A HREF="form_page.3x.html">form_page(3x)</A></STRONG>
- set_field_back <STRONG><A HREF="form_field_attributes.3x.html">form_field_attributes(3x)</A></STRONG>
- set_field_buffer <STRONG><A HREF="form_field_buffer.3x.html">form_field_buffer(3x)</A></STRONG>
- set_field_fore <STRONG><A HREF="form_field_attributes.3x.html">form_field_attributes(3x)</A></STRONG>
- set_field_init <STRONG><A HREF="form_hook.3x.html">form_hook(3x)</A></STRONG>
- set_field_just <STRONG><A HREF="form_field_just.3x.html">form_field_just(3x)</A></STRONG>
- set_field_opts <STRONG><A HREF="form_field_opts.3x.html">form_field_opts(3x)</A></STRONG>
- set_field_pad <STRONG><A HREF="form_field_attributes.3x.html">form_field_attributes(3x)</A></STRONG>
- set_field_status <STRONG><A HREF="form_field_buffer.3x.html">form_field_buffer(3x)</A></STRONG>
- set_field_term <STRONG><A HREF="form_hook.3x.html">form_hook(3x)</A></STRONG>
- set_field_type <STRONG><A HREF="form_field_validation.3x.html">form_field_validation(3x)</A></STRONG>
- set_field_userptr <STRONG><A HREF="form_field_userptr.3x.html">form_field_userptr(3x)</A></STRONG>
- set_fieldtype_arg <STRONG><A HREF="form_fieldtype.3x.html">form_fieldtype(3x)</A></STRONG>
- set_fieldtype_choice <STRONG><A HREF="form_fieldtype.3x.html">form_fieldtype(3x)</A></STRONG>
- set_form_fields <STRONG><A HREF="form_field.3x.html">form_field(3x)</A></STRONG>
- set_form_init <STRONG><A HREF="form_hook.3x.html">form_hook(3x)</A></STRONG>
- set_form_opts <STRONG><A HREF="form_field_opts.3x.html">form_field_opts(3x)</A></STRONG>
- set_form_page <STRONG><A HREF="form_page.3x.html">form_page(3x)</A></STRONG>
- set_form_sub <STRONG><A HREF="form_win.3x.html">form_win(3x)</A></STRONG>
- set_form_term <STRONG><A HREF="form_hook.3x.html">form_hook(3x)</A></STRONG>
- set_form_userptr <STRONG><A HREF="form_userptr.3x.html">form_userptr(3x)</A></STRONG>
- set_form_win <STRONG><A HREF="form_win.3x.html">form_win(3x)</A></STRONG>
- set_max_field <STRONG><A HREF="form_field_buffer.3x.html">form_field_buffer(3x)</A></STRONG>
- set_new_page <STRONG><A HREF="form_new_page.3x.html">form_new_page(3x)</A></STRONG>
- unpost_form <STRONG><A HREF="form_post.3x.html">form_post(3x)</A></STRONG>
-
-
-</PRE>
-<H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
- Routines that return pointers return <STRONG>NULL</STRONG> on error, and
- set errno to the corresponding error-code returned by
- functions returning an integer. Routines that return an
- integer return one of the following error codes:
-
- <STRONG>E_OK</STRONG> The routine succeeded.
-
- <STRONG>E_BAD_ARGUMENT</STRONG>
- Routine detected an incorrect or out-of-range argu-
- ment.
-
- <STRONG>E_BAD_STATE</STRONG>
- Routine was called from an initialization or termina-
- tion function.
-
- <STRONG>E_CONNECTED</STRONG>
+ A curses initialization routine such as <B>initscr</B> must be called before
+ using any of these functions.
+
+
+</PRE><H3><a name="h3-Current-Default-Values-for-Field-Attributes">Current Default Values for Field Attributes</a></H3><PRE>
+ The <B>form</B> library maintains a default value for field attributes. You
+ can get or set this default by calling the appropriate <B>set_</B> or
+ retrieval routine with a <B>NULL</B> field pointer. Changing this default
+ with a <B>set_</B> function affects future field creations, but does not
+ change the rendering of fields already created.
+
+
+</PRE><H3><a name="h3-Routine-Name-Index">Routine Name Index</a></H3><PRE>
+ The following table lists each <B>form</B> routine and the name of the manual
+ page on which it is described. Routines flagged with "*" are ncurses-
+ specific, not present in SVr4.
+
+ <B>curses</B> Routine Name Manual Page Name
+ --------------------------------------------------
+ current_field <B><A HREF="form_page.3X.html">form_page(3X)</A></B>
+ data_ahead <B><A HREF="form_data.3X.html">form_data(3X)</A></B>
+ data_behind <B><A HREF="form_data.3X.html">form_data(3X)</A></B>
+ dup_field <B><A HREF="form_field_new.3X.html">form_field_new(3X)</A></B>
+ dynamic_field_info <B><A HREF="form_field_info.3X.html">form_field_info(3X)</A></B>
+ field_arg <B><A HREF="form_field_validation.3X.html">form_field_validation(3X)</A></B>
+ field_back <B><A HREF="form_field_attributes.3X.html">form_field_attributes(3X)</A></B>
+ field_buffer <B><A HREF="form_field_buffer.3X.html">form_field_buffer(3X)</A></B>
+ field_count <B><A HREF="form_field.3X.html">form_field(3X)</A></B>
+ field_fore <B><A HREF="form_field_attributes.3X.html">form_field_attributes(3X)</A></B>
+ field_index <B><A HREF="form_page.3X.html">form_page(3X)</A></B>
+ field_info <B><A HREF="form_field_info.3X.html">form_field_info(3X)</A></B>
+ field_init <B><A HREF="form_hook.3X.html">form_hook(3X)</A></B>
+ field_just <B><A HREF="form_field_just.3X.html">form_field_just(3X)</A></B>
+ field_opts <B><A HREF="form_field_opts.3X.html">form_field_opts(3X)</A></B>
+ field_opts_off <B><A HREF="form_field_opts.3X.html">form_field_opts(3X)</A></B>
+ field_opts_on <B><A HREF="form_field_opts.3X.html">form_field_opts(3X)</A></B>
+ field_pad <B><A HREF="form_field_attributes.3X.html">form_field_attributes(3X)</A></B>
+ field_status <B><A HREF="form_field_buffer.3X.html">form_field_buffer(3X)</A></B>
+ field_term <B><A HREF="form_hook.3X.html">form_hook(3X)</A></B>
+ field_type <B><A HREF="form_field_validation.3X.html">form_field_validation(3X)</A></B>
+ field_userptr <B><A HREF="form_field_userptr.3X.html">form_field_userptr(3X)</A></B>
+
+ form_driver <B><A HREF="form_driver.3X.html">form_driver(3X)</A></B>
+ form_driver_w <B><A HREF="form_driver.3X.html">form_driver(3X)</A></B>*
+ form_fields <B><A HREF="form_field.3X.html">form_field(3X)</A></B>
+ form_init <B><A HREF="form_hook.3X.html">form_hook(3X)</A></B>
+ form_opts <B><A HREF="form_opts.3X.html">form_opts(3X)</A></B>
+ form_opts_off <B><A HREF="form_opts.3X.html">form_opts(3X)</A></B>
+ form_opts_on <B><A HREF="form_opts.3X.html">form_opts(3X)</A></B>
+ form_page <B><A HREF="form_page.3X.html">form_page(3X)</A></B>
+ form_request_by_name <B><A HREF="form_requestname.3X.html">form_requestname(3X)</A></B>*
+ form_request_name <B><A HREF="form_requestname.3X.html">form_requestname(3X)</A></B>*
+ form_sub <B><A HREF="form_win.3X.html">form_win(3X)</A></B>
+ form_term <B><A HREF="form_hook.3X.html">form_hook(3X)</A></B>
+ form_userptr <B><A HREF="form_userptr.3X.html">form_userptr(3X)</A></B>
+ form_win <B><A HREF="form_win.3X.html">form_win(3X)</A></B>
+ free_field <B><A HREF="form_field_new.3X.html">form_field_new(3X)</A></B>
+ free_fieldtype <B><A HREF="form_fieldtype.3X.html">form_fieldtype(3X)</A></B>
+ free_form <B><A HREF="form_new.3X.html">form_new(3X)</A></B>
+ link_field <B><A HREF="form_field_new.3X.html">form_field_new(3X)</A></B>
+ link_fieldtype <B><A HREF="form_fieldtype.3X.html">form_fieldtype(3X)</A></B>
+ move_field <B><A HREF="form_field.3X.html">form_field(3X)</A></B>
+ new_field <B><A HREF="form_field_new.3X.html">form_field_new(3X)</A></B>
+ new_fieldtype <B><A HREF="form_fieldtype.3X.html">form_fieldtype(3X)</A></B>
+ new_form <B><A HREF="form_new.3X.html">form_new(3X)</A></B>
+ new_page <B><A HREF="form_new_page.3X.html">form_new_page(3X)</A></B>
+ pos_form_cursor <B><A HREF="form_cursor.3X.html">form_cursor(3X)</A></B>
+ post_form <B><A HREF="form_post.3X.html">form_post(3X)</A></B>
+ scale_form <B><A HREF="form_win.3X.html">form_win(3X)</A></B>
+ set_current_field <B><A HREF="form_page.3X.html">form_page(3X)</A></B>
+ set_field_back <B><A HREF="form_field_attributes.3X.html">form_field_attributes(3X)</A></B>
+ set_field_buffer <B><A HREF="form_field_buffer.3X.html">form_field_buffer(3X)</A></B>
+ set_field_fore <B><A HREF="form_field_attributes.3X.html">form_field_attributes(3X)</A></B>
+ set_field_init <B><A HREF="form_hook.3X.html">form_hook(3X)</A></B>
+ set_field_just <B><A HREF="form_field_just.3X.html">form_field_just(3X)</A></B>
+ set_field_opts <B><A HREF="form_field_opts.3X.html">form_field_opts(3X)</A></B>
+ set_field_pad <B><A HREF="form_field_attributes.3X.html">form_field_attributes(3X)</A></B>
+ set_field_status <B><A HREF="form_field_buffer.3X.html">form_field_buffer(3X)</A></B>
+ set_field_term <B><A HREF="form_hook.3X.html">form_hook(3X)</A></B>
+ set_field_type <B><A HREF="form_field_validation.3X.html">form_field_validation(3X)</A></B>
+ set_field_userptr <B><A HREF="form_field_userptr.3X.html">form_field_userptr(3X)</A></B>
+ set_fieldtype_arg <B><A HREF="form_fieldtype.3X.html">form_fieldtype(3X)</A></B>
+ set_fieldtype_choice <B><A HREF="form_fieldtype.3X.html">form_fieldtype(3X)</A></B>
+ set_form_fields <B><A HREF="form_field.3X.html">form_field(3X)</A></B>
+ set_form_init <B><A HREF="form_hook.3X.html">form_hook(3X)</A></B>
+ set_form_opts <B><A HREF="form_field_opts.3X.html">form_field_opts(3X)</A></B>
+ set_form_page <B><A HREF="form_page.3X.html">form_page(3X)</A></B>
+ set_form_sub <B><A HREF="form_win.3X.html">form_win(3X)</A></B>
+ set_form_term <B><A HREF="form_hook.3X.html">form_hook(3X)</A></B>
+ set_form_userptr <B><A HREF="form_userptr.3X.html">form_userptr(3X)</A></B>
+ set_form_win <B><A HREF="form_win.3X.html">form_win(3X)</A></B>
+ set_max_field <B><A HREF="form_field_buffer.3X.html">form_field_buffer(3X)</A></B>
+ set_new_page <B><A HREF="form_new_page.3X.html">form_new_page(3X)</A></B>
+ unfocus_current_field <B><A HREF="form_page.3X.html">form_page(3X)</A></B>*
+ unpost_form <B><A HREF="form_post.3X.html">form_post(3X)</A></B>
+
+
+</PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
+ Routines that return pointers return <B>NULL</B> on error, and set <B>errno</B> to
+ the corresponding error-code returned by functions returning an
+ integer. Routines that return an integer return one of the following
+ error codes:
+
+ <B>E_OK</B> The routine succeeded.
+
+ <B>E_BAD_ARGUMENT</B>
+ Routine detected an incorrect or out-of-range argument.
+
+ <B>E_BAD_STATE</B>
+ Routine was called from an initialization or termination function.
+
+ <B>E_CONNECTED</B>