{"action":"created","issue":{"url":"https://api.github.com/repos/jwilm/alacritty/issues/930","repository_url":"https://api.github.com/repos/jwilm/alacritty","labels_url":"https://api.github.com/repos/jwilm/alacritty/issues/930/labels{/name}","comments_url":"https://api.github.com/repos/jwilm/alacritty/issues/930/comments","events_url":"https://api.github.com/repos/jwilm/alacritty/issues/930/events","html_url":"https://github.com/jwilm/alacritty/issues/930","id":279069924,"number":930,"title":"GDB input redirection does not work","user":{"login":"tbehner","id":7224602,"avatar_url":"https://avatars3.githubusercontent.com/u/7224602?v=4","gravatar_id":"","url":"https://api.github.com/users/tbehner","html_url":"https://github.com/tbehner","followers_url":"https://api.github.com/users/tbehner/followers","following_url":"https://api.github.com/users/tbehner/following{/other_user}","gists_url":"https://api.github.com/users/tbehner/gists{/gist_id}","starred_url":"https://api.github.com/users/tbehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbehner/subscriptions","organizations_url":"https://api.github.com/users/tbehner/orgs","repos_url":"https://api.github.com/users/tbehner/repos","events_url":"https://api.github.com/users/tbehner/events{/privacy}","received_events_url":"https://api.github.com/users/tbehner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-04T16:58:24Z","updated_at":"2018-01-01T15:51:44Z","closed_at":null,"author_association":"NONE","body":"If you try to debug a program with gdb and want to redirect input from a file:\r\n`gdb\r\n<gdb>r < input\r\n`\r\nthe input is not redirected, but instead read again from stdin.\r\nThis works with Konsole and gnome-terminal.\r\n\r\nYou can try this with the following C program\r\n\r\n#include <stdlib.h>\r\n#include <stdio.h>\r\n#include <string.h>\r\n\r\nint main(int argc, char **argv, char **envp)\r\n{\r\n        char buffer[20];\r\n    printf(\"Input your name: \");\r\n        gets(buffer);\r\n    printf(\"Your input was:%s\\n\", buffer);\r\n        return 0;\r\n}\r\n\r\nI tried this with Ubuntu 16.04 and Fedora 26 with alacritty version\r\nalacritty 0.1.0 (git commit 9bdac6b) [release build using rustc 1.24.0-nightly (1956d5535 2017-12-03)])\r\n\r\nIf you have any questions, I'm happy to help"},"comment":{"url":"https://api.github.com/repos/jwilm/alacritty/issues/comments/354660100","html_url":"https://github.com/jwilm/alacritty/issues/930#issuecomment-354660100","issue_url":"https://api.github.com/repos/jwilm/alacritty/issues/930","id":354660100,"user":{"login":"tbehner","id":7224602,"avatar_url":"https://avatars3.githubusercontent.com/u/7224602?v=4","gravatar_id":"","url":"https://api.github.com/users/tbehner","html_url":"https://github.com/tbehner","followers_url":"https://api.github.com/users/tbehner/followers","following_url":"https://api.github.com/users/tbehner/following{/other_user}","gists_url":"https://api.github.com/users/tbehner/gists{/gist_id}","starred_url":"https://api.github.com/users/tbehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbehner/subscriptions","organizations_url":"https://api.github.com/users/tbehner/orgs","repos_url":"https://api.github.com/users/tbehner/repos","events_url":"https://api.github.com/users/tbehner/events{/privacy}","received_events_url":"https://api.github.com/users/tbehner/received_events","type":"User","site_admin":false},"created_at":"2018-01-01T15:51:44Z","updated_at":"2018-01-01T15:51:44Z","author_association":"NONE","body":"I know, this why this error suprises me. The shell I use is xonsh, but it works on both xterm and konsole."}}
{"actor":{"display_login":"tbehner"}}