X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fform_driver.3x.html;h=2804fabfaccd7fd9941ad20e987ed3c8ebcab699;hp=6c6a894158c27a847ab73d8ad8707f382f857881;hb=81304798ee736c467839c779c9ca5dca48db7bea;hpb=06078d3fa68db669ed37178c01873546b4b28745 diff --git a/doc/html/man/form_driver.3x.html b/doc/html/man/form_driver.3x.html index 6c6a8941..2804fabf 100644 --- a/doc/html/man/form_driver.3x.html +++ b/doc/html/man/form_driver.3x.html @@ -1,6 +1,7 @@ - - + form_driver 3x - + @@ -51,6 +52,7 @@

SYNOPSIS

        #include <form.h>
+
        int form_driver(FORM *form, int c);
        int form_driver_w(FORM *form, int c, wchar_t wch);
 
@@ -66,19 +68,19 @@
            and character codes returned by wgetch(3x).
 
        o   The input is a printable character.   Printable  characters  (which
-           must  be positive, less than 256) are checked according to the pro-
-           gram's locale settings.
+           must  be  positive,  less  than  256)  are checked according to the
+           program's locale settings.
 
        o   The input is the KEY_MOUSE special key  associated  with  an  mouse
            event.
 
 
 

form_driver_w

-       This extension simplifies the use of the forms library using wide char-
-       acters.  The input is either a key code (a request) or a wide character
-       returned  by  get_wch(3x).   The type must be passed as well, to enable
-       the library to determine whether the parameter is a wide character or a
-       request.
+       This  extension  simplifies  the  use  of  the forms library using wide
+       characters.  The input is either a key  code  (a  request)  or  a  wide
+       character returned by get_wch(3x).  The type must be passed as well, to
+       enable the library  to  determine  whether  the  parameter  is  a  wide
+       character or a request.
 
 
 

Form-driver requests

@@ -110,8 +112,8 @@
        REQ_LEFT_FIELD     Move left to a field.
        REQ_NEW_LINE       Insert or overlay a new line.
        REQ_NEXT_CHAR      Move to the next char.
-       REQ_NEXT_CHOICE    Display next field choice.
 
+       REQ_NEXT_CHOICE    Display next field choice.
        REQ_NEXT_FIELD     Move to the next field.
        REQ_NEXT_LINE      Move to the next line.
        REQ_NEXT_PAGE      Move to the next page.
@@ -208,8 +210,8 @@
               that field and E_UNKNOWN_COMMAND is returned.  This return value
               makes sense, because a double click usually means that an field-
               specific action should be returned.  It is exactly  the  purpose
-              of this return value to signal that an application specific com-
-              mand should be executed.
+              of  this  return  value  to  signal that an application specific
+              command should be executed.
 
           o   If a translation into a request was  done,  form_driver  returns
               the result of this request.
@@ -243,19 +245,22 @@
        E_INVALID_FIELD
             Contents of field is invalid.
 
+       E_NOT_CONNECTED
+            No fields are connected to the form.
+
        E_REQUEST_DENIED
             The form driver could not process the request.
 
        E_SYSTEM_ERROR
-            System error occurred (see errno).
+            System error occurred (see errno(3)).
 
        E_UNKNOWN_COMMAND
             The form driver code saw an unknown request code.
 
 
 

SEE ALSO

-       curses(3x), form(3x), form_field_buffer(3x), form_field_validation(3x),
-       form_fieldtype(3x), form_variables(3x), getch(3x).
+       curses(3x),   form(3x),   form_fieldtype(3x),    form_field_buffer(3x),
+       form_field_validation(3x), form_variables(3x), getch(3x).
 
 
 

NOTES

@@ -264,8 +269,8 @@
 
 
 

PORTABILITY

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

AUTHORS