There are some articles about the IO subsystem of Tcl at SourceForge [L1 ]. Unfortunately one of the articles encounters a size limit imposed by SF. The text version of this article is now here on the Wiki:
Tcl IO Drivers aka The Tcl I/O system as seen by a driver (channel type)