Re:What happens when you press a key in your terminal?
by pphysch on Thursday July 21, 2022 @04:45AM
(#32177082)
It's a valuable exercise to write a web shell service with Go standard library (rather than goterm). It shouldn't take more than 100-200 LOC and you will learn a lot about how SSH protocol, streaming IO, websockets work.
[ Parent
| on HN ]
Re:What happens when you press a key in your terminal?
by jbreckmckye on Thursday July 21, 2022 @07:08AM
(#32177936)
There should be a body of these "koans", little program specs to implement to explore various technologies.
Re:What happens when you press a key in your terminal?
by SheetPost on Thursday July 21, 2022 @05:20AM
(#32177250)
ah, it's also a great deal of a distraction if your goal was to see what gets sent when presing keys
Re:What happens when you press a key in your terminal?
by pphysch on Thursday July 21, 2022 @05:52AM
(#32177414)
On the contrary, you don't have to do much more work than the author already did, and you get deep practical insights into how this very useful technology works beyond the marginally useful trivia of how terminals happen to internally represent keystrokes