wok-next diff kbd/stuff/patches/kbd-2.0.4-backspace-1.patch @ rev 19783
Up receipts to v2 syntax: cook_copy_files & cook_copy_folders -> copy
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 18 04:38:10 2017 +0300 (2017-06-18) |
parents | f7d9f142f79d |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kbd/stuff/patches/kbd-2.0.4-backspace-1.patch Sun Jun 18 04:38:10 2017 +0300 1.3 @@ -0,0 +1,250 @@ 1.4 +Submitted By: Matt Burgess 1.5 +Date: 2008-12-06 1.6 +Initial Package Version: 1.15 1.7 +Upstream Status: Not submitted, possibly incomplete 1.8 +Description: Makes Backspace and Delete keys consistent in all i386 keymaps. 1.9 +Makes the Backspace key send character code 127, and Delete send a well known 1.10 +escape sequence. Obsoletes the /etc/kbd/bs-sends-del file for i386. 1.11 + 1.12 +Original patch for 1.12 by Alexander Patrakov. 1.13 +Updated for 1.13 (drop ru.map, the change is upstream, and add ru_win.map, 1.14 +ru-cp1251.map) by Ken Moffat <ken at linuxfromscratch dot org>. 1.15 +Re-diffed against 1.15 by Matt Burgess <matthew at linuxfromscratch.org>. 1.16 + 1.17 +diff -Naur kbd-1.15.orig/data/keymaps/i386/dvorak/dvorak-l.map kbd-1.15/data/keymaps/i386/dvorak/dvorak-l.map 1.18 +--- kbd-1.15.orig/data/keymaps/i386/dvorak/dvorak-l.map 2008-06-20 12:36:01.000000000 +0100 1.19 ++++ kbd-1.15/data/keymaps/i386/dvorak/dvorak-l.map 2008-12-03 22:27:55.000000000 +0000 1.20 +@@ -43,7 +43,7 @@ 1.21 + keycode 11 = three numbersign 1.22 + keycode 12 = two at 1.23 + keycode 13 = one exclam 1.24 +- keycode 14 = BackSpace Delete 1.25 ++ keycode 14 = Delete Delete 1.26 + ! -------------------------------------------------------------------------- 1.27 + ! Row 3 1.28 + ! -------------------------------------------------------------------------- 1.29 +diff -Naur kbd-1.15.orig/data/keymaps/i386/dvorak/dvorak-r.map kbd-1.15/data/keymaps/i386/dvorak/dvorak-r.map 1.30 +--- kbd-1.15.orig/data/keymaps/i386/dvorak/dvorak-r.map 2008-06-20 12:36:01.000000000 +0100 1.31 ++++ kbd-1.15/data/keymaps/i386/dvorak/dvorak-r.map 2008-12-03 22:28:13.000000000 +0000 1.32 +@@ -43,7 +43,7 @@ 1.33 + keycode 11 = slash question 1.34 + keycode 12 = bracketleft braceleft 1.35 + keycode 13 = bracketright braceright 1.36 +- keycode 14 = BackSpace Delete 1.37 ++ keycode 14 = Delete Delete 1.38 + ! -------------------------------------------------------------------------- 1.39 + ! Row 3 1.40 + ! -------------------------------------------------------------------------- 1.41 +diff -Naur kbd-1.15.orig/data/keymaps/i386/fgGIod/tr_f-latin5.map kbd-1.15/data/keymaps/i386/fgGIod/tr_f-latin5.map 1.42 +--- kbd-1.15.orig/data/keymaps/i386/fgGIod/tr_f-latin5.map 2008-10-23 20:03:58.000000000 +0100 1.43 ++++ kbd-1.15/data/keymaps/i386/fgGIod/tr_f-latin5.map 2008-12-03 22:40:32.000000000 +0000 1.44 +@@ -51,7 +51,7 @@ 1.45 + alt keycode 12 = Meta_minus 1.46 + keycode 13 = minus underscore 1.47 + alt keycode 13 = Meta_equal 1.48 +-keycode 14 = BackSpace Delete 1.49 ++keycode 14 = Delete Delete 1.50 + alt keycode 14 = Meta_Delete 1.51 + keycode 15 = Tab Meta_Tab 1.52 + alt keycode 15 = Meta_Tab 1.53 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/lt.l4.map kbd-1.15/data/keymaps/i386/qwerty/lt.l4.map 1.54 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/lt.l4.map 2008-10-23 20:03:59.000000000 +0100 1.55 ++++ kbd-1.15/data/keymaps/i386/qwerty/lt.l4.map 2008-12-03 22:42:14.000000000 +0000 1.56 +@@ -205,7 +205,7 @@ 1.57 + # edit this if you want the key above <Enter> to delete symbols above 1.58 + # cursor, not before. 1.59 + keycode 14 = \ 1.60 +- BackSpace BackSpace BackSpace BackSpace \ 1.61 ++ Delete Delete Delete Delete \ 1.62 + Delete Delete Delete Delete \ 1.63 + Meta_BackSpace Meta_BackSpace Meta_BackSpace Meta_BackSpace \ 1.64 + Meta_Delete Meta_Delete Meta_Delete Meta_Delete 1.65 +@@ -506,7 +506,7 @@ 1.66 + 1.67 + # Edit this if you want strict VT100 emulation. 1.68 + string F111 = "\033[3$" 1.69 +-keycode 111 = Delete F111 Delete F111 \ 1.70 ++keycode 111 = Remove F111 Remove F111 \ 1.71 + Remove Remove Remove Remove \ 1.72 + Meta_Delete Meta_Delete Meta_Delete Meta_Delete \ 1.73 + Boot Boot Boot Boot 1.74 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/lt.map kbd-1.15/data/keymaps/i386/qwerty/lt.map 1.75 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/lt.map 2008-10-23 20:03:59.000000000 +0100 1.76 ++++ kbd-1.15/data/keymaps/i386/qwerty/lt.map 2008-12-03 22:42:58.000000000 +0000 1.77 +@@ -204,7 +204,7 @@ 1.78 + # edit this if you want the key above <Enter> to delete symbols above 1.79 + # cursor, not before. 1.80 + keycode 14 = \ 1.81 +- BackSpace BackSpace BackSpace BackSpace \ 1.82 ++ Delete Delete Delete Delete \ 1.83 + Delete Delete Delete Delete \ 1.84 + Meta_BackSpace Meta_BackSpace Meta_BackSpace Meta_BackSpace \ 1.85 + Meta_Delete Meta_Delete Meta_Delete Meta_Delete 1.86 +@@ -505,7 +505,7 @@ 1.87 + 1.88 + # Edit this if you want strict VT100 emulation. 1.89 + string F111 = "\033[3$" 1.90 +-keycode 111 = Delete F111 Delete F111 \ 1.91 ++keycode 111 = Remove F111 Remove F111 \ 1.92 + Remove Remove Remove Remove \ 1.93 + Meta_Delete Meta_Delete Meta_Delete Meta_Delete \ 1.94 + Boot Boot Boot Boot 1.95 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/no-latin1.map kbd-1.15/data/keymaps/i386/qwerty/no-latin1.map 1.96 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/no-latin1.map 2008-06-20 12:36:00.000000000 +0100 1.97 ++++ kbd-1.15/data/keymaps/i386/qwerty/no-latin1.map 2008-12-03 22:44:25.000000000 +0000 1.98 +@@ -3,7 +3,7 @@ 1.99 + # Send comments to Kjetil T. Homme <kjetilho@ifi.uio.no> 1.100 + include "linux-with-alt-and-altgr" 1.101 + plain keycode 83 = KP_Comma 1.102 +- plain keycode 111 = Delete # "Remove" originally, weird... 1.103 ++ plain keycode 111 = Remove 1.104 + strings as usual 1.105 + 1.106 + keycode 1 = Escape 1.107 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru1.map kbd-1.15/data/keymaps/i386/qwerty/ru1.map 1.108 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru1.map 2008-10-23 20:03:59.000000000 +0100 1.109 ++++ kbd-1.15/data/keymaps/i386/qwerty/ru1.map 2008-12-03 22:45:32.000000000 +0000 1.110 +@@ -143,8 +143,8 @@ 1.111 + 1.112 + # The keycode "0xFF" is too dangerous for many programs (including emacs). 1.113 + # So let it be bracket instead of Hard Sign. 1.114 +-# altgr keycode 27 = +0xDF 1.115 +-# altgr shift keycode 27 = +0xFF 1.116 ++altgr keycode 27 = +0xDF 1.117 ++altgr shift keycode 27 = +0xFF 1.118 + control keycode 27 = Control_bracketright 1.119 + altgr control keycode 27 = Control_bracketright 1.120 + alt keycode 27 = Meta_bracketright 1.121 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru2.map kbd-1.15/data/keymaps/i386/qwerty/ru2.map 1.122 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru2.map 2008-10-23 20:03:59.000000000 +0100 1.123 ++++ kbd-1.15/data/keymaps/i386/qwerty/ru2.map 2008-12-03 22:46:15.000000000 +0000 1.124 +@@ -46,7 +46,7 @@ 1.125 + alt keycode 12 = Meta_minus 1.126 + keycode 13 = equal plus equal plus 1.127 + alt keycode 13 = Meta_equal 1.128 +- keycode 14 = BackSpace BackSpace BackSpace BackSpace 1.129 ++ keycode 14 = Delete Delete Delete Delete 1.130 + alt keycode 14 = Meta_Delete 1.131 + keycode 15 = Tab Tab Tab Tab 1.132 + alt keycode 15 = Meta_Tab 1.133 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru-cp1251.map kbd-1.15/data/keymaps/i386/qwerty/ru-cp1251.map 1.134 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru-cp1251.map 2008-10-23 20:03:59.000000000 +0100 1.135 ++++ kbd-1.15/data/keymaps/i386/qwerty/ru-cp1251.map 2008-12-03 22:47:12.000000000 +0000 1.136 +@@ -39,7 +39,7 @@ 1.137 + alt keycode 12 = Meta_minus 1.138 + keycode 13 = equal plus equal plus 1.139 + alt keycode 13 = Meta_equal 1.140 +- keycode 14 = BackSpace 1.141 ++ keycode 14 = Delete 1.142 + alt keycode 14 = Meta_Delete 1.143 + keycode 15 = Tab 1.144 + alt keycode 15 = Meta_Tab 1.145 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru-ms.map kbd-1.15/data/keymaps/i386/qwerty/ru-ms.map 1.146 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru-ms.map 2008-10-23 20:03:59.000000000 +0100 1.147 ++++ kbd-1.15/data/keymaps/i386/qwerty/ru-ms.map 2008-12-03 22:48:10.000000000 +0000 1.148 +@@ -89,8 +89,8 @@ 1.149 + altgr alt keycode 13 = Meta_equal 1.150 + shift alt keycode 13 = Meta_plus 1.151 + altgr shift alt keycode 13 = Meta_plus 1.152 +- keycode 14 = BackSpace BackSpace BackSpace BackSpace 1.153 +-# keycode 14 = Delete Delete Delete Delete 1.154 ++# keycode 14 = BackSpace BackSpace BackSpace BackSpace 1.155 ++ keycode 14 = Delete Delete Delete Delete 1.156 + alt keycode 14 = Meta_Delete 1.157 + altgr alt keycode 14 = Meta_Delete 1.158 + keycode 15 = Tab Tab Tab Tab 1.159 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru_win.map kbd-1.15/data/keymaps/i386/qwerty/ru_win.map 1.160 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru_win.map 2008-10-23 20:03:59.000000000 +0100 1.161 ++++ kbd-1.15/data/keymaps/i386/qwerty/ru_win.map 2008-12-03 22:49:17.000000000 +0000 1.162 +@@ -42,7 +42,7 @@ 1.163 + alt keycode 12 = Meta_minus 1.164 + keycode 13 = equal plus equal plus 1.165 + alt keycode 13 = Meta_equal 1.166 +- keycode 14 = BackSpace BackSpace BackSpace BackSpace 1.167 ++ keycode 14 = Delete Delete Delete Delete 1.168 + alt keycode 14 = Meta_Delete 1.169 + keycode 15 = Tab Tab Tab Tab 1.170 + alt keycode 15 = Meta_Tab 1.171 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/se-ir209.map kbd-1.15/data/keymaps/i386/qwerty/se-ir209.map 1.172 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/se-ir209.map 2008-10-23 20:03:59.000000000 +0100 1.173 ++++ kbd-1.15/data/keymaps/i386/qwerty/se-ir209.map 2008-12-03 22:50:18.000000000 +0000 1.174 +@@ -345,7 +345,7 @@ 1.175 + keycode 109 = Next Scroll_Forward 1.176 + keycode 110 = Insert 1.177 + 1.178 +- keycode 111 = Delete # "Remove" originally, weird... 1.179 ++ keycode 111 = Remove 1.180 + control alt keycode 111 = Boot 1.181 + control altgr keycode 111 = Boot 1.182 + 1.183 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/se-lat6.map kbd-1.15/data/keymaps/i386/qwerty/se-lat6.map 1.184 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/se-lat6.map 2008-10-23 20:03:59.000000000 +0100 1.185 ++++ kbd-1.15/data/keymaps/i386/qwerty/se-lat6.map 2008-12-03 22:50:44.000000000 +0000 1.186 +@@ -374,6 +374,6 @@ 1.187 + keycode 109 = Next Scroll_Forward 1.188 + keycode 110 = Insert 1.189 + 1.190 +- keycode 111 = Delete # "Remove" originally, weird... 1.191 ++ keycode 111 = Remove 1.192 + control alt keycode 111 = Boot 1.193 + control altgr keycode 111 = Boot 1.194 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/tr_q-latin5.map kbd-1.15/data/keymaps/i386/qwerty/tr_q-latin5.map 1.195 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/tr_q-latin5.map 2008-10-23 20:03:59.000000000 +0100 1.196 ++++ kbd-1.15/data/keymaps/i386/qwerty/tr_q-latin5.map 2008-12-03 22:52:09.000000000 +0000 1.197 +@@ -49,7 +49,7 @@ 1.198 + alt keycode 12 = Meta_minus 1.199 + keycode 13 = minus underscore 1.200 + alt keycode 13 = Meta_equal 1.201 +-keycode 14 = BackSpace Delete 1.202 ++keycode 14 = Delete Delete 1.203 + alt keycode 14 = Meta_Delete 1.204 + keycode 15 = Tab Meta_Tab 1.205 + alt keycode 15 = Meta_Tab 1.206 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ua.map kbd-1.15/data/keymaps/i386/qwerty/ua.map 1.207 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ua.map 2008-10-23 20:03:59.000000000 +0100 1.208 ++++ kbd-1.15/data/keymaps/i386/qwerty/ua.map 2008-12-03 22:52:52.000000000 +0000 1.209 +@@ -249,7 +249,7 @@ 1.210 + shift ctrll ctrlr keycode 13 = plus 1.211 + alt ctrll ctrlr keycode 13 = Meta_equal 1.212 + shift alt ctrll ctrlr keycode 13 = Meta_plus 1.213 +-keycode 14 = BackSpace Delete 1.214 ++keycode 14 = Delete Delete 1.215 + control keycode 14 = BackSpace 1.216 + alt keycode 14 = Meta_Delete 1.217 + ctrlr keycode 14 = BackSpace 1.218 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ua-utf.map kbd-1.15/data/keymaps/i386/qwerty/ua-utf.map 1.219 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ua-utf.map 2008-10-23 20:03:59.000000000 +0100 1.220 ++++ kbd-1.15/data/keymaps/i386/qwerty/ua-utf.map 2008-12-03 22:53:36.000000000 +0000 1.221 +@@ -250,7 +250,7 @@ 1.222 + shift ctrll ctrlr keycode 13 = plus 1.223 + alt ctrll ctrlr keycode 13 = Meta_equal 1.224 + shift alt ctrll ctrlr keycode 13 = Meta_plus 1.225 +-keycode 14 = BackSpace Delete 1.226 ++keycode 14 = Delete Delete 1.227 + control keycode 14 = BackSpace 1.228 + alt keycode 14 = Meta_Delete 1.229 + ctrlr keycode 14 = BackSpace 1.230 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ua-utf-ws.map kbd-1.15/data/keymaps/i386/qwerty/ua-utf-ws.map 1.231 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ua-utf-ws.map 2008-10-23 20:03:59.000000000 +0100 1.232 ++++ kbd-1.15/data/keymaps/i386/qwerty/ua-utf-ws.map 2008-12-03 22:54:06.000000000 +0000 1.233 +@@ -260,7 +260,7 @@ 1.234 + shift ctrll ctrlr keycode 13 = plus 1.235 + alt ctrll ctrlr keycode 13 = Meta_equal 1.236 + shift alt ctrll ctrlr keycode 13 = Meta_plus 1.237 +-keycode 14 = BackSpace Delete 1.238 ++keycode 14 = Delete Delete 1.239 + control keycode 14 = BackSpace 1.240 + alt keycode 14 = Meta_Delete 1.241 + ctrlr keycode 14 = BackSpace 1.242 +diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ua-ws.map kbd-1.15/data/keymaps/i386/qwerty/ua-ws.map 1.243 +--- kbd-1.15.orig/data/keymaps/i386/qwerty/ua-ws.map 2008-10-23 20:03:59.000000000 +0100 1.244 ++++ kbd-1.15/data/keymaps/i386/qwerty/ua-ws.map 2008-12-03 22:54:23.000000000 +0000 1.245 +@@ -260,7 +260,7 @@ 1.246 + shift ctrll ctrlr keycode 13 = plus 1.247 + alt ctrll ctrlr keycode 13 = Meta_equal 1.248 + shift alt ctrll ctrlr keycode 13 = Meta_plus 1.249 +-keycode 14 = BackSpace Delete 1.250 ++keycode 14 = Delete Delete 1.251 + control keycode 14 = BackSpace 1.252 + alt keycode 14 = Meta_Delete 1.253 + ctrlr keycode 14 = BackSpace