field(3FORM)field(3FORM)NAME
form_field - make and break connections between fields and forms
SYNOPSIS
#include <form.h>
int set_form_fields(FORM *form, FIELD **fields);
FIELD **form_fields(const FORM *form);
int field_count(const FORM *form);
int move_field(FIELD *field, int frow, int fcol);
DESCRIPTION
The function set_form_fields changes the field pointer array of the given form. The array must be terminated by a NULL.
The function form_fields returns the field array of the given form.
The function field_count returns the count of fields in form.
The function move_field moves the given field (which must be disconnected) to a specified location on the screen.
RETURN VALUES
The function form_fields returns a pointer (which may be NULL). It does not set errno.
The function field_count returns ERR if the form parameter is NULL.
The functions set_form_fields and move_field return one of the following codes on error:
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_POSTED
The form is already posted.
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.
The SVr4 forms library documentation specifies the field_count error value as -1 (which is the value of ERR).
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
field(3FORM)
Check Out this Related Man Page
field(3FORM)field(3FORM)NAME
form_field - make and break connections between fields and forms
SYNOPSIS
#include <form.h>
int set_form_fields(FORM *form, FIELD **fields);
FIELD **form_fields(const FORM *form);
int field_count(const FORM *form);
int move_field(FIELD *field, int frow, int fcol);
DESCRIPTION
The function set_form_fields changes the field pointer array of the given form. The array must be terminated by a NULL.
The function form_fields returns the field array of the given form.
The function field_count returns the count of fields in form.
The function move_field moves the given field (which must be disconnected) to a specified location on the screen.
RETURN VALUES
The function form_fields returns a pointer (which may be NULL). It does not set errno.
The function field_count returns ERR if the form parameter is NULL.
The functions set_form_fields and move_field return one of the following codes on error:
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_POSTED
The form is already posted.
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.
The SVr4 forms library documentation specifies the field_count error value as -1 (which is the value of ERR).
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
field(3FORM)
I am writing a shell script on SunOS cosuaah01 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V440
machine. The shell script in.sh looks like this:
install_top=`pwd`
fl2=/d01/applptch/ptchora/iAS/Apache/Apache/cgi-bin/cxtool/display_report.pl
echo $fl2
mv $fl2 $fl2.old
sed 5c\... (6 Replies)
Hello. I'm working on a project that involves creating public/private keys server-side using openssl and using the public key in a Javascript application to encrypt sensitive data in form fields before transmission to the server. Using an SSL https server connection was not an option in this... (1 Reply)
Hi guys.
We can can connect to mysql server from command line with some user. but when using mysql_connect() it says:
access is denied for user 'someuser'@'localhost' (using password: YES)
what should i do? (6 Replies)
OK, please vote on your favorite web browser and comment why!
Only currently supported browers please!
Thanks.
PS: I am a big FireFox fan. FireFox add-ons rock! (61 Replies)
What do I do here?
#!/bin/bash
payload=-1 AND 1=IF(21,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)#
hash=`echo -n $payload md5sum tr -d 'n' sed 'ss-sg' md5sum tr -d 'n' sed 'ss-sg'`
curl --data cs2=chronopay&cs1=$payload&cs3=$hash&transaction_type=rebill... (2 Replies)
Hello,
i have page domain.com/form.php
the form fields on form.php are named:
name=ipaddress
name=port
and submit button is named: submit
i want to ask how the linux command will look like to submit the form filled with:
ipaddress: 127.0.0.1
port: 80
I tried various curl and... (5 Replies)
My sample data contains escape characters followed by delimiter. I'm stuck in writing awk comand to swap the columns. please help me out.
Sample Data: 12345678|ABN\|XYZ MED CHEM PTY. LTD.|C||100.00|22|AB"C\|Corp|"XYZ|CDEF"|
Expected Output Data: 12345678|C|ABN\|XYZ MED CHEM PTY.... (10 Replies)