data(3FORM)data(3FORM)NAME
data - test for off-screen data in given forms
SYNOPSIS
#include <form.h>
bool data_ahead(const FORM *form);
bool data_behind(const FORM *form);
DESCRIPTION
The function data_ahead tests whether there is off-screen data ahead in the given form. It returns TRUE(1) or FALSE(0).
The function data_behind tests whether there is off-screen data behind in the given form. It returns TRUE(1) or FALSE(0).
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.
data(3FORM)
Check Out this Related Man Page
form_data(3CURSES) Curses Library Functions form_data(3CURSES)NAME
form_data, data_ahead, data_behind - tell if forms field has off-screen data ahead or behind
SYNOPSIS
cc [ flag ... ] file ... -lform -lcurses [ library .. ]
#include <form.h>
int data_ahead(FORM *form);
int data_behind(FORM *form);
DESCRIPTION
data_ahead() returns TRUE(1) if the current field has more off-screen data ahead; otherwise it returns FALSE(0).
data_behind() returns TRUE(1) if the current field has more off-screen data behind; otherwise it returns FALSE(0).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO curses(3CURSES), forms(3CURSES), attributes(5)NOTES
The header <form.h> automatically includes the headers <eti.h> and <curses.h>.
SunOS 5.10 31 Dec 1996 form_data(3CURSES)
Hi
Is it possible for me to extract particular lines from the text lines below. For example I want to extract the first three lines and the 4 lines below <owner>. I ant to put them in one line like thus:
12.33.164.12 UNITED HEALTHCARE CORP. 6300 OLSEN MEMORIAL HIGHWAY GOLDEN VALLEY,... (7 Replies)
Hello all,
Iam newbie here and to unix programming. I have the following text file.
A:Woshington,B:London,C:Paris,D:Manchester,C:Lisbon,E:Cape town.
Now I would like extract this and store in database. here is the script I have tried but it did work.
CITY1:`echo "$text" | grep "A:"... (11 Replies)
i got a data file which contains all the pid,ppid,user,command,pcpu,start_time,status. I wanted to display out the pcpu which is greater than 0.
i uses awk'{if($5 > 0){print}}' filename.txt but is printing out result which not i wanted. Is there any way which i can print out those pcpu which is... (8 Replies)
Guys, im using grep to search data. But this what i wanted:
$cat file|grep datas
datas1
datas2
but how can i produce like this
$cat file1 |grep ultimatum
ultimatum-1
ultimatum-2
ultimate
ultimate2 to be included in my search,what is the command (10 Replies)
if my user has to enter the name of months to carry out a search how can I limit the input values to only the month names and nothing else?
so far my input criteria for the user is this:
i would like it so the user can only enter the months in the way i have stated. otherwise they would... (11 Replies)
Dears,
I have the below data,
sss-aaaaaa
111211 222222 33333 22222 1163111
sss-vvvvvv
111311 224522 335633 24322 111511
sss-cccccc
111221 224522 333333 24322 111511
sss-dddddd
111211 222222 33333 22345222 113111
I want to make them like
... (7 Replies)
This is on a HP-UX system.
I need to merge the 2 reports, for each line in syslog I need to lookup who was logged in to the pts/# based on the time from the last.txt report.
Here is what I get from sulog.log
cat syslog | grep "su:" | grep "Jun 14"
Jul 14 08:02:48 server1 su: - 2 ... (8 Replies)
Hi,
I ahve a file where the format is as given below:
qqq dfsf gdfjkg gjdosjg jkflsjd 21
fdksdlf fsdnkfl lkdfsgjld 45
laefsdl fsdlfksl fsdklflk gfsdl 56
I need to replace the last number by space or delete the last number in each line. (by using... (6 Replies)
Hello everyone. I just registered like 17 minutes ago and am new to UNIX/Linux. I work in a small department of an animation company that does compositing tricks to fix movie frames. After our work is completed we are tasked with creating a text log that has information on what work we had... (7 Replies)
I have some process . How should i know that the process is still processing data or got hanged even though it is showing that it is running in background
I know of a command called truss. how should i use this command and determine
1) process is still processing data
2) process got hanged... (7 Replies)
Hi
I have a XML file in which data is loaded from a relational table and the column names are tags in the xml file which is shown below.
... (8 Replies)
Hi all,
I use a sh script to run few commands on CentOS 5.2. My goal is to search into test output for specific content and save it into a database table. So far everything is simple, except that I do not know how to grab the specific values:
#!/bin/sh
# Source function library.
.... (13 Replies)