[EMAIL PROTECTED] wrote:



The shell likely does not believe that it is running interactively for some
reason, and so is not presenting prompts.  Look at the documentation for the
shell to figure out how to tell it to go into interactive mode.

Derrell

You are correct. This is a common problem for Unix code under windows (at least with MSYS), since isatty() doesn't work correctly. MSYS comes with a start command to work around this issue. Instead of:

sqlite3 ...

you can use

start sqlite3 ...

at the MSYS prompt. It will start a windows command shell running sqlite3 where the isatty returns the correct results, and hence the I/O is flushed to the screen before any prompts for input.

HTH
Dennis Cote

Reply via email to