{"action":"created","issue":{"url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/20","labels_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/20/comments","events_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/20/events","html_url":"https://github.com/grzegorzmazur/migration_test/issues/20","id":96999055,"number":20,"title":"stdin/stdout \"server\" mode [sf#20]","user":{"login":"grzegorzmazur","id":8030816,"avatar_url":"https://avatars.githubusercontent.com/u/8030816?v=3","gravatar_id":"","url":"https://api.github.com/users/grzegorzmazur","html_url":"https://github.com/grzegorzmazur","followers_url":"https://api.github.com/users/grzegorzmazur/followers","following_url":"https://api.github.com/users/grzegorzmazur/following{/other_user}","gists_url":"https://api.github.com/users/grzegorzmazur/gists{/gist_id}","starred_url":"https://api.github.com/users/grzegorzmazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzegorzmazur/subscriptions","organizations_url":"https://api.github.com/users/grzegorzmazur/orgs","repos_url":"https://api.github.com/users/grzegorzmazur/repos","events_url":"https://api.github.com/users/grzegorzmazur/events{/privacy}","received_events_url":"https://api.github.com/users/grzegorzmazur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/grzegorzmazur/migration_test/milestones/2","html_url":"https://github.com/grzegorzmazur/migration_test/milestones/1.3.6","labels_url":"https://api.github.com/repos/grzegorzmazur/migration_test/milestones/2/labels","id":1223591,"number":2,"title":"1.3.6","description":"emergency bugfix","creator":{"login":"grzegorzmazur","id":8030816,"avatar_url":"https://avatars.githubusercontent.com/u/8030816?v=3","gravatar_id":"","url":"https://api.github.com/users/grzegorzmazur","html_url":"https://github.com/grzegorzmazur","followers_url":"https://api.github.com/users/grzegorzmazur/followers","following_url":"https://api.github.com/users/grzegorzmazur/following{/other_user}","gists_url":"https://api.github.com/users/grzegorzmazur/gists{/gist_id}","starred_url":"https://api.github.com/users/grzegorzmazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzegorzmazur/subscriptions","organizations_url":"https://api.github.com/users/grzegorzmazur/orgs","repos_url":"https://api.github.com/users/grzegorzmazur/repos","events_url":"https://api.github.com/users/grzegorzmazur/events{/privacy}","received_events_url":"https://api.github.com/users/grzegorzmazur/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"closed","created_at":"2015-07-24T08:15:55Z","updated_at":"2015-07-24T08:31:41Z","due_on":"2014-11-25T00:00:00Z","closed_at":"2015-07-24T08:15:55Z"},"comments":1,"created_at":"2015-07-24T08:17:14Z","updated_at":"2015-07-24T08:31:42Z","closed_at":"2015-07-24T08:31:41Z","body":"**Reported by ggrothendieck on 2011-11-20 13:08 UTC**\nAllow yacas to start up in a mode where it acts just like server mode but takes its input from stdin and writes its output to stdout.  \r\n\r\n\r\n* * *\r\n\r\nComments by matmota:  \r\n\r\n\r\nLogged In: YES   \r\nuser_id=78635  \r\n\r\n\r\nI've realized that there would be one important feature  \r\nmissing: the separators that the Yacas server puts around  \r\nthe output, namely, a line with a single \"]\", after each  \r\npart (input or output).  \r\nThis can be done with a custom read-eval-print function.  \r\nA way to begin would be to copy the REP function (rule) in  \r\n\"scripts/yacasinit.ys\", renaming it to something else. Let's  \r\nsay \"StdioREP\".  \r\nThen, you would use it with the option \"--read-eval-print  \r\n'StdioREP();'\". Don't forget the parentheses there.  \r\nAt this point, you can modify the \"Write()\" calls in there  \r\nto format the output as you want.  \r\n\r\n\r\n(Posted only once this time!)  \r\n\r\n\r\nLogged In: YES   \r\nuser_id=78635  \r\n\r\n\r\nIn principle, the way to do that is:  \r\nyacas -pc --read-eval-print \"\"  \r\n\r\n\r\nOne problem you can find is that, on EOF (use Ctlr+D for  \r\ntesting), Yacas goes into some kind of infinite loop. This  \r\ncould be related to bug #1292788:  \r\n[https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1292788&amp;group_id=2528](https://sourceforge.net/tracker/index.php?func=detail&aid=1292788&group_id=2528)  \r\n\r\n\r\n* * *\r\n\r\nMoved from SF: 1292779  \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/comments/124441030","html_url":"https://github.com/grzegorzmazur/migration_test/issues/20#issuecomment-124441030","issue_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/20","id":124441030,"user":{"login":"grzegorzmazur","id":8030816,"avatar_url":"https://avatars.githubusercontent.com/u/8030816?v=3","gravatar_id":"","url":"https://api.github.com/users/grzegorzmazur","html_url":"https://github.com/grzegorzmazur","followers_url":"https://api.github.com/users/grzegorzmazur/followers","following_url":"https://api.github.com/users/grzegorzmazur/following{/other_user}","gists_url":"https://api.github.com/users/grzegorzmazur/gists{/gist_id}","starred_url":"https://api.github.com/users/grzegorzmazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzegorzmazur/subscriptions","organizations_url":"https://api.github.com/users/grzegorzmazur/orgs","repos_url":"https://api.github.com/users/grzegorzmazur/repos","events_url":"https://api.github.com/users/grzegorzmazur/events{/privacy}","received_events_url":"https://api.github.com/users/grzegorzmazur/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T08:31:42Z","updated_at":"2015-07-24T08:31:42Z","body":"**Commented by grzesiek on 2014-11-25 09:58 UTC**\n- Description has changed:\n\nDiff:\n\n~~~~\n\n\n\n~~~~\n\n- **status**: new --> closed\n- **Milestone**:  --> 1.4\n- **Resolution**:  --> wontfix\n"}}