4 \fBform_opts\fR - set and get form options
6 \fB#include <form.h>\fR
8 int set_form_opts(FORM *form, OPTIONS opts);
10 int form_opts_on(FORM *form, OPTIONS opts);
12 int form_opts_off(FORM *form, OPTIONS opts);
14 OPTIONS form_opts(const FORM *form);
17 The function \fBset_form_opts\fR sets all the given form's option bits (form
18 option bits may be logically-OR'ed together).
20 The function \fBform_opts_on\fR turns on the given option bits, and leaves
23 The function \fBform_opts_off\fR turns off the given option bits, and leaves
26 The function \fBform_opts\fR returns the form's current option bits.
28 The following options are defined (all are on by default):
31 Overload the \fBREQ_NEW_LINE\fR forms driver request so that calling it at the
32 end of a field goes to the next field.
35 Overload the \fBREQ_DEL_PREV\fR forms driver request so that calling it at the
36 beginning of a field goes to the previous field.
38 Except for \fBform_opts\fR, each routine returns one of the following:
41 The routine succeeded.
44 System error occurred (see \fBerrno\fR).
46 \fBcurses\fR(3X), \fBform\fR(3X).
48 The header file \fB<form.h>\fR automatically includes the header file
51 These routines emulate the System V forms library. They were not supported on
52 Version 7 or BSD versions.
54 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
57 .\"# The following sets edit modes for GNU EMACS