Hi,guys
I have a two CPUs server, and the system is linux2.4.6.
When the system shutdown,it will stop at the word Power Down.
I f I do not select the option "Symmtric multi-processing Support"
when I compile the kernel,system will shutdown automatic.But I
want to use two CPUs.
Anyone can... (1 Reply)
Help please
I have today messed up my sudoers file which means no users can sudo in to our system.
I therefore need to do a restore of the file - no problems, I have a backup.
Now comes the problem.
The system is secure, and nobody seems to know the root password.
The system will not... (1 Reply)
Discussion started by: cobdeng
1 Replies
3. Post Here to Contact Site Administrators and Moderators
I posted a question regarding the address of the USB ports on an HP computer running SCO Unix. My post does not appear on the "Unix for Dummies Q&A" page, but is burried somewhere and the only way I can view it is to do a search for the title of the post. Could you relocate my post to the UFD Q&A... (2 Replies)
My 2GB /export/home/ directory is almost 100% full
df -k | grep /export/home
/dev/vx/dsk/rootdg/vl73 2031711 1951009 19751 99% /export/home
I intend to relocate it to a different 4GB filesystem late at night when there is no user on the system.
How do I go... (3 Replies)
Hi, i have sco openserver 5.0.6 but have a problem with shutdown or reboot commands.
The string I use is "shutdown -g0 -y" but the system just hangs on "The sytem is down" . I used to get a "Safe to turn of" but now nothing. Same with "reboot" the sytem just freezes.
Any suggestions? (1 Reply)
I have a sparc T1 server (I know its old) running Solaris 8, which we use for testing. It has been very slow in response- prompt takes couple of minutes to come up, so I decided to reboot the server but I can reboot it, it is giving following errors when I try to shutdown it down.
root@deva:/#... (3 Replies)
Hi Experts,
I am facing problem while creating a concatenated volume. I would like to decribe the process I did:
1- I created state data base with slice1,slice2,slice3,slice4,slice5,slice6 with command:
#metadb -a -f slice1 slice2 ........ slice6
From metastas, everything seems to... (6 Replies)
Hello Everyone,
I have a process that should be always running. Unfortunately, this process is getting down almost every 10 minutes. I want to make a script that verify the state of this process: If the process is up, the script shouldn't do nothing and if it's down he should run it.
Can... (3 Replies)
I am having exactly the same problem with https://www.unix.com/programming/129264-application-cleanup-during-linux-shutdown.html but the thread is old and closed. The only difference is that I use sigaction() instead of signal(), which is recommended, as far as I know.
This is my code:
... (9 Replies)
Discussion started by: hakermania
9 Replies
LEARN ABOUT HPUX
xtsetkeytranslator
XtSetKeyTranslator() XtSetKeyTranslator()
Name
XtSetKeyTranslator - register a key translator.
Synopsis
void XtSetKeyTranslator(display, proc)
Display *display;
XtKeyProc proc;
Inputs
display Specifies the display from which to translate the events.
proc Specifies the procedure that is to perform key translations.
Description
XtSetKeyTranslator() registers the specified procedure as the current key translator. The default translator is XtTranslateKey(), an
XtKeyProc that uses the Shift, Lock, and group modifiers with the interpretations defined by the X11 protocol. XtTranslateKey() is pro-
vided so that new translators can call it to get default keycode-to-keysym translations and so that the default translator can be rein-
stalled.
See XtKeyProc(2) for an explanation of the responsibilities of a key translator procedure.
Usage
The key translator procedure is called by the Translation Manager to convert incoming keycodes and modifier bits to keysyms. The only rea-
son you would have to write and install your own key translator procedure is if you were working with non-standard keysyms.
The only way to remove a translator is to register a new one. For example, the default key translator (XtTranslateKey()) can be explicitly
reinstalled.
See AlsoXtConvertCase(1), XtGetKeysymTable(1), XtKeysymToKeycodeList(1), XtRegisterCaseConverter(1), XtTranslateKeycode(1), XtTranslateKey(1),
XtKeyProc(2).
Xt - Keyboard Handling XtSetKeyTranslator()