[wiki] [sites] st delkey - Add 0.6-diff and update git-diff || FRIGN
commit a8f0f7c3c0be484b0ddf40d0e1c82618749e8706
Author: FRIGN <dev_AT_frign.de>
Date: Thu Sep 17 16:22:46 2015 +0200
st delkey - Add 0.6-diff and update git-diff
diff --git a/st.suckless.org/patches/delkey.md b/st.suckless.org/patches/delkey.md
index c3feeb1..4347aca 100644
--- a/st.suckless.org/patches/delkey.md
+++ b/st.suckless.org/patches/delkey.md
_AT_@ -4,14 +4,16 @@ delkey
Description
-----------
-Return BS in Backspace and DEL in Delete key.
+Return BS on pressing backspace and DEL on pressing the delete key.
Download
--------
-* [st-git-delkey.diff](st-git-delkey.diff)
+ * [st-0.6-delkey.diff](st-0.6-delkey.diff)
+ * [st-git-20150917-delkey.diff](st-git-20150917-delkey.diff)
-Author
-------
+Authors
+-------
* Roberto E. Vargas Caballero - k0ga_AT_shike2.com
+ * Laslo Hunhold - dev_AT_frign.de (st-0.6, st-git-20150917 ports)
diff --git a/st.suckless.org/patches/st-0.6-delkey.diff b/st.suckless.org/patches/st-0.6-delkey.diff
new file mode 100644
index 0000000..6ace393
--- /dev/null
+++ b/st.suckless.org/patches/st-0.6-delkey.diff
_AT_@ -0,0 +1,45 @@
+diff --git a/config.def.h b/config.def.h
+index 64e75b8..0811af4 100644
+--- a/config.def.h
++++ b/config.def.h
+_AT_@ -211,7 +211,7 @@ static Key key[] = {
+ { XK_KP_Delete, ShiftMask, "[2K", -1, 0, 0},
+ { XK_KP_Delete, ShiftMask, "[3;2~", +1, 0, 0},
+ { XK_KP_Delete, XK_ANY_MOD, "[P", -1, 0, 0},
+- { XK_KP_Delete, XK_ANY_MOD, "[3~", +1, 0, 0},
++ { XK_KP_Delete, XK_ANY_MOD, "", +1, 0, 0},
+ { XK_KP_Multiply, XK_ANY_MOD, "Oj", +2, 0, 0},
+ { XK_KP_Add, XK_ANY_MOD, "Ok", +2, 0, 0},
+ { XK_KP_Enter, XK_ANY_MOD, "OM", +2, 0, 0},
+_AT_@ -266,8 +266,7 @@ static Key key[] = {
+ { XK_Delete, ShiftMask, "[2K", -1, 0, 0},
+ { XK_Delete, ShiftMask, "[3;2~", +1, 0, 0},
+ { XK_Delete, XK_ANY_MOD, "[P", -1, 0, 0},
+- { XK_Delete, XK_ANY_MOD, "[3~", +1, 0, 0},
+- { XK_BackSpace, XK_NO_MOD, "", 0, 0, 0},
++ { XK_Delete, XK_ANY_MOD, "", +1, 0, 0},
+ { XK_Home, ShiftMask, "[2J", 0, -1, 0},
+ { XK_Home, ShiftMask, "[1;2H", 0, +1, 0},
+ { XK_Home, XK_ANY_MOD, "[H", 0, -1, 0},
+diff --git a/st.info b/st.info
+index 2acd8b2..21b4734 100644
+--- a/st.info
++++ b/st.info
+_AT_@ -53,7 +53,7 @@ st| simpleterm,
+ ka3=\E[5~,
+ kc1=\E[4~,
+ kc3=\E[6~,
+- kbs=,
++ kbs=,
+ kcbt=\E[Z,
+ kb2=\EOu,
+ kcub1=\EOD,
+_AT_@ -73,7 +73,7 @@ st| simpleterm,
+ kri=\E[1;2A,
+ kclr=\E[3;5~,
+ kdl1=\E[3;2~,
+- kdch1=\E[3~,
++ kdch1=~,
+ kich1=\E[2~,
+ kend=\E[4~,
+ kf1=\EOP,
diff --git a/st.suckless.org/patches/st-git-20150917-delkey.diff b/st.suckless.org/patches/st-git-20150917-delkey.diff
new file mode 100644
index 0000000..d496d16
--- /dev/null
+++ b/st.suckless.org/patches/st-git-20150917-delkey.diff
_AT_@ -0,0 +1,45 @@
+diff --git a/config.def.h b/config.def.h
+index b6adc5e..ceaafa0 100644
+--- a/config.def.h
++++ b/config.def.h
+_AT_@ -238,7 +238,7 @@ static Key key[] = {
+ { XK_KP_Delete, ShiftMask, "[2K", -1, 0, 0},
+ { XK_KP_Delete, ShiftMask, "[3;2~", +1, 0, 0},
+ { XK_KP_Delete, XK_ANY_MOD, "[P", -1, 0, 0},
+- { XK_KP_Delete, XK_ANY_MOD, "[3~", +1, 0, 0},
++ { XK_KP_Delete, XK_ANY_MOD, "", +1, 0, 0},
+ { XK_KP_Multiply, XK_ANY_MOD, "Oj", +2, 0, 0},
+ { XK_KP_Add, XK_ANY_MOD, "Ok", +2, 0, 0},
+ { XK_KP_Enter, XK_ANY_MOD, "OM", +2, 0, 0},
+_AT_@ -293,8 +293,7 @@ static Key key[] = {
+ { XK_Delete, ShiftMask, "[2K", -1, 0, 0},
+ { XK_Delete, ShiftMask, "[3;2~", +1, 0, 0},
+ { XK_Delete, XK_ANY_MOD, "[P", -1, 0, 0},
+- { XK_Delete, XK_ANY_MOD, "[3~", +1, 0, 0},
+- { XK_BackSpace, XK_NO_MOD, "", 0, 0, 0},
++ { XK_Delete, XK_ANY_MOD, "", +1, 0, 0},
+ { XK_Home, ShiftMask, "[2J", 0, -1, 0},
+ { XK_Home, ShiftMask, "[1;2H", 0, +1, 0},
+ { XK_Home, XK_ANY_MOD, "[H", 0, -1, 0},
+diff --git a/st.info b/st.info
+index b70fefa..d979946 100644
+--- a/st.info
++++ b/st.info
+_AT_@ -53,7 +53,7 @@ st| simpleterm,
+ ka3=\E[5~,
+ kc1=\E[4~,
+ kc3=\E[6~,
+- kbs=,
++ kbs=,
+ kcbt=\E[Z,
+ kb2=\EOu,
+ kcub1=\EOD,
+_AT_@ -73,7 +73,7 @@ st| simpleterm,
+ kri=\E[1;2A,
+ kclr=\E[3;5~,
+ kdl1=\E[3;2~,
+- kdch1=\E[3~,
++ kdch1=~,
+ kich1=\E[2~,
+ kend=\E[4~,
+ kf1=\EOP,
diff --git a/st.suckless.org/patches/st-git-delkey.diff b/st.suckless.org/patches/st-git-delkey.diff
deleted file mode 100644
index 06768bb..0000000
--- a/st.suckless.org/patches/st-git-delkey.diff
+++ /dev/null
_AT_@ -1,45 +0,0 @@
-diff --git a/config.def.h b/config.def.h
-index 930e468..b427840 100644
---- a/config.def.h
-+++ b/config.def.h
-_AT_@ -228,7 +228,7 @@ static Key key[] = {
- { XK_KP_Delete, ShiftMask, "[2K", -1, 0, 0},
- { XK_KP_Delete, ShiftMask, "[3;2~", +1, 0, 0},
- { XK_KP_Delete, XK_ANY_MOD, "[P", -1, 0, 0},
-- { XK_KP_Delete, XK_ANY_MOD, "[3~", +1, 0, 0},
-+ { XK_KP_Delete, XK_ANY_MOD, "", +1, 0, 0},
- { XK_KP_Multiply, XK_ANY_MOD, "Oj", +2, 0, 0},
- { XK_KP_Add, XK_ANY_MOD, "Ok", +2, 0, 0},
- { XK_KP_Enter, XK_ANY_MOD, "OM", +2, 0, 0},
-_AT_@ -283,8 +283,7 @@ static Key key[] = {
- { XK_Delete, ShiftMask, "[2K", -1, 0, 0},
- { XK_Delete, ShiftMask, "[3;2~", +1, 0, 0},
- { XK_Delete, XK_ANY_MOD, "[P", -1, 0, 0},
-- { XK_Delete, XK_ANY_MOD, "[3~", +1, 0, 0},
-- { XK_BackSpace, XK_NO_MOD, "", 0, 0, 0},
-+ { XK_Delete, XK_ANY_MOD, "", +1, 0, 0},
- { XK_Home, ShiftMask, "[2J", 0, -1, 0},
- { XK_Home, ShiftMask, "[1;2H", 0, +1, 0},
- { XK_Home, XK_ANY_MOD, "[H", 0, -1, 0},
-diff --git a/st.info b/st.info
-index 2acd8b2..21b4734 100644
---- a/st.info
-+++ b/st.info
-_AT_@ -53,7 +53,7 @@ st| simpleterm,
- ka3=\E[5~,
- kc1=\E[4~,
- kc3=\E[6~,
-- kbs=,
-+ kbs=,
- kcbt=\E[Z,
- kb2=\EOu,
- kcub1=\EOD,
-_AT_@ -73,7 +73,7 @@ st| simpleterm,
- kri=\E[1;2A,
- kclr=\E[3;5~,
- kdl1=\E[3;2~,
-- kdch1=\E[3~,
-+ kdch1=~,
- kich1=\E[2~,
- kend=\E[4~,
- kf1=\EOP,
Received on Thu Sep 17 2015 - 16:24:05 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 17 2015 - 16:36:11 CEST