[comp.sys.hp] Disabling <cnrtl><shift><reset>

keith@point.cis.ohio-state.edu (Keith M Boyer) (03/07/91)

We have been running the X11R4 server code from MIT and are mostly happy.
One small problem is that there does not appear to be an easy way to
disable <cnrtl><shift><reset>. This makes xlock rather useless. Has anyone
got a way to disable this feature. Thanks.

++keith

-=-
-  Keith M. Boyer                Department of Computer and Information Science
-- THE Ohio State University          2036 Neil Ave. Columbus OH USA 43210-1277
-  keith@cis.ohio-state.edu       or       ...!osu-cis!cis.ohio-state.edu!keith
  NO CENSORSHIP, NO SOFTWARE PATENTS --- SUPPORT THE FREE FLOW OF INFORMATION

stroyan@hpfcso.FC.HP.COM (Mike Stroyan) (03/08/91)

> We have been running the X11R4 server code from MIT and are mostly happy.
> One small problem is that there does not appear to be an easy way to
> disable <cnrtl><shift><reset>. This makes xlock rather useless. Has anyone
> got a way to disable this feature. Thanks.

There is an HP extension to control this which is documented in
"Programming With Xlib", Appendix E, section E.4, "Locking an X Display".
Disable the sequence with XHPDisableReset(display).  Enable it with
XHPEnableReset(display).

Mike Stroyan, mike_stroyan@fc.hp.com

dundas@hpindwa.cup.hp.com (Alan Dundas) (03/09/91)

/ hpindwa:comp.sys.hp / stroyan@hpfcso.FC.HP.COM (Mike Stroyan) /  6:16 pm  Mar  7, 1991 /
> We have been running the X11R4 server code from MIT and are mostly happy.
> One small problem is that there does not appear to be an easy way to
> disable <cnrtl><shift><reset>. This makes xlock rather useless. Has anyone
> got a way to disable this feature. Thanks.

There is an HP extension to control this which is documented in
"Programming With Xlib", Appendix E, section E.4, "Locking an X Display".
Disable the sequence with XHPDisableReset(display).  Enable it with
XHPEnableReset(display).

Mike Stroyan, mike_stroyan@fc.hp.com
----------

keith@point.cis.ohio-state.edu (Keith M Boyer) (03/09/91)

In article <7370335@hpfcso.FC.HP.COM> stroyan@hpfcso.FC.HP.COM (Mike Stroyan) writes:
|> We have been running the X11R4 server code from MIT and are mostly happy.
|> One small problem is that there does not appear to be an easy way to
|> disable <cnrtl><shift><reset>. This makes xlock rather useless. Has anyone
|> got a way to disable this feature. Thanks.
|
|There is an HP extension to control this which is documented in
|"Programming With Xlib", Appendix E, section E.4, "Locking an X Display".
|Disable the sequence with XHPDisableReset(display).  Enable it with
|XHPEnableReset(display).

When we were using HP supplied X11R3 these were available and we did, in
fact, use them.

Perhaps I was not as clear as I should have been. The MIT X11R4 Server does
not have the XHP* extensions in it. Using the X11R4 Xlib does not provide any
obvious way of keeping this key sequence from terminating the X server.

Is there another way to deactivate this?

++keith

-=-
-  Keith M. Boyer                Department of Computer and Information Science
-- THE Ohio State University          2036 Neil Ave. Columbus OH USA 43210-1277
-  keith@cis.ohio-state.edu       or       ...!osu-cis!cis.ohio-state.edu!keith
  NO CENSORSHIP, NO SOFTWARE PATENTS --- SUPPORT THE FREE FLOW OF INFORMATION

harry@hpcvlx.cv.hp.com (Harry Phinney) (03/12/91)

Keith M Boyer writes:
> Perhaps I was not as clear as I should have been. The MIT X11R4 Server does
> not have the XHP* extensions in it. Using the X11R4 Xlib does not provide any
> obvious way of keeping this key sequence from terminating the X server.

This is quite true.  I know of no way to disable the key sequence in the
server distributed on the MIT tape.  My suggestion is to retrieve
either:

hpcvaaz.cv.hp.com:~ftp/pub/XServers/X.7.03.300.Z

or

hpcvaaz.cv.hp.com:~ftp/pub/unsupported/XServers/X.R4.800.Z

Both of these support the XHP extensions.

Harry Phinney   harry@hp-pcd.cv.hp.com