cecilia_broadaw
09-22-2004, 06:16 PM
Here's the situation in a Windows programming environment:
in my mainmenu, there is the line "do you want to continue [y/n]? y" and it reads the STDIN. Normally, this works. However, after this one function, extract, this <STDIN> causes the screen to freeze. If I do a 'cls' before the STDIN, it works fine; but if I don't, it freezes. :( In a perfect world, I would like for it not to have to do a 'cls.'
Is there something about 'cls' that clears a buffer or resets the world? If so, is there a way to recreate it?
A little more background: The extract function uses a lot of calls to SFTP (Vandyke). I don't know if that would affect this either.
If you could help shed some light on this subject, I would really appreciate it!!!
Thanks,
Cecilia
in my mainmenu, there is the line "do you want to continue [y/n]? y" and it reads the STDIN. Normally, this works. However, after this one function, extract, this <STDIN> causes the screen to freeze. If I do a 'cls' before the STDIN, it works fine; but if I don't, it freezes. :( In a perfect world, I would like for it not to have to do a 'cls.'
Is there something about 'cls' that clears a buffer or resets the world? If so, is there a way to recreate it?
A little more background: The extract function uses a lot of calls to SFTP (Vandyke). I don't know if that would affect this either.
If you could help shed some light on this subject, I would really appreciate it!!!
Thanks,
Cecilia