11-17-2006
Thank-you..Carl
Carl,
so far I've got the menu's working. Thank-you.. I am sure I will need more assistance, but will have to test each function as a piecemeal. I'm only a beginner, but I'm still learning. Thanks again..you'll her from me soon also.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I was using AIX - ksh shell , and inorder to debug shell script I used set -vx to echo all the commands which are being executed.
Can anybody tell me the corresponding method in HP-UX - in tcsh shell.
Regards
Shihab (1 Reply)
Discussion started by: shihabvk
1 Replies
2. Shell Programming and Scripting
Hello all,
I am trying to run a script and have not had much success running it...ne help debugging it will be appreciated..The ftp script alone works but not within the while loop.
below is the script
#!/usr/bin/ksh
destination_server=servename
destination_user_id=un... (1 Reply)
Discussion started by: alfredo123
1 Replies
3. Shell Programming and Scripting
Hi all,
Am working on a script to understand the flow control of it..
Since i am from a C background i looking out for an easy way to analyze the script as it runs ..
In C/C++ we have F7 that starts execution from main() and proceeds accordingly..
I was wondering if there is a same approach... (2 Replies)
Discussion started by: wrapster
2 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I searched to find out a few cp scripts that had progress bar, but did not compromise on performance, when my efforts were in vain i went ahead and wrote one of my own ,taking i/p frm other scripts...
But this is causing some errors and am unable to debug it.....pls help
Here is the... (1 Reply)
Discussion started by: wrapster
1 Replies
5. UNIX for Advanced & Expert Users
I have a file which contains a record like follows
/dir1/dir2/dir3/file.dat
I need command to so that output can be only file.dat (6 Replies)
Discussion started by: sreenusola
6 Replies
6. Shell Programming and Scripting
is there any way you can add a breakpoint in a script so you can stop on it?
i have used -xv in my shebang but the script just runs and i want it to stop at a specific point in the script.
appreciate any help. (1 Reply)
Discussion started by: npatwardhan
1 Replies
7. Shell Programming and Scripting
Hello, Some one asked me in the inteview.... The question is,
How do we debug the schell script before even running..... Interviewer
told me one clue... There is SET command to accomplish this... Can any
one tell me what kind of set commands.... Thanks. (2 Replies)
Discussion started by: govindts
2 Replies
8. Shell Programming and Scripting
Newbie question. I cannot get "set -n" or "set -noexec on" to work on Linux or AIX! According to the man page and what I read online, it should inform me of syntax errors without executing commands in your script.
So, can someone PLEASE explain why this does not work?
... (2 Replies)
Discussion started by: fgoyti
2 Replies
9. Shell Programming and Scripting
hi all
only the weirdest thing happened with me just now. I was debugging a shell script and I found that a step that was supposed to execute later was getting executed prior to another step for no reason. You know any ?
i mean have a look at the following command-
here it tries to grep... (7 Replies)
Discussion started by: leghorn
7 Replies
LEARN ABOUT REDHAT
xmremovefrompostfromlist
XmRemoveFromPostFromList(library call) XmRemoveFromPostFromList(library call)
NAME
XmRemoveFromPostFromList -- a RowColumn function that disables a menu for a particular widget
SYNOPSIS
#include <Xm/RowColumn.h>
void XmRemoveFromPostFromList(
Widget menu,
Widget post_from_widget);
DESCRIPTION
XmRemoveFromPostFromList makes a Popup or Pulldown menu no longer accessible from a widget. This function does not destroy a menu, or deal-
locate the memory associated with it. It simply removes the widget from the menu's list of widgets permitted to post that menu.
If the menu argument refers to a Popup menu, the event handlers are removed from the post_from_widget widget. If the argument refers to a
Pulldown menu, its ID is removed from the XmNsubMenuId of the specified post_from_widget. Also, if the menu is a Pulldown menu, the
post_from_widget widget must be either a CascadeButton or a CascadeButtonGadget.
menu Specifies the widget ID of a the Popup or Pulldown menu to be made inaccessible from the post_from_widget widget.
post_from_widget
Specifies the widget ID of the widget which can no longer post the menu referred to by the menu argument..
For a complete definition of RowColumn and its associated resources, see XmRowColumn(3).
RELATED
XmAddToPostFromList(3), XmGetPostedFromWidget(3), and XmRowColumn(3).
XmRemoveFromPostFromList(library call)