chomp newline on send for macosx terminal