Linux-like environment for Windows making it possible to port software running on POSIX systems (such as Linux, BSD, and Unix systems) to Windows.

learn more… | top users | synonyms

-1
votes
3answers
2k views

printf white space character in bash script

How can the white space character be escaped in printf for the purpose of this script that currently runs in a Cygwin client? The line containing the whitespace (which by itself works from the command ...
7
votes
2answers
2k views

How can I set up Cygwin to automatically update and download without the GUI?

How can I set up Cygwin to automatically update itself? How can I get Cygwin to download a package without having to go via the GUI thing?
3
votes
1answer
973 views

installing column unix utility on windows

I would like to be able to use the BSD unix utilities: column, join and paste in my Cygwin installation. It seems that they are not available, or I cannot find them. Is there a way to install them so ...
0
votes
1answer
357 views

setting Cygwin's $HOME to Windows profile directory

Are there any drawbacks to having Cygwin and Windows share the same $HOME directory, in this case the Windows profile directory?
2
votes
3answers
317 views

find first line beginning with <keyword> following <other-keyword>

let's present my problem to explain better. I'm using cygwin, the installation is based on a setup.ini with the following format: @ package-name sdesc: "short description, on one line" ...
4
votes
2answers
5k views

How to map ALT key in .vimrc?

In order to be able add blank lines without going into insertion mode, I'm trying to map ALT-o and ALT-O to o<ESC> and o<ESC> I've tried the following in my .vimrc map <M-o> ...
3
votes
1answer
447 views

Git - remove deleted files

I'm using this simple git alias rmdel = "!git rm $(git ls-files -d)" meant "remove deleted", i.e. to remove from the staging area all files deleted from the file system. It works fine except ...
1
vote
3answers
633 views

Compile Linux Application for Windows

I want to use a Linux Application under Windows. It is my understanding that the application is Linux only and to use it in Windows I have to compile the application from the source using Cygwin or ...
1
vote
2answers
725 views

Alias in cygwin bash doesn't seem to run in the right order

I am trying to create an alias to use in my Cygwin shell to determine if the Mercurial-managed directory I'm currently in has outstanding changes. The command "hg st -m" lists all modified files. ...
15
votes
1answer
936 views

Is cygwin like wine, but for linux applications?

Does cygwin work line wine, providing a compatibility layer inside a foreign os?
3
votes
1answer
2k views

Is dpkg available for Cygwin?

I don't use Windows all that often, but I've found my self in a position where I'm stuck in front of one quite a bit temporarily. So I've been investigating Cygwin. My question is dpkg available for ...
4
votes
1answer
303 views

How to add a feature to Vim if it's not compiled with that feature?

I am trying to use clewn (full gdb support in the vim editor), but the vim I have on my box doesn't have the netbeans_intg feature enabled. Is it possible to enable it without recompiling vim? I am ...