{"action":"created","issue":{"url":"https://api.github.com/repos/adoxa/ansicon/issues/82","labels_url":"https://api.github.com/repos/adoxa/ansicon/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/adoxa/ansicon/issues/82/comments","events_url":"https://api.github.com/repos/adoxa/ansicon/issues/82/events","html_url":"https://github.com/adoxa/ansicon/issues/82","id":97834787,"number":82,"title":"ansicon -i (and -I) segmentation fault when used with Git Bash for Windows","user":{"login":"survivor0804","id":8212676,"avatar_url":"https://avatars.githubusercontent.com/u/8212676?v=3","gravatar_id":"","url":"https://api.github.com/users/survivor0804","html_url":"https://github.com/survivor0804","followers_url":"https://api.github.com/users/survivor0804/followers","following_url":"https://api.github.com/users/survivor0804/following{/other_user}","gists_url":"https://api.github.com/users/survivor0804/gists{/gist_id}","starred_url":"https://api.github.com/users/survivor0804/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/survivor0804/subscriptions","organizations_url":"https://api.github.com/users/survivor0804/orgs","repos_url":"https://api.github.com/users/survivor0804/repos","events_url":"https://api.github.com/users/survivor0804/events{/privacy}","received_events_url":"https://api.github.com/users/survivor0804/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-29T01:25:01Z","updated_at":"2015-08-04T18:49:20Z","closed_at":null,"body":"It would be desirable if ansicon would also work with Windows bash emulators like Git Bash for Windows. Please disregard this if you don't plan to support other Windows shells. This is the Git session when I try to install ansicon:\r\n\r\n\r\nWelcome to Git (version 1.9.5-preview20150319)\r\n\r\n\r\nRun 'git help git' to display the help index.\r\nRun 'git help <command>' to display help for specific commands.\r\n\r\nNino@LAPTOP ~\r\n$ cd /c/Users/Nino/AppData/Roaming/Ansicon160/x64/\r\n\r\nNino@LAPTOP ~/AppData/Roaming/Ansicon160/x64\r\n$ ansicon -i\r\nSegmentation fault\r\n\r\nNino@LAPTOP ~/AppData/Roaming/Ansicon160/x64\r\n$\r\n"},"comment":{"url":"https://api.github.com/repos/adoxa/ansicon/issues/comments/127712022","html_url":"https://github.com/adoxa/ansicon/issues/82#issuecomment-127712022","issue_url":"https://api.github.com/repos/adoxa/ansicon/issues/82","id":127712022,"user":{"login":"survivor0804","id":8212676,"avatar_url":"https://avatars.githubusercontent.com/u/8212676?v=3","gravatar_id":"","url":"https://api.github.com/users/survivor0804","html_url":"https://github.com/survivor0804","followers_url":"https://api.github.com/users/survivor0804/followers","following_url":"https://api.github.com/users/survivor0804/following{/other_user}","gists_url":"https://api.github.com/users/survivor0804/gists{/gist_id}","starred_url":"https://api.github.com/users/survivor0804/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/survivor0804/subscriptions","organizations_url":"https://api.github.com/users/survivor0804/orgs","repos_url":"https://api.github.com/users/survivor0804/repos","events_url":"https://api.github.com/users/survivor0804/events{/privacy}","received_events_url":"https://api.github.com/users/survivor0804/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T18:49:20Z","updated_at":"2015-08-04T18:49:20Z","body":"You were right. Ansicon 1.70 compiles without problems with the 64-bit tools. No need to edit the Makefile. You must also compile again with the 32-bit tools in order to create ansi32.dll in the x64 folder. It’s used by 32-bit tools like Git.\n\nAfter issuing ansicon –p, pry’s ansi escape sequences work satisfactorily and Git doesn’t crash anymore. All this works within cmd.exe. It would be ideal for ansicon to work with Git Bash because of nuisances of utf-8 output in cmd.exe.\n\nThanks!\n\nFrom: Jason Hood \nSent: Tuesday, August 4, 2015 3:20 AM\nTo: adoxa/ansicon \nCc: survivor0804 \nSubject: Re: [ansicon] ansicon -i (and -I) segmentation fault when used with Git Bash for Windows (#82)\n\n  If I force BITS = 64 the inference rule exists but linker fails with: image exceeds maximum extent with base address AC000000 and size D000. \n\nThat sounds like you're not actually using the 64-bit compiler - examine the output of cl and note the target, it should be for x64; if it's for 80x86, then it's still 32-bit. Further comments should be directed to #80.\n\n  Yes, ruby 2 apparently supports escape code but pry (ruby debugger) doesn’t: \n\nAh, well. I tried gem install pry in my earlier 2, but it complained about SSL, so I tried gem install --source=http://rubygems.org pry, then it complained about a build environment, so I started MSYS with mingw-builds and that worked (although the documents still wanted https), and after all that, pry didn't use (or at least, output) escape sequences, anyway (nor did the successful install into 1.9.3). My quota is rather low, so I'd rather not update just atm. I guess ansicon pry.bat crashes, too?\n\n  The ansicon command (1.60) [...]\n\nStop using 1.60 - try with 1.70.\n\n—\nReply to this email directly or view it on GitHub.\n"}}