Arjen Markus <arjen.markus@[EMAIL PROTECTED]
> writes:
>
> Cute solution, but here are a few caveats:
>
> 1. The device file "/dev/tty" exists or is usuable for this purpose on
> UNIX, Linux and (I assume, I have no access to it) OSX and systems
> like that.
Quoting the OP
>> > The program package I am using executes programs in the following
>> > way (under Unix): program.bin < program.input
> 3. The second loop does not terminate: there is no end-of-file
> condition,
> even with an empty line.
Try "ctrl-D"
Chip
--
Charles M. "Chip" Coldwell
"Turn on, log in, tune out"
GPG Key ID: 852E052F
GPG Key Fingerprint: 77E5 2B51 4907 F08A 7E92 DE80 AFA9 9A8F 852E 052F


|