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

learn more… | top users | synonyms

0
votes
1answer
46 views

Midnight commander sometimes very slow

I'm using midnight commander with Cygwin 64 bit on Windows 10 64 bit. After moving to a new machine and a clean reinstall of windows and cygwin, my midnight commander started to get very laggy from ...
0
votes
0answers
19 views

Output from “mkpasswd -c” differs with “cat /etc/passwd | grep $USER”

I have noticed that my $HOME becomes different from ~ after running some SSH commands. I would like to understand what is causing this difference. I am using Cygwin's SSH: $ which ssh /usr/bin/ssh ...
0
votes
0answers
10 views

How can I use programmers dvorak layout on X11 apps on Cygwin?

How can I use programmers dvorak layout on X11 apps on Cygwin? Programers Dvorak works fine on my windows 10 host machine. However, when I type into X11 apps launched locally or remotely, I only get ...
0
votes
1answer
21 views

Smart word wrapping in `less`?

I use the Python package rtv as a terminal client to read Reddit. When it gets to a large text box, it calls less display the text. Currently, less wraps the words according to column width, meaning ...
-1
votes
0answers
20 views

Best software dev practices/advice for Unix guy on Windows [on hold]

I've been developing on Linux/OSX for years and now I've been tasked with using Visual Studio on Windows (which is running on Parallels on my Mac). I'm having serious separation anxiety without Bash, ...
1
vote
0answers
18 views

Cygwin sshd issue

One of the cool features of Cygwin is being able to cd into a remote Windows machine on your same network: [0 user@machine ~]$ cd //remote-machine/c$ [0 user@machine //remote-machine/c$]$ ls ...
9
votes
6answers
3k views

How to check if cygwin mintty/bash is run as administrator?

Problem Statement: What is the most elegant and robust way to test if Cygwin mintty bash session is "Run as adminstrator"? Why, specifically? I have typically several mintty terminals open when using ...
4
votes
5answers
9k 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 ...
4
votes
3answers
4k views

Is it possible to run GNOME 3 on Windows XP/Vista/7?

I want to install GNOME Shell and its core apps and features (including Natilus, Evolution, Empathy, Multiple workspace, and more) on a Windows 7 platform. Is it possible to do that with or without ...
0
votes
0answers
12 views

Why does Chrome use my VPN, but Cygwin doesn't?

At work, I connect to a VPN to access our corporate network. Once I have done so, my common tools and applications (Chrome,Firefox, IntelliJ...) have no problem accessing resources over the VPN, ...
1
vote
2answers
85 views

Vimserver on Cygwin

Following to this question, I discovered that I can use --servername <name> and --remote on my console vim executable under Cygwin. So I installed vim-common vim and gvim and I do not have ...
9
votes
3answers
16k views

How can I use SSH with a SOCKS 5 proxy?

I don't know much about proxies in general, and especially not SOCKS5 proxies, so sorry if this is a newbie question but I haven't been able to find the answer online or in the man pages. I have a ...
0
votes
1answer
66 views

Getting 256 colors from Cygwin within cmder/ConEmu

I am trying to get 256 colors under Cygwin while running cmder. Generally, what I am doing is opening a terminal session in Windows 10 by typing "cmd" into Start. If I need to open a Cygwin terminal, ...
2
votes
2answers
909 views

Running .bat file on cygwin CLI without the .bat extension

I have been looking for a way to run dos batch files from the cygwin command line without having the enter the extension. Would that be possible? Currently, I have to enter the extension otherwise ...
0
votes
1answer
12 views

Cygwin - STunnel doesn't respond anymore

I long used Cygwin 64bit and cygwin's package All/Net/stunnel: Universal TLS wrapper on my Windows 10 machine very happily. Suddenly however, STunnel doesn't respond anymore. I know it's very vague, ...
0
votes
1answer
327 views

Permission denied on ssh access with cygwin

I have a fresh Windows 10 family (x64) install with an Administrator account Jean Perrin. I installed cygwin with openssh and modified C:\cygwin64\Cygwin.bat this way: @echo off C: chdir C:\cygwin64\...
0
votes
1answer
27 views

ffmpeg Audio Conversion m4a to wav - file size bloat

While converting audio files from *.m4a to *.wav using ffmpeg (and other audio converters - I've tried a few and cannot remember but they were worse) the file size increases by a lot (10x). original ...
3
votes
1answer
2k views

Why are network drives (e.g. /cygdrive/w mounted to //foo/whatever) NOT showing up in an ssh connection?

We need a user's Linux home directory (which is exported via NFS and Samba) to be that same user's home directory in a Cygwin bash shell invoked via ssh. Shell windows at the Windows console include ...
-2
votes
3answers
50 views

How can I check whether rsync transfered files or not?

I use rsync (cygwin) to transfer files between server and my PC. Rsync runs every 2 minutes, and sometimes there are some files to transfer, sometimes not. I need to execute some actions, but only ...
0
votes
1answer
2k views

Shortcut to run mintty.exe with ConEmu

I'm trying to create a shortcut to start Cygwin's mintty.exe (logged in with default config) in ConEmu. The only way I was able to start mintty inside ConEmu via shortcut was by defining the shortcut'...
0
votes
1answer
27 views

cygwin unzip is creating dir/files that I cannot delete later

UnZip 6.00 of 20 April 2009, by Info-ZIP -- from cygwin 32-bit. Windows 7 Enterprise. Run with Administrator access. When I use unzip to explode .zip files, the directories and files that are created ...
0
votes
0answers
31 views

How to install gvim.exe on Windows with Python support? (Solved by the author for this post)

Problem description: For all the executable installers for Vim that are listed below, the tags +python/dyn and +python3/dyn are unanimous when installed. However, for all my local installations using ...
0
votes
1answer
14 views

msys2 create a sym link into windows folder location

I have just started to use msys2. I wanted to make a sym link to a folder on my d:. I can access it like this: cd /d/mytestfolder/ I tried: When I do ln -s /d/mytestfolder/ testfolder - this seems ...
0
votes
1answer
86 views

Cygwin X on high DPI

On my Windows 10 Surface Pro (2736x1824 resolution), whenever I connect via PuTTY to an Ubuntu 14.04 server and run Eclipse or gVim over Cygwin X, the text and windows are extremely small. I can drag ...
3
votes
1answer
8k views

SSH could not create directory /home/USERNAME/.ssh

My script is executing the below command: command = os.system('rdiff-backup --exclude "**.dropbox**" --exclude "**.ini**" --remote-schema "ssh -o UserKnownHostsFile=/cygdrive/c/Users/Adam/.ssh/...
0
votes
2answers
13k 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 313159@...
0
votes
1answer
41 views

Xlaunch vs Startx vs Startxwin vs Xterm vs X Display Environment Packages

I have downloaded Cygwin on my Windows machine and ssh into an Unix-based machine. What is the difference between Xlaunch, Startx, Startxwin, Xterm, and X Display Environment Packages (GNOME ...
0
votes
1answer
23 views

Where can I get a Cygwin /etc/skel directory

This is weird. I had to wipe my Windows 7 disk and am rebuilding it. I installed Cygwin and opened up the terminal. To my surprise, it did not start out by telling me it was copying the bash ...
0
votes
1answer
24 views

ssh on cygwin works locally but not remotely

I'm trying to use cygwin sshd to connect to a Windows 8 VM. I've installed it and it seems to be working OK. Locally - i.e. in a cygwin terminal on the Windows machine - if I ssh to localhost it works ...
18
votes
6answers
15k views

How to use Cygwin to copy an image from an SD memory card

Long story short, I'm working on a Windows 7 machine and I'd like to strip the image off an SD card (backing up the card from a Raspberry Pi). I'm trying to use Cygwin, but not having much success. ...
1
vote
1answer
6k 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
14 views

Why does setting CYGWIN=winsymlinks:nativestrict break zsh's (oh-my-zsh) history?

I have this in my .zshrc CYGWIN=winsymlinks:nativestrict When I source .zshrc or start the terminal. I get this error: zsh: locking failed for /home/r892107/.zsh_history: no such file or directory:...
0
votes
2answers
189 views

gem not working in Cygwin

On a freshly installed Windows 7 Professional 64 Bit I installed Cygwin (64) and some of its packages, including Ruby. I have also installed Ruby using the Ruby installer, because I'll likely need it ...
9
votes
3answers
828 views

Is there a gpg-agent for cygwin?

I would like to use gpg-agent from cygwin, but installing gpg on cygwin doesn't provide it, and google doesn't have much recent information about this. Is it possible to use gpg-agent under cygwin (...
1
vote
0answers
30 views

Xming not working with Cygwin

I have two Windows 10 machines with Cygwin + Xming, one of them works fine, but I can't get the other one to work, if I try to start ddd for instance, I get: Error: Can't open display: If I ...
0
votes
1answer
18 views

List all regex matches, one per line of output

I know that I can find regex matches using egrep. My need is a bit more esoteric: I need to list all regex matches, one per line of output. So, assume a file containing the following: This is just ...
0
votes
1answer
44 views

How can I set a modified PATH for a non-interactive non-login POSIX shell invoked by Scons on Cygwin?

Because I work on a number of separate projects, (each of which uses a different compiler), I don't like to have the path to any one compiler set in my PATH. Now I have joined another project where ...
-1
votes
2answers
25 views

What changed with Cygwin from 1.7 to 2.5?

I upgraded my Cygwin and I'm having a little trouble. As usual, an upgrade utterly breaks everything that is part of my standard workflow. I figured out the Menu issue, however, my xterm no longer ...
0
votes
1answer
16 views

Grep files for content

I am using 'find' and 'grep' cygwin commands in order to locate files based on some pattern. I am doing this: find . -iname '*.zip' -print -exec unzip -l {} \; 2> error.txt |grep -i vbs It ...
1
vote
5answers
1k views

How to reset the terminal under Cygwin?

Under Linux, I can clear terminal output with a simple reset from the command line. Under Cygwin, it appears reset does not work: I also tried reset 0 and reset 1 with no joy. And I even tried the ...
0
votes
2answers
39 views

cygwin bash - if statement doesn't work

I'm new to bash scripting, and I'm trying to learn on Windows, so I downloaded cygwin. Using Windows 10, cygwin v2.5.1 I made sure I installed the bash package (I did), and so I started going through ...
0
votes
1answer
45 views

Cygwin mkdir makes directory I don't have permissions to

Using latest version of cygwin64 in Windows 10. I have managed to get a directory foo that has something strange about its permissions. I'm not quite sure how this happened but here are the symptoms: ...
0
votes
1answer
33 views

How to reset the default Windows command line after installing Cygwin?

I have installed cygwin into my Windows 8.1 and configured the settings in the advanced system (Control Panel > System and Security > System > Advanced system settings > Environment Variables) It has ...
0
votes
1answer
45 views

How to intall Rsubread, Edge R and limma packages in R in Cygwin?

I'm new to Cygwin and want to install three packages called Rsubread EdgeR and limma in R in Cygwin. I typed R in Cygwin console and once in the R environment, then I installed the packages as: ...
0
votes
1answer
21 views

Is there a way to pause mosh from 3 second UDP updates?

Is there a way to pause mosh in a Cygwin installation? I think it's causing an excessive battery drain for my AndroidAP phone, since it's designed to be sending packets every 3 seconds, which is not ...
2
votes
2answers
4k views

Changing the HOME for Cygwin

I'm trying to change the home directory for Cygwin on a computer at work. Our home directories mapped to a network share by default. This seems to cause some confusion for Cygwin, as it created a ...
5
votes
3answers
147 views

Does anyone know of a pre-built cygwin distribution that includes common packages?

For those of you familiar with Cygwin and its packaging system/installer, you will know that the installer distributed from cygwin.com comes with the basic skeleton software as well as a tool that ...
0
votes
2answers
38 views

How can I pin Cygwin.bat to my Windows 10 start screen?

Seems you can't pin a .bat directly for some reason. Is there a way to have Cygwin's bash launched from my start screen? Update : BTW, I followed the advice in some of the "duplicate questions" eg. ...
31
votes
7answers
25k views

zsh with Cygwin

How can I configure zsh to be the default shell under Cygwin?
9
votes
3answers
4k views

How to change the default shell in Cygwin?

I am trying to change my default shell from bash to zsh in cygwin. The normal unix command chsh isn't available on cygwin The etc/passwd file it seems isn't used anymore in existing versions of ...