{"action":"created","issue":{"url":"https://api.github.com/repos/eranif/codelite/issues/622","labels_url":"https://api.github.com/repos/eranif/codelite/issues/622/labels{/name}","comments_url":"https://api.github.com/repos/eranif/codelite/issues/622/comments","events_url":"https://api.github.com/repos/eranif/codelite/issues/622/events","html_url":"https://github.com/eranif/codelite/issues/622","id":52429970,"number":622,"title":"Running debugger always opens 'xterm' regardless of terminal setting","user":{"login":"jcowgill","id":1226825,"avatar_url":"https://avatars.githubusercontent.com/u/1226825?v=3","gravatar_id":"","url":"https://api.github.com/users/jcowgill","html_url":"https://github.com/jcowgill","followers_url":"https://api.github.com/users/jcowgill/followers","following_url":"https://api.github.com/users/jcowgill/following{/other_user}","gists_url":"https://api.github.com/users/jcowgill/gists{/gist_id}","starred_url":"https://api.github.com/users/jcowgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcowgill/subscriptions","organizations_url":"https://api.github.com/users/jcowgill/orgs","repos_url":"https://api.github.com/users/jcowgill/repos","events_url":"https://api.github.com/users/jcowgill/events{/privacy}","received_events_url":"https://api.github.com/users/jcowgill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-18T23:28:40Z","updated_at":"2015-04-07T16:24:49Z","closed_at":"2015-04-07T16:24:49Z","body":"From https://bugs.debian.org/773396\r\n\r\nWhen running a program in the debugger, codelite always opens an instance of ```xterm``` to handle the console input regardless of the setting in Global Editor Preferences -> Terminal. I think debugging should use the terminal setting as well (like the other ways you can open a terminal from within codelite)."},"comment":{"url":"https://api.github.com/repos/eranif/codelite/issues/comments/90631680","html_url":"https://github.com/eranif/codelite/issues/622#issuecomment-90631680","issue_url":"https://api.github.com/repos/eranif/codelite/issues/622","id":90631680,"user":{"login":"eranif","id":3677711,"avatar_url":"https://avatars.githubusercontent.com/u/3677711?v=3","gravatar_id":"","url":"https://api.github.com/users/eranif","html_url":"https://github.com/eranif","followers_url":"https://api.github.com/users/eranif/followers","following_url":"https://api.github.com/users/eranif/following{/other_user}","gists_url":"https://api.github.com/users/eranif/gists{/gist_id}","starred_url":"https://api.github.com/users/eranif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eranif/subscriptions","organizations_url":"https://api.github.com/users/eranif/orgs","repos_url":"https://api.github.com/users/eranif/repos","events_url":"https://api.github.com/users/eranif/events{/privacy}","received_events_url":"https://api.github.com/users/eranif/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T16:24:49Z","updated_at":"2015-04-07T16:24:49Z","body":"`xterm` has some unique features that we count on (we execute a `sleep` command and then capturing the `tty`). So we rely on the fact that there is a switch that can be used to execute commands directly in the shell ( I am sure other console support it as well, but we don't know the type of the console the user chose)\r\n\r\nWe could run some code to try to do the same for other consoles, but I am not sure it can be done easily.\r\n\r\nLong story short: its not worth my (or David's effort). I urge you (or the OP of the Debian bug) to submit a PR)\r\n\r\n\r\nThanks\r\nEran"}}