Change the return value of read and add the object in some testing shells TOD:change the driver type into Virtual TTY driver