[riot-notifications] [RIOT-OS/RIOT] Question: Shell commands via telnet (#12233)

Thomas Stilwell notifications at github.com
Thu Sep 19 06:17:51 CEST 2019


I did the same thing and found that there's an easy way but there's no way that isn't a hack.

So far the best way I found was to hack the scheduler to change `stdin` and `stdout` depending on which thread is running. You can see what I did here: 54e73f125f709d321ed075f074c2e115687fec7b

The telnet server that uses this hack is here: 16cd537c2afdf4b30cd41161f5b04bacc19745ed. 

For me it's been working well in practice.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/12233#issuecomment-532958514
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190918/5362a7eb/attachment-0001.htm>


More information about the notifications mailing list