com.pm: don't use termios