new(3FORM)new(3FORM)NAME
form_new - create and destroy forms
SYNOPSIS
#include <form.h>
FORM *new_form(FIELD **fields);
int free_form(FORM *form);
DESCRIPTION
The function new_form creates a new form connected to a specified field pointer array (which must be NULL-terminated).
The function free_form disconnects form from its field array and frees the storage allocated for the form.
RETURN VALUE
The function new_form returns NULL on error. It sets errno according to the function's success:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_CONNECTED
The field is already connected to a form.
E_SYSTEM_ERROR
System error occurred, e.g., malloc failure.
The function free_form returns one of the following:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_POSTED
The form has already been posted.
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.
new(3FORM)
Check Out this Related Man Page
new(3FORM)new(3FORM)NAME
new - create and destroy forms
SYNOPSIS
#include <form.h>
FORM *new_form(FIELD **fields);
int free_form(FORM *form);
DESCRIPTION
The function new_form creates a new form connected to a specified field pointer array (which must be NULL-terminated).
The function free_form disconnects form from its field array and frees the storage allocated for the form.
RETURN VALUE
The function new_form returns NULL on error. It sets errno according to the function's success:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_CONNECTED
The field is already connected to a form.
E_SYSTEM_ERROR
System error occurred, e.g., malloc failure.
The function free_form returns one of the following:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_POSTED
The form has already been posted.
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.
new(3FORM)
hey guys i'm in university and i bought my self a sun ultra SPARC netra 500mhz machine with the usb ports a vga gfc and cdrom drive
now i have a problem (bought it off ebay) i trying to install a fresh solaris 10 server op onto it but it looks like it previously had linix installed and... (38 Replies)
Hi ,
I am having an issue with the Awk script to insert newline for a regular expression match
Having a file like this
FILE1
####################
RXOER , RXERA , RXERC , RXERD
.RXEA(RXBSN), RXERD , REXCD
input RXEGT
buffer RXETRY
#######################
Want to match the RXE... (38 Replies)
Hi Guys
I am trying to move file containing more than two - at the 3rd line of each files to a new directory. The files are something like this :
****** Text ******
/text/
text text
I want to make sure the search effect only take place on the 3rd line one as there might me... (46 Replies)
I'm working on updates to the mobile phone view, and it's going to look much better I think. Here are some current prototypes:
Prototype Mobile Home Page:
https://www.unix.com/members/1-albums214-picture690.jpg
Prototype Mobile Search Page:
... (43 Replies)
Have completed "Phase I" of our project "Prototyping New Responsive Mobile UNIX.COM", I am now moving to "Phase II" which will be changing many of the menus and buttons to use Javascript and CSS for the mobile site menus.
For example, here is the new "main side menu" for the mobile site (below).... (63 Replies)
Finally making some progress on getting rid of the 10 year old buttons with modern day fonts and icons thanks to a responsive web design tutorial by Brad Traversy who's video pointed me to Font Awesome.
The buttons and icons were pretty easy to implement but it too me a number of hours... (39 Replies)
We have a legacy system that runs on SCO OpenServer 5.0.6, and I've rebuilt the server a couple of times so we can have access to old historical data. That system suddenly went offline for no known reason, and I know that the configuration has not been altered, there is nobody with access to the... (63 Replies)
Today I mapped out the new badging system using FA icons, Beta 1 in no particular order except a 6 x 8 grid:
https://www.unix.com/members/1-albums215-picture991.png
The prototype HTML code for this layout:
<style>
.fa-badge-grid {
font-size: 1.5em;
}
.row {
... (38 Replies)