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

learn more… | top users | synonyms

1
vote
0answers
465 views

No more anti-aliased fonts in cygwin xterm?

I just recently updated my cygwin/xterm installation, and all of a sudden I don't have any more AA fonts in x-term. gVim works perfectly: I have absolutely no idea what's changed or how to fix ...
0
votes
0answers
2 views

tmux: Page Up/Down in Cygwin

Unfortunately it seems like the normal C-b > PgUp or C-b > ctrl+arrows aren't working; instead, I'm just seeing the characters 5~ be printed whenever I C-b and then try to use PgUp. Even mouse mode ...
0
votes
0answers
13 views

chgrp and chmod not working in cygwin (windows 8)

I work in "C:\Users\leyou.ssh" I need to chmod id_rsa to 600 as it's currently 644, but it has no effect. Hence I tried "chgrp Users id_rsa" but it doesn't work neither and the group remains as ...
0
votes
0answers
7 views

cygwin's chmod behaves as working, but it does not work

My Cygwin installation is behaving strangely: chmod does not work. [09:45 Administrator@DellIns14 ~] > ls -ls /usr/bin/chmod 64K -rwxr-xr-x 1 Administrator None 38K Feb 6 2012 /usr/bin/chmod ...
0
votes
0answers
13 views

curl bails on download in cygwin but not os x

I'm trying to download a copy of a postgresql db from Amazon S3 in cygwin. But it yields zero's across the board yielding a useless file. This is my curl command: curl `heroku.bat pgbackups:url` -o ...
0
votes
0answers
10 views

How to run an script using cron in Windows 7 using cygwin?

I have installed all the dependencies in cron. My scripts are working properly, and also I have tested cron which I think works properly as well. However, I would like to set up a task to run a script ...
0
votes
0answers
16 views

Windows exe, bat, cmd not launching under cygwin /MobaXterm unless extension explicitly provided

I am using a preconfigured cygwin that is packaged into the MobaXterm product. Following is an example of the issue I am facing: $ sbt package /usr/bin/bash: /drives/c/apps/sbt/bin/sbt: No such ...
0
votes
0answers
9 views

Cygwin layout properties not saving

Every time I try to set the column width or font size in cygwin terminal it tells me that it is Unable to modify the shortcut: . Check to make sure it has not been deleted or renamed. It is a ...
0
votes
0answers
32 views

Cannot install matplotlib in cygwin (freetype issue)

It would be really nice to have matplotlib in my cygwin environment. I have 64-bit Windows 8 with 64-bit cygwin. When I type: pip install matplotlib I get whe following error message: * The ...
0
votes
0answers
28 views

Enable ssh connection on windows server 2008

I am trying to ssh in windows to some windows server 2008 using cygwin but I got following error: $ ssh -v works780@172.26.33.203 OpenSSH_6.6.1, OpenSSL 1.0.1h 5 Jun 2014 debug1: Reading ...
0
votes
0answers
18 views

Unable to connect to Cygwin from Mac OS X by ssh

I've started ssh server on Windows 7 using Cywgin and I'm trying to connect to it by ssh from Mac OS X Mavericks. It fails with next error: ./ssh username@hostname -v OpenSSH_6.6, OpenSSL ...
0
votes
0answers
53 views

android.bat is not recognized as an internal or external command

I have setup up the environment for cocos2d-x. I have edited the create-android-project.bat file according to my Cygwin, SDK and NDK locations. Now when I try to create a new cocos2d-x project double ...
0
votes
0answers
42 views

Virt-manager on Windows Desktop

I have a KVM host and would like to manage guest via the virtual machine manager on a Windows machine. I have been looking around on the Internet and some suggestions include using Xming and Putty ...
0
votes
0answers
31 views

Slow screen redrawing in terminal emulator

I use a modified PuTTY (PuTTY Tray, derived from PuTTYcyg) to connect to my Cygwin's login shell (zsh), on Windows 7 (64-bit). This works, but the screen refreshing is very slow. For example, when I ...
0
votes
0answers
17 views

What are the filesystem implications of using the SYSTEM account and cygwin in Windows?

I have found something very peculiar while working with the SYSTEM user session. For cygwin some files are there, for Windows, some of them are not. What I find most interesting is that "touch" will ...
0
votes
0answers
18 views

Cygwin broke something when trying to install new software

I was trying to install some OpenGL libraries and something strange happened so I stopped the update. Now, when I use cygwin, ls doesn't work and whenever I open up a new terminal window I get my ...
0
votes
0answers
10 views

XWin: Specify coordinates for new windows

I use cygwin's XWin server to display a UNIX CAD application remotely. I have two monitors. The CAD application opens new windows on every possible opportunity and new windows are always created (0,0) ...
0
votes
0answers
10 views

How to avoid mounting all drivers in cygwin?

On my system, I have two drivers, C: and D:. I do not want D: to be mounted at /cygdrive/d. I tried to modify /etc/fstab, but no matter I remove the default line, or explicitly set up for C: only, ...
0
votes
0answers
130 views

ssh connection refused error on cygwin on windows 8

I set up sshd on cygwin (via the openssh package), and started up the ssh daemon on port 7000. I opened up the port 7000 on my modem as well as windows firewall. From the cygwin prompt, when I connect ...
0
votes
0answers
169 views

Windows 7 cygwin xterm: Xt error: Can't open display

There is no display available when I try to ssh from a Windows 7 system to Ubuntu. When I do this: ssh -X -c blowfish-cbc username@IP xterm I get this error: xterm Xt error: Can't open display: ...
0
votes
0answers
12 views

replace shift > generated tab with spaces in emacs win32

I am using emacs win32 on cygwin. and I encountered this commonly seen 'replace tab with space ' issue on emacs. but slightly different. I have configured like this: (setq tab-width 4) (setq ...
0
votes
0answers
36 views

How to set my special keys keycodes in Cygwin (ctrl+right etc…)?

Most of the convenient key combinations are not working with on cygwin, unless the program I am using bind it in a configuration file (CTRL+<direction>, SHIFT+<direction>, CTRL+Home, ...
0
votes
0answers
13 views

CygWin: How can I know what packages need (are pending) to be upgraded?

If I do on the installer directory of CygWin: setup-x86.exe --root c:\CygWin --upgrade-also -q I get all (or so it seems) the packages upgraded from the last internet repository I used ...
0
votes
0answers
41 views

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
votes
0answers
14 views

Why does CygWin shell uses TAB completion for .DLL files?

If I type in a CygWin Bash shell forma TAB, the result expands to format.com. But if I type modeTABTAB, the results expands to: $ mode mode.com modemui.dll As long as .DLL files are not ...
0
votes
0answers
37 views

Running fsck from cygwin shell?

I need to be able to check / fix file system errors on SD cards from a win7 box. I had hoped to use e2fsck from cygwin but am having some issues getting this to work. (SD cards are used to boot ...
0
votes
0answers
79 views

Running exe generated with GCC using cygwin without admin rights

So this awesome company that I work for has a picky IT department that doesn't allow developers to have admin rights. What is the best way to go about running a .exe generated from Cygwin GCC without ...
0
votes
0answers
21 views

Connecting to Windows with OpenSSH using External IP

HELP I have been working on this issue for a few days now and its really getting frustrating, any help would be greatly appreciated. I will start with my setup. I have AT&T U-verse which comes ...
0
votes
0answers
82 views

cygwin-x applications not starting

After installing Cygxin-X, X applications won't run: $ xman /usr/bin/xman.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory $ xcalc ...
0
votes
0answers
26 views

Running script and restarting it when folder changes

The software I'm currently developing in is using Python and a windows binary that needs to be restarted everytime I change the Python code. Basic flow: Folder changed? Yes: Stop the command, ...
0
votes
0answers
54 views

how can I connect from Linux to windows with ssh without password?

I have a Linux server(CentOS) an some windows clients with shared folders. I want to connect to windows with ssh. I already install cygwin on windows and openssh on it. I can connect from windows to ...
0
votes
0answers
36 views

Reverse SSH between putty and cygwin to RDP

I realize that many different iterations of this question have been asked before, but I couldn't find something exact and my attempts didn't work. My setup: I'm trying to RDP from Machine B to ...
0
votes
0answers
75 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
175 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
12 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
19 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
100 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
48 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
271 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
77 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
25 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
149 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
73 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
51 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
41 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
372 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
284 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
92 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
36 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
73 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 ...