{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/8469","labels_url":"https://api.github.com/repos/ipython/ipython/issues/8469/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/8469/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/8469/events","html_url":"https://github.com/ipython/ipython/issues/8469","id":80245245,"number":8469,"title":"SIGWINCH signal not passed to iPython shell","user":{"login":"tkessler45","id":12587417,"avatar_url":"https://avatars.githubusercontent.com/u/12587417?v=3","gravatar_id":"","url":"https://api.github.com/users/tkessler45","html_url":"https://github.com/tkessler45","followers_url":"https://api.github.com/users/tkessler45/followers","following_url":"https://api.github.com/users/tkessler45/following{/other_user}","gists_url":"https://api.github.com/users/tkessler45/gists{/gist_id}","starred_url":"https://api.github.com/users/tkessler45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkessler45/subscriptions","organizations_url":"https://api.github.com/users/tkessler45/orgs","repos_url":"https://api.github.com/users/tkessler45/repos","events_url":"https://api.github.com/users/tkessler45/events{/privacy}","received_events_url":"https://api.github.com/users/tkessler45/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-24T19:17:55Z","updated_at":"2015-06-04T21:35:16Z","closed_at":null,"body":"Apparently the SIGWINCH signal is not handled by iPython, at least when running in the OS X Terminal. This results in odd problems when resizing the Terminal window. For instance, if you run !nano in ipython to launch the nano editor, initially it will load and look appropriate, but if you then resize the window, the nano interface will wrap and stretch, garbling it and preventing it from being usable. This happens for other programs as well when run from within iPython. I'm not too familiar with the underpinnings responsible for this, but in talks with some devs about this, it appears its some mishandling (or lack of handling) of the SIGWINCH signal being sent to ipython from the OS X Terminal. I have not tried this bug in other operating systems, so can only report it happening in OS X, with version 3.1.0 of iPython and running OS X 10.10.3."},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/109061092","html_url":"https://github.com/ipython/ipython/issues/8469#issuecomment-109061092","issue_url":"https://api.github.com/repos/ipython/ipython/issues/8469","id":109061092,"user":{"login":"tkessler45","id":12587417,"avatar_url":"https://avatars.githubusercontent.com/u/12587417?v=3","gravatar_id":"","url":"https://api.github.com/users/tkessler45","html_url":"https://github.com/tkessler45","followers_url":"https://api.github.com/users/tkessler45/followers","following_url":"https://api.github.com/users/tkessler45/following{/other_user}","gists_url":"https://api.github.com/users/tkessler45/gists{/gist_id}","starred_url":"https://api.github.com/users/tkessler45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkessler45/subscriptions","organizations_url":"https://api.github.com/users/tkessler45/orgs","repos_url":"https://api.github.com/users/tkessler45/repos","events_url":"https://api.github.com/users/tkessler45/events{/privacy}","received_events_url":"https://api.github.com/users/tkessler45/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T21:35:16Z","updated_at":"2015-06-04T21:35:16Z","body":"It may not be SIGWINCH, per se, but something with ipython is causing this issue. If I only run python3 to get to the basic python prompt, and then run os.system(\"nano\"), then nano opens properly and resizing works as expected.\r\n\r\nI've not changed anything about iPython, besides creating a startup script to automatically import pandas, os, and some other common libraries."}}