- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ctrl-shift-break?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 04:27 AM
04-21-2004 04:27 AM
I have a simple question. How do I disable this built-in key sequence in HP-UX 10.20?
I read another thread where someone mentioned changing the X0pointerkeys file, but all the entries in this file are commented out. Does changing the reset key sequence in this file override the default Xserver reset?
Any help would be appreciated.
Thanks,
Keith.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 04:48 AM
04-21-2004 04:48 AM
Re: ctrl-shift-break?
Do a stty -a and note the value that "quit" is assigned. stty quit "^-" will set it to undefined so that no signal should be generated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 04:51 AM
04-21-2004 04:51 AM
Re: ctrl-shift-break?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 05:51 AM
04-21-2004 05:51 AM
Re: ctrl-shift-break?
I've found a hack to solving the problem.
I've modified the X0pointerkeys file to use as one of it's modifiers the Alt_R keysym. Then using xmodmap, I remove the Alt_R modifier. It's a real pain.
Anyone with any better ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 07:24 AM
04-21-2004 07:24 AM
Re: ctrl-shift-break?
a. A program can issue the call XHPDisableReset. The program can
be run at session startup and must remain running throughout the
life of the session. That is, if the program that issues the
XHPDisableReset terminates, the Xserver attached a shar file which
contains sample code.
b. /etc/X11/X0pointerkeys can be modified to change the key presses
that will terminate the Xserver. The lines of code that need to be
changed are:
-Use the Stop key to reset the X server.
-If left shift, left_extend, and control are held down while the Stop
key is pressed, the X server will be terminated.
This allows you to change which keys terminate the server.
reset stop
reset_mod1 left_shift
reset_mod2 left_extend
reset_mod3 control
If you merely want to change the keys that will terminate the Xserver,
you need only uncomment/modify any of the above lines to use whatever
keys you need.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 08:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2004 09:24 AM
04-21-2004 09:24 AM
Re: ctrl-shift-break?
I've been trying to use XHPlib.h (XHPDisableReset), but can't seem to figure out which library it belongs to. This would have been a suitable solution. Thanks.
Tried the reset nosymbol. Worked like a charm. I'm sure I tried that with a modifier and it didn't work, but the reset line alone with nosymbol (I think I used NoSymbol). That's good enough.
Thanks for your help.
KB.