Background: want to draw borders around some command output, got some free time, learnt the technique called "PTY" from some podcast, seems fun so take the adventure!
At the end it's half fun and half not.
One very important thing learnt from all this is that Unix sucks.
On one hand, a sane person should take high level abstractions when appropriate, however, on the other hand,