Attach protocol - Part tty and Tidy changes