init the pty size of client when join.