Cygwin

Cygwin

  • All Sites

23 answers

SSL certificate rejected trying to access GitHub over HTTPS behind firewall

I'm stuck behind a firewall so have to use HTTPS to access my GitHub repository. I'm using cygwin 1.7.7 on Windows XP. I've tried setting the remote to ...

6 answers

Can git treat zip files as directories and files inside the zip as blobs?

The scenario Imagine I am forced to work with some of my files always stored inside .zip files. Some of the files inside the zip are small text files and change often, while others are larger but ...

1 hour ago
0 answers

Cygwin Eclipse CDT Include/Library

I'm getting started with Eclipse CDT. I have the Cygwin and MinGW GCC compilers added. Some simple Hello World-type programs work for both. I then tried some code that includes Armadillo, a linear …

1 hour ago
2 answers

Bash can't cd into a directory through another script

A while ago I wrote a script (let's call it myScript) so that it would cd into a specific folder. I saved it in cygwin home directory so I could run it just by calling ~/myScript. I had problems with …

2 hours ago
3 answers

How can I echo to /dev/tty?

Is there a way to send something like an "end of data" after executing echo "test" > /dev/tty1 in order to gain the "input cursor" back to "receiving" terminal (in this case tty1)? Screenshot: …

5 hours ago
6 answers

Git push hangs when pushing to Github?

Git push hangs everytime I try to push to github. I am using Cygwin and Windows 7. Git functions fine locally tracking branches, providing status, setting global user.name and user.email and allowing …

5 hours ago
1 answer

understand the output of stty -a and change ctril backspace to just backspace

I am working in bash shell on a Solaris environment and whenever I type "backspace" it clears out the entire line. Do you have any suggestions for me to change the backspace clearing entire line to …

6 hours ago
1 answer

Linphone EXE compilation issue in Windows-7

I am new to linphone and trying to compile it on my windows machine. My System configuration and installed softwares/dependencies for linphone are as below: windows-7 32-bit OS platform installed …

7 hours ago
2 answers

Practical (closest to the classical Linux one) way to use (automate) SUDO for CygWin

Being able to use sudo commands in CygWin is useful, and faster than opening an elevated shell: Luis@Kenobi /cygdrive/c/Users/Luis $ net user /add TestUser System error 5. Access denied. Luis@Kenobi …

1 answer

Cygwin: Run a script in mintty/bash

Initially asked on SO.com, but I closed it. I think it better fits SU.com. Please tell me if it is also not the right place. I want to add a context menu to a .sh file to run it in cygwin. I tried …

1 answer

Running a CygWin shell: what windows console (DOS) commands do disappear?

If under my Windows with CygWin (v2.831 32bits) I do: cmd mode 80,50 the screen width changes, but if I open a CygWin terminal, like bash: C:\cygwin\bin\bash --login -i $ mode 80,50 bash: ...

6 answers

apt-get for cygwin?

Is there any apt-get like for use with cygwin? I already tried the cyg-apt but when I try I get this error: cyg-apt: downloading: http://cygwin.mirrors.pair.com/setup-2.bz2 cyg-apt: downloading: ...

11 hours ago
1 answer

Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

I am very new to Cygwin, C, C++ and NetBeans IDE 7.2. My PC is running MICROSOFT WINDOWS 7 OS. I have read the documentation on how to install the Cygwin C C++ compilers. ...

12 hours ago
0 answers

MinGW, Cygwin is GPL licens requried to my app

I have asked my selv this question I not could find answer's on google. Can i create a application in a text editor (without GPL license) and compile it with Cygwin or MinGW. But do it so need to be …

12 hours ago
0 answers

git pull is not working on msysgit client?

I am using msysgit client, I am able to fetch,push but when I try to pull it shows git: 'pull' is not a git command. See 'git --help'. I tried for git --exec-path and it gives ...

12 hours ago
1 answer

Building .exe via shell causes extra character in file name

I'm trying to create a shell script via cygwin that will automatically build an executable and run it. It's a very simple format of #!/bin/bash gcc test.c -o hello ./hello.exe When I enter the 2nd …

13 hours ago
0 answers

print text in color in C under Cygwin

I have some code in C to print out lines of text in different colors. It's working on Linux using escape characters (for example here). It's working on Windows using SetConsoleTextAttribute But my …

14 hours ago
1 answer

SSH tunnel to VNC on a Windows 7 system. Error: Tunnel device open failed

The system I'm trying to SSH from is Fedora 20 x86_64. The system tunneling to is Windows 7 Ultimate 32-bit and it has Cygwin installed with TigerVNC and OpenSSH. VNC is running on Windows 7 on port …

4 answers

How do I install cygwin components from the command line?

Is there a tool in the cygwin package similar to apt-get on Debian or yum on redhat that allows me to install components from the command line?

22 hours ago
1 answer

Hadoop+HBase cluster on windows: winutils not found

I'm trying to set up a fully-distributed 4-node dev cluster with Hadoop 2.20 and HBase 0.98 on Windows. I've built Hadoop on Windows successfully, and more recently, also build HBase on Windows. We …

1 answer

Anyone know how to put a Cygwin term in the context menu

I would like to put a Cygwin terminal menu item on a Windows 7 context menu. But I would like the shell to open at the folder. chere -i is supposed to do something like it but ends up giving a bash …

1 answer

How to set the correct local time zone in git bash?

I am using git-bash on a Windows system. The Windows clock shows local time, but inside git-bash everything is in GMT time: $ date Mon Mar 31 16:08:57 GMT 2014 Also setting TZ will not change ...

0 answers

Cygwin demands passphrase after entering say command not allowed

Actually I have to run sudo "chomd +x build_android.sh" command it run properly but after executing it. It demands "Passphrase". As I know this is my system password. And I have not system password …

0 answers

Git push error - fatal: file '<stdout>' write error: Bad file descriptor

For a few days, pushing gives me this error: fatal: file '<stdout>' write error: Bad file descriptor. If I restart my windows and the first thing I do is make the push, it works. But if I ...

yesterday
2 answers

Configuring Public Key Authentication with SSHD under Cygwin

I am trying to configure SSHD to allow public key authentication under Cygwin on Windows Server 2012. Currently my problem is access being denied. I have confirmed that my public key is saved as a ...

0 answers

How can you get cygwin to use (a component of) pywin32 library in a python program on a Win 7 Operating System? (Assume python version 2.7 is used)

Here is a sample code I wish to execute using cygwin to run ion Windows 7 to do a simple search and replace for texts in an AutoCad drawing: import sys import win32com.client from sys import argv ...

yesterday
3 answers

It there any tiled console/command prompt for Windows OS?

I need to monitor 2-4 console windows at the same time. Now I'm using 4 cygwin mintty windows, each takes 1/4 of my whole desktop space. The problem is that they aren't tied together. And if I switch …

0 answers

compile lftp with different openssl version in cygwin

am trying to compile lftp with a different openssl version on cygwin but it does not compile in the one i want when configuring openssl i used ./config --prefix=/usr/local/apps/openssl-0.9.8t when …

0 answers

Error from spin, gcc and cygwin

I just installed Spin under Windows 7, and ran it from cygwin x86_64. I ran the tests as suggested in the readme file until the third test. % spin -a loops.pml % cc -DNOREDUCE -o pan pan.c % ./pan …

yesterday
2 answers

Cygwin, opening a file doesn't allow more commands

When I open a file in cygwin it opens the file in my text editor, but I cant type in any new commands. to type in new commands i have to hit control-c, which closes my text editor. I hate it. How do …

yesterday
15 30 50 per page
1 2 3