unix: use cfmakeraw() for setting raw TTY mode