remove old termios code from util