11-29-2006
Cheers
That worked but now im getting an error when an incorrect character is entered. Any ideas?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
occasionally my server gives this error messages
"NOTICE:HTFS Out of inodes on HTFS dev hd (1/42)"
why ??
Alice. (3 Replies)
Discussion started by: alisev
3 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone,
Can anyone explain what the following error refers to...and perhaps a solution?
vxfs: vx_nospace -/tmp file system full (8 block extent)
Thanks,
Uni (2 Replies)
Discussion started by: Uni
2 Replies
3. UNIX for Advanced & Expert Users
I'm getting an error - symbol referencing errors. No output written to, etc
Can anybody tell me why this is? (2 Replies)
Discussion started by: Dan Rooney
2 Replies
4. Solaris
Hi,
My Solaris 5.8 system keeps getting this error at boot -
"Can't set vol root to /vol"
then
/usr/sbin/vold: can't set vol root to /vol: Resource temporarily unavailiable
Any idea what is wrong, and how do I fix it? (0 Replies)
Discussion started by: ghuber
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
My Solaris 5.8 system keeps getting this error at boot -
"Can't set vol root to /vol"
then
/usr/sbin/vold: can't set vol root to /vol: Resource temporarily unavailiable
Any idea what is wrong, and how do I fix it? (1 Reply)
Discussion started by: ghuber
1 Replies
6. UNIX for Dummies Questions & Answers
Question for unix programmers - what function I need to used to get the exact error message when the library failed to load?
Thanks (1 Reply)
Discussion started by: tttttt
1 Replies
7. Shell Programming and Scripting
I am new to scripting.
I am using the following script . BART.dat contains the string 'Y' .
#!/bin/ksh
cd /work/TCI/data_out
file=`cat BART.dat`
echo "$file"
if ; then
echo "true"
fi
When i am executing the above script i am getting the following error
./s.ksh: : not found
... (2 Replies)
Discussion started by: ammu
2 Replies
8. UNIX for Dummies Questions & Answers
What does this means?
- ERROR OPENING FILE - KEY LENGHT MISMATCH (2 Replies)
Discussion started by: RDM00
2 Replies
9. UNIX for Dummies Questions & Answers
Hi I found the following error message in my logs:
warning: /etc/hosts.deny, line 6: can't verify hostname: getaddrinfo(localhost) didn't return ::ffff:222.255.28.33
What is the error message trying to indicate? That there is a problem with line 6 (2 Replies)
Discussion started by: mojoman
2 Replies
LEARN ABOUT MOJAVE
set_field_opts
form_field_opts(3X) form_field_opts(3X)
NAME
form_field_opts - set and get field options
SYNOPSIS
#include <form.h>
int set_field_opts(FIELD *field, Field_Options opts);
int field_opts_on(FIELD *field, Field_Options opts);
int field_opts_off(FIELD *field, Field_Options opts);
Field_Options field_opts(const FIELD *field);
DESCRIPTION
The function set_field_opts sets all the given field's option bits (field option bits may be logically-OR'ed together).
The function field_opts_on turns on the given option bits, and leaves others alone.
The function field_opts_off turns off the given option bits, and leaves others alone.
The function field_opts returns the field's current option bits.
The following options are defined (all are on by default):
O_VISIBLE
The field is displayed. If this option is off, display of the field is suppressed.
O_ACTIVE
The field is visited during processing. If this option is off, the field will not be reachable by navigation keys. Please notice that
an invisible field appears to be inactive also.
O_PUBLIC
The field contents are displayed as data is entered.
O_EDIT
The field can be edited.
O_WRAP
Words that do not fit on a line are wrapped to the next line. Words are blank-separated.
O_BLANK
The field is cleared whenever a character is entered at the first position.
O_AUTOSKIP
Skip to the next field when this one fills.
O_NULLOK
Allow a blank field.
O_STATIC
Field buffers are fixed to field's original size. Turn this option off to create a dynamic field.
O_PASSOK
Validate field only if modified by user.
RETURN VALUE
Except for field_opts, each routine returns one of the following:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_CURRENT
The field is the current field.
E_SYSTEM_ERROR
System error occurred (see errno).
SEE ALSO
curses(3X), form(3X).
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.
form_field_opts(3X)