{"thread":{"id":"31702","subject":"[PATCH] gitk: Add workaround for system where Shift-F5 mapped to Shift-XF86_Switch_VT_5","startedAt":"2012-10-01T15:16:03Z","lastAt":"2012-10-01T15:16:04Z","messageCount":2,"participants":["Andrew Wong"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"200260","messageId":"1349104564-30812-1-git-send-email-andrew.kw.w@gmail.com","threadId":"31702","inReplyTo":null,"subject":"[PATCH] gitk: Add workaround for system where Shift-F5 mapped to Shift-XF86_Switch_VT_5","fromName":"Andrew Wong","fromEmail":"andrew.kw.w@gmail.com","sentAt":"2012-10-01T15:16:03Z","receivedAt":"2012-10-01T15:16:03Z","isPatch":true,"sender":{"key":"andrew.kw.w@gmail.com","avatar":"https://avatars.githubusercontent.com/u/489311?v=4"},"body":"I was running into the same issue too. It turns out that on some machines\nShift-F5 is mapped to Shift-XF86_Switch_VT_5. My patch includes a workaround.\nThe same workaround was used for Shift-F4.\n\nAndrew Wong (1):\n  gitk: Add workaround for system where Shift-F5 mapped to\n    Shift-XF86_Switch_VT_5\n\n gitk-git/gitk | 1 +\n 1 file changed, 1 insertion(+)\n\n-- \n1.7.12.1.382.gb0576a6\n"},{"id":"200261","messageId":"1349104564-30812-2-git-send-email-andrew.kw.w@gmail.com","threadId":"31702","inReplyTo":"1349104564-30812-1-git-send-email-andrew.kw.w@gmail.com","subject":"[PATCH] gitk: Add workaround for system where Shift-F5 mapped to Shift-XF86_Switch_VT_5","fromName":"Andrew Wong","fromEmail":"andrew.kw.w@gmail.com","sentAt":"2012-10-01T15:16:04Z","receivedAt":"2012-10-01T15:16:04Z","isPatch":true,"sender":{"key":"andrew.kw.w@gmail.com","avatar":"https://avatars.githubusercontent.com/u/489311?v=4"},"body":"The same workaround was used for Shift-F4 in:\n  cea07cf8dc9b3677e0c50433c0d72bce83adbdc7\n\nSigned-off-by: Andrew Wong <andrew.kw.w@gmail.com>\n---\n gitk-git/gitk | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/gitk-git/gitk b/gitk-git/gitk\nindex d93bd99..698b84a 100755\n--- a/gitk-git/gitk\n+++ b/gitk-git/gitk\n@@ -2496,6 +2496,7 @@ proc makewindow {} {\n     bindkey f nextfile\n     bind . <F5> updatecommits\n     bind . <Shift-F5> reloadcommits\n+    catch { bind . <Shift-Key-XF86_Switch_VT_5> reloadcommits }\n     bind . <F2> showrefs\n     bind . <Shift-F4> {newview 0}\n     catch { bind . <Shift-Key-XF86_Switch_VT_4> {newview 0} }\n-- \n1.7.12.1.382.gb0576a6\n"}]}