https://karloluiten.nl/running-compiled-code-sh-10665-4-tcsetattr-invalid-argument-error/