/[packages]/cauldron/initscripts/current/SOURCES/0102-Remove-broken-backspace-bindings-on-csh-shells-mga-5.patch
ViewVC logotype

Contents of /cauldron/initscripts/current/SOURCES/0102-Remove-broken-backspace-bindings-on-csh-shells-mga-5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 461901 - (show annotations) (download)
Wed Jul 31 22:31:06 2013 UTC (10 years, 8 months ago) by colin
File size: 980 byte(s)
SILENT: Replace patch with proper git format-patch generated one
1 From e27657c855f51d46623d1a4842c9f6ff3b6c2f00 Mon Sep 17 00:00:00 2001
2 From: Dan Fandrich <danf@mageia.org>
3 Date: Wed, 31 Jul 2013 21:38:04 +0100
4 Subject: [PATCH 102/104] Remove broken backspace bindings on csh shells
5 (mga#5007)
6
7 Originally by Colin Guthrie, but rewritten by me.
8 ---
9 mandriva/inputrc.csh | 11 -----------
10 1 file changed, 11 deletions(-)
11
12 diff --git a/mandriva/inputrc.csh b/mandriva/inputrc.csh
13 index 5504f98..f520f80 100644
14 --- a/mandriva/inputrc.csh
15 +++ b/mandriva/inputrc.csh
16 @@ -23,14 +23,3 @@ bindkey "\eOD" backward-char
17 bindkey "\eOC" forward-char
18 bindkey "\eOB" down-history
19 bindkey "\eOA" up-history
20 -# the BackSpace key sends ^? or ^H, depending on config
21 -setenv BSNUM 14
22 -setenv BACKSPACE `dumpkeys |& grep "^keycode $BSNUM" | awk '{print $4}'`
23 -if ($BACKSPACE == "BackSpace") then
24 - bindkey "^?" delete-char
25 - bindkey "^H" backward-delete-char
26 -else
27 - bindkey "^?" backward-delete-char
28 - bindkey "^H" delete-char
29 -endif
30 -
31 --
32 1.8.3.4
33

  ViewVC Help
Powered by ViewVC 1.1.30