{"action":"opened","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/6869","labels_url":"https://api.github.com/repos/openshift/origin/issues/6869/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/6869/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/6869/events","html_url":"https://github.com/openshift/origin/issues/6869","id":129444029,"number":6869,"title":"terminal emulation with oc rsh (or exec) is broken: possibly missing SIGWINCH handling","user":{"login":"ibotty","id":296430,"avatar_url":"https://avatars.githubusercontent.com/u/296430?v=3","gravatar_id":"","url":"https://api.github.com/users/ibotty","html_url":"https://github.com/ibotty","followers_url":"https://api.github.com/users/ibotty/followers","following_url":"https://api.github.com/users/ibotty/following{/other_user}","gists_url":"https://api.github.com/users/ibotty/gists{/gist_id}","starred_url":"https://api.github.com/users/ibotty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibotty/subscriptions","organizations_url":"https://api.github.com/users/ibotty/orgs","repos_url":"https://api.github.com/users/ibotty/repos","events_url":"https://api.github.com/users/ibotty/events{/privacy}","received_events_url":"https://api.github.com/users/ibotty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-28T12:54:23Z","updated_at":"2016-01-28T12:54:23Z","closed_at":null,"body":"Interactive terminal applications (e.g. less) don't scroll correctly, print on the wrong part of the terminal or behave erratically in other ways. \r\n\r\nThey do work with a 80x24-terminal, so I assume SIGWINCH signals are not handled correctly (or at all).\r\n\r\nI can reproduce with e.g. `less /etc/services` on any container running.\r\n\r\nIt does work with `docker exec` btw, so this is somewhere within openshift/kubernetes.\r\n\r\nAside: It sets TERM=dump (as is docker exec) instead of using the TERM environment of the terminal it is running from."}}