02-20-2009
Menu base AIX script
Hi,
I am trying to create a menu on AIX systen for operators in our office.
Please suggest how can I loop back to menu by pressing any key from a online running file. For example I can view the Database alert log file by tail -f command but how should I loop back to menu again. If I press <ctrl C> ,the log file is closed and I found myself at login prompt. I want to get back to my menu. I have provided "quit" option to at every menu to get back to login prompt.
Please advise as I am stuck on it since long.
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi:
I´ve developed a script that count in decimal base. this is a example:
ini=0
end=0
ini=$1
end=`expr $2+1`
i=$ini
while
do
..
..
i=`expr $i+1`
done
Could you say me how dou you count in hexadecimal base?
Thanks (1 Reply)
Discussion started by: AlvaroD
1 Replies
2. AIX
Hi there,
I need to install the IBM C++ Compiler in pSeries AIX DEMOpkg 2005 but I can't find
Ifor_ls
Ifor_ls.html.en_US
Ifor_ls.ipf.en_US
Ifor_ls.compat
Ifor_ls.base
Have you got the experience about that?
Thank you very much.
Thang. (0 Replies)
Discussion started by: pvthang43
0 Replies
3. What is on Your Mind?
Hi,
Please excuse me for posting an "ad" message here.
Over the last few months I have created software called WinSmit, with this tool you can create your own AIX smit menus and corresponding message files.
We all know the smit or smitty menus that IBM provides to maintain the system, the... (6 Replies)
Discussion started by: mimyrtek
6 Replies
4. Shell Programming and Scripting
Hi,
I am trying to create a menu on AIX systen for operators in our office.
Please suggest how can I loop back to menu by pressing any key from a online running file. For example I can view the Database alert log file by tail -f command but how should I loop back to menu again. If I press <ctrl... (1 Reply)
Discussion started by: dwiravi
1 Replies
5. AIX
Hi,
Just wondered if anyone knows the approximate size of the AIX installed base, i.e. number of machines running out there. I'm expecting a figure of less than a million.
There seems to be a lack of info on the web. Presumably only IBM know for sure! (3 Replies)
Discussion started by: garethr
3 Replies
6. AIX
Hi,
Looking for some help downloading the modcrypt.base fileset
Checking on google I think modcrypt.base is part of the Aix 5.3 expansion pack Cryptographic Library V5.2 and 5.3. I have downloaded this and it doesn't appear to have the modcrypt.base fileset in. In the same expansion... (1 Reply)
Discussion started by: elmesy
1 Replies
7. Shell Programming and Scripting
Problem:
I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies
8. AIX
Hello,
I'm trying to install AIX 7.1 on a machine. Unfortunately I forgot to load volume 2 DVD, but the server works fine. Was wondering, what all the contents will be in volume 2?
And I tried loading it after the complete reboot but the blade is not recognizing the volume2 DVD.
Please let... (6 Replies)
Discussion started by: pjeedu2247
6 Replies
9. Shell Programming and Scripting
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
Discussion started by: spradha
4 Replies
10. UNIX for Beginners Questions & Answers
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT CENTOS
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)