{"action":"created","issue":{"url":"https://api.github.com/repos/Proxmark/proxmark3/issues/701","repository_url":"https://api.github.com/repos/Proxmark/proxmark3","labels_url":"https://api.github.com/repos/Proxmark/proxmark3/issues/701/labels{/name}","comments_url":"https://api.github.com/repos/Proxmark/proxmark3/issues/701/comments","events_url":"https://api.github.com/repos/Proxmark/proxmark3/issues/701/events","html_url":"https://github.com/Proxmark/proxmark3/issues/701","id":372477034,"node_id":"MDU6SXNzdWUzNzI0NzcwMzQ=","number":701,"title":"msys2 Windows10 maximum length of comamnd via readline is 254 chars.","user":{"login":"merlokk","id":807634,"node_id":"MDQ6VXNlcjgwNzYzNA==","avatar_url":"https://avatars2.githubusercontent.com/u/807634?v=4","gravatar_id":"","url":"https://api.github.com/users/merlokk","html_url":"https://github.com/merlokk","followers_url":"https://api.github.com/users/merlokk/followers","following_url":"https://api.github.com/users/merlokk/following{/other_user}","gists_url":"https://api.github.com/users/merlokk/gists{/gist_id}","starred_url":"https://api.github.com/users/merlokk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlokk/subscriptions","organizations_url":"https://api.github.com/users/merlokk/orgs","repos_url":"https://api.github.com/users/merlokk/repos","events_url":"https://api.github.com/users/merlokk/events{/privacy}","received_events_url":"https://api.github.com/users/merlokk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-22T11:05:08Z","updated_at":"2018-10-22T16:28:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"from #697 \r\n```\r\n\t\t\trl_initialize();\r\n\t\t\t\t\trl_extend_line_buffer(1024);\r\n\t\t\t\t\tcmd = readline(PROXPROMPT);\r\n\t\t\t\t\tstruct readline_state sp;\r\n\t\t\t\t\trl_save_state(&sp);\r\n\t\t\t\t\tprintf(\"---len: %d %d\\n\", strlen(cmd), sp.buflen);\r\n```\r\n---len: 254 1280\r\n\r\ntest command here:\r\n`hf fido auth 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f`\r\n\r\nthis works:\r\n`proxmark3 com11 -c \"hf fido auth 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708\r\n090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f 000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f 00010203040506070\r\n8090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f\"`\r\n\r\nlooks like this problem, but on C# https://stackoverflow.com/questions/5557889/console-readline-max-length\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Proxmark/proxmark3/issues/comments/431887436","html_url":"https://github.com/Proxmark/proxmark3/issues/701#issuecomment-431887436","issue_url":"https://api.github.com/repos/Proxmark/proxmark3/issues/701","id":431887436,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTg4NzQzNg==","user":{"login":"pwpiwi","id":7026004,"node_id":"MDQ6VXNlcjcwMjYwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7026004?v=4","gravatar_id":"","url":"https://api.github.com/users/pwpiwi","html_url":"https://github.com/pwpiwi","followers_url":"https://api.github.com/users/pwpiwi/followers","following_url":"https://api.github.com/users/pwpiwi/following{/other_user}","gists_url":"https://api.github.com/users/pwpiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/pwpiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwpiwi/subscriptions","organizations_url":"https://api.github.com/users/pwpiwi/orgs","repos_url":"https://api.github.com/users/pwpiwi/repos","events_url":"https://api.github.com/users/pwpiwi/events{/privacy}","received_events_url":"https://api.github.com/users/pwpiwi/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T16:28:03Z","updated_at":"2018-10-22T16:28:03Z","author_association":"CONTRIBUTOR","body":"I could successfully test on Windows 10. I am calling msys.bat without any parameters and I have then the following environment variables set:\r\n```\r\nCOMSPEC='C:\\WINDOWS\\SysWOW64\\cmd.exe'\r\nMSYSCON=sh.exe\r\nMSYSTEM=MINGW32\r\nOS=Windows_NT\r\nOSTYPE=msys\r\n```\r\n"}}
{"actor":{"display_login":"pwpiwi"}}