{"action":"created","issue":{"url":"https://api.github.com/repos/jline/jline3/issues/55","repository_url":"https://api.github.com/repos/jline/jline3","labels_url":"https://api.github.com/repos/jline/jline3/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/jline/jline3/issues/55/comments","events_url":"https://api.github.com/repos/jline/jline3/issues/55/events","html_url":"https://github.com/jline/jline3/issues/55","id":193566862,"number":55,"title":"Echo disabled after creating terminal","user":{"login":"Nnidyu","id":293573,"avatar_url":"https://avatars.githubusercontent.com/u/293573?v=3","gravatar_id":"","url":"https://api.github.com/users/Nnidyu","html_url":"https://github.com/Nnidyu","followers_url":"https://api.github.com/users/Nnidyu/followers","following_url":"https://api.github.com/users/Nnidyu/following{/other_user}","gists_url":"https://api.github.com/users/Nnidyu/gists{/gist_id}","starred_url":"https://api.github.com/users/Nnidyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nnidyu/subscriptions","organizations_url":"https://api.github.com/users/Nnidyu/orgs","repos_url":"https://api.github.com/users/Nnidyu/repos","events_url":"https://api.github.com/users/Nnidyu/events{/privacy}","received_events_url":"https://api.github.com/users/Nnidyu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-05T17:55:37Z","updated_at":"2016-12-05T18:12:59Z","closed_at":null,"body":"This minimal example compiled with version: JLine 3.1.0 and JNA 4.2.2 disables the \"echo\" attribute of the terminal. \r\n\r\n```java\r\nimport org.jline.terminal.Terminal;\r\nimport org.jline.terminal.TerminalBuilder;\r\nimport java.io.IOException;\r\n\r\npublic class Test {\r\n\tpublic static void main(String... args) throws IOException {\r\n\t\tTerminal terminal = TerminalBuilder.builder().jna(true).build();\r\n\t}\r\n}\r\n```\r\n\r\nTerminal returned from the builder is `PosixSysTerminal` with `LinuxNativePty`.\r\n\r\n`stty -a` before running it:\r\n```\r\nspeed 38400 baud; rows 76; columns 272; line = 0;\r\nintr = ^C; quit = ^\\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;\r\n-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts\r\n-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany imaxbel iutf8\r\nopost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0\r\nisig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc\r\n```\r\n\r\nAfter:\r\n```\r\nspeed 38400 baud; rows 76; columns 272; line = 0;\r\nintr = ^C; quit = ^\\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;\r\n-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts\r\n-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany imaxbel iutf8\r\nopost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0\r\nisig icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl -echoke -flusho -extproc\r\n```\r\n\r\nNote change to echo in the last line."},"comment":{"url":"https://api.github.com/repos/jline/jline3/issues/comments/264930831","html_url":"https://github.com/jline/jline3/issues/55#issuecomment-264930831","issue_url":"https://api.github.com/repos/jline/jline3/issues/55","id":264930831,"user":{"login":"gnodet","id":84022,"avatar_url":"https://avatars.githubusercontent.com/u/84022?v=3","gravatar_id":"","url":"https://api.github.com/users/gnodet","html_url":"https://github.com/gnodet","followers_url":"https://api.github.com/users/gnodet/followers","following_url":"https://api.github.com/users/gnodet/following{/other_user}","gists_url":"https://api.github.com/users/gnodet/gists{/gist_id}","starred_url":"https://api.github.com/users/gnodet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnodet/subscriptions","organizations_url":"https://api.github.com/users/gnodet/orgs","repos_url":"https://api.github.com/users/gnodet/repos","events_url":"https://api.github.com/users/gnodet/events{/privacy}","received_events_url":"https://api.github.com/users/gnodet/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T18:12:59Z","updated_at":"2016-12-05T18:12:59Z","body":"Could you check with the master branch ? This should be fixed already..."}}
{"actor":{"display_login":"gnodet"}}