8 More Discussions You Might Find Interesting
1. Solaris
What's the cheapest box to study for the Solaris tests with? The obvious answer is a T1000, but IIRC they have no CD/DVD and have to be jumpstarted. What's cheap that can run Solaris 11 and that doesn't require anything but itself? (5 Replies)
Discussion started by: jnojr
5 Replies
2. SCO
HI All,
I have an old SCO-UNIX machine which I support a long standing client / friend with.
I don't use it very often, and is kept switched off. All was well 2 weeks ago, but when I tried to boot today all I get is a continuous set of long beeps but no booting. I have checked inside... (4 Replies)
Discussion started by: andy sleight
4 Replies
3. Solaris
We have a Solaris 10 system with a solaris 9 branded zone. Trying to create a new lo interfaces i ended up rebooting the zone. The zone will not come up, it ran fine before i tried this. When i run the zoneadm -z zone-s9 boot command i get
"zoneadm: zone 'zone-s9': lo0:2: could not bring... (4 Replies)
Discussion started by: oly_r
4 Replies
4. Solaris
Hello,
Ive just aquired a blade 150 off ebay.Im new to suns and are having a problem getting it to boot off the cdrom.Openboot continuously tries to do a network boot and I cant enter any commands.Im using an average pc keyboard and it definetly works.Thanks for any help.:wall: (3 Replies)
Discussion started by: chucky
3 Replies
5. Solaris
I have a Solaris 10 Sparc box that has suddenly stopped allowing users to ssh into the box. I've connected a laptop and can access the box as root using a serial connector. While performing the command svcs -xv, this is my output:
maintenance 13:29:49 svc:/system/basicreg:default... (4 Replies)
Discussion started by: goose25
4 Replies
6. SCO
hi
I've boot OpenServer Release 5.0.7 from a setup CD and started "Execute a shell on ramdisk filesystem".
Howto change keyboard from american to swiss german? (0 Replies)
Discussion started by: ccc
0 Replies
7. HP-UX
I am new to HP-UX. I have a external SCSI drive with HP-UX on it. I was trying to clone it to another external scsi drive. I added the new drive to existing LVM. Then I used dd command. But it failed with I/O error. Now I cannot boot it from original drive. It's saying panic: LVM: Configuration... (11 Replies)
Discussion started by: forhad
11 Replies
8. Cybersecurity
Hello,
I in the process of installing a firewall. I'm new to this topic and would like to know if someone can point me in the right direction.
I'm running Solaris 8.
Thanks in advance. (2 Replies)
Discussion started by: sunoracle
2 Replies
LEARN ABOUT HPUX
xtsetkeyboardfocus
XtSetKeyboardFocus() XtSetKeyboardFocus()
Name
XtSetKeyboardFocus - redirect keyboard input to a widget.
Synopsis
void XtSetKeyboardFocus(subtree descendant)
Widget subtree, descendant;
Inputs
subtree Specifies the widget to be considered the root of the subtree for which the keyboard focus is to be set. Must be of class Core
or any subclass thereof.
descendant
Specifies a normal (non-popup) descendant of subtree to which keyboard events are to be redirected, or None. May be of class
Object or any subclass thereof.
Description
XtSetKeyboardFocus() causes XtDispatchEvent() to remap keyboard events that occur within the widget hierarchy rooted at subtree and to dis-
patch them to descendant. If descendant is not a subclass of Core, it is replaced by its closest windowed ancestor. If descendant is
None, keyboard events within subtree will be dispatched normally.
When subtree or one of its descendants acquires the X keyboard focus, or the pointer moves into the subtree such that keyboard events would
now be delivered to subtree, a FocusIn event is generated for descendant if FocusChange events have been selected by descendant. Simi-
larly, when subtree loses the X keyboard focus or the keyboard focus for one of its ancestors, a FocusOut event is generated for descendant
if FocusChange events have been selected by descendant.
For more details on how events are dispatched after a call to XtSetKeyboardFocus(), see XtDispatchEvent().
Usage
XtSetKeyboardFocus() does not call the Xlib function XSetInputFocus(); it simply causes the Intrinsics to dispatch events differently. For
most applications, this approach is preferred over the more heavy-handed Xlib function.
Example
If a dialog box contains a Label widget, some Button widgets, and a single Text widget for input, it is good style to allow the user to
enter text into the dialog when the mouse is anywhere over the dialog, not only when the mouse is over the Text widget itself. This can be
arranged with code like the following:
Widget shell, box, text, prompt, ok_button, cancel_button;
XtPopup(shell, XtGrabExclusive);
XtSetKeyboardFocus(box, text);
After this call to XtSetKeyboardFocus(), whenever the dialog box gets the X input focus (for example, when the mouse moves into it) all
keyboard events will be redirected at the text widget.
See Also
XtAddGrab(1), XtDispatchEvent(1).
Xt - Keyboard Handling XtSetKeyboardFocus()