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

learn more… | top users | synonyms

1
vote
1answer
5k views

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. ...
2
votes
2answers
397 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 ...
1
vote
1answer
15 views

connection to cygwin sshd auto connection after log in

I install the sshd service in cygwin successfully, but when I log in to the ssh server, the connection is auto closed. I tried to execute the date command and it didn't output the result. I also ...
2
votes
1answer
2k views

Cygwin OpenSSH closes immediately after a connection

Trying to connect to cygwin-sshd using putty or cygwin ssh on localhost, here is all I get. I have it working fine on a different Win7x64 machine but this one is proving hellish. Config files for ...
0
votes
2answers
4k views

How to move files to hdfs in hadoop using unix command

I have 2 directories "dft" and "hdfs" in the unpacked Hadoop folder. I am trying to copy the file(StartUnit.txt) in dft into hdfs. The corresponding command and exception are as shown below ...
-1
votes
0answers
13 views

Launching Cygwin/X with no xterm

Recently I wanted to add install new Cygwin package. Cygwin Setup wanted to update every available package, and I let it do so. Now, the XWin Server shortcut fails to launch anything. It took a lot ...
4
votes
4answers
8k views

Get display resolution from windows command line

I have seen several suggestions about programs to change the resolution from the command line. However I just want to display it, not change it. On linux I can use xrandr or xdpyinfo to get this ...
0
votes
0answers
16 views

Cygwin+KiTTYCyg: /bin/sh: No such file or directory

Trying to use KiTTY with Cygwin (x86) on Windows 7 x64. Installed latest Cygwin and all needed packages. Added ;c:\cygwin\usr\local\bin\;c:\cygwin\bin to system Path env. Downloaded KiTTYCyg for ...
1
vote
1answer
4k views

How do I install gfortran (via cygwin and etexteditor) and enable ifort under Windows XP?

I'm a newbie in the Unix world so all this is a little confusing to me. I'm having trouble compiling some Fortran files under Cygwin on Windows XP. Here's what I've done so far: Installed the e ...
1
vote
0answers
20 views

need to start GUI program in Windows through ssh

I need to start a GUI application in windows machine via ssh. But the problem is when I am using some ssh server this application is running in background. I used freesshd server, which running in ...
0
votes
1answer
31 views

conemu multiple bash cygwin ssh

I just want to know how to have multiple tabs logged in to a server via ssh to for example ssh user1@1.1.1.1 for a tab named server1 (to some particular folder location) and ssh user2@2.2.2.2 for a ...
2
votes
2answers
355 views

How do I determine a USB memory stick's serial number in Cygwin?

I already know that within windows, you can get a USB memory drive's Volume Serial Number by doing dir <drive_letter>:, where <drive_letter> is the drive letter of the USB drive. I also ...
0
votes
0answers
9 views

How can I transplant my Cygwin installation to another machine/architectureI?

The specific problem I have is this: I have an old (but up-to-date) Cygwin 32-bit installation that has evolved over the past ten years or so. I want to move to a 64-bit Cygwin, with the same ...
0
votes
1answer
21 views

Cygwin: alias to Program Files (x86) directory

Using cygwin, I'm trying to create the following alias: alias write="/cygdrive/c/Program Files (x86)/Notepad++/notepad++.exe" When I execute the command to launch notepad++ directly, I have no ...
0
votes
0answers
17 views

32bit and 64bit Cygwin sshd services on the same machine

I have Windows 7 station and I would like to have two running sshd services: ssh daemon for 32bit Cygwin ssh daemon for 64bit Cygwin I installed 32bit Cygwin sshd using setup script ...
0
votes
1answer
44 views

Jenkins SSH Windows node bash error

I have Jenkins server for continuous integration and I want to add another node. Node is Win 7 station which runs Bitvise SSH server. On that Win 7 station is installed Cygwin 32 AND 64 bit (for ...
4
votes
2answers
2k views

How can I get a block cursor in Vim in the Cygwin terminal?

I am used to having a block cursor in normal mode in Vim. This makes sense with the Vim paradigm; when you press x, it is clear which character will be deleted. I've installed Cygwin on a Windows ...
1
vote
0answers
17 views

Cygwin (and Putty) special keys not working

TL;DR: Cygwin sends like 3D instead of alt+arrow and such. I've been using Cygwin for years now to ssh into my server. I'm always struggling with GNU Screen's uncomfortable window handling and a few ...
5
votes
1answer
73 views

Does Cygwin support hard links in Windows 8?

I'm working on a backup script that behaves like TimeMachine and uses RSync with --link-dest to create hardlinks to unchanged files. If I run this on a *Nix-based system, of course it works as ...
0
votes
1answer
58 views

CygWin: grep command shows some “binary file coincidence” message

I have been googling about this, but, maybe due to my spanish version of CygWin/Windows, I have not been able to find a solution. I have latest (December 2014) CygWin 32 bits installed, and it seems ...
5
votes
1answer
4k views

ssh config under cygwin

I have Cygwin installed on Windows 7. I made default install. I would like to use ssh config file (~/.ssh/config) to set host and options for connecting. Normal ssh command is not able to find the ...
43
votes
6answers
24k views

How to update Cygwin from Cygwin's command line?

To search and download a package missed from Cygwin I need to run setup.exe GUI each time, click many times and do other boring things. Is there a way to do the same from Cygwin's command line ...
1
vote
4answers
943 views

How do I get Linux commands and scripts to work on Cygwin?

I'm back with a follow up question. How do I get Linux commands to work on Cygwin? First I asked you what tool should I use to help me run my Linux scripts on Windows and you suggested Cygwin and I ...
1
vote
2answers
1k views

Starting xterm under Cygwin from the Start Menu

I'm running Cygwin under Windows 7. How can I create a start menu entry (or desktop shortcut) to start xterm? Currently, I have to start the Cygwin/X server, and each time I want a new xterm, I have ...
1
vote
4answers
2k views

How do I mount an ntfs image created by gnu ntfsclone on Windows?

How do I mount an ntfs image created by gnu ntfsclone on Windows? Neither the gnuwin32 version of ntfsclone nor cygwin's mount seem to be capable.
8
votes
3answers
4k views

Spawn New Cygwin Window from Within Cygwin

I can't figure out how to launch a new Cygwin session from within Cygwin, similar to launching a new terminal from within bash with: gnome-terminal It's probably easy but I am missing something. ...
3
votes
4answers
2k views

How to copy and paste between cygwin's vi/emacs and windows clipboard?

I tried to paste what I copied in windows clipboard into cygwin's vi or emacs, and it doesn't seem to work with yy (vi) or M-w (emacs). Is there a way to do it? I learned that /etc/clipboard has the ...
0
votes
4answers
2k views

Open a text file in cygwin's VIM

Is there any way to configure Windows to open text files in Cygwin's VIM instance? I am currently using GVIM but I find it limiting for many reasons. Unfortunately, I can't just install Debian on this ...
0
votes
1answer
92 views

Can CygWin 64 bits compile 32 bits sources?

I am trying to compile on CygWin 64 bits the (presumed) 32 bits wake on lan tool here created by Thomas Krennwallner, supposed to compile on Unix and Windows under CygWin. After download I did: ...
1
vote
2answers
109 views

Cygwin to execute windows shortcut files (.LNK)

I use Cygwin as my cmd replacement on Windows and I am in the process of cleaning up my system PATH variable. I now have a folder containing exe's and shortcuts (.LNK) files which is in PATH ...
8
votes
6answers
8k views

Installing Cygwin on Windows XP without having the admin rights?

Is it possible to install Cygwin on a Windows XP system without having the admin rights?
0
votes
1answer
46 views

Cygwin Terminal backspace and arrow keys not working

The arrow keys returns A,B,C,D and my backspace key are not working properly . This problem happens only with the vi editor.Is there any way to solve this issue on Cygwin ? I did find possible ...
0
votes
0answers
13 views

Cygwin terminal jumps into vi-mode when using back arrow, bug or config issue?

I'm new to Cygwin64 on Windows (Vista) and still working through optimizing the environment--while using it. I've already resolved Cygwin VIM editing issues by adding ~/.vimrc. In this problem, Cygwin ...
0
votes
1answer
5 views

accessing EC2 instance from cygwin

I should follow these instruction to connect to my EC2 instance with cygwin : $ cd ~ $ cp /cygdrive/c/Users/JohnSmith/Downloads/cs184-john-stanford-edu.pem . $ chgrp Users ...
0
votes
0answers
8 views

Using Cygwin X as a screen/tmux-like fashion

I have the following environment: A laptop running Windows 7 that I connect/disconnect to my work network every day A desktop running Ubuntu 12.04 that's permanently connected to the work network ...
0
votes
0answers
12 views

How do I mount as SYSTEM?

I want to mount a share as system. I need to run a TACKSCHEDULER task as "Run when not logged on", but I can't access my network drives: mount: R: on /cygdrive/r type ntfs ...
3
votes
4answers
5k views

Cygwin sshd did not start due to a logon failure

After a cygwin sshd install, sshd service fails with: Error 1069: The service did not start due to a logon failure I try to give cyg_server standard user and admin access. The error is the same ...
0
votes
2answers
139 views

Why some programs cannot receive the output of children processes?

Some programs don't display output of some children processes. As you can see , I tried to run php --version in three console utilities: Git Bash (MinGw), native Windows 8 command line and Cygwin ...
0
votes
1answer
22 views

Interactive program ignores keystrokes on a CygWin OpenSSH Server

I am running Windows 7 SP1. I have installed CygWin with OpenSSH, so now I have a running SSH Daemon that seems to be working OK, except for a problem with an interactive command-line program that ...
0
votes
0answers
18 views

Shell unbuffering for CygWin: is it possible?

I have tested on CygWin doing "ls -R" with a large directory and sending the output to a Test.txt file, so the process takes about 30 seconds to complete; the file is created, but it is empty; it will ...
1
vote
0answers
41 views

PuttyCyg not starting correctly: “Must be connected to a terminal” error message

My computer is running Windows 7 SP1 64 bits with CygWin 64 bits installed and updated (as for 16-Nov-2014). I need to run the screen program of CygWin in a text console. I am trying PuttyCyg, a ...
0
votes
0answers
12 views

I cannot use Awesome with Xming

I get the following error when I try to run awesome WM in cygwin with Xming: W: awesome: color_init_reply:136: awesome: error, cannot allocate color '#000000'
0
votes
0answers
9 views

Is it possible to manually install a package from the package file on CygWin?

I have downloaded the file corresponding to the package "screen-4.2.1-2" for CygWin: screen-4.2.1-2.tar.xz I know it can be installed using the installer, but I was wondering if I can do it ...
0
votes
1answer
32 views

`mv` creates a hard link instead of move or rename file or directory

I'm experiencing very weird issue with moving and renaming directories and files using mv I have never experienced before. The weirdest thing is that it's happening on Ubuntu as well as on Cygwin on ...
16
votes
2answers
41k views
1
vote
0answers
32 views

rsync from Solaris to Windows (character encoding on filenames)

I'm trying to use RSYNC to sync files from a Solaris 9 (SunOS 5.9) System to a Windows Server 2008 R2 (via cygwin) There are many Files containing characters like "ä", "ö", "ü" or "ß". Which are only ...
0
votes
0answers
17 views

I am experiencing strange font problems with urxvt in Xwin

It appears that characters are shifted over one pixel to the left. I am experiencing this problem in multiple fonts. I have previously not experienced this problem. Here is a picture of the behavior ...
1
vote
1answer
39 views

ffmpeg time lapse “overwrite” error - may be a globbing/shell issue?

I'm having some trouble with what I think should be a simple FFMPEG script. I'm just trying to take all the jpg files in a given directory and fill them into a time lapse video. I'm comfortable with ...
0
votes
1answer
58 views

Verify that connection to Cygwin SFTP Server is encrypted

I must ensure that my flow is encrypted. I am on a Windows machine and I have installed a SFTP server via Cygwin.. I am using WinSCP as client. And I am developing another client in C#. Everything ...
1
vote
2answers
40 views

Encrypt data flows via SFTP protocol

I have a problem and I am neither a system engineer nor an expert about certificates. I have to transfer some file from a client to a SFTP server via SFTP protocol. I have installed a SFTP server on ...