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

learn more… | top users | synonyms

0
votes
0answers
73 views

How to properly use SCP to copy from remote to local?

I am trying to copy a file from a remote windows machine onto a local linux machine, but cannot seem to get the syntax right. For some reason, whenever I use SCP, it is just creating a new local copy ...
2
votes
0answers
253 views

Default permission for new file cygwin on Windows 7

I am using cygwin on Windows 7 professional. When I create new files such as MyNewFile.java it seems to get default permission set to 755. This is not what I want. I want it to be 644 for regular ...
0
votes
0answers
51 views

Special and diacritic charactres using less, cat and other linux tools

I am using GNU bash, Version 4.1.10(4)-release (i686-pc-cygwin) and set up my .inputrc to allow for special characters and German umlauts etc.: set meta-flag on set convert-meta off set output-meta ...
1
vote
0answers
67 views

Trying to bind <ESC> to keysequence “öö” in bash vi mode

I am trying to use the german umlaut "ö" in a sequence "öö" as a binding for ESC. Having the following in my .inputrc does the job with "jj" instead of "öö"; however, when changing "jj" to "öö", it ...
0
votes
1answer
231 views

Error when executing .sh file on Windows 8 using Cygwin

I am beginner of Cygwin terminal. I am trying to run *.sh file on Windows 8 using the command ./file_name.sh, but it gives the error shown below. Using prebuilt externals ERROR: Cannot find ...
0
votes
0answers
41 views

How to add additional charsets to libiconv in Cygwin

My problem is, that I sometimes have to convert files in the ISO646-DE-encoding (for german authorities... Don't ask...). On each linux-system that I used iconv -f ISO8859-1 -t ISO646-DE worked ...
0
votes
0answers
372 views

netstat reports a pid that tasklist cannot find

I was trying out cygwin lighttpd and got the error can't bind to port: 80 Address already in use I used netstat to find out which process is using it: C:\WINDOWS\system32>netstat -ao | ...
2
votes
3answers
134 views

It there any tiled console/command prompt for Windows OS?

I need to monitor 2-4 console windows at the same time. Now I'm using 4 cygwin mintty windows, each takes 1/4 of my whole desktop space. The problem is that they aren't tied together. And if I switch ...
0
votes
0answers
284 views

How do I downgrade my Cygwin Subversion to 1.6.x?

The current version of Cygwin only has Subversion 1.7.x and 1.8.x. For a variety of reasons, I need my Subversion tools to be 1.6.x. (Local repo versions, etc.) I have heard about the Cygwin Time ...
0
votes
0answers
92 views

Cygwin local mounts disappeared after update. How to recover?

I've been running 32-bit Cygwin under 64-Bit Win-7 for years. I just did a Cygwin update, which I do every month or so, and normally the updates have no noticeable side effects. But today's update ...
0
votes
1answer
433 views

Use lftp with key/passphrase combination

i have been wrecking my head around this for hours but so far have been unsuccessful: one a mac, i can do the following: connect to my server via ssh enter private-key passphrase passphrase is ...
1
vote
1answer
127 views

Cygwin doesn't seem to end with grep command

I used to use grep on cygwin on windows XP successfully. All of a sudden, now when I run grep, it never seems to end. miname@mycomputer /cygdrive/c/emacs $ grep "lkjlkjlkjlkjlkjlkjlkjlkjlkjlkjlkj" ...
0
votes
1answer
380 views

PulseAudio on Cygwin: Failed to create secure directory: Unknown error 13

I am unable to run PulseAudio on Cygwin. Operating System: Windows 8 Pro 64 bit Cygwin Setup.exe Version: 2.831 (64 bit) PulseAudio Version: 2.1-1 When I run: pulseaudio -vv this is the ...
1
vote
1answer
43 views

Cygwin unable to compile

I just downloaded Cygwin, I've never used it before cause I've always used putty. Cygwin is not letting me compile; I can see the files but it just doesn't let me compile and I do not understand why, ...
0
votes
1answer
90 views

Cygwin messes up Windows PATH

I installed Cygwin and uninstalled it after some time on a Windows 7 machine. But, the PATH variable directories naming is not correct now. Could some one tell me how do I correct this? Log below - ...
2
votes
2answers
3k views

Oh my zsh on windows

I have installed Cygwin on my windows 8.1 Now I want to install ZSH and Oh My ZSH in cygwin. I have installed ZSH in it by selecting Shells > Zsh in Select screen. and I found this link to ...
0
votes
0answers
36 views

scp shows incorrect and extremely large file size, cygwin local, debian remote

I attempt to copy a 18MB file from a remote server to my local computer, using scp under Cygwin. scp -r froz@rserver:nov.6.2013.tgz . But scp shows like the following nov.6.2013.tgz ...
2
votes
1answer
204 views

iconv cannot convert between CP1256 -t ISO-8859-6

i tried to convert from CP1256 to ISO-8859-6 encoding using Sygwin but it cannot convert! and help? $ iconv -f CP1256 -t ISO-8859-6 cca.txt > cca1.txt iconv: cca.txt:791:41: cannot convert the ...
0
votes
1answer
45 views

X forwarding: Disable secondary monitor

I use X forwarding from a linux box to a windows box (X forwarding) which has 2 monitors. New windows are always opened at the opposity display. Thats so terribly annoying! Any way to get rid of this ...
0
votes
3answers
427 views

Copy a list of files preserving directory structure, without scripts

Is there a way to copy a list of files, that share a common base directory, preserving their relative directory structure? The files with relative paths are listed in a text file. edit I have the ...
1
vote
1answer
79 views

Less in cygwin can't read file created from redirected windows cmd script

I'm running windows cmd script from windows console and redirecting output to a file by mycommand.cmd > 'filename ' 2>&1 the problem is, when I'm trying to read that file using less under ...
0
votes
1answer
47 views

How to enable vim spellcheck on windows and cygwin

How to enable vim spellcheck on windows and cygwin? I have tried with: set spell spelllang=en but it doesnt work. Edit: As it turns out it has to do something with the syntax enabled. I'm using ...
1
vote
1answer
211 views

How can I direct rsync output / log to the remote server?

I am able to output rsync logs on the client machine using --log-file=FILE but I want the output to be sent to the server instead. The client is a W7 machine (cygwin) and the server a Linux NAS. This ...
1
vote
2answers
77 views

Trying to access Libraries folder with cygwin

I saved some files in Libraries -> Documents on windows 7 and I try to access to those files with cygwin. Where is that folder Documents ? I've looked under /cygdrive/c/Users/my_user/ but I ...
1
vote
2answers
218 views

Modifying registry from Cygwin not working

I'm trying to import a .reg file from Cygwin shell using regedit.exe <registryfile>.reg The dialogs pop up asking if I want to apply the registry changes, and I click yes, but no changes are ...
0
votes
2answers
2k 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 ...
0
votes
1answer
75 views

SQL Server Unattended Install through SSH

I'm trying to install SQL Server from the command line through Cygwin open-ssh. The install works when I log onto the server as Administrator and execute the script through a Cygwin shell, but the ...
0
votes
1answer
444 views

Is there a command to change primary group for a new user in Cygwin?

Is there a way to set a (new) user's primary group in Cygwin's /etc/passwd file without hand-editing the file? I have a local group set up for members of the Dev Team on a Windows Server 2008 R2 box ...
0
votes
1answer
153 views

Backup files from Linux client to Windows Server

I'm trying to backup my files from my Linux box to my Windows Server 2008 as a push, and when I delete them from my Linux box, they remain on my Windows Server. I've found lots of sources that are ...
0
votes
2answers
177 views

Why won't Cygwin run windows apps that interact with the shell/command line?

After a recent update, Cygwin bash shell works for any commands that don't require interaction, but if an app needs interaction (for example the python shell), it won't work, the prompt never appears, ...
1
vote
3answers
241 views

How to identify the local network you are connected to

I need a script to be able to identify if the computer is connected to my home network, to my work network, o to a different network, either by wifi or by cable. My question is if there some network ...
0
votes
1answer
545 views

Cygwin vim doesnt show 256 colors under ConEMu

When using cygwin vim under ConEmu, the default vim theme doesnt display correctly after I set t_Co=256. This is how ConEmu looks after the command: http://postimg.org/image/g6g98exbx/ My .vimrc: ...
0
votes
0answers
73 views

Avoid “press any key to continue” after taskkill

How to go about avoiding the press any key to continue that prevents windows to automatically close after a taskkill? pids=`ps -W|grep java|awk '{print $1}'` for pid in $pids; do taskkill.exe /F ...
3
votes
1answer
437 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 ...
0
votes
0answers
841 views

CygWin > rTorrent > configuring rTorrent (make > “Makefile: recipe for target '***' failed”)

I am almost there to complete my rTorrent installation, and i already got over few errors (documentation is old)... help finish it, please :) Step by step. libTorrent is now installed with no errors ...
0
votes
0answers
44 views

ssh with an alternative configuration directory?

Is there any way to run the standard Cygwin ssh command with an alternative $HOME directory or an alternative .ssh configuration directory? UPDATE: it turns out this is a duplicate question; but it ...
0
votes
0answers
261 views

How to generate missing server-0.xkm (compiled keymap) in cygwin 1.13.2.0 in Windows 7

My operating system is Windows 7. I installed cygwin. I wanted to start the XWin Server with the startxwin command and it terminates with the error: Couldn't open compiled keymap file ...
2
votes
1answer
386 views

startxwin.exe is failing in cygwin 1.13.2.0 on Windows 7 with keyboard initialization failure

My operating system is Windows 7. I installed cygwin. I wanted to start the XWin Server with the startxwin command and it terminates with the error: Couldn't open compiled keymap file ...
0
votes
2answers
2k views

CygWin > rTorrent > installing libTorrent (autogen.sh > aclocal not found)

I was following rTorrent on windows installation instructions.. http://rtwi.jmk.hu/wiki/rTorrentOnWindows ..and i need help. Installing libTorrent ./autogen.sh When executing autogen.sh command, ...
1
vote
1answer
66 views

Problems after installing Microsoft Services for UNIX

I had Cygwin installed and everything worked liked a charm. At some point I installed Microsoft Services for UNIX on my computer and the problems started. When I open up a commnad shell an wanna try ...
2
votes
1answer
108 views

reuse an already established connection with win32 gvim

How can I reuse an ssh connection on windows? Ive been using these settings in my _vimrc for sftp and noticed that each time I browse or try to edit a file with netrw, a new connection is created ...
0
votes
1answer
55 views

Can I mount a (zip) archive in cygwin?

I do not see any example in http://www.cygwin.com/cygwin-ug-net/using.html#mount-table =
1
vote
1answer
158 views

Font in remote X connection

I have a headless Gentoo box and would like to run X app on it but forward the display to a Cygwin Xorg server running on my Windows PC. It works but I am not sure in this case if I specify some ...
2
votes
1answer
301 views

How do I open a file in Cygwin Emacs from Windows?

I am trying to make Windows open text files in Emacs, which I have installed under Cygwin. I have followed these instructions: and created a bat file like this: @echo off chdir C:\LocalApp\cygwin\bin ...
0
votes
1answer
272 views

How to set path for MinTTY under windows/cygwin correctly?

I made windows shortcut with the following target: D:\APPS\cygwin64\bin\mintty.exe /bin/env PATH=/local/bin:/usr/local/bin:$PATH /bin/bash --login -i I was expecting it prepend path with my given ...
2
votes
0answers
83 views

NX on windows 7 - disruptive screen configuration change

I am using NX on Windows7. Windows handles 2 montiors. NX running on the main one. After the screensaver was running, I got the following NX message: Disruptive screen configuration change. Restore ...
1
vote
1answer
109 views

After updating bashrc in cygwin the cursor starts at column 0 instead of after the prompt

The issue is that, if I update PS1 in bashrc, I see that by default the cursor gets placed at column 0 instead of after the prompt, and if I type anything it starts overwriting the prompt. I tested ...
3
votes
0answers
186 views

Install python module snack on cygwin for byobu

I'm setting up the terminal multiplexer byobu on cygwin. But it's not fully working, since it has some python dependencies. E.g. F9 toggles the menu, which relies on byobu-config. That needs ...
1
vote
1answer
64 views

Ctrl space get eat by windows instead of passing to cygwin emacs

I bind C-space to start selection but this is also the windows input method hotkey, so when never I press this under cygwin, it will eaten by the OS, is there any way to avoid this? how to work ...
1
vote
1answer
17 views

File sizes ordered by date

If I had FSQL, I would write select size from directory1 order by date. But, I have a Windows and Cygwin. Windows Explorer can sort the items by date but it rounds the file sizes to much. So, I am ...