cygwin

RubyGems + Cygwin: POSIX path not found by ruby.exe

I am a Ruby programmer on Windows who trys to switch from Win cmd to Cygwin, but cannot achieve to execute batch files of Ruby gems. I already stuffed any bin directory into the Windows PATH env. variable, including the Ruby bin where the executables are stored. Gems, however, are invoked by ruby.exe itself, which leads to the following...

Cygwin and alternatives to replicating linux commands on windows

I keep running into issues with a .bat script I want to write to automate some tasks related to the setup of my PHP application. I can't for instance do simple wget to download files and so on. I hear that by installing Cygwin, the user should be able to have access to all linux related commands, so my script will run without problems....

fork_copy error from make

Hello! I've received this message with Netbeans. I use Cygwin and because of university I use an older version. Before installing this older version Netbeans compiled correctly with a recent version of Cygwin. I can compile with Dev-Cpp. Anyone knows how to fix this error? 1 [main] make 4064 fork_copy: linked dll data/bss pass 0 f...

A linux version of cygwin?

I'm looking for a linux program that is simple and text-based, like cygwin, thats actually linux. I feel to much is missed out by cygwin like nano syntax highlighting and general linux programs. Is there any thing that runs with command prompt, like cygwin, that is a full text-based linux OS. ...

In cygwin how do I check the file format of a file, how do I change the format from dos to unix?

In cygwin how do I check the file format of a file, how do I change the format from dos to unix? This question has probably already been answered before, but I could not find the answer in previous posts ...

cygwin shell in emacs - output messed up?

I saw an answer here how to start the cygwin shell. However, the cygwin shell output is messed up. (defun cygwin-shell () "Run cygwin bash in shell mode." (interactive) (let ((explicit-shell-file-name "C:/cygwin/bin/bash")) (call-interactively 'shell))) (setq explicit-bash-args '("--login" "-i")) and here is a sample output...

cygwin shell in emacs /cmd.exe in windows

I am attempting to get python to run in a command shell in emacs. I have tried the standard M-x shell that comes with windows emacs and then type 'python' but python just hangs up (no output). I have also tried running other program shells such as bash.exe from cygwin with the same result. Any way to get a shell that can run other progra...

Cygwin and Tortoise Git

I have recently installed Cygwin along with the Git binaries and a copy of Tortoise Git on a fresh Windows XP install. I seem to be able to do most Git operations through Tortoise such as viewing the logs etc, but when I come to commit via Tortoise I get this message... error: unable to create temporary sha1 filename : No such file...

Got EINTR error when recv (Block mode) under cygwin/windows 7)

I got a lot of EINTR errors when I used the following function in my program. Why couldn't the program resume to receive data using the loop when EINTR happened? What are the possible causes of EINTR error number under cygwin? int Recv(int fd, void *buf, int size, int flags) { int over = 0; int res = 0; while (over < size) { res...

Installing ANT on Cygwin

I'm having some trouble figuring out how to istall Ant on cygwin. I want to use Ant to build Nutch. I've looked through a bunch of tutorials but I can't find anything that is low level enough for me to understand. I need something like... Download ant, put it here Open Cygwin type "export ANT_HOME=..." ... Can anyone help me out h...

How to code C in a x64 bit machine ?

My new PC is Dell Inspiron 580s which is a x64 machine. Before which I used to code in TURBO C++ in my x86 machine. Since I was unable to run TURBO C++ in the new system. I installed NetBeans 6 IDE for which we need to install the compiler (CYGWIN) manually and so I did. But I'm unable to code in NetBeans. After lots of search I heard ...

Git: commit file with LR with msys/cygwin Git.

I have a bash script under Git version control on Windows (cygwin git). I would like checkout file from repo with LF (it is bash script) on windows (and I have core.autocrlf=true). As a result, I've got CRLF file and "$'\r': command not found" error message for script. How I could workaround this issue? BR ...

Kill all processes launched inside an xterm when exit

I'm using Cygwin to start some servers. Each server is launched inside an xterm with a bunch of command like this one: xterm -e $my_cmd /C & Is there an easy way to kill all launched children (xterm and their running commands) in a row ? I want also to be able kill a particular launched command when I close its parent xterm. Someo...

Hadoop 0.20.2 Eclipse plugin not fully functioning - can't 'Run on Hadoop'.

Hi folks, I've just finished installing Hadoop 0.20.2 under Cygwin on Windows 7 with Eclipse Helios (3.6). Hadoop is now fully started, and I'm trying to run a test application within a newly created MapReduce test project in Eclipse. I'm using the Hadoop 0.20.2 plugin from the Hadoop download. The Map/Reduce Location perspective opera...

Is there a command that can be run from a cygwin shell to print out an xml file with color highlighting?

Is there a command that can be run from a cygwin shell to print out an xml file with color highlighting? ...

Vim commands :Explore :Sexplore :Hexplore doesn't work in cywing

Hi I am using vim 7.3.3 in cywing 2.721, the installation was made using cywing, every thing works but when I try to use the following command. :Explore vim said E492: Not an editor command also neither :Sexplore or :Hexplore works. is there any way to activate this functionality? This is in machine with windows xp. ...

How to build FLTK to using with Netbeans (Windows)

How to build FLTK to using with Netbeans (Windows), i have tried but not success. Help me ...

Does pgpool run on cygwin

Hi, Do you know if pgpool run with cygwin on windows ? If it does, do know any tutorial ? Thanks, ...

Why did my cygwin become very slow ?

Hi, my dear friends. I installed cygwin in my computer, and installed the Nikto plugin. I used .nikto.pl -host command to do some scan, it worked well. But after several days, I used it again, but it worked very slowly, almost could not work. I used negies etc tool to monitor the packet, just several packet. I reinstalled the cygwin, i...

Are find results in bash always sorted by filename in ascending order?

I have some code that is dependent on the fact that (until now) I've been getting the results by find in cygwin in ascending order. Is this always the case or have I to be careful about any other "variables", to make sure I will get this result in both Windows / Linux, whatever? Thanks ...