En Mon, 24 Sep 2007 04:04:07 -0300, per9000 <[EMAIL PROTECTED]> escribi�:
> On 23 Sep, 18:24, Damjan <[EMAIL PROTECTED]> wrote:
>> > I want to create a program that reads input from stdio that can prompt
>> > a user for input while doing so without getting into problems.
>> ...
>>
>> The trick (wh
On 23 Sep, 18:24, Damjan <[EMAIL PROTECTED]> wrote:
> > I want to create a program that reads input from stdio that can prompt
> > a user for input while doing so without getting into problems.
> ...
>
> The trick (which works on Linux for sure) is to open /dev/tty and ask
> question/get input on/f
> I want to create a program that reads input from stdio that can prompt
> a user for input while doing so without getting into problems.
...
> As you can see I have commented out what I'd like to do but do not
> know how to. Can I somehow halt the previous print to stdout (cat
> input.txt) - if so