termio from vc++ console app
Tue Dec 7 22:53:00 GMT 1999
I have a Console Application created with Visual C++, and want to run it in
a bash window.
When the application is run (see code below), printf works fine, but
isatty(fileno(stdin)) returns 0 (no terminal attached)
Is there any way to do this??
// Example code...
int main(int argc, char* argv)
i = _isatty(_fileno(stdin));
printf("isatty returned: %d\n", i);
I also tried creating the same application using the MKS NutCracker suite
(that application had ioctl) calls.
This application also fails (and the ioctl calls failed with "Invalid
(A gut feeling - would compiling bash using VC++ solve the problem -
Want to unsubscribe from this list?
Send a message to email@example.com
More information about the Cygwin