{"action":"created","issue":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/563","repository_url":"https://api.github.com/repos/scopatz/xonsh","labels_url":"https://api.github.com/repos/scopatz/xonsh/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/scopatz/xonsh/issues/563/comments","events_url":"https://api.github.com/repos/scopatz/xonsh/issues/563/events","html_url":"https://github.com/scopatz/xonsh/pull/563","id":120897541,"number":563,"title":"[WIP] Tee","user":{"login":"adqm","id":549404,"avatar_url":"https://avatars.githubusercontent.com/u/549404?v=3","gravatar_id":"","url":"https://api.github.com/users/adqm","html_url":"https://github.com/adqm","followers_url":"https://api.github.com/users/adqm/followers","following_url":"https://api.github.com/users/adqm/following{/other_user}","gists_url":"https://api.github.com/users/adqm/gists{/gist_id}","starred_url":"https://api.github.com/users/adqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adqm/subscriptions","organizations_url":"https://api.github.com/users/adqm/orgs","repos_url":"https://api.github.com/users/adqm/repos","events_url":"https://api.github.com/users/adqm/events{/privacy}","received_events_url":"https://api.github.com/users/adqm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scopatz/xonsh/labels/feature","name":"feature","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scopatz/xonsh/milestones/2","html_url":"https://github.com/scopatz/xonsh/milestones/v0.3","labels_url":"https://api.github.com/repos/scopatz/xonsh/milestones/2/labels","id":1302567,"number":2,"title":"v0.3","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":95,"closed_issues":251,"state":"open","created_at":"2015-09-12T18:28:59Z","updated_at":"2016-03-03T03:14:50Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-12-07T23:56:40Z","updated_at":"2016-03-03T03:15:38Z","closed_at":"2016-03-03T03:14:50Z","pull_request":{"url":"https://api.github.com/repos/scopatz/xonsh/pulls/563","html_url":"https://github.com/scopatz/xonsh/pull/563","diff_url":"https://github.com/scopatz/xonsh/pull/563.diff","patch_url":"https://github.com/scopatz/xonsh/pull/563.patch"},"body":"This is a re-implementation of the \"tee\" behavior in xonsh, to explicitly use the `tee` command instead of the Python implementation of `teepty`.  I believe it should fix some of the behavior discussed in #562 and #519.\r\n\r\nThat said, it's not quite ready for prime-time.  A couple issues remain:\r\n* When the title is reset, the new title (including escape chars) shows up in `__xonsh_history__.outs`.  I am not sure where/when/how this is happening, since printing `hist.last_cmd_out` at the end of `run_proc` _doesn't_ include the title (i.e., the title isn't going through `tee`).  @scopatz, maybe you know or can figure out what is going on, as to how that is finding its way into the history?  I'll also keep poking around.\r\n* For some reason, I can't get mutt to work with `$XONSH_STORE_STDOUT` on, though other commands that require terminals (e.g., vim) seem to work fine.  I can fiddle with this some more."},"comment":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/comments/191558361","html_url":"https://github.com/scopatz/xonsh/pull/563#issuecomment-191558361","issue_url":"https://api.github.com/repos/scopatz/xonsh/issues/563","id":191558361,"user":{"login":"adqm","id":549404,"avatar_url":"https://avatars.githubusercontent.com/u/549404?v=3","gravatar_id":"","url":"https://api.github.com/users/adqm","html_url":"https://github.com/adqm","followers_url":"https://api.github.com/users/adqm/followers","following_url":"https://api.github.com/users/adqm/following{/other_user}","gists_url":"https://api.github.com/users/adqm/gists{/gist_id}","starred_url":"https://api.github.com/users/adqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adqm/subscriptions","organizations_url":"https://api.github.com/users/adqm/orgs","repos_url":"https://api.github.com/users/adqm/repos","events_url":"https://api.github.com/users/adqm/events{/privacy}","received_events_url":"https://api.github.com/users/adqm/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T03:15:38Z","updated_at":"2016-03-03T03:15:38Z","body":"I think this is actually not going to work.  It fixed some of the problems with the current \"tee\" implementation, but created others with just about the same severity."}}