add ldoc for Process.
rename line iterator, cleanup ldoc for IStream.
add ldoc for write function in OStream.