add SetRaw to pty