use cfmakeraw to set all termios flags correctly