09-24-2010
Hello,
Per
our forum rules, all users must write in English, use semi-formal or formal English language and style, and correct spelling errors.
The reason for this is that most software and operating systems are written in English and these are software related technical forums.
In addition, nearly 95% of all visitors to this site come here because they are referred by a search engine. In order for future searches on your post (with answers) to work well, you need to spell correctly!
So, as a benefit and courtesy to current and future knowledge seekers, please be careful with your language, check your spelling and correct your spelling errors. You might receive a forum infraction if you don't pay attention to this.
Also, do not write in cyberpunk or abbreviated chat style under any circumstances and do not use profanity. This is not a chat room, it is a formal knowledge base to serve you and everyone, of all ages and cultural backgrounds.
Thanks!
The UNIX and Linux Forums
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i.e configuration of C compiler :confused: (4 Replies)
Discussion started by: atiato
4 Replies
2. Shell Programming and Scripting
Hi folks,
I have written down a UNIX script which actually FTP the file to other server. What is happening now , this script is not working only for 1 server , as it is working for 32 different FTP server .
In this particular server , we are getting message “FTp:550 access denied”... (1 Reply)
Discussion started by: khan1978
1 Replies
3. UNIX for Dummies Questions & Answers
Hi friends,
I have a small doubt about cut command.
cut -f2 -d_
Can anybody tel me what does the underscore after 'd' stand for? Is it some kind of comment, coz I am not able to make out any difference when I executed the below command...
head -10 file.txt|cut -f2 -d_
It was... (3 Replies)
Discussion started by: divzz
3 Replies
4. Shell Programming and Scripting
How to print a only files and not directories in a path.
for exam :a user consists both files and directoris in his path.
i have to write a script to display only files not dirctories.
and only dirctories not files.
Advance thanks to forum members.:) (5 Replies)
Discussion started by: sivaranga001
5 Replies
5. Shell Programming and Scripting
Hello Friends,
Plz help me for below query?
I want search the IP_ADD from multiple files which are txt file or .sh files or .xml files which are present in different directories .Iam looking for Forum memebers help.
Advance thanks to forum memebers.Plz reply me ASAP?:) (4 Replies)
Discussion started by: sivaranga001
4 Replies
6. Shell Programming and Scripting
I want to open a file which is in encrypted form and it consists Usernames and passwords.a custommized command is there to open the file.the command is exe of a shell script which takes arguments filename.
after opening with the command it will show four options which are ADD,update,search and... (2 Replies)
Discussion started by: sivaranga001
2 Replies
7. Shell Programming and Scripting
Hi forum memebers,
I want know what is the grep command a IP_add or host in the multiple scripts in one directory.
Thanks in advance.
Siva Ranganath.:) (3 Replies)
Discussion started by: sivaranga001
3 Replies
8. Shell Programming and Scripting
Hello members.
How can i write a script to find a multiple occurence of IP_ADD in the 3 different directories and under one path.after finding the IP_add redirect into a text file.
for example
home dir: /fdp/cdg
under home directory there are several files and directories.so I have to... (1 Reply)
Discussion started by: rajkumar_g
1 Replies
9. Shell Programming and Scripting
Hello ,
I want to write a script to test the IP_add is hardcoded in the paticular files.
the files are available in path .
for example.
/abs/abn/jkg/frames.sh. like this some files are there in the same path.I
manually replaced the IP_ADD with domain name in required files.now i have to... (1 Reply)
Discussion started by: rajkumar_g
1 Replies
10. Shell Programming and Scripting
hi guys,
i got job recently in a company which provide a product for data backup and data recovery... as dis product is wrriten in c++ am workin in c++.. now am under training and i want to learn abt Operating System concepts and OS programming using c and c++. i know basic c and c++ programming... (0 Replies)
Discussion started by: senthil.march
0 Replies
LEARN ABOUT HPUX
root_geometry_manager
root_geometry_manager() root_geometry_manager()
Name
root_geometry_manager - Shell class method called to negotiate shell geometry requests with a window manager.
Synopsis
typedef XtGeometryResult (*XtGeometryHandler)(Widget, XtWidgetGeometry *,
XtWidgetGeometry *);
Widget w;
XtWidgetGeometry *request;
XtWidgetGeometry *geometry_return;
Inputs
w Specifies the shell widget making the request.
request Specifies the requested geometry.
Outputs
geometry_return
Specifies the reply geometry.
Returns
The window manager's reply: XtGeometryYes, XtGeometryNo, XtGeometryAlmost, or XtGeometryDone.
Availability
Release 4 and later.
Description
The root_geometry_manager() method is registered on the root_geometry_manager field of a ShellClassExtensionRec structure with record_type
NULLQUARK, which is itself registered on the extension field of the Shell class part structure. The root_geometry_manager() method will be
called when a shell widget calls XtMakeGeometryRequest() or XtMakeResizeRequest(), and should negotiate the requested size with the window
manager.
The arguments to this method are the same as those passed to the geometry_manager() method. The root_geometry_manager() method should pass
the geometry request on to the window manager. If the window manager permits the new geometry, the root_geometry_manager() should return
XtGeometryYes; if the window manager denies the geometry request or it does not change the window geometry within some timeout interval
(the XtNwmTimeout resource for WMShell, for example), the root_geometry_manager() should return XtGeometryNo. If the window manager makes
some alternative geometry change, the root_geometry_manager() method may either return XtGeometryNo and handle the new geometry as a
resize, or may return XtGeometryAlmost in anticipation that the shell will accept the compromise. If the compromise is not accepted, the
new size must then be handled as a resize.
Communication with a window manager is an asynchronous process, but the root_geometry_manager() procedure must return its answer syn-
chronously. It will have to issue its request and then block until the reply arrives.
The root_geometry_manager() method is not chained. It can be inherited by specifying XtInheritRootGeometryManager in the Shell extension
record. If there is no Shell extension record with record_type equal to NULLQUARK, then the Intrinsics will behave as if an extension was
specified with XtInheritRootGeometryManager.
See the Inter-Client Communications Conventions Manual for information on communicating with window managers. See geometry_manager(4) for
a description of the structures and the possible return values of this method.
Usage
The root_geometry_manager() method of the Shell class itself handles communication with ICCCM-compliant window managers. It sets the
appropriate properties to make the geometry request, then uses XCheckIfEvent() to block until an ConfigureNotify event arrives in reply.
This method also uses private functions internal to the Intrinsics in order to correctly handle the events. Because of the complexity and
implementation-specific nature of this method, classes that want to define a custom root_geometry_manager() method should make their
requests to the window manager, and then call their superclass's method to make additional requests, block, and get the response.
See Also
XtMakeGeometryRequest(1), XtMakeResizeRequest(1),
Shell(3),
geometry_manager(4).
Xt - Intrinsics Methods root_geometry_manager()