read from fd 0 works