in reply to Re^3: system function problem
in thread system function problem
closing and opening STDIN (by storing the handle in another place) did not work the way i expected. Someone in the elinks suggested that i do open(STDIN,"/dev/tty"); this worked great! I just thought I will close the loop on this. Thanks.
-SK