{"action":"created","issue":{"url":"https://api.github.com/repos/metakirby5/codi.vim/issues/14","repository_url":"https://api.github.com/repos/metakirby5/codi.vim","labels_url":"https://api.github.com/repos/metakirby5/codi.vim/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/metakirby5/codi.vim/issues/14/comments","events_url":"https://api.github.com/repos/metakirby5/codi.vim/issues/14/events","html_url":"https://github.com/metakirby5/codi.vim/issues/14","id":171297797,"node_id":"MDU6SXNzdWUxNzEyOTc3OTc=","number":14,"title":"Win32 support","user":{"login":"idbrii","id":43559,"node_id":"MDQ6VXNlcjQzNTU5","avatar_url":"https://avatars0.githubusercontent.com/u/43559?v=4","gravatar_id":"","url":"https://api.github.com/users/idbrii","html_url":"https://github.com/idbrii","followers_url":"https://api.github.com/users/idbrii/followers","following_url":"https://api.github.com/users/idbrii/following{/other_user}","gists_url":"https://api.github.com/users/idbrii/gists{/gist_id}","starred_url":"https://api.github.com/users/idbrii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idbrii/subscriptions","organizations_url":"https://api.github.com/users/idbrii/orgs","repos_url":"https://api.github.com/users/idbrii/repos","events_url":"https://api.github.com/users/idbrii/events{/privacy}","received_events_url":"https://api.github.com/users/idbrii/received_events","type":"User","site_admin":false},"labels":[{"id":420914556,"node_id":"MDU6TGFiZWw0MjA5MTQ1NTY=","url":"https://api.github.com/repos/metakirby5/codi.vim/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":420914557,"node_id":"MDU6TGFiZWw0MjA5MTQ1NTc=","url":"https://api.github.com/repos/metakirby5/codi.vim/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-16T01:05:01Z","updated_at":"2018-08-19T11:57:31Z","closed_at":null,"author_association":"NONE","body":"I gave it a try and got \"Codi does not support Windows yet.\" Big stacktrace when I try to use it.\n\nFound the code in autoload/codi.vim and tried to modify, but nothing happens in the new split after I `:Codi` and modify python.\n\n```\nelse\n  if executable('script')\n    function! s:scriptify(bin)\n      return 'script -qfec '.shellescape(a:bin, 1).' /dev/null'\n    endfunction\n  else\n    call s:err('Codi does not support Windows without Cygwin yet.')\n  endif\nendif\n```\n\nI checked my version of script and it seems like that should work:\n\n```\n$ script --version\n    script from util-linux 2.25.2\n\n$ script --help\n    Usage:\n    script [options] [file]\n\n    Options:\n    -a, --append            append the output\n    -c, --command <command> run command rather than interactive shell\n    -e, --return            return exit code of the child process\n    -f, --flush             run flush after each write\n        --force             use output file even when it is a link\n    -q, --quiet             be quiet\n    -t, --timing[=<file>]   output timing data to stderr (or to FILE)\n    -V, --version           output version information and exit\n    -h, --help              display this help and exit\n```\n\nBut I've never used script and I'm not sure how it works.\n\nI think we also need this line changed:\n\n```\nlet s:magic = \"\\n\\<cr>\\<c-z>\\<cr>\" \" to get out of REPL\n```\n\nC-z + CR exits the python repl on Windows, but I don't know if that's consistent across interpreters.\n\nRegardless, all that prevents me from seeing any errors or any functionality (aside from the split appearing).\n\nI'm also not sure how cygwin's script interacts with python (I'm using python3 for Windows from python.org).\n\nUsing vim 7.4.1832 from vim/vim-win32-installer.\n\nThese seems like a really cool plugin, but I understand Windows support can be tough (and a whole new set of problems).\n"},"comment":{"url":"https://api.github.com/repos/metakirby5/codi.vim/issues/comments/414122918","html_url":"https://github.com/metakirby5/codi.vim/issues/14#issuecomment-414122918","issue_url":"https://api.github.com/repos/metakirby5/codi.vim/issues/14","id":414122918,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDEyMjkxOA==","user":{"login":"blayz3r","id":12205650,"node_id":"MDQ6VXNlcjEyMjA1NjUw","avatar_url":"https://avatars2.githubusercontent.com/u/12205650?v=4","gravatar_id":"","url":"https://api.github.com/users/blayz3r","html_url":"https://github.com/blayz3r","followers_url":"https://api.github.com/users/blayz3r/followers","following_url":"https://api.github.com/users/blayz3r/following{/other_user}","gists_url":"https://api.github.com/users/blayz3r/gists{/gist_id}","starred_url":"https://api.github.com/users/blayz3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blayz3r/subscriptions","organizations_url":"https://api.github.com/users/blayz3r/orgs","repos_url":"https://api.github.com/users/blayz3r/repos","events_url":"https://api.github.com/users/blayz3r/events{/privacy}","received_events_url":"https://api.github.com/users/blayz3r/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T11:57:31Z","updated_at":"2018-08-19T11:57:31Z","author_association":"NONE","body":"So it works in the linux subsytem. I was suggesting calling linux commands using WSL e.g.\r\n![image](https://user-images.githubusercontent.com/12205650/44308513-4e092480-a385-11e8-8700-053d04d77536.png).\r\n\r\nCan this be a viable workaround for Gvim, at least with windows 10\r\n"}}
{"actor":{"display_login":"blayz3r"}}