Re: Can cygwin replace win-bash under Windows 7?

2011-04-15 Thread BazookaJo
Sorry guys - in my original post I was suggesting replacing win-bash with Powershell, when I am looking to replace win-bash with cygwin, but post amended :) BazookaJo wrote: > > Hi guys > > I have been playing around with an industrial Linux-powered scanner, and > was making okay progress unde

IPC and pthread condition variable bug

2011-04-15 Thread Sikorski Grzegorz-VBFM67
Hello, I have tried to build an application with queues in UNIX flavor (using msgget API). I have successfully ran cygwin server and enabled IPC. The program works if I use 2-3 queues to send messages between threads (single thread reads from one queue, multiple threads can write to any queue).

Re: Can cygwin replace win-bash under Windows 7?

2011-04-15 Thread Erwin Waterlander
On 04/15/2011 12:05 PM, BazookaJo wrote: Sorry guys - in my original post I was suggesting replacing win-bash with Powershell, when I am looking to replace win-bash with cygwin, but post amended :) Perhaps MSYS-bash is closer to what you are looking for. http://www.mingw.org/ Erwin -- Pro

Still using gcc 3.4.4 - problem with -lncurses

2011-04-15 Thread Fergus
Using cygwin 1.7 and gcc 3.4.4 I have a line in a script gcc -o myexec -o3 ./my.a -lreadline -lncurses -lm which has worked since the Dawn of Time. Just now I had to rebuild myexec and got an error message /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lncu

Re: Still using gcc 3.4.4 - problem with -lncurses

2011-04-15 Thread marco atzeri
On Fri, Apr 15, 2011 at 3:32 PM, Fergus wrote: > Using cygwin 1.7 and gcc 3.4.4 I have a line in a script > > gcc -o myexec -o3 ./my.a -lreadline -lncurses -lm > > which has worked since the Dawn of Time. Just now I had to rebuild myexec > and got an error message > > /usr/lib/gcc/i686-pc-cygwin/3

Re: Can cygwin replace win-bash under Windows 7?

2011-04-15 Thread Andrew DeFaria
On 04/15/11 03:05, BazookaJo wrote: Sorry guys - in my original post I was suggesting replacing win-bash with Powershell, when I am looking to replace win-bash with cygwin, but post amended :) BazookaJo wrote: Hi guys I have been playing around with an industrial Linux-powered scanner, and

Re: Can cygwin replace win-bash under Windows 7?

2011-04-15 Thread Kostya Altukhov
>>> echo !TC | C:/win-bash/nc 192.172.1.6 80 > ScanFile.dta >>> p.s. nc = netcat and I know I need an alternative sooner rather than >>> later > I suspect your question is more about win-bash's nc, which seems to be > a simple way to sent a command to a port on a machine which even > telnet can do

Python Configuration for Cygwin

2011-04-15 Thread Gary Furash
Most articles on configuring your python installation assume that you're using the native python or installing it yourself. Given that I've installed python via the (excellent) Cygwin exe, and it seems to be working fine: 1. what else do I need to setup and how (e.g., how should PYTHONPATH look on

what does this cygserver error mean?

2011-04-15 Thread bob 295
I'm getting this error associated with shared memory and cygserver (sender is the name of my process setting and loading the shared memory): begin error snip 3 [main] sender 3684 transport_layer_pipes::connect: lost connection to cygserver, error = 2 end error snip ==

Re: Re: Spurious warnings about MS-DOS paths

2011-04-15 Thread Ryan Johnson
On 2:59 PM, Eric Blake wrote: On 04/13/2011 09:10 PM, Ryan Johnson wrote: Hi all, A recent cygwin update has started spewing warnings such as the following when I do tab completion on a path containing spaces: $ cd ~/Home/Documents/Pcygwin warning: MS-DOS style path detected: ~/Home/Documen

failure to install on xp

2011-04-15 Thread Dov Kruger
We have two fairly identical windows XP boxes.  On mine, cygwin is working beautifully, with X.  My coworker tried, but she didn't have admin rights and X wouldn't install right. Then she got the coveted admin rights, so we tried to re-install.  It failed.  So we thought we would install clean, del

Cygwin 1.7.8 on Windows 7 Pro x64 Doesn't See Programs Added to C:\Windows\System32 Directory

2011-04-15 Thread Leon Vanderploeg
Greetings, I recently loaded Windows 7 Pro x64 on my laptop, and installed Cygwin 1.7.8. I run a (GCC Compiled) backup program that calls diskshadow.exe -- which I added to the C:\Windows\System32 directory. The program faults because the shell call can't find the program. The Path variable is