Re: ioctl problem with pconsole

2011-03-21 Thread Christopher Faylor
On Mon, Mar 21, 2011 at 05:05:13PM -0600, Chuck Cox wrote: >I'm trying to compile pconsole (from http://www.heiho.net/pconsole/) on >Cygwin 1.7.8 with the standard gcc 4.3.4 compiler. I have compiled many >things before on Solaris and Linux, but this is my first adventure with >Cygwin. :-) > >F

ioctl problem with pconsole

2011-03-21 Thread Chuck Cox
I'm trying to compile pconsole (from http://www.heiho.net/pconsole/) on Cygwin 1.7.8 with the standard gcc 4.3.4 compiler. I have compiled many things before on Solaris and Linux, but this is my first adventure with Cygwin. :-) First off, you have to add "#define TIOCSTI 0x5412" to pconsole.c