3 ms·
I was experimenting with pty's just the other day. I needed only I/O and window size updates, so it turned out fairly succinct: https://github.com/sjmulder/tri
by sjmulder 9y ago
I was experimenting with pty's just the other day. I needed only I/O and window size updates, so it turned out fairly succinct:
https://github.com/sjmulder/trickle/blob/master/tritty.c https://github.com/sjmulder/trickle/blob/master/tritty.c
I'm not at all an experienced Unix programmer though so take it with a grain of salt. Would be happy to hear about any defects or possible improvements.