Query: set_form_opts
OS: netbsd
Section: 3
Links: netbsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FORMS(3) BSD Library Functions Manual FORMS(3)NAMEform_opts, form_opts_off, form_opts_on, set_form_opts -- form libraryLIBRARYCurses Form Library (libform, -lform)SYNOPSIS#include <form.h> Form_Options form_opts(FORM *form); int form_opts_off(FORM *form, Form_Options options); int form_opts_on(FORM *form, Form_Options options); int set_form_opts(FORM *form, Form_Options options);DESCRIPTIONThe function form_opts() returns the current options that are set on the given form. The form_opts_off() will turn off the form options given in options for the form, similarly, form_opts_on() will turn on the options specified in options for the given form. The form options can be set to an explicit set by calling set_form_opts().PARAMETERSThe following form options are valid: O_BS_OVERLOAD If this option is set and the cursor is at the first character in the field then the backspace character will perform the same function as a REQ_PREV_FIELD driver request, moving to the previous field in the form. O_NL_OVERLOAD If this option is set and the cursor is at the end of the field then the new line character will perform the same function as a REQ_NEXT_FIELD driver request, moving to the next field in the form. By default no form options are set.RETURN VALUESFunctions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following error values: E_OK The function was successful.SEE ALSOcurses(3), forms(3)NOTESThe header <form.h> automatically includes both <curses.h> and <eti.h>.BSDJanuary 1, 2001 BSD
Related Man Pages |
---|
form_opts(3x) - mojave |
form_opts_off(3x) - mojave |
form_opts_on(3) - netbsd |
form_opts_off(3curses) - sunos |
form_opts_on(3curses) - sunos |
Similar Topics in the Unix Linux Community |
---|
Better to Use Return Code or wc -l Output? |
RFC - Korn shell prompt |
Make bold chars in UNIX |
Grep command to show the number of results |