Re: Non-blocking keyboard I/O in Cygwin?

2004-02-24 Thread Linux Dr .
Linux Dr. haughtmail.com> writes: > > I have a non-blocking keyboard I/O routine I've used for years under IRIX, > Solaris and Red Hat linux. It doesn't seem to work under cygwin, however. The > core of it is: > Ok, I figured this out on my own... though it ga

Non-blocking keyboard I/O?

2004-02-23 Thread Linux Dr .
I have a non-blocking keyboard I/O routine I've used for years under IRIX, Solaris and Red Hat linux. It doesn't seem to work under cygwin, however. The core of it is: fcntl(0. F__SETFL, fcntl(0, F_GETFL) | O_NONBLOCK) tcgetattr(0, &termios_p); termios_p.c_lflag &= ~(ICANON | ECHO);

new cygwin window from script?

2004-02-21 Thread linux dr .
Sorry if this is a repost... didn't seem to post through nntp. I'm trying to generate a new cygwin window in XP/2000, from within a tcsh script in a current cygwin window. How do I create a NEW window (as if I clicked the cygwin icon on the desktop) as opposed to a new shell within the same wi