9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
2. Solaris
Am trying to install a account script in oracle 8i and I keep getting ORA-00001: unique constraint violated as the screen shot below shows so am wondering how do i fix this i have posted the full code that is the issue.
i hope some one can help me, thanks a lot
http://www.livve.com/sqlbug.jpg... (2 Replies)
Discussion started by: Wpgn
2 Replies
3. UNIX for Advanced & Expert Users
Hello there,
I hope that I am posting in the right section here, please advise if I posted wrong.
I currently try to change passwords in our Active Directory Envoirenment via LDAP on Linux since the users in question do not have access to a windows-machine and we want to keep it that way. ... (0 Replies)
Discussion started by: henryford
0 Replies
4. Shell Programming and Scripting
hi,
how to I do this?
i="4.000"
if ; then
echo "smaller"
fi
how do I convert the "4.000" to 4?
Thanks! (4 Replies)
Discussion started by: h0ujun
4 Replies
5. Shell Programming and Scripting
here in the below code just a space between 'Info' and '(' is showing that the patter doesnt match...
echo "CREATE TABLE Info (" | grep -i "CREATE TABLE Info (" | wc | awk -F' ' '{print $1}'
1
echo "CREATE TABLE Info (" | grep -i "CREATE TABLE Info (" | wc | awk -F' ' '{print $1}'
0
... (9 Replies)
Discussion started by: vivek d r
9 Replies
6. Shell Programming and Scripting
Hi I have 100 files in my directory.
Please help me how to do in Unix or any other scriptin lanuages.
I want to replace all occurances of "goutham" to goutham_ind ONLY if the file contains the word "goutham" with the word "engineer";
for eg----test1 is a file contains the following inf;
goutham... (6 Replies)
Discussion started by: nandugo1
6 Replies
7. Shell Programming and Scripting
Hi!
I got an strange trouble executing a stored procedures that goes inserting line by line on a table. I mus integrate it with perl for an specific task... the hole process is controlled by e Perl script that:
Load a text file calling sqlldr.
Call a stored procedure that process the... (2 Replies)
Discussion started by: jparra
2 Replies
8. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
9. Shell Programming and Scripting
Hi guys,
I have been making a simple script for looking for anagram solutions in a word list (a file of 22k or so words).
At the moment it funtions like so:
User enters an 8 character string (whatever letters you want to find anagrams of, or solve rather)
The script moves all the words... (2 Replies)
Discussion started by: Donthommo
2 Replies
Constraint get_values_hook() Constraint get_values_hook()
Name
Constraint get_values_hook - Constraint class method for obtaining values of constraint resources that do not appear in the Constraint
resource list.
Synopsis
typedef void (*XtArgsProc)(Widget, ArgList, Cardinal *);
Widget w;
ArgList args;
Cardinal *num_args;
Inputs
w Specifies the widget or object that is having its resources queried.
args Specifies the argument list that was passed to XtGetValues().
num_args Specifies the number of arguments in the argument list.
Availability
Release 4 and later.
Description
The Constraint get_values_hook() method is registered on the get_values_hook field of a ConstraintClassExtensionRec with record_type NUL-
LQUARK, which is itself registered on the extension field of the Constraint class part structure. If such an extension exists, then this
method is called when XtGetValues() is called for a child of the constraint widget, and gives the constraint widget the opportunity to set
values for resources that do not appear in the Constraint resource list, or to modify any of the resource values that are to be returned.
The Constraint get_values_hook() method is chained in superclass-to-subclass order, and cannot be inherited. Classes that do not need a
get_value_hook() method can set NULL in the Constraint extension record, or can simply omit the extension record.
See XtGetValues(1) for more information on when this method is invoked.
Usage
The usage of this method is similar to the normal get_values_hook() method: the widget can use XtGetSubvalues() or XtGetValues() to obtain
the values of constraint resources that do not appear on its Constraint resource list, so that it can export them as if they did appear on
that list. This method can also be used to modify the returned values in any way, by making a copy of string resource values, for example.
See get_values_hook(4) for more information.
None of the Intrinsics widgets nor any of the Xaw widgets define a Constraint get_values_hook() method.
See Also
XtGetSubvalues(1), XtGetValues(1),
Core(3),
get_values_hook(4).
Xt - Intrinsics Methods Constraint get_values_hook()