Unix pipes are not allowed in non-smoking areas. -----Original Message----- Many years ago (when the dinosaurs were using V6), I had a crazy idea[*] that a write(fd, 0, NULL) would somehow signal EOF to the reader i.e. a subsequent read would wait for further data instead of ENOTOBACCO.