09-07-2006
As you said yourself, it is an advertisement. But you aren't selling anything, and your tool looks quite useful (I'm not an aix user, so can't comment).
However, advertising is against the site's rules, so I'm gonna lock this thread. I will not delete it (yet), so that members can still access the winsmit site.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am on a project and logging into about 100 servers one at a time. One of the steps I am performing is setting up a link with smit mkroute. I am using AIX versions 5.2 and 5.3
Does anyone know a quick command line to set DESTINATION ADDRESS, GATEWAY address, Network MASK, and... (5 Replies)
Discussion started by: jeffpas
5 Replies
2. AIX
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
3. 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
4. Solaris
i now when i want use the smit in AIX is possible
but a ask if you has in sun same job in sun tel me please
awating supports (3 Replies)
Discussion started by: Yalmalki
3 Replies
5. Shell Programming and Scripting
My searches turned up nothing relevant, so I apologize if this has already been looked at.
I am trying to run an expect script from a Solaris machine, that ssh's into an AIX machine, and interacts with a SMIT created menu system that runs a few backups for me.
The expect script runs fine when... (0 Replies)
Discussion started by: Mariognarly
0 Replies
6. Programming
Hi all.
I'm trying to install Sun Studio on my Ubuntu 10.4 pc because
I wanna use X-Designer (it is a Motif GUI builder), that should be in that suite.
I downloaded the tar package build for linux and installed
the deps. Sun Studio and the Sun C Compiler work fine, but
i cannot find... (0 Replies)
Discussion started by: mghis
0 Replies
7. AIX
Hi,
I'm newbee to AIX and would like to setup a process which kills 1 Hr. ideal users from smit. Please advise for making it work. :)
Thanks,
Sumit (2 Replies)
Discussion started by: sumit30
2 Replies
8. AIX
Does anyone have any experience using sudo to control smit on AIX 5.3?
These are the smit commands that I want certain users to execute:
# Cmnd alias specification
Cmnd_Alias SMIT = /bin/smit hacmp, \
/bin/smit pxdam, \
/bin/smit cl_lsuser, \
/bin/smit cl_users, \
/bin/smit cl_passwd
... (5 Replies)
Discussion started by: tharrieswk
5 Replies
LEARN ABOUT SUSE
glutcreatemenu
glutCreateMenu(3GLUT) GLUT glutCreateMenu(3GLUT)
NAME
glutCreateMenu - creates a new pop-up menu.
SYNTAX
int glutCreateMenu(void (*func)(int value));
ARGUMENTS
func The callback function for the menu that is called when a menu entry from the menu is selected. The value passed to the callback
is determined by the value for the selected menu entry.
DESCRIPTION
glutCreateMenu creates a new pop-up menu and returns a unique small integer identifier. The range of allocated identifiers starts at one.
The menu identifier range is separate from the window identifier range. Implicitly, the current menu is set to the newly created menu. This
menu identifier can be used when calling glutSetMenu.
When the menu callback is called because a menu entry is selected for the menu, the current menu will be implicitly set to the menu with
the selected entry before the callback is made.
EXAMPLE
Here is a quick example of how to create a GLUT popup menu with two submenus and attach it to the right button of the current window:
int submenu1, submenu2;
submenu1 = glutCreateMenu(selectMessage);
glutAddMenuEntry("abc", 1);
glutAddMenuEntry("ABC", 2);
submenu2 = glutCreateMenu(selectColor);
glutAddMenuEntry("Green", 1);
glutAddMenuEntry("Red", 2);
glutAddMenuEntry("White", 3);
glutCreateMenu(selectFont);
glutAddMenuEntry("9 by 15", 0);
glutAddMenuEntry("Times Roman 10", 1);
glutAddMenuEntry("Times Roman 24", 2);
glutAddSubMenu("Messages", submenu1);
glutAddSubMenu("Color", submenu2);
glutAttachMenu(GLUT_RIGHT_BUTTON);
X IMPLEMENTATION NOTES
If available, GLUT for X will take advantage of overlay planes for implementing pop-up menus. The use of overlay planes can eliminate dis-
play callbacks when pop-up menus are deactivated. The SERVER_OVERLAY_VISUALS convention is used to determine if overlay visuals are avail-
able.
SEE ALSO
glutCreateWindow, glutDestroyMenu, glutSetMenu, glutAttachMenu
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutCreateMenu(3GLUT)