1 2 3 4
remove controling term with ioctl back fall to stdin use buf to communicate with child gets status