form_field_opts − set and get field options
int set_field_opts(FIELD *field, Field_Options opts);
int field_opts_on(FIELD *field, Field_Options opts);
int field_opts_off(FIELD *field, Field_Options opts);
Field_Options field_opts(const FIELD *field);
The function set_field_opts sets all the given field’s option bits (field option bits may be logically-OR’ed together).
The function field_opts_on turns on the given option bits, and leaves others alone.
The function field_opts_off turns off the given option bits, and leaves others alone.
The function field_opts returns the field’s current option bits.
standard options are defined (all are on by default):
The field is visited during processing. If this option is off, the field will not be reachable by navigation keys. Please notice that an invisible field appears to be inactive also.
Skip to the next field when this one fills.
The field is cleared whenever a character is entered at the first position.
The field can be edited.
Allow a blank field.
Validate field only if modified by user.
The field contents are displayed as data is entered.
Field buffers are fixed to field’s original size. Turn this option off to create a dynamic field.
The field is displayed. If this option is off, display of the field is suppressed.
Words that do not fit on a line are wrapped to the next line. Words are blank-separated.
option is defined (extensions are off by default):
Permit dynamic fields to be justified, like static fields.
Except for field_opts, each routine returns one of the following:
The routine succeeded.
Routine detected an incorrect or out-of-range argument.
The field is the current field.
System error occurred (see errno).
ncurses(3NCURSES), form(3FORM). field_just(3FORM).
The header file <form.h> automatically includes the header file <curses.h>.
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
More Linux Commands
dhparam(1ssl) - DH parameter manipulation and generation....
This command is used to manipulate DH parameter files. OPTIONS -inform DER|PEM This specifies the input format. The DER option uses an ASN1 DER encoded form com
tcsetpgrp(3) - get and set terminal foreground process group
The function tcgetpgrp() returns the process group ID of the foreground process group on the terminal associated to fd, which must be the controlling terminal o
opreport(1) produce symbol or binary image summaries........
opreport outputs binary image summaries, or per-symbol data, from OProfile profiling sessions. See oprofile(1) for how to write profile specifications. OPTIONS
XtDestroyApplicationContext(3) - create, destroy, and obtain
The XtCreateApplicationContext function returns an application context, which is an opaque type. Every application must have at least one application context. T
gnutls_pkcs12_generate_mac(3) - API function (Man Page).....
This function will generate a MAC for the PKCS12 structure. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. REPORTING BU
SDL_EnableKeyRepeat(3) - Set keyboard repeat rate (ManPage)
Enables or disables the keyboard repeat rate. delay specifies how long the key must be pressed before it begins repeating, it then repeats at the speed specifie
IsPFKey(3) - keysym classification macros - Linux man page
The IsCursorKey macro returns True if the specified KeySym is a cursor key. The IsFunctionKey macro returns True if the KeySym is a function key. The IsKeypadKe
pom_xpath_remove(7) remove an XML node from POM file........
This macro patches specified POM file removing all XML nodes described by the XPath expression. XPath is an expression describing a set of XML nodes to be remov
osip(1) - The GNU oSIP library is a low layer SIP implementa
This manual page documents briefly the libosip2 library. API and Reference Documentation API reference & Doxygen documentation is available for osip at http://w
config_perror(3) - netsnmp_config_api functions (Man Page)
The functions are a fairly extensible system of parsing various configuration files at the run time of an application. The configuration file flow is broken int
prove(1) - Run tests through a TAP harness. - Linux man page
prove [options] [files or directories] Additional option files may be specified with the "rc" option. Default option file processing is disabled by the ......
networks(5) - network name information - Linux manual page
The file /etc/networks is a plain ASCII file that describes known DARPA networks and symbolic names for these networks. Each line represents a network and has t