// Fully implemented terminalio functions.  They now work off of a static int for the
// file descriptor and handling echo and blocking correctly