{"action":"created","issue":{"url":"https://api.github.com/repos/rebar/rebar3/issues/879","labels_url":"https://api.github.com/repos/rebar/rebar3/issues/879/labels{/name}","comments_url":"https://api.github.com/repos/rebar/rebar3/issues/879/comments","events_url":"https://api.github.com/repos/rebar/rebar3/issues/879/events","html_url":"https://github.com/rebar/rebar3/issues/879","id":112026453,"number":879,"title":"Setting TERM=xterm-256color messes up dialyzer output.","user":{"login":"jlouis","id":5663,"avatar_url":"https://avatars.githubusercontent.com/u/5663?v=3","gravatar_id":"","url":"https://api.github.com/users/jlouis","html_url":"https://github.com/jlouis","followers_url":"https://api.github.com/users/jlouis/followers","following_url":"https://api.github.com/users/jlouis/following{/other_user}","gists_url":"https://api.github.com/users/jlouis/gists{/gist_id}","starred_url":"https://api.github.com/users/jlouis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlouis/subscriptions","organizations_url":"https://api.github.com/users/jlouis/orgs","repos_url":"https://api.github.com/users/jlouis/repos","events_url":"https://api.github.com/users/jlouis/events{/privacy}","received_events_url":"https://api.github.com/users/jlouis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-18T15:50:11Z","updated_at":"2015-10-19T00:56:43Z","closed_at":null,"body":"Here is a command sequence:\r\n\r\n        git clone https://github.com/jlouis/dht\r\n        git reset --hard 0d419343\r\n        rebar3 dialyzer\r\n\r\nOn a gnome-terminal with `TERM=xterm-256color` we get the following garbled output:\r\n\r\n        __build/default/lib/dht/src/cdht_refresh_.erl\r\n\r\nOn the other hand, setting `TERM=xterm` we obtain the correct (and color formatted)\r\n\r\n        _build/default/lib/dht/src/dht_refresh.erl\r\n\r\nI was asked to gently ping @Licenser on this one :)"},"comment":{"url":"https://api.github.com/repos/rebar/rebar3/issues/comments/149069478","html_url":"https://github.com/rebar/rebar3/issues/879#issuecomment-149069478","issue_url":"https://api.github.com/repos/rebar/rebar3/issues/879","id":149069478,"user":{"login":"Licenser","id":119093,"avatar_url":"https://avatars.githubusercontent.com/u/119093?v=3","gravatar_id":"","url":"https://api.github.com/users/Licenser","html_url":"https://github.com/Licenser","followers_url":"https://api.github.com/users/Licenser/followers","following_url":"https://api.github.com/users/Licenser/following{/other_user}","gists_url":"https://api.github.com/users/Licenser/gists{/gist_id}","starred_url":"https://api.github.com/users/Licenser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Licenser/subscriptions","organizations_url":"https://api.github.com/users/Licenser/orgs","repos_url":"https://api.github.com/users/Licenser/repos","events_url":"https://api.github.com/users/Licenser/events{/privacy}","received_events_url":"https://api.github.com/users/Licenser/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T00:56:43Z","updated_at":"2015-10-19T00:56:43Z","body":"The above commit solves it for xterm-265color **but** that is just a special case. I've spend a bit of time making a pure erlang termcap library, that would solve this issue 'the proper way' **but** given it includes the whole termcap library it does make add to the size of rebar3 quite decently, the local size went form ~800k rebar3 file to a ~1.3M rebar3 file.\r\n\r\nNow I'm torn on this, on one hand doubeling the size seems exessive, on the other hand 700k is not that crazy much on the other other hand this is a 'propper' solution for the terminal issue.\r\n\r\nThoughts?"}}