Your ctrl-D technique of course works on UNIX but windows often does not follow UNIX. I cannot think of any reason why windows should follow UNIX on this point. A quick search reveals many people with the same issue.
What problem are you trying to solve? Could you treat a certain string of characters as terminating the input?
In reply to Re: Is the signal handler supposed to work like this?
by SilasTheMonk
in thread Is the signal handler supposed to work like this?
by dpmott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |