• All Sites

1 answer

IOError when trying to append to a file in Cygwin

I have a very simple little python script to demonstrate my problem: with open("file.txt", "w") as myfile: // Open file.txt in write mode myfile.write("a b c ") // Write “a b c “ ...

4 answers

No source file named main.c. gdb break point setting

I am using gdb for debugging c project source code. I compile as shown: ./configure --enable-debug CFLAGS="-g -o0" make --debug=a I want to debugging stop at specific file. so when I set break ...

4 answers | 1 hour ago by alim on Stack Overflow
9 answers

Best way to use a shell with Cygwin in Windows 7

I installed Cygwin, to be disappointed that bash by default runs within "cmd.exe". I googled around and found Console2. It's not a particularly well-designed application, as doing adjustments is ...

1 answer

FreeBSD to Windows using Cygwin

I have a C & Fortran Codes developed in FreeBSD and I want to run that on my windows system. So I am using Cygwin as an Alternative. Apart from the codes there is also a Makefile and I had tried ...

1 answer

How do I use cmake's FindJNI on Cygwin?

I have some SWIG code I'm trying to compile on Cygwin before I buy Visual Studio. My CMakeList.txt works fine on OSX. On Windows, I installed Cygwin's version of cmake 3.3.1, I installed the latest ...

1 answers | 16 hours ago by amos on Stack Overflow
0 answers

Missing pipe-output from a console-subprocess in the main program (Pari/GP,cygwin?)

I've a User-GUI (in Delphi 6, 32bit) for the mathematical console-program Pari/GP: I call the Pari/GP in an invisible subprocess-window and communicate using the pipes STDIN and STDOUT, and as far as ...

1 answer

Configure path to PowerShell console in Cygwin Emacs

I have Emacs running via Cygwin istall. In Emacs I have installed (via package-install) powershell package; however, when I run M-x powershell I get the following error: Searching for program: no ...

0 answers

Unable to run pycallgraph for python

I'm using windows 7 , with python 2.7 and pip 8.0.2 i have installed pyCallGraph for python using pip in cygwin pip install pycallgraph When trying to execute it : $ pycallgraph graphviz -- ...

0 answers

Administrator Login not working in cygwin (remote ssh)

I am trying to enable ssh access for windows 7 using cygwin. I installed cygwin and ran ssh-host config with default values. At first time I am able to login through administrator account using putty ...

1 answer

Should I change env vars to use the npm script under Cygwin in Windows

Should I change env vars to be able to use npm script under Cygwin in Windows? Because when attempting to use the npm script under Cygwin in Windows, I receive the following error: module.js:339 ...

12 answers

Git/Bash is extremely slow in Windows 7 x64

I've been using Git on both Windows and Ubuntu during the development of a small project, frequently flipping back and forth between the two. The issue I'm having is that Git/Bash consistently become ...

7 answers

Cannot launch git gui using cygwin on windows

I used to launch git gui within my cygwin console without any problems but since I updated cygwin I've got the following error message: $ git gui Application initialization failed: no display name ...

7 answers | 2 days ago by Stijn Vanpoucke on Stack Overflow
0 answers

cygwin ssh not working

I installed cygwin on Windows 7 and trying to test SSH to local host but getting the connection refused and stdin is not a terminal error: Here is the detailed log: $ ssh -vvv localhost ...

1 answer

How can I find .git repositories and pull'em all?

I tried. $ find . -name .git -type d -execdir git pull {}; find: The relative path ‘%ANDROID_HOME%/tools’ is included in the PATH environment variable, which is insecure in combination with the ...

1 answers | 2 days ago by Jin Kwon on Unix & Linux
3 answers

ssh connection using cygwin

I am trying to connect with my remote linux server using cygwin+ssh but the authentication fails with no apparent reason. I have successfully setup another connnection to github successfully and I ...

3 answers | Feb 6 at 13:24 by mottalrd on Stack Overflow
0 answers

Problems configuring argtable2 for clustal-omega

I'm encountering problems configuring clustal-omega-1.2.1. It requires argtable2, so I installed it without significant issues. Issues start to happen when I try to configure clustal-omega with ...

1 answer

Android NDK debugging: armeabi-v7a not working

Eclipse / Cygwin NDK 8c Building a shared library I can't get gdbserver to start anymore after switching to armeabi-v7a. I've searched online for hours but can't find a topic that deals ...

2 answers

Why does find -exec mv {} ./target/ + not work ? (on cygwin)

I want to know exactly what {} \; and {} \+ and | xargs ... do. Please clarify these with explanations. Below 3 commands run and output same result but the first command takes a little time and the ...

2 answers | Feb 6 at 1:43 by Shahadat Hossain on Stack Overflow
2 answers

Running R script from Shell using CygWin: error “Rscript not found”

This is the first time I am trying to run the R file from CygWin terminal. I have a file named linreg.R and I am in the same directory as file in CygWin terminal. There is a shell script in the same ...

1 answer

Why do different installations of sort sort punctuation differently?

I got a file with content like this: ----------- =========== -------- -=-=-=-=-=- When I sort in a linux os, it comes like this: $ sort 1.txt =========== -=-=-=-=-=- -------- ----------- ...

1 answers | Feb 5 at 22:02 by pascalqq on Unix & Linux
0 answers

Saving intent files to logcat through Cygwin

So first of all I'm obviously on a Windows OS, but the problem is I need the fgrep command to save logcat files that run with an "intent". I'm using ADB to connect the android device to my pc. My ...

22 answers

SSH Private Key Permissions using Git GUI or ssh-keygen are too open

Recently I've been unable to clone or push to github, and I'm trying to find the root cause. This is on windows I have cygwin + git as well as msysgit. Msysgit was installed with the following ...

22 answers | Feb 5 at 17:12 by Ben Scheirman on Stack Overflow
5 answers

“Bad owner or permissions” error using Cygwin's ssh.exe

I'm trying to use ssh.exe in Cygwin (in Windows 7). I copied a config file into c:\cygwin\home\[USERNAME]\.ssh. When I run ssh (for example, ssh -vT I get the following error: ...

5 answers | Feb 5 at 17:08 by Ben Scott on Super User
1 answer

run a script that prompts for input just in command line

Testing a batch script, I execute it in bash. I want to see prompts and respond by inputting variables. For example, the following works, but I want to prompt for these inputs, not put literals in my ...

1 answers | Feb 5 at 14:55 by davidjmcclelland on Server Fault
0 answers

The file glib/galloca.h is missing

Hi I am building myPaint through source code. While building the script i am stuck at this point glib/galloca.h file missing. I had some couple of header files missing too like ...

3 answers

C: Malloc String Array Confusion

I'm attempting to allocate sufficient space to hold all command line arguments given to an array arg_list in reverse order. char* arg_list[6]; arg_list = malloc((sizeof(char*)) * argc); for (i=argc; ...

3 answers | Feb 5 at 0:46 by Bob on Stack Overflow
1 answer

git-cat-file output

When I ran git cat-file --batch on a commit, it output 'missing...', but the commit does exist. Why could this happen ? When cat-file was ran with -t switch, it just output 'commit' which is what I ...

1 answers | Feb 4 at 14:44 by ashen on Stack Overflow
0 answers

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql.sock' (2) on Cygwin

I tried to run .sh script and it comes up with this error, I cannot find mysql.sock on that folder. But I can connect to mysql from Cygwin using and localhost. I have installed mysql on ...

3 answers

Launch Windows program from Cygwin

Is it possible to launch a Windows program from the Cygwin Shell? (similar to firing unix commands in PHP with "exec(…)") My example: I'd like to launch a database backup in cygwin, however the ...

3 answers | Feb 4 at 13:30 by Bernd Plontsch on Super User
0 answers

Shell Set Classpath java with spaces

I'm trying to invoke a jar using shell script.I want to dynamically set the classpath for the jar.But it's not working. I've done the part for windows in bat and its working.Now I want to do a sh ...

15 30 50 per page
1 2 3