chan configure stdout -buffering none
puts -nonewline stdout "1 hello on stdout with crlf newline\r\n"
flush stdout
puts -nonewline stdout "2 hello on stdout with unix newline\n"
flush stdout
puts -nonewline stdout "3 hello on stdout no line-ending"
flush stdout