cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.

learn more… | top users | synonyms

4
votes
1answer
433 views

lpr on Cygwin appending .lnk to my PRINTER value

I have Cygwin on a Windows 7 machine. In my .bashrc file, I have tried export PRINTER=\\\\myPrintServer\\myPrinter Escaping the backslashes, which, when I type $lpr -D, gives me Windows Printer ...
3
votes
1answer
37 views

Copying folders with cygwin

The folder produced by cp -r myfolder myfolder2 is marked shared as reported by "It is shared with other people. Are you sure that you want to delete it?" dialog in windows when I try to delete the ...
3
votes
1answer
879 views

vim in Console2 on Windows doesn't colour code?

I'm using Console2 on Windows with Cygwin. Using Windows vim (on my PATH), the colour coding doesn't seem to display in Console2? Using vim from cmd does colour code.
3
votes
1answer
681 views

I/O redirection using cygwin and mingw

I have written a program in C and have compiled it using MinGW. When I try to run that program in Cygwin, it seems to behave normally (i.e. prints correct output etc.) However, I'm trying to pipe ...
0
votes
0answers
124 views

Why ssh connection fails if `id_rsa.pub` file exists in local `.ssh` directory?

I just noticed if id_rsa.pub exists in local ~/.ssh directory, I can't connect my remote server with ssh command. But I have no idea why is that. Is it dangerous for security if public key exists at ...
0
votes
0answers
312 views

Cygwin SSH Server on Azure Windows Server 2012 R2 VM giving errors

No matter what I am not able to connect to cygwin ssh server configured on Windows Server 2012 R2 Azure VM. Locally it sometimes work sometimes not. Remotely it never works. Sometimes the error ...
0
votes
0answers
13 views

How can I use rss2email with sendmail under Cygwin?

I'm trying to run rss2email under Cygwin, having it send the mails from the local machine (not from an SMTP server). Originally, I got the error that the sendmail command could not be run. I did some ...
0
votes
0answers
25 views

Remove Windows link associations from recursively linked files (created by mistake)

So, because of Windows' bone-headed reverse syntax and the generally piss-poor command line utilities, I accidentally created several hundred recursive links on files in many directories and nested ...
0
votes
0answers
146 views

Cygwin can't execute Shell script

I am trying to execute a Shell script using Cygwin. When I type this in the Cygwin terminal: sh build-native.sh I get this: build-native.sh: line 2: ndk-build: command not found It's a script ...
0
votes
0answers
64 views

cURL POST on cygwin64 blocks for minutes

This curl command blocks for two and a half minutes and then finally executes. There is no activity on the Tomcat server during this time. curl -i -H "Content-type: application/json" -X POST ...
0
votes
0answers
311 views

How to install Mahout on Windows 8.1?

My goal is to build up a recommendation system and after going through many articles, I came across Mahout as a simple, yet effective way to go on. I already have XAMPP installed on my system. How ...
0
votes
0answers
102 views

how to choose the proper find.exe?

There are multiple find.exes upon my pc, C:\Documents and Settings\sanya>dir c:\find.exe /s/b c:\cygwin\bin\find.exe c:\WINDOWS\system32\find.exe c:\WINDOWS\system32\dllcache\find.exe ...
0
votes
0answers
26 views

Prevent user from linking our elf files other than our eclipse product

We have developed eclipse product based on Eclipse CDT. User simply writes code in C. It is compiled and linked with our custom elf files. We want to prevent user from linking user's C code with our ...
0
votes
0answers
158 views

How to compile clang on cygwin

When I compile clang under cygwin, there is always numbers of errors after this: llvm[2]: Linking Debug+Asserts executable lli collect2: error: ld returned 1 exit status ...
0
votes
0answers
88 views

How to properly use SCP to copy from remote to local?

I am trying to copy a file from a remote windows machine onto a local linux machine, but cannot seem to get the syntax right. For some reason, whenever I use SCP, it is just creating a new local copy ...
0
votes
0answers
60 views

Special and diacritic charactres using less, cat and other linux tools

I am using GNU bash, Version 4.1.10(4)-release (i686-pc-cygwin) and set up my .inputrc to allow for special characters and German umlauts etc.: set meta-flag on set convert-meta off set output-meta ...
0
votes
0answers
51 views

How to add additional charsets to libiconv in Cygwin

My problem is, that I sometimes have to convert files in the ISO646-DE-encoding (for german authorities... Don't ask...). On each linux-system that I used iconv -f ISO8859-1 -t ISO646-DE worked ...
0
votes
0answers
509 views

netstat reports a pid that tasklist cannot find

I was trying out cygwin lighttpd and got the error can't bind to port: 80 Address already in use I used netstat to find out which process is using it: C:\WINDOWS\system32>netstat -ao | ...
0
votes
0answers
331 views

How do I downgrade my Cygwin Subversion to 1.6.x?

The current version of Cygwin only has Subversion 1.7.x and 1.8.x. For a variety of reasons, I need my Subversion tools to be 1.6.x. (Local repo versions, etc.) I have heard about the Cygwin Time ...
0
votes
0answers
111 views

Cygwin local mounts disappeared after update. How to recover?

I've been running 32-bit Cygwin under 64-Bit Win-7 for years. I just did a Cygwin update, which I do every month or so, and normally the updates have no noticeable side effects. But today's update ...
0
votes
0answers
40 views

scp shows incorrect and extremely large file size, cygwin local, debian remote

I attempt to copy a 18MB file from a remote server to my local computer, using scp under Cygwin. scp -r froz@rserver:nov.6.2013.tgz . But scp shows like the following nov.6.2013.tgz ...
0
votes
0answers
86 views

Avoid “press any key to continue” after taskkill

How to go about avoiding the press any key to continue that prevents windows to automatically close after a taskkill? pids=`ps -W|grep java|awk '{print $1}'` for pid in $pids; do taskkill.exe /F ...
0
votes
0answers
906 views

CygWin > rTorrent > configuring rTorrent (make > “Makefile: recipe for target '***' failed”)

I am almost there to complete my rTorrent installation, and i already got over few errors (documentation is old)... help finish it, please :) Step by step. libTorrent is now installed with no errors ...
0
votes
0answers
50 views

ssh with an alternative configuration directory?

Is there any way to run the standard Cygwin ssh command with an alternative $HOME directory or an alternative .ssh configuration directory? UPDATE: it turns out this is a duplicate question; but it ...
0
votes
0answers
328 views

How to generate missing server-0.xkm (compiled keymap) in cygwin 1.13.2.0 in Windows 7

My operating system is Windows 7. I installed cygwin. I wanted to start the XWin Server with the startxwin command and it terminates with the error: Couldn't open compiled keymap file ...
0
votes
0answers
221 views

Failed to set permissions of path: ..\taskTracker\cyg_server to 0700

While running a job in Cygwin in Hadoop cluster, the permission failed. $ bin/hadoop jar hadoop-examples-*.jar wordcount inputwords outputwords2 Patch for HADOOP-7682: Instantiating workaround file ...
0
votes
0answers
722 views

Cygwin SSHD resets connection only if called locally

I have a WinXP box (called PETER) with Cygwin installed. This is its version: C:\bin> uname -a CYGWIN_NT-5.1 peter 1.7.24(0.269/5/3) 2013-08-15 11:55 i686 Cygwin I have installed SSHD on it for ...
0
votes
0answers
138 views

Ctrl-D does not do what it's supposed to in Cygwin on Win7, according to C tutorials

I'm following examples in the book Head First C, and I'm supposed to enter strings at the command line for the program to encrypt, then ctrl-D when I'm done. But ctrl-D doesn't have any effect.
0
votes
0answers
71 views

Getting rid of “bash.exe” - from my startup

Soluto reports that bash.exe is taking up 40 seconds of boot time, but I cannot disable it. If I search for it in msconfig, I cannot identify it. If I search for "bash.exe" I cannot identify it. If I ...
0
votes
0answers
56 views

Rremote setup of cygwin's sshd

OK.. This is a catch 22.. you want to get cygwin's ssh server up and running so that you can get remote access to a machine.. In my case, lots of machines. However, now you have to remote install ...
0
votes
0answers
151 views

cygwin/minTTY reads odd signal from delete key

So this is an odd situation, especially since this is the (at least) third time I've installed Cygwin in a similar setup, and I've never seen this behavior before. My setup: Windows 7; Cygwin, with ...
0
votes
0answers
269 views

How to politely kill windows process from cygwin

I do have a bat(startJboss.bat) file that starts a JBoss server. When I start it it creates an output to standard cmd (windows) console. When I want to politely end this process I just hit Ctrl + C ...
0
votes
0answers
607 views

Configuring OpenSSH for Windows in Cygwin - can't leave blank password

I install OpenSSH in Cygwin under Windows 7 to install Hadoop. I had OpenSSH installed previously, but with a password. All attempts to remove password are failed, so I re-installed Cygwin. I want ...
0
votes
0answers
337 views

How do I get correct arrow key behaviour for cygwin vim in Console2?

I've set the shell variable in Console2 to: C:\cygwin\bin\bash.exe --login -i I then launch vim. When I do so two problems happen While in normal mode if I press an arrow key once nothing happens. ...
0
votes
0answers
115 views

execute windows programs from cygwin terminal?

How can I use my cygwin terminal on Windows 7 to execute Windows programs as I would normally do using the Windows cmd terminal? It seems like there are programs that only work when executed from the ...
0
votes
0answers
448 views

Is there a way to configure cygstart.exe?

As I understand, cygstart associates its argument with the windows standard program set for that case. But I want to behave my cygwin different than its host in certain cases. E.g. alias ...
0
votes
0answers
124 views

Why are tasklist results different when run locally vs over ssh

I have a windows box setup with cygwin and an ssh server that has been working fine, however today I came across a command I am trying to use that returns different results based on whether it is used ...
0
votes
0answers
32 views

CygWin installation not completing

I am trying to install cygwin on my windows machine. It has passed nearly 5 hours.But installation not competed. Installation progress shows values exceed 100%. Is this the behavior of this or is this ...
0
votes
0answers
263 views

Windows attrib command changes file timestamp

I have some batch file running that does the following on a directory tree with several thousand files: change file attributes, turn OFF readonly do some stuff, add new files. change file ...
0
votes
0answers
185 views

icarus verilog on windows7

I used to work with iverilog on win-xp. But ever since I moved to win7, it does not work. And I am not even using GTK, I just want a plain simulation to run. I have used different versions of iverilog ...
0
votes
0answers
162 views

how to uninstall packages (mpich2) from cygwin without using setup.exe

I have installed in cygwin (w7) a mpich2-1.2.1p1 package (configure, make, make install), now I would like to uninstall it, I have looked through the web, but I did not find any solution, can you ...
0
votes
0answers
112 views

Sub-Processes of Cygwin SSH Session Unable to Connect to Network

I've configured Cygwin's sshd to run on a Windows Server 2008 machine. I am able to log in to ssh fine, however once I'm logged in, I am unable to make any outgoing network connections out of the ...
0
votes
0answers
151 views

How does rsync (in Cygwin) decide what sharing permissions to apply to a copied file?

I have an XP machine with Cygwin installed. Every night my Android phone connects to rsync on the PC and backs up my phone's pictures. This process is working smoothly, and has been for over a year. ...
0
votes
0answers
466 views

Cygwin not operating after new package install?

I installed wget package through setup.exe on my existing Cygwin installation. But the problem is, after rebooting and opening Cygwin, it's not functioning properly. Some simple commands like ls, man, ...
0
votes
0answers
550 views

Shell script to copy a text file from windows machine to linux based device

A linux based navigation device is connected with my windows machine. I want to copy a text file to root of device using shell script from windows machine(through cygwin or putty). please help. ...
0
votes
0answers
307 views

Error running gcc on cygwin (bad adress)

I'm trying to get gcc running on cygwin. Whenever I launch it, I get the error: $ gcc a1.c gcc: installation problem, cannot exec '/usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe': Bad address gcc: ...
0
votes
0answers
653 views

SSH via Cygwin “Authentication method 'password' failed”

there. I'm an SSH/Cygwin noob, but want to use ssh via Cygwin to connect to a Windows 7 machine under a domain from ConnectBot (android). I went through the ssh-host-config as described here: ...
0
votes
0answers
61 views

Why are some Cygwin packages' sources ALWAYS pending?

Every so often I run Cygwin's setup.exe and click "Install" for the "All" category. However, when I change the view to show "Pending", about seventy-five packages' sources are always checked to ...
0
votes
0answers
399 views

Trying to run MATLAB through an ssh connection, MATLAB process hangs

I have two computers and I am attempting to ssh from one to the other and then running an automated MATLAB script. My sshd and ssh client are both from OpenSSH via Cygwin on both machines, which are ...
0
votes
0answers
910 views

Problem with makefile in Cygwin

I have installed Cygwin. My problem is when I try to run a makefile which contains a line gcc -g -c file.c I get an error: Fatal: Unable to execute command: gcc At the same time when running ...