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

learn more… | top users | synonyms

-1
votes
0answers
18 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
15 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 ...
0
votes
1answer
19 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 ...
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, ...
0
votes
0answers
9 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
65 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, ...
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
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 ...
0
votes
0answers
45 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
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
0answers
30 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
37 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
26 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
1answer
22 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 ...
-2
votes
3answers
48 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
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 ...
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
183 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 ...
1
vote
0answers
29 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
17 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 ...
0
votes
2answers
37 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
32 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
2answers
37 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. ...
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
0answers
48 views

Tmux 2.2 won't let me scroll while in copy mode (with mouse)

In Tmux 2.0, I could scroll up into my history buffer, then start selecting text (using left mouse button) and scroll with my mouse wheel to select several pages of text. While not always efficient (e....
0
votes
0answers
29 views

zsh git status shows all files in repo as modified (when they are no )

My setup: Windows 10, cygwin, miTTy and oh-my-zsh. Problem: when I get to a folder of a git repository it takes a long time (3-15 seconds) for the commandline to get to this folder. It depends on the ...
0
votes
2answers
29 views

Redirect output of 'for' loop in cygwin

I have a directory that has 3 files : a.txt b.txt c.txt I have to delete first 4 lines from each file I want to use 'sed' or 'awk' or etc in Cygwin I do this: for x in `ls`; do sed '1,4d' $x done ...
0
votes
0answers
30 views

How do I run cygwin commands when sshd is started up?

I am using net use commands in a .profile for an sftp client to access file shares from cygwin. If I ssh to the Windows server and run . .profile, then everything works until the next time the ...
1
vote
0answers
15 views

Change location of .gitconfig in Visual Studio

Visual Studio 2015 has Git integration, but it picks up a .gitconfig file used in my Cygwin install that has some problems (for one thing, it is a symlink, but even it if was a normal file it would ...
0
votes
0answers
32 views

Openssl cross compiling for ARM and host: windows machine + gcc

I am trying to build openssl library for one of my project. but all the online data I am getting is regarding linux environment. so my environment is... host: windows 7/ x86 target: ARM M4/kinetis k61 ...
0
votes
0answers
33 views

John the Ripper error Crash recovery file is locked

I am on Windows 10 using CygWin, and I have just downloaded John The Ripper Jumbo 1.7.9. I was following the tutorial at Ethical Hacking Central to try to learn how to use the program. I created the ...
0
votes
1answer
39 views

How to pass a windows path with spaces to cygwin bash

I am connecting to a windows server (2012R2 64 bit) running cygwin (latest version that i downloaded from cygwin.com yesterday) using putty. I am trying to run cmd.exe and pass the cmd.exe a command ...
0
votes
0answers
33 views

MSYS2 permissions

In Windows 10, with MSYS2 I set my fstab to: none / cygdrive binary,posix=0,acl,user 0 0 I am unable to set execute permissions with chmod, despite having acl set in the fstab: # echo > foo # ...
2
votes
1answer
35 views

Windows 7 64b - Where did my password vanish to? When did it go poof?

Ok, here's the situation. Update: I have solved the situation My machine is set to log me in automatically after startup, then lock the workstation with a registry entry. If you must know, the ...
0
votes
1answer
36 views

cygwin doesn't recognize config.guess when installing Haskell package

I am trying to install a Haskell package on Windows 10 64-bit. I installed cygwin for x64 architecture. Later I installed automake-1.15 using cygwin's setup file. I downloaded the latest config.guess ...
1
vote
1answer
26 views

Connect trough Cygwin without being asked for password

I'm trying to connect to a remote machine using Cygwin, the connection is successful problem is that it always asks me for the password. ssh -i ~/.ssh/id_rsa -o "StrictHostKeyChecking no" user@...
-1
votes
1answer
29 views

Tidy reports missing library cygtidy-0-99-0.dll

I am trying to execute tidy.exe but get the following error message. /cygwin/bin/tidy.exe: error while loading shared libraries: cygtidy-0-99-0.dll: cannot open shared object file: No such file or ...
0
votes
1answer
33 views

Cygwin terminal cannot show the contents of unicode text file correctly

I have a text file with Urdu text. I use the cat command to view the content, but I see distorted digits and symbols like text. How can I view the text correctly?
1
vote
0answers
24 views

SSH Cygwin Password not recognised

I have recently been using Cygwin to connect to an Ubuntu box which I host my server on, however it has just been reset completely. Previously I had no issues using Cygwin however I recently re-made ...
1
vote
2answers
68 views

How do I stop cygwin from creating undeletable files? Or can I delete them somehow?

Once in a while cygwin seem to create files that doesn't seem to be removable at all. When deleting from cygwin it just doesn't happen (rm says nothing, but the file is still there). When trying from ...
-1
votes
1answer
59 views

Cygwin use urxvt as shell and w3m-img not working with neofetch / ranger

So I'm trying to use urxvt instead of mintty but I haven't found a way other than launching mintty then launching urxvt and closing mintty. I tried making another .bat file which launched cmd.exe and ...
0
votes
0answers
26 views

Reset colors on Windows command line (cmd) when ssh'd into another box

This is pretty close to a duplicate of this question: Reset colors on Windows command line (cmd) The difference is that I'm ssh'd into a unix box with Cygwin... When I call reset I don't get my ...
0
votes
1answer
38 views

How to pass options to command using cygwin run.exe

I want to execute a bash command with my user environment, and I do not want to open a terminal windows on my Windows desktop. I tried: c:\cygwin64\bin\run.exe zsh -lic emacs And it opens a emacs ...
3
votes
1answer
145 views

Cygwin help: Installing autoconf, automake, and gettext

I would like to know how to install autoconf, automake, and gettext on my cygwin installation. Can anyone please help me?
0
votes
1answer
52 views

OpenSSH 'Server refused our key' and 'Access denied'

All configuration seems fine but OpenSSH replies with errors: 2048 bit keys was generated, public one put into C:\cygwin64\home\user\.ssh\authorized_keys. When trying to connect using PuTTY to ...
0
votes
2answers
57 views

Bitvise SSH Server putting extra spaces in session

I am using Bitvise SSH Server on my Windows machine for remote access. The login shell is ZSH, and I am using Oh My Zsh with it. However, I have also tried BASH and got the same problem. Therefore I ...
0
votes
1answer
86 views

Cygwin installation stops in make step

I'm installing Cygwin and GNU C compiler with the help of the tutorial How to Install the Latest GCC on Windows I have completed the following steps Install Cygwin Install Required Cygwin Packages ...