Re: porting Unix programs to windows

2008-02-04 Thread Doug Bohl
You need to clarify what you mean by "port Unix C programs to Windows VC using cygwin" means. As Brian has pointed out, Cygwin's headers are written for Cygwin's libraries, just as MSVC's headers are written for MSVC's libraries. You'll find that it's quite easy to port UNIX programs using Cygwin

Re: Redirecting bash stdin

2006-05-07 Thread Doug Bohl
Hmmm... I'll take a look at your code if I get time, but here's an inefficient (yet simple) solution that would at least work: You could start Cygwin/bash in an invisible DOS prompt window, and send commands to it by simulating keystrokes (PostMessage or SendMessage... WM_KEYDOWN, WM_KEYUP). Yeah

Re: GDB Interrupts on Cygwin

2006-03-17 Thread Doug Bohl
I know. I removed it using the Environment Variables option in My Computer, logged off, and logged back on, went into Cygwin, and checked the $CYGWIN variable. tty was no longer there. On 3/17/06, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Fri, Mar 17, 2006 at 02:11:54PM -0

Re: GDB Interrupts on Cygwin

2006-03-17 Thread Doug Bohl
ED]> wrote: > On Fri, Mar 17, 2006 at 06:56:55AM -0500, Bob Rossi wrote: > >On Fri, Mar 17, 2006 at 03:55:08AM -0500, Doug Bohl wrote: > >> When running a Windows application from GDB, GDB gives control to the > >> application at a certain point. It would be nice to, at

GDB Interrupts on Cygwin

2006-03-17 Thread Doug Bohl
When running a Windows application from GDB, GDB gives control to the application at a certain point. It would be nice to, at an arbitrary time, suspend the application and give control back to GDB. I know that I can set breakpoints, but sometimes I don't know exactly when I want to break until a