{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/compose/issues/1691","labels_url":"https://api.github.com/repos/docker/compose/issues/1691/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/1691/comments","events_url":"https://api.github.com/repos/docker/compose/issues/1691/events","html_url":"https://github.com/docker/compose/issues/1691","id":94991140,"number":1691,"title":"Non-TTY causing bad wrapping, suggest remove setting width.","user":{"login":"ekristen","id":48329,"avatar_url":"https://avatars.githubusercontent.com/u/48329?v=3","gravatar_id":"","url":"https://api.github.com/users/ekristen","html_url":"https://github.com/ekristen","followers_url":"https://api.github.com/users/ekristen/followers","following_url":"https://api.github.com/users/ekristen/following{/other_user}","gists_url":"https://api.github.com/users/ekristen/gists{/gist_id}","starred_url":"https://api.github.com/users/ekristen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekristen/subscriptions","organizations_url":"https://api.github.com/users/ekristen/orgs","repos_url":"https://api.github.com/users/ekristen/repos","events_url":"https://api.github.com/users/ekristen/events{/privacy}","received_events_url":"https://api.github.com/users/ekristen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-14T16:59:07Z","updated_at":"2015-07-14T16:59:07Z","closed_at":null,"body":"@ralphtheninja and I have stumbled across a problem while trying to programmatically use docker-compose via node.js and exec. If compose is not in a TTY it defaults to 80, which causes some wrapping that is difficult to parse.\r\n\r\nBasically when trying to script this from a non-TTY, this is what happens ...\r\n\r\n```\r\nName             Command             State              Ports       \r\n-------------------------------------------------------------------------\r\nworkstation_ngin   nginx -g daemon    Up                 443/tcp, 0.0.0.0 \r\nx_1                off;                                  :8888->80/tcp    \r\n```\r\n\r\nFWIW, Docker Machine does not appear to look for a TTY (at least a brief look at the code didn't turn anything up)\r\n\r\nhttps://github.com/docker/compose/blob/master/compose/cli/formatter.py#L7-L12\r\n\r\nIs there a reason for having this? If not it would be nice to remove. I am more than willing to submit a PR to do so.\r\n\r\n"}}