opts


HOME

opts

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

NAME

form_opts − set and get form options

SYNOPSIS

#include <form.h>
int set_form_opts(FORM *form, Field_Options opts);
int form_opts_on(FORM *form, Field_Options opts);
int form_opts_off(FORM *form, Field_Options opts);
Field_Options form_opts(const FORM *form);

DESCRIPTION

The function set_form_opts sets all the given form’s option bits (form option bits may be logically-OR’ed together).

The function form_opts_on turns on the given option bits, and leaves others alone.

The function form_opts_off turns off the given option bits, and leaves others alone.

The function form_opts returns the form’s current option bits.

The following options are defined (all are on by default):
O_NL_OVERLOAD

Overload the REQ_NEW_LINE forms driver request so that calling it at the end of a field goes to the next field.

O_BS_OVERLOAD

Overload the REQ_DEL_PREV forms driver request so that calling it at the beginning of a field goes to the previous field.

RETURN VALUE

Except for form_opts, each routine returns one of the following:

E_OK

The routine succeeded.

E_SYSTEM_ERROR

System error occurred (see errno).

SEE ALSO

ncurses(3NCURSES), form(3FORM).

NOTES

The header file <form.h> automatically includes the header file <curses.h>.

PORTABILITY

These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.

AUTHORS

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.




More Linux Commands

manpages/Mail::SPF::Mech::PTR.3pm.html
Mail::SPF::Mech::PTR(3pm) - SPF record "ptr" mechanism class
An object of class Mail::SPF::Mech::PTR represents an SPF record mechanism of type ptr. Constructors The following constructors are provided: new(%options): ret

manpages/glLoadMatrixd.3gl.html
glLoadMatrixd(3gl) - replace the current matrix with the spe
glLoadMatrix replaces the current matrix with the one whose elements are specified by m. The current matrix is the projection matrix, modelview matrix, or textu

manpages/XOMOfOC.3.html
XOMOfOC(3) - create output contexts - Linux manual page.....
The XCreateOC function creates an output context within the specified output method. The base font names argument is mandatory at creation time, and the output

manpages/pcre_utf16_to_host_byte_order.3.html
pcre_utf16_to_host_byte_order(3) Perl-compatible regular exp
pcre_utf16_to_host_byte_order.3 - This function, which exists only in the 16-bit library, converts a UTF-16 string to the correct order for the current host, ta

manpages/perllol.1.html
perllol(1) - Manipulating Arrays of Arrays in Perl (ManPage)
Declaration and Access of Arrays of Arrays The simplest two-level data structure to build in Perl is an array of arrays, sometimes casually called a list of lis

manpages/XSetDeviceModifierMapping.3.html
XSetDeviceModifierMapping(3) - query or change device modifi
The XSetDeviceModifierMapping request specifies the KeyCodes of the keys (if any) that are to be used as modifiers for the specified device. If it succeeds, the

manpages/fdim.3.html
fdim(3) - positive difference (Library - Linux man page)....
These functions return the positive difference, max(x-y,0), between their arguments. RETURN VALUE On success, these functions return the positive difference. If

manpages/XtRemoveInput.3.html
XtRemoveInput(3) - register and remove an input source......
The XtAppAddInput function registers with the Intrinsics read routine a new source of events, which is usually file input but can also be file output. Note that

manpages/Tcl_GetCurrentNamespace.3.html
Tcl_GetCurrentNamespace(3) - manipulate namespaces (ManPage)
Namespaces are hierarchic naming contexts that can contain commands and variables. They also maintain a list of patterns that describes what commands are export

manpages/acl_get_fd.3.html
acl_get_fd(3) - get an ACL by file descriptor (Man Page)....
The acl_get_fd() function retrieves the access ACL associated with the file referred to by fd. The ACL is placed into working storage and acl_get_fd() returns a

manpages/git-ls-remote.1.html
git-ls-remote(1) - List references in a remote repository...
Displays references available in a remote repository along with the associated commit IDs. OPTIONS -h, --heads, -t, --tags Limit to only refs/heads and refs/tag

manpages/Tcl_SetCommandInfoFromToken.3.html
Tcl_SetCommandInfoFromToken(3) - implement new commands in C
Tcl_CreateObjCommand defines a new command in interp and associates it with procedure proc such that whenever name is invoked as a Tcl command (e.g., via a call





We can't live, work or learn in freedom unless the software we use is free.