aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2013-07-31 21:38:04 +0100
committerColin Guthrie <colin@mageia.org>2013-07-31 21:38:04 +0100
commite27657c855f51d46623d1a4842c9f6ff3b6c2f00 (patch)
treeef57c4d49eb8482113045fc0a2c08a3c3e67a2de
parent544f1f5fb9dde4b8970e4c7ef32484e25a8a80a1 (diff)
downloadinitscripts-e27657c855f51d46623d1a4842c9f6ff3b6c2f00.tar
initscripts-e27657c855f51d46623d1a4842c9f6ff3b6c2f00.tar.gz
initscripts-e27657c855f51d46623d1a4842c9f6ff3b6c2f00.tar.bz2
initscripts-e27657c855f51d46623d1a4842c9f6ff3b6c2f00.tar.xz
initscripts-e27657c855f51d46623d1a4842c9f6ff3b6c2f00.zip
Remove broken backspace bindings on csh shells (mga#5007)
Originally by Colin Guthrie, but rewritten by me.
-rw-r--r--mandriva/inputrc.csh11
1 files changed, 0 insertions, 11 deletions
diff --git a/mandriva/inputrc.csh b/mandriva/inputrc.csh
index 5504f984..f520f800 100644
--- a/mandriva/inputrc.csh
+++ b/mandriva/inputrc.csh
@@ -23,14 +23,3 @@ bindkey "\eOD" backward-char
bindkey "\eOC" forward-char
bindkey "\eOB" down-history
bindkey "\eOA" up-history
-# the BackSpace key sends ^? or ^H, depending on config
-setenv BSNUM 14
-setenv BACKSPACE `dumpkeys |& grep "^keycode $BSNUM" | awk '{print $4}'`
-if ($BACKSPACE == "BackSpace") then
- bindkey "^?" delete-char
- bindkey "^H" backward-delete-char
-else
- bindkey "^?" backward-delete-char
- bindkey "^H" delete-char
-endif
-