{"action":"created","issue":{"url":"https://api.github.com/repos/dkogan/feedgnuplot/issues/20","labels_url":"https://api.github.com/repos/dkogan/feedgnuplot/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/dkogan/feedgnuplot/issues/20/comments","events_url":"https://api.github.com/repos/dkogan/feedgnuplot/issues/20/events","html_url":"https://github.com/dkogan/feedgnuplot/issues/20","id":34447033,"number":20,"title":"exit command does not work.","user":{"login":"bigblindbais","id":1794938,"avatar_url":"https://avatars.githubusercontent.com/u/1794938?v=3","gravatar_id":"","url":"https://api.github.com/users/bigblindbais","html_url":"https://github.com/bigblindbais","followers_url":"https://api.github.com/users/bigblindbais/followers","following_url":"https://api.github.com/users/bigblindbais/following{/other_user}","gists_url":"https://api.github.com/users/bigblindbais/gists{/gist_id}","starred_url":"https://api.github.com/users/bigblindbais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigblindbais/subscriptions","organizations_url":"https://api.github.com/users/bigblindbais/orgs","repos_url":"https://api.github.com/users/bigblindbais/repos","events_url":"https://api.github.com/users/bigblindbais/events{/privacy}","received_events_url":"https://api.github.com/users/bigblindbais/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-05-28T08:49:54Z","updated_at":"2015-02-09T07:32:33Z","closed_at":"2015-02-09T07:32:33Z","body":"I have feedgnuplot version 1.34 and can't seem to get the exit command to work properly (only tried gnome-terminal with zsh and bash).\r\n\r\nHere is the command I run:\r\n```bash\r\nfeedgnuplot --lines --stream 0 --exit\r\n1\r\n2\r\n3\r\n1\r\nreplot\r\nexit\r\n...\r\n<CTRL-D>\r\n```\r\n\r\nWhat I expect:\r\n * when I run exit, I expect the program to exit (i.e. the window remains, but stdin closes, and a new terminal prompt appears)\r\n * given that the previous didn't exit the program, when I press CTRL-D, I expect the program to exit (i.e. as above).\r\n\r\nWhat happens:\r\n * when I run exit, the program doesn't end (the program stops interpreting new commands in the stdin, but I still have the stdin open, which I can now only exit using CTRL-C).\r\n * when I press CTRL-D, the program doesn't end (the stdin remains open, but I can't type anything into it, so maybe it's better said that simply I don't return to the prompt. I need to close it using CTRL-C).\r\n\r\nCTRL-D works when I use it on an instance of feedgnuplot which doesn't have the --stream flag set (still requires --exit).\r\nexit never works.\r\n\r\nLet me know if I need to give out more details.\r\nBest,"},"comment":{"url":"https://api.github.com/repos/dkogan/feedgnuplot/issues/comments/73467686","html_url":"https://github.com/dkogan/feedgnuplot/issues/20#issuecomment-73467686","issue_url":"https://api.github.com/repos/dkogan/feedgnuplot/issues/20","id":73467686,"user":{"login":"dkogan","id":170011,"avatar_url":"https://avatars.githubusercontent.com/u/170011?v=3","gravatar_id":"","url":"https://api.github.com/users/dkogan","html_url":"https://github.com/dkogan","followers_url":"https://api.github.com/users/dkogan/followers","following_url":"https://api.github.com/users/dkogan/following{/other_user}","gists_url":"https://api.github.com/users/dkogan/gists{/gist_id}","starred_url":"https://api.github.com/users/dkogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkogan/subscriptions","organizations_url":"https://api.github.com/users/dkogan/orgs","repos_url":"https://api.github.com/users/dkogan/repos","events_url":"https://api.github.com/users/dkogan/events{/privacy}","received_events_url":"https://api.github.com/users/dkogan/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T07:32:33Z","updated_at":"2015-02-09T07:32:33Z","body":"closing. presumably the reporter was satisfied"}}