{"action":"created","issue":{"url":"https://api.github.com/repos/Blackjack92/fhvOS/issues/36","labels_url":"https://api.github.com/repos/Blackjack92/fhvOS/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/Blackjack92/fhvOS/issues/36/comments","events_url":"https://api.github.com/repos/Blackjack92/fhvOS/issues/36/events","html_url":"https://github.com/Blackjack92/fhvOS/issues/36","id":67058515,"number":36,"title":"[Console] Implement a console","user":{"login":"trylimits","id":7002180,"avatar_url":"https://avatars.githubusercontent.com/u/7002180?v=3","gravatar_id":"","url":"https://api.github.com/users/trylimits","html_url":"https://github.com/trylimits","followers_url":"https://api.github.com/users/trylimits/followers","following_url":"https://api.github.com/users/trylimits/following{/other_user}","gists_url":"https://api.github.com/users/trylimits/gists{/gist_id}","starred_url":"https://api.github.com/users/trylimits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trylimits/subscriptions","organizations_url":"https://api.github.com/users/trylimits/orgs","repos_url":"https://api.github.com/users/trylimits/repos","events_url":"https://api.github.com/users/trylimits/events{/privacy}","received_events_url":"https://api.github.com/users/trylimits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T06:15:42Z","updated_at":"2015-05-01T11:31:39Z","closed_at":null,"body":"We should implement a console which also overrides the `printf(..)` and `scanf(..)` functions. Those should be redirected to the UART0 output.\r\n\r\nGeneral concept for that is to provide our own functions which should look approx. like this:\r\n\r\n\textern int fprintf (char* format, ...)\r\n\t{\r\n\t   va_list args;\r\n\r\n\t   va_start(args,format);\r\n\r\n\t   int return_status = 0;\r\n\t   return_status = vfprintf(STREAM, format, args);\r\n\r\n\t   va_end(args);\r\n\t   return return_status;\r\n\t}\r\n\t\r\nwhere `STREAM` is of type `FILE`."},"comment":{"url":"https://api.github.com/repos/Blackjack92/fhvOS/issues/comments/98108185","html_url":"https://github.com/Blackjack92/fhvOS/issues/36#issuecomment-98108185","issue_url":"https://api.github.com/repos/Blackjack92/fhvOS/issues/36","id":98108185,"user":{"login":"trylimits","id":7002180,"avatar_url":"https://avatars.githubusercontent.com/u/7002180?v=3","gravatar_id":"","url":"https://api.github.com/users/trylimits","html_url":"https://github.com/trylimits","followers_url":"https://api.github.com/users/trylimits/followers","following_url":"https://api.github.com/users/trylimits/following{/other_user}","gists_url":"https://api.github.com/users/trylimits/gists{/gist_id}","starred_url":"https://api.github.com/users/trylimits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trylimits/subscriptions","organizations_url":"https://api.github.com/users/trylimits/orgs","repos_url":"https://api.github.com/users/trylimits/repos","events_url":"https://api.github.com/users/trylimits/events{/privacy}","received_events_url":"https://api.github.com/users/trylimits/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T11:31:39Z","updated_at":"2015-05-01T11:31:39Z","body":"I would like to discuss some specifications of the console:\r\n\r\n1. Is the console a user application or integrated into the kernel\r\n2. Should the console override `printf` and `scanf`\r\n3. Should the console be blocked by one process or should it be available for all processes\r\n\r\n@mpe5651 @Blackjack92 Pls provide your opinions asap."}}