Re: shift+backspace in X

2011-11-02 Thread Stuart Henderson
On 2011-11-02, richo ri...@psych0tik.net wrote:
 On 02/11/11 02:09 -0200, Christiano F. Haesbaert wrote:
On Tue, Nov 01, 2011 at 05:12:47PM +, Stuart Henderson wrote:
 In X, shift + backspace used to work the same as backspace on its own
 (i.e. delete the previous character), but no longer does so in recent
 -current, most likely following the xkb update.

 Does anyone know how to restore the previous behaviour?

 I don't have any keyboard-related sections in xorg.conf (only
 a Files section with some old font paths).

This works for me:

Section ServerFlags
Option DontZap false
EndSection


 AFAIK that will reenable killing X with ctrl+alt backspace,

That one was fixed already.

 but shouldn't affect the behaviour of Shift+BS surely?

It shouldn't, though stranger things have happened so I checked
anyway (it doesn't affect it).



Re: shift+backspace in X

2011-11-02 Thread Alexandr Shadchin
On Tue, Nov 01, 2011 at 05:12:47PM +, Stuart Henderson wrote:
 In X, shift + backspace used to work the same as backspace on its own
 (i.e. delete the previous character), but no longer does so in recent
 -current, most likely following the xkb update.
 
 Does anyone know how to restore the previous behaviour?
 
 I don't have any keyboard-related sections in xorg.conf (only
 a Files section with some old font paths).
 

Yes, new xkeyboard-config broke this behaviour. This patch should help.
I think there is no objection if he gets into a tree.

OK ?

-- 
Alexandr Shadchin

Index: terminate
===
RCS file: /cvs/xenocara/dist/xkeyboard-config/symbols/terminate,v
retrieving revision 1.3
diff -u -p -r1.3 terminate
--- terminate   16 Oct 2011 17:18:57 -  1.3
+++ terminate   2 Nov 2011 14:05:02 -
@@ -2,6 +2,6 @@ partial default modifier_keys
 xkb_symbols ctrl_alt_bksp {
 key BKSP {
 type=CTRL+ALT,
-symbols[Group1] = [ NoSymbol, VoidSymbol, VoidSymbol, VoidSymbol, 
Terminate_Server ]
+symbols[Group1] = [ BackSpace, BackSpace, BackSpace, BackSpace, 
Terminate_Server ]
 };
 };



Re: shift+backspace in X

2011-11-02 Thread Stuart Henderson
Great, thanks very much!
OK sthen@


On 2011/11/02 20:12, Alexandr Shadchin wrote:
 On Tue, Nov 01, 2011 at 05:12:47PM +, Stuart Henderson wrote:
  In X, shift + backspace used to work the same as backspace on its own
  (i.e. delete the previous character), but no longer does so in recent
  -current, most likely following the xkb update.
  
  Does anyone know how to restore the previous behaviour?
  
  I don't have any keyboard-related sections in xorg.conf (only
  a Files section with some old font paths).
  
 
 Yes, new xkeyboard-config broke this behaviour. This patch should help.
 I think there is no objection if he gets into a tree.
 
 OK ?
 
 -- 
 Alexandr Shadchin
 
 Index: terminate
 ===
 RCS file: /cvs/xenocara/dist/xkeyboard-config/symbols/terminate,v
 retrieving revision 1.3
 diff -u -p -r1.3 terminate
 --- terminate 16 Oct 2011 17:18:57 -  1.3
 +++ terminate 2 Nov 2011 14:05:02 -
 @@ -2,6 +2,6 @@ partial default modifier_keys
  xkb_symbols ctrl_alt_bksp {
  key BKSP {
  type=CTRL+ALT,
 -symbols[Group1] = [ NoSymbol, VoidSymbol, VoidSymbol, VoidSymbol, 
 Terminate_Server ]
 +symbols[Group1] = [ BackSpace, BackSpace, BackSpace, BackSpace, 
 Terminate_Server ]
  };
  };



shift+backspace in X

2011-11-01 Thread Stuart Henderson
In X, shift + backspace used to work the same as backspace on its own
(i.e. delete the previous character), but no longer does so in recent
-current, most likely following the xkb update.

Does anyone know how to restore the previous behaviour?

I don't have any keyboard-related sections in xorg.conf (only
a Files section with some old font paths).



Re: shift+backspace in X

2011-11-01 Thread Christiano F. Haesbaert
On Tue, Nov 01, 2011 at 05:12:47PM +, Stuart Henderson wrote:
 In X, shift + backspace used to work the same as backspace on its own
 (i.e. delete the previous character), but no longer does so in recent
 -current, most likely following the xkb update.
 
 Does anyone know how to restore the previous behaviour?
 
 I don't have any keyboard-related sections in xorg.conf (only
 a Files section with some old font paths).

This works for me:

Section ServerFlags
Option DontZap false
EndSection



Re: shift+backspace in X

2011-11-01 Thread richo
On 02/11/11 02:09 -0200, Christiano F. Haesbaert wrote:
On Tue, Nov 01, 2011 at 05:12:47PM +, Stuart Henderson wrote:
 In X, shift + backspace used to work the same as backspace on its own
 (i.e. delete the previous character), but no longer does so in recent
 -current, most likely following the xkb update.

 Does anyone know how to restore the previous behaviour?

 I don't have any keyboard-related sections in xorg.conf (only
 a Files section with some old font paths).

This works for me:

Section ServerFlags
Option DontZap false
EndSection


AFAIK that will reenable killing X with ctrl+alt backspace, but shouldn't
affect the behaviour of Shift+BS surely?

--
richo || Today's excuse:

asynchronous inode failure

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]