4 <!-- Manpage converted by man2html 3.0.1 -->
8 <B>form_opts</B> - set and get form options
12 <H2>SYNOPSIS</H2><PRE>
13 <B>#include</B> <B><form.h></B>
14 int set_form_opts(FORM *form, OPTIONS opts);
15 int form_opts_on(FORM *form, OPTIONS opts);
16 int form_opts_off(FORM *form, OPTIONS opts);
17 OPTIONS form_opts(const FORM *form);
21 <H2>DESCRIPTION</H2><PRE>
22 The function <B>set_form_opts</B> sets all the given form's
23 option bits (form option bits may be logically-OR'ed
26 The function <B>form_opts_on</B> turns on the given option bits,
27 and leaves others alone.
29 The function <B>form_opts_off</B> turns off the given option
30 bits, and leaves others alone.
32 The function <B>form_opts</B> returns the form's current option
35 The following options are defined (all are on by default):
38 Overload the <B>REQ_NEW_LINE</B> forms driver request so
39 that calling it at the end of a field goes to the
43 Overload the <B>REQ_DEL_PREV</B> forms driver request so
44 that calling it at the beginning of a field goes to
49 <H2>RETURN VALUE</H2><PRE>
50 Except for <B>form_opts</B>, each routine returns one of the fol-
53 <B>E_OK</B> The routine succeeded.
56 System error occurred (see <B>errno</B>).
60 <H2>SEE ALSO</H2><PRE>
61 <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="form.3x.html">form(3x)</A></B>.
66 The header file <B><form.h></B> automatically includes the header
67 file <B><curses.h></B>.
71 <H2>PORTABILITY</H2><PRE>
72 These routines emulate the System V forms library. They
73 were not supported on Version 7 or BSD versions.
78 Juergen Pfeifer. Manual pages and adaptation for new
79 curses by Eric S. Raymond.
132 Man(1) output converted with
133 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>