Re: [XFree86] control-alt-backspace is not available to applications

2003-07-21 Thread Martin Blais
   This is not an XFree86 bug.  Ctl-Alt-BackSpace has killed the server as
   far back as I can remember.  Certainly before 2.0, and likely before
   emacs.
  
   Fix emacs.
 
  Are you sure?
 
  http://www.multicians.org/mepap.html#seciii
 
  http://www.linux-mag.com/2001-12/xfree86_01.html
 If you are trying to point out that emacs is older than XFree you are
 obviously right.
 
 Marc's comment, however, was the Ctl-Alt-BackSpace was used in XFree
 before it was used in Emacs. Whether or not this is true I do not know.
 
 What surprises me is that if the server isn't using Ctl-Alt-BackSpace (via
 DontZap) then is there some reason it should not pass that on to the
 application? (emacs in this case).
 
 -Don

yes, is there?

i just updated to xfree 4.3 as part of a rh9 install and was faced
with this problem.  this function in emacs is very useful!

i'm guessing the introduction of the Terminate_Server event is the
culprit...  perhaps what would be more convenient would be is if
XF86Config could specify the Zap sequence to use.  It would be 
great if XF86Config would support that.

i desired it for years! ...  been using DontZap because every
now and then I would be editing a file in emacs and accidentally
*ZAP*!  lose my work.  I would like to keep a Zap sequence around,
just on a different set of keys, something you're really not likely
to hit by mistake, like on the SGI boxes (IIRC it was something
like Shift/Alt/F1/Keypad+ or something wacky like that).





 Marc Aurele La France wrote:
 
 Furthermore, XFree86 isn't the only X server C-A-BS kills.  IBM's
 on AIX dies too.

regardless, it's still a pretty bad choice for a default Zap
sequence.

cheers,

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] control-alt-backspace is not available to applications

2003-01-23 Thread Marc Aurele La France
On 23 Jan 2003, Sam Steingold wrote:

 control-alt-backspace (C-M-BS) is an important key combination in Emacs,
 usually bound to backwards-kill-sexp.

 in XFree86-4.2.99.3 (as comes with Red Hat beta phoebe),
 it is not available to Emacs, see bug
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81947

 usually, C-M-BS kills the X server, so you need to enable the
 DontZap option in /etc/X11/XF86Config.

 xev(1) reports C-M-BS as

 KeyPress event, serial 25, synthetic NO, window 0x2c1,
 root 0x3f, subw 0x0, time 65848720, (154,149), root:(162,184),
 state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
 XLookupString gives 0 bytes:  

 KeyPress event, serial 25, synthetic NO, window 0x2c1,
 root 0x3f, subw 0x0, time 65848733, (154,149), root:(162,184),
 state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
 XLookupString gives 0 bytes:  

 KeyRelease event, serial 25, synthetic NO, window 0x2c1,
 root 0x3f, subw 0x0, time 65849308, (154,149), root:(162,184),
 state 0xc, keycode 22 (keysym 0xfed5, Terminate_Server), same_screen YES,
 XLookupString gives 0 bytes:  

 some files in /etc/X11/xkb/symbols/ mention Terminate_Server.

 fortunately, a simple

 $ xmodmap -e 'keycode 22 = BackSpace'

 fixes the problem, but this is an extremely inconvenient default.

This is not an XFree86 bug.  Ctl-Alt-BackSpace has killed the server as
far back as I can remember.  Certainly before 2.0, and likely before
emacs.

Fix emacs.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 Core Team member.  ATI driver and X server internals.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] control-alt-backspace is not available to applications

2003-01-23 Thread Bob Marcan
Marc Aurele La France wrote:

On 23 Jan 2003, Sam Steingold wrote:



control-alt-backspace (C-M-BS) is an important key combination in Emacs,
usually bound to backwards-kill-sexp.




in XFree86-4.2.99.3 (as comes with Red Hat beta phoebe),
it is not available to Emacs, see bug
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81947




usually, C-M-BS kills the X server, so you need to enable the
DontZap option in /etc/X11/XF86Config.




xev(1) reports C-M-BS as




KeyPress event, serial 25, synthetic NO, window 0x2c1,
   root 0x3f, subw 0x0, time 65848720, (154,149), root:(162,184),
   state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
   XLookupString gives 0 bytes:  




KeyPress event, serial 25, synthetic NO, window 0x2c1,
   root 0x3f, subw 0x0, time 65848733, (154,149), root:(162,184),
   state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
   XLookupString gives 0 bytes:  




KeyRelease event, serial 25, synthetic NO, window 0x2c1,
   root 0x3f, subw 0x0, time 65849308, (154,149), root:(162,184),
   state 0xc, keycode 22 (keysym 0xfed5, Terminate_Server), same_screen YES,
   XLookupString gives 0 bytes:  




some files in /etc/X11/xkb/symbols/ mention Terminate_Server.




fortunately, a simple




   $ xmodmap -e 'keycode 22 = BackSpace'




fixes the problem, but this is an extremely inconvenient default.



This is not an XFree86 bug.  Ctl-Alt-BackSpace has killed the server as
far back as I can remember.  Certainly before 2.0, and likely before
emacs.

Fix emacs.


Are you sure?

http://www.multicians.org/mepap.html#seciii

http://www.linux-mag.com/2001-12/xfree86_01.html




Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 Core Team member.  ATI driver and X server internals.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



--
 Bob Marcan   mailto:[EMAIL PROTECTED]
 Aster^H^H...HermesPlus^H^H^H...STtel:+386 (1) 5894-329
 Nade Ovcakove 1   fax:+386 (1) 5894-201
 1000 Ljubljana, Sloveniahttp://www.aster.si

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] control-alt-backspace is not available to applications

2003-01-23 Thread Don
  This is not an XFree86 bug.  Ctl-Alt-BackSpace has killed the server as
  far back as I can remember.  Certainly before 2.0, and likely before
  emacs.
 
  Fix emacs.

 Are you sure?

 http://www.multicians.org/mepap.html#seciii

 http://www.linux-mag.com/2001-12/xfree86_01.html
If you are trying to point out that emacs is older than XFree you are
obviously right.

Marc's comment, however, was the Ctl-Alt-BackSpace was used in XFree
before it was used in Emacs. Whether or not this is true I do not know.

What surprises me is that if the server isn't using Ctl-Alt-BackSpace (via
DontZap) then is there some reason it should not pass that on to the
application? (emacs in this case).

-Don
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Re: [XFree86] control-alt-backspace is not available to applications

2003-01-23 Thread Marc Aurele La France
On Thu, 23 Jan 2003, Don wrote:

   This is not an XFree86 bug.  Ctl-Alt-BackSpace has killed the server as
   far back as I can remember.  Certainly before 2.0, and likely before
   emacs.

   Fix emacs.

  Are you sure?

  http://www.multicians.org/mepap.html#seciii

  http://www.linux-mag.com/2001-12/xfree86_01.html

 If you are trying to point out that emacs is older than XFree you are
 obviously right.

 Marc's comment, however, was the Ctl-Alt-BackSpace was used in XFree
 before it was used in Emacs. Whether or not this is true I do not know.

Well, you can read whatever you want into what I said, but I was actually
referring to GNU Emacs.

Furthermore, XFree86 isn't the only X server C-A-BS kills.  IBM's on AIX
dies too.

 What surprises me is that if the server isn't using Ctl-Alt-BackSpace (via
 DontZap) then is there some reason it should not pass that on to the
 application? (emacs in this case).

Likely because nobody's submitted a patch to do so.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 Core Team member.  ATI driver and X server internals.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86