01-22-2009
UniX Process not getting logout.
Hi,
We have UNIX menu.
when we exit the menu the processes are not getting log out.
please suggest me how to log out the process after exit from the UNIX Menu.
Regards,
laknar.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
well, i have only been learning about linux, unix and shells for a few days.
For my online game to work, i need run a file each 10 seconds. Running that file will update mysql data, causing my online game to "tick". This adds resources and fights battles in game.
I know that i need to use a... (3 Replies)
Discussion started by: mikey1090
3 Replies
2. Programming
Hi,
i need to find the process name using the process id in C. This has to be done in HP, AIX, Solaris & Linux??
How can this be done? Is there any common solution to all platforms?
On linux i have heard that /proc/<pid>/cmdline can be used. Is there a structure available to read this?
... (3 Replies)
Discussion started by: molu
3 Replies
3. UNIX for Dummies Questions & Answers
Every time the ksh script completes I got message - logout. I don't want to see this message....
Can someone give me a clue
Thanks in advance.
ZAM
SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Sun-Fire-880 (2 Replies)
Discussion started by: zam
2 Replies
4. Shell Programming and Scripting
We have an application that uses the csh shell as the default. We can not change this as when we upgrade it will change back to csh. We have several people that log in with this id. I would like to create a .logout exit script to audit what transactions were performed, termal, etc.
Does... (3 Replies)
Discussion started by: 2dumb
3 Replies
5. Solaris
I want to execute script while exiting a session, to gather session details. How to implement this in Solaris 10 (3 Replies)
Discussion started by: sharif
3 Replies
6. UNIX for Dummies Questions & Answers
Hey All,
I'm logging in via an SSH shell. I'm wondering if there's a way to execute a command and it not die when I close my terminal window (or rather, logout of the SSH shell).
Thanks,
Nathan (3 Replies)
Discussion started by: NathanWarden
3 Replies
7. HP-UX
Hi
I am using UNIX version.
HP-UX HP-UNIX B.11.00
I am writing a script which on certain condition should logout of unix.
But with exit command i am not able to get this..
Plz suggest how i should logout of the session directly. (9 Replies)
Discussion started by: manish.s
9 Replies
8. Shell Programming and Scripting
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies
9. Post Here to Contact Site Administrators and Moderators
Hi Admin,
I am living in singapore. When i use the unix.com in office, it works well ( in that time, it says "you are somewhere around USA(some country) - because my proxy is USA"
Once i come to home and connects, it keeps logout... is that any settings i need to change ?
---------- Post... (1 Reply)
Discussion started by: itkamaraj
1 Replies
10. Red Hat
Hello,
I have this issue on a new server I just built. It is a RHEL 6.7 build. I use VNC to connect to the server from my windows machine. When I login to the Server in morning using VNC I get this error: "Automatic logout, this session is configured to log out after a period of inactivity. I... (0 Replies)
Discussion started by: bitlord
0 Replies
LEARN ABOUT DEBIAN
menu2_6
Menu(3I) InterViews Reference Manual Menu(3I)
NAME
Menu, MenuItem, MenuBar, PopupMenu, PulldownMenu, PullrightMenu - menus
SYNOPSIS
#include <InterViews/menu.h>
DESCRIPTION
N.B.: This Menu class is completely different from the Menu class in version 2.5. No attempt has been made to be compatible, as this class
and its subclasses are more powerful and easier to use than the original class.
Menu is a subclass of Control that contains a scene of other controls, called its body. When a menu is opened, it inserts the body into
the world with a drop shadow. The appearance of the menu itself is defined by its interactor component. For example, a menu in a menu bar
might appear as ``File'' and insert a pulldown menu with commands such as ``Save'' when opened.
MenuItem is a subclass of Control for defining the leaves of a menu hierarchy. Normally, an application will derive a command class from
MenuItem and implement the virtual function Do as appropriate. One technique is to pass the Command an application object and pointer to
member function; the Do function calls the member function on the application object.
PopupMenu, PulldownMenu, and PullrightMenu are subclasses of Menu that implement a common styles of menus. MenuBar is a subclass of HBox
that manages the control state associated with a set of menus. PopupMenu has no appearance; it is opened explicitly in response to an
input event. PulldownMenu and PullrightMenu open the menu body below and to the right of the menu, respectively. These classes make it
possible to use menus in an application without creating or passing control states explicitly.
PUBLIC OPERATIONS
Menu::Menu(Interactor*)
Construct a new menu.
Menu::~Menu()
The destructor deletes the menu body in addition to its appearance component.
virtual void Menu::Include(Control*)
Add an item to the menu. If no scene is specified, Menu will create a vbox and insert items into it.
virtual void Menu::Popup(Event&)
Insert the body into the world centered around the coordinates associated with the event and activate the controls in the body. The
menu is removed from the world when the controls are deactivated (normally when a button is released).
void Menu::SetBody(Interactor*)
Interactor* Menu::GetBody()
void Menu::SetAlign(Alignment)
Alignment Menu::GetAlign()
void Menu::SetDepth(int)
int GetDepth()
void Menu::SetBodyState(ControlState*)
ControlState* Menu::GetBodyState()
void Menu::SetScene(Scene*)
Scene* Menu::GetScene()
Set or get attributes of the menu. The depth of a menu is the number of pixels separating the body and the drop shadow.
Coord Menu::InsertX()
Coord Menu::InsertY()
Return the coordinates where the menu's body was last inserted into the world.
MenuItem::MenuItem(Interactor*)
MenuItem::MenuItem(const char* str, Alignment = Left)
Construct a new menu item. The second constructor defines the appearance of the item to be a message containing the text in str.
PulldownMenu::PulldownMenu(Interactor*)
PulldownMenu::PulldownMenu(const char* str)
PullrightMenu::PullrightMenu(Interactor*)
PullrightMenu::PullrightMenu(const char* str)
Construct a new pulldown or pullright menu. The second constructor defines the appearance of the menu to be a message containing
the text in str.
PopupMenu::PopupMenu()
Construct a new popup menu.
MenuBar::MenuBar()
Construct a new menu bar.
virtual void MenuBar::Include(Control*)
Add a control to a menu bar. In addition to inserting the control into the bar's hbox, this operation attaches the control to the
bar's control state.
SEE ALSO
Control(3I), Event(3I)
InterViews 6 December 1989 Menu(3I)