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. ...
0
votes
1answer
13 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
9 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
13 views

to have an homogeneous environment for python and tools like PIP

I have a learning group for pythong where people are coming with their machines but with differents OS (Windows, Mac Os, Linux). For Mac and Linux, it is quite easy as you can install programs like ...
0
votes
0answers
7 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
8 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 ...
0
votes
2answers
3k 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 ...
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
135 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
14 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 ...
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 ...
0
votes
0answers
5 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 ...
0
votes
0answers
19 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
8 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
5 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
18 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
39k views
1
vote
0answers
22 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
16 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
21 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
45 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
34 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 ...
0
votes
1answer
19 views

Why does my Cygwin installation has a bad $PATH?

I've just installed Cygwin on my computer. If I type echo $PATH I can see this output: $ export $PATH -bash: export: `/usr/local/bin:/usr/bin:/cygdrive/c/Program': not a valid identifier -bash: ...
16
votes
2answers
11k views

zsh with Cygwin

How can I configure zsh to be the default shell under Cygwin?
2
votes
1answer
44 views

How to use prezto with zsh on cyginw

I have setup perzto with zsh on cygwin. I am using the default sorin theme as my prompt. I see 3 rectangles as the end of my prompt instead of 3 ">>>". Is there a way to fix it? Can I use a different ...
0
votes
2answers
216 views

CygWin terminal in remote console (SSH) not starting at correct $HOME path

I have installed CygWin v1.7.28. The problem quickly explained: Basically, when starting a CygWin shell via remote login, the $HOME is not where it should, with all derivated (bad) consequences of ...
0
votes
1answer
44 views

Virtualbox: run vboxmanage on windows host via SSH?

I'm running virtualbox 4.3.16 on a Windows 7 64bit host with a few Linux guests. I need to be able to issue poweroff commands from one guest to another, but the vboxmanage command isn't working when ...
0
votes
0answers
84 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 ...
1
vote
3answers
571 views

I am having trouble trying to authenticate Google SDK using cygwin

I am trying to install SDK using Cygwin as instructed here https://developers.google.com/cloud/sdk/#Quick_Start after Cygwin is installed I follow the guide and then try to authenticate using the ...
7
votes
5answers
6k views

How to kill a windows process in a cygwin terminal?

I have a problem regarding how to kill a process in cygwin on windows. I am completely new to cygwin. But i have a task that i simply cant kill. i have tried issuing the following commands: kill 4568 ...
0
votes
0answers
27 views

tmux split panes not rendering properly in Conemu

I'm trying to use tmux over ssh (cygwin) in conemu, and keep running into the following issue. I'll start with a vertically split screen that seems to be fine: And switch to the right split, hit ...
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.
4
votes
2answers
905 views

Cygwin + zsh: Home and End keys not working

I cannot get Home and End keys to work for zsh under Cygwin. Various sources seem to suggest that bindkey '\e[1~' beginning-of-line bindkey '\e[4~' end-of-line will fix the problem but this does ...
7
votes
2answers
6k views

How do I create a shortcut that opens Cygwin bash shell on a directory of my choosing (UNC especially)?

Given a standard installation of Cygwin for Windows XP, I would like to create a standard Explorer shortcut that opens a bash shell already open on a directory of my choosing. The directory is a UNC ...
0
votes
1answer
31 views

cygwin: vim in mc not coloring

I have a setup using cygwin with midnight commander and vim. I have a proper .vimrc in my home folder, which works fine if I start up vim directly on the console. Now I also want mc to use vim, so I ...
3
votes
3answers
5k views

How to get Cygwin Permissions in Windows 7

I had installed Cygwin, then later deleted my Windows 7 account and recreated the account with the same name. Now I am having trouble editing files in my Cygwin folder or creating new folders/files. ...
0
votes
1answer
554 views

I want to uninstall Cygwin, but I don't have cygrunsrv

I want to uninstall Cygwin, but I don't have cygrunsrv. Can anyone help? I was trying to delete the folder and I might have deleted cygrunsev, which is what every website tells me I need in order to ...
42
votes
5answers
23k 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 ...
2
votes
1answer
105 views

Wildcard argument to cygwin utility

Command ls "myfolder" does its job, listing csv files inside the folder. Yet ls "myfolder/*.csv" -> No such file or directory because ls "myfolder/*" -> No such file or directory and ls ...
0
votes
1answer
26 views

Copy Paste on Command Line Ubuntu on Virtual Box with Cygwin Terminal

What is a command line tool that enables copy paste text on ubuntu, also Is it possible to paste on Host machine that is copied from a virtual box, on a Cygwin terminal.
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
1answer
24 views

How to set fish as default shell in Cygwin?

I installed fish and can start it. Now I would like to use it as my default shell in Cygwin. How may I achieve this? So far I tried two thing. I overwrote the content of /etc/shells with /bin/fish ...
4
votes
4answers
3k views

Is there a command to clear a Cygwin console?

Is there a command to clear all of the history in a Cygwin console window without losing the .bash_history?
0
votes
1answer
26 views

Perforce on Cygwin Prompts for a visible password

When I run the perforce login command in a cygwin shell running inside a mintty terminal emulator, the password prompted by perforce is visible--as I type the characters that make up my password, the ...
2
votes
3answers
4k views

How to use cygwin (or linux command) to rename the files and directories recursively with regular expression

I am using Windows, and trying to use Cygwin to perform this task. I would like to rename the files and directories recursively as following: From: 1010110010\ 1010110010\1010110010.jpg ...
1
vote
2answers
307 views

How to use Console2 with tmux

I am able to start tmux using the mintty terminal included with cygwin. However, when using Console2 (running on 64-bit windows 7 and using C:\cygwin64\bin\bash.exe as the shell), I get the following ...
0
votes
1answer
822 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 ...
2
votes
0answers
179 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
6 views

Cygwin cmd's open on every program launch

I am not sure if my installation is weird, but I installed Cygwin yesterday with some basic programs, along with X-server and XFCE4 so I could feel more at home in windows, and upon every ...