View Single Post
Old 10-10-2004, 06:45 AM   #7 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
i think i found the answer to his problem....

1) On UNIX systems, when stdin is redirected from a terminal, Ctrl-D is
interpreted as EOF only when it is issued at the beginning of the line.
Otherwise, it is interpreted literally. Did you issue Ctrl-D immediately
after the prompt?

2) On Windows systems, when stdin is redirected to the keyboard, Ctrl-Z
marks EOF only when followed by ENTER. Have you hit ENTER after Ctrl-Z?
Androto is offline   Reply With Quote