{"action":"created","issue":{"url":"https://api.github.com/repos/technomancy/leiningen/issues/1574","labels_url":"https://api.github.com/repos/technomancy/leiningen/issues/1574/labels{/name}","comments_url":"https://api.github.com/repos/technomancy/leiningen/issues/1574/comments","events_url":"https://api.github.com/repos/technomancy/leiningen/issues/1574/events","html_url":"https://github.com/technomancy/leiningen/issues/1574","id":36154159,"number":1574,"title":"lein repl incompatible with different keyboard layout","user":{"login":"joerupen","id":5662371,"avatar_url":"https://avatars.githubusercontent.com/u/5662371?v=3","gravatar_id":"","url":"https://api.github.com/users/joerupen","html_url":"https://github.com/joerupen","followers_url":"https://api.github.com/users/joerupen/followers","following_url":"https://api.github.com/users/joerupen/following{/other_user}","gists_url":"https://api.github.com/users/joerupen/gists{/gist_id}","starred_url":"https://api.github.com/users/joerupen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerupen/subscriptions","organizations_url":"https://api.github.com/users/joerupen/orgs","repos_url":"https://api.github.com/users/joerupen/repos","events_url":"https://api.github.com/users/joerupen/events{/privacy}","received_events_url":"https://api.github.com/users/joerupen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-06-20T09:49:27Z","updated_at":"2015-01-12T08:11:00Z","closed_at":"2014-06-29T08:38:41Z","body":"I am using a swiss-german keyboard and cannot enter the following keys in a LEIN REPL: \"@\", \"]\" (maybe there are some more keys). For the \"[\" key I have to stroke the key twice. When I switch the layout to US, all keys work. \r\n\r\nIt looks to me that this problem is related to the version 2.4.2 of leiningen. It didn't occur before I upgraded to this version.\r\nWhen I run `lein repl` at the command prompt, lein essentially runs this windows process:\r\n\r\n\r\n    java  -client  \r\n          -Dclojure.compile.path=\"/target/classes\"  \r\n          -Dleiningen.original.pwd=\"C:\\Users\\joerupen\"  \r\n    \t  -cp \"C:\\Users\\joerupen\\.lein\\self-installs\\leiningen-2.4.2-standalone.jar\" clojure.main -m leiningen.core.main repl\r\n\t  \r\n=> In this process I can't enter the mentioned keys:\r\n\r\n\r\nHowever, when I changed the lein-version to 2.3.4, then I have no problem with the keyboard.\r\n\t  \r\n    java  -client  \r\n          -Dclojure.compile.path=\"/target/classes\"  \r\n          -Dleiningen.original.pwd=\"C:\\Users\\joerupen\"  \r\n    \t  -cp \"C:\\Users\\joerupen\\.lein\\self-installs\\leiningen-2.3.4-standalone.jar\" clojure.main -m leiningen.core.main repl\t  \r\n\t  \r\n\t  \r\nEnvironment: Windows 8.\t  \r\n\r\nThis might be an issue in leiningen or maybe just an issue with my windows installation, in any case the older version works for me."},"comment":{"url":"https://api.github.com/repos/technomancy/leiningen/issues/comments/69538729","html_url":"https://github.com/technomancy/leiningen/issues/1574#issuecomment-69538729","issue_url":"https://api.github.com/repos/technomancy/leiningen/issues/1574","id":69538729,"user":{"login":"joerupen","id":5662371,"avatar_url":"https://avatars.githubusercontent.com/u/5662371?v=3","gravatar_id":"","url":"https://api.github.com/users/joerupen","html_url":"https://github.com/joerupen","followers_url":"https://api.github.com/users/joerupen/followers","following_url":"https://api.github.com/users/joerupen/following{/other_user}","gists_url":"https://api.github.com/users/joerupen/gists{/gist_id}","starred_url":"https://api.github.com/users/joerupen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joerupen/subscriptions","organizations_url":"https://api.github.com/users/joerupen/orgs","repos_url":"https://api.github.com/users/joerupen/repos","events_url":"https://api.github.com/users/joerupen/events{/privacy}","received_events_url":"https://api.github.com/users/joerupen/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T08:11:00Z","updated_at":"2015-01-12T08:11:00Z","body":"There is a workaround that worked for me.\r\n\r\nJline2 supports custom mapping of keyboard keys. In your `$HOME` directory, create a file named `.inputrc`. Paste in the following config:\r\n\r\n    set meta-flag off\r\n    set convert-meta off\r\n    set output-meta off\r\n    set enable-meta-key off\r\n    \"\\e[\": \"\"\r\n    \"\\e]\": \"]\"\r\n    \"\\e\\\\\": \"\\\\\"\r\n\r\n"}}