Sponsored Content
Top Forums Shell Programming and Scripting Get Parameter with Shell request Post 302950452 by sea on Friday 24th of July 2015 04:18:45 PM
Old 07-24-2015
Is the client.sh really a 'sh' or is it 'bash'?
Check the shebang of the file:
Code:
head -n1 client.sh

hth
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell program to accept multiple request at the same time

Hi, I got a script which sends the Email to the user based on certain variables received from Tivoli Server Monitoring 6.1. Now to keep track of the mails I have wrote a stored procedure in DB2 as we use DB2 UDB as back end which take the variables that were used to send the mail and store it... (3 Replies)
Discussion started by: tcskurra
3 Replies

2. Shell Programming and Scripting

simple shell - how to get a parameter typed in a shell script

Hi, I am new to unix and using linux 7.2. I would like to create a script that would make it easyer for me to run my java programms. At the moment I have to type java myJavaprogram I am trying to write a script that will allow me to type something like this "myscript myJavaprogram" or maybe... (4 Replies)
Discussion started by: cmitulescu
4 Replies

3. Shell Programming and Scripting

Calling a request set from Unix shell Script

Hi All, I want to call a concurrent request set from a shell script. I am getting the syntax error "syntax error at line 417 : `(' unexpected" in the below script. v_request_id=fnd_request.submit_request(application => 'APPL_SHORT_NAME' ,program => 'PROGRAM_SHORT_NAME' ... (4 Replies)
Discussion started by: swatipevekar
4 Replies

4. Shell Programming and Scripting

Shell script request

I've a master file which will contain 100 file names, The script should read file name from a master file and format the file as below in AIX. input file Filename This is a test file Output File Filename|This is a test file Thanks in advance for file in $FileList; do (5 Replies)
Discussion started by: udayakumar
5 Replies

5. Shell Programming and Scripting

Request to check run php in Unix shell

Hi I m running a php file in Unix shell it says php cpmmnad not found bash-3.2$ cat echo.php <? php echo"heelo world" >? bash-3.2$ php echo.php bash: php: command not found actually I want to change certain thing a in a website using php script so I m beginner and trying... (6 Replies)
Discussion started by: manigrover
6 Replies

6. UNIX for Dummies Questions & Answers

Script shell calculate mean arrival request duration

hello, I have implemented this command : tshark -eth0 -T fiels -e frame.time et sip.Request-Line -z sip,stat > test2.txt the result of this command : test.txt: Aug 27, 2013 23:06:47.334270000 INVITE Aug 27, 2013 23:06:47.335045000 SIP/2.0 401 Unauthorized Aug 27, 2013... (1 Reply)
Discussion started by: Amouna
1 Replies

7. Shell Programming and Scripting

Shell program request

Hello, I'm requesting the shell program to compare 2 .csv files which will have large data. Can any one help me with this linux shell program Thanks in advance. Thanks and regards Ramanjaneya. K (1 Reply)
Discussion started by: pandu19
1 Replies

8. Shell Programming and Scripting

Shell program request to download .pdf files

Hello, Would you suggest me a shell program that would launch the given url and if there is login we have enter the credentials. If the credentials are correct it would be redirected to home page of that url, the program will check if there are any PDF'S found automatically the PDF'S have... (5 Replies)
Discussion started by: pandu19
5 Replies

9. Shell Programming and Scripting

Passing a command shell parameter to another shell

Good afternoon, i need your help pls I want to write a new script that start running as soon as a previus one finish via Autosys (it should be implemented via Autosys too to validate the exsitance and the successful transfered file to a remote server Whenever the file arrives to the path... (2 Replies)
Discussion started by: alexcol
2 Replies
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()
All times are GMT -4. The time now is 11:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy