Sponsored Content
Full Discussion: Help with Linux shell
Special Forums UNIX Desktop Questions & Answers Help with Linux shell Post 302860319 by Don Cragun on Saturday 5th of October 2013 03:25:23 PM
Old 10-05-2013
Homework can only be posted in the Homework and Coursework forum.

This thread is closed.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux Shell Question: how to print the shell script name ?

Suppose I have a script named "sc.sh" in the script how to print out its name "sc.sh"? (3 Replies)
Discussion started by: meili100
3 Replies

2. Shell Programming and Scripting

help with linux shell script

HI im a novice with shell scripts but i need help with a random script I have this folder filled with 500 different file names... I need help creating a script that will take each filename and make a new folder named that filename and then move that file into the newly created folder. Then the... (1 Reply)
Discussion started by: emachala
1 Replies

3. Shell Programming and Scripting

Shell Scripting Linux

In shell Can I pass " to a program ? If not what is the work around ..? Can I define * as a wild card charecter that will return all the values from the files ..? I am trying to create a tool that will return the values from a property file . This tool has to support all the wild card... (1 Reply)
Discussion started by: app1sxv
1 Replies

4. Shell Programming and Scripting

Shell programming in Linux

Hi, I have been working on Sun Solaris since a long time. Recently I got to work on RH Linux. My Linux version details are: Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux I have a simple command in my shell script: export BKPTAG=`date... (3 Replies)
Discussion started by: sagarparadkar
3 Replies

5. Shell Programming and Scripting

Need help! Linux shell script

Hi all, I am trying to make a Nodemanager work in RHEL 5 I got this script from 'oraclemiddleware.wordpress.com', and made appropriate changes to suit my weblogic installation. I keep getting the error, "line 82: syntax error: unexpected end of file". I have checked every line to make sure all... (4 Replies)
Discussion started by: chakrv1
4 Replies

6. Homework & Coursework Questions

Linux Shell Script

Hi Guys I am new to Linux Shell Scripting . Can any one help me with this Task...files are attached for reference Task 1: write a script to generate a large size report file MX0002_new.XML by using the template MX0001_new.XML. Shell script is recomended, and it can run on Linux without... (2 Replies)
Discussion started by: samy_1811
2 Replies

7. Shell Programming and Scripting

Script Shell Linux

Hello, Please, how can I complete this script: Thank you (2 Replies)
Discussion started by: chercheur857
2 Replies

8. UNIX for Dummies Questions & Answers

Need some Help please with Linux shell script.

we need help with the syntax with this shell script, if you could create this shell script we can donate to a charity etc. we need to set up a directory called user3 inside directory user3 we need to create the following files : afile, anyfile, anotherfile, afiletest, bfile. bfiletest, cfile,... (3 Replies)
Discussion started by: cometboy
3 Replies

9. Shell Programming and Scripting

Which shell can I use on Linux?

I have Linux x86_64 x86_64 x86_64 GNU/Linux I thought that Linux can use only bash shell however, when I wrote the code: #!/bin/sh NAME=`basename $0 .sh` Today=`date '+%Y%m%d'` TIMESTAMP=`date +%H:%M:%S` LOCAL_SERVER=`hostname` let countcla=0 countcla=`expr ${countcla} + 1` ... (18 Replies)
Discussion started by: digioleg54
18 Replies

10. UNIX for Beginners Questions & Answers

Bash Shell Linux

I have a csv file that looks like this Name,Food,Sport James,Curry,Gym Darren,Pizza,Football Jim,Fish,Hockey James,Sushi,Tennis My code looks like this IFS="," sed 1d $file_name | while read Name Food Sport do mkdir -p $Name #echo "==================" #echo "Name: $Name" (3 Replies)
Discussion started by: darklord173
3 Replies
XtPopdown()															       XtPopdown()

Name
  XtPopdown - unmap a popup shell.

Synopsis
  void XtPopdown(popup_shell)
	 Widget popup_shell;

Inputs
  popup_shell
	    Specifies the widget shell to pop down.

Description
  XtPopdown()	   pops      down     a     popup     shell	and	calls	  the	  functions	registered     on     the     shell's
  XtNpopdownCallback list.  The "Algorithm" section below explains the details of this process.

Usage
  The Intrinsics also provide other convenience routines to pop down a popup shell.  To perform a pop down from a callback list, register the
  function XtCallbackPopdown().  To do so from a translation table, use the action XtMenuPopdown.

  Popup  shell widgets can be created with XtCreatePopupShell(), and can be popped up with XtPopup() or XtPopupSpringLoaded(), or with one of
  the built-in callback functions (XtCallbackExclusive(),  XtCallbackNonexclusive(),  or  XtCallbackNone()),  or  with	the  built-in  action
  XtMenuPopup.

Algorithm
  XtPopdown() performs the following:

  o  Calls XtCheckSubclass() to ensure popup_shell's class is a subclass of shellWidgetClass.

  o  Checks that the popped_up field of popup_shell is True; otherwise, it returns immediately.

  o  Unmaps  popup_shell's  window  and,  if override_redirect is False, sends a synthetic UnmapNotify event as specified by the Inter-Client
     Communications Conventions Manual.

  o  If popup_shell's grab_kind is either XtGrabNonexclusive or XtGrabExclusive, it calls XtRemoveGrab().

  o  Sets popup_shell's popped_up field to False.

  o  Calls the callback procedures on the shell's popdown_callback list, specifying a pointer to the value of the shell's grab_kind field  as
     the call_data argument.

See Also
  XtCallbackPopdown(1), XtCreatePopupShell(1), XtMenuPopdown(1), XtPopup(1), XtPopupSpringLoaded(1), XtRemoveGrab(1).

Xt - Pop Ups															       XtPopdown()
All times are GMT -4. The time now is 02:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy