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

learn more… | top users | synonyms

0
votes
1answer
77 views

apt-cyg install return md5sum error

Since the last time I reinstall windows, and then cygwin, apt-cyg stops working. It keeps telling me "md5sum: standard input: no properly formatted MD5 checksum lines found". What could cause the ...
0
votes
1answer
34 views

“cannot create hard link X to Y: Operation not permitted” on ext2 drive from cygwin cp -al

/cygdrive/d/ is a USB hard disk formatted as ext2 and mounted with ext2fsd. When I try cp -al /cygdrive/d/X /cygdrive/d/Y where X is a file, I get the error in the title. Things I've Tried/Verified ...
0
votes
1answer
9 views

how to change order of system includes in mingw under cygwin?

I am trying to use mingw32 under cygwin32 to crosscompile. However, I get an error involving float.h In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:16:0, ...
0
votes
3answers
24 views

Cygwin: Get process state

When I run top in Cygwin I get: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND I would like to extract these columns for all processes: PID PPID S COMMAND ps gives PID, PPID, ...
1
vote
0answers
14 views

Making file's mode 000 on cygwin - does not work

Seems cygwin is unable to cancel a file readability mode, viz.: $ echo "123" > ttt $ cat ttt 123 $ ls -ls ttt 1 -rw-r--r-- 1 Administrator None 4 Mar 22 10:19 ttt $ chmod 000 ttt $ ls -ls ttt ...
-1
votes
0answers
14 views

Cygwin is very slow, even when I disabled Avast and Comodo [closed]

I installed Babun (a great windows shell that is based on Cygwin) and it ran very slowly. What's more, it's not fully interactive. By this I mean, that when I wanted to use some sort of creator ...
0
votes
0answers
16 views

Unable to set permissions using Cygwin on Windows 7

I have Cygwin 1.7.34(0.285/5/3) installed on a 64-bit Windows 7 machine and I've found that I'm unable to control the permissions of files/directories on my computer with it (through chmod). Most ...
0
votes
0answers
28 views

How to do a nightly Rsync from Windows Client to Ubuntu Server with Cygwin and Task Scheduler?

I do this with the OS X machines in the office but I wish to do this with the Windows PC too. On OS X, I created SSH keys and cron jobs to rsync certain folders to specific user folders on our Ubuntu ...
2
votes
0answers
28 views

Password required when trying to ssh into a server using Cygwin on Windows 7

I'm trying to set up a server at our company, and one of the things I'd like to be able to do is host public Git repositories on it which I can access over ssh. Both the server and the workstation I'm ...
-2
votes
1answer
26 views

is there a gzip like tool with password protection for windows? [closed]

I want to encrypt some text files on a server that could be unencrypted on the fly when needed for searches (I would use it with cygwin). I was thinking of something like gzip and gunzip type of a a ...
0
votes
1answer
31 views

Cygwin's MinTTY takes about a minute to start up

When I open MinTTY from outside an existing MinTTY, the new terminal window takes about a minute to show up. My Windows shortcut is set to run C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -. The ...
1
vote
0answers
29 views

Cygwin and Cygwin64 missing prompt in terminal

I tried to install and reinstall cygwin and cygwin64. I also tried different mirror sites. Instead of seeing a line like user@PC~ $, I see a blank screen with a blinking cursor. The properties of ...
1
vote
0answers
15 views

Starting Zsh in ConEmu in specified directory

ConEmu runs zsh under CygWin fine. I want to add a right click option to explorer to "Start ConEmu With CygWin Zsh In This Diretory" ConEmu provides an Integration settings page to set explorer ...
0
votes
0answers
10 views

How to force windows to delete a directory that is in use? [duplicate]

I have a directory under C:\Users\myuser\.ssh and I need to delete it but Windows won't let me. From Windows explorer: From a Cygwin shell: myuser@mymachine /cygdrive/c/Users/myuser/.ssh $ rm -rf ...
0
votes
0answers
24 views

I added a simple socket perl server script under Cygwin Xinetd to echo client input but it reads blank instead

I installed a x32 version 1.7.33 of Cygwin on my x64 Windows7 machine. I added a new service under /etc/xinetd.d/ccapi. $ cat ccapi-stream service ccapi { id = ccapi-stream disable = ...
0
votes
0answers
25 views

Strange Vagrant X11 Forwarding Issue

I'm running Ubuntu 14.04 in a Vagrant VM. I'm also running Cygwin on the host machine. When I ssh -Y into various servers, I have no problem launching a remote X11 application. But....when I vagrant ...
1
vote
1answer
40 views

Compiling ffmpeg for windows with WebM libraries using Cygwin

I'm trying to compile FFmpeg with the following configure command, however I'm getting an error saying that it cannot locate one of the libraries I'm trying to enable. ./configure \ --disable-doc \ ...
0
votes
0answers
17 views

“unable to remap to same address as parent”, can't get rebaseall to fix the issue

I posted this question on the Cygwin mailing list with no response, so I'm trying here. I keep getting this same unable to remap error and rebaseall does not fix the problem. Specifics: On running ...
0
votes
1answer
28 views

How to install a font onto cygwin terminal

I really like Dejavu font. And I want to make it available on cygwin terminal. But I don't know how to install this font. Can anyone help?
1
vote
1answer
22 views

Find text and replace with index

I need to find a string and replace it with a moving index (in this case find pattern is "replaceThis") For example: id=replaceThis ...... id=replaceThis ...... id=replaceThis should become id=0 ...
1
vote
1answer
27 views

Midnigh Commander rendering fail in CygWin, Windows 8 and ConEmu (or Console)

I am trying to use alternate terminal emulator for CygWin in Windows 8.1 x64. I am trying to use [ConEmu] and [Console], but both of them fails in rendering of mc program. Is it fixable?
0
votes
1answer
46 views

Cygwin install error: Package file libxxx has a corrupt local copy, please remove and retry

When attempting to install certain packages to Cygwin, I received one of the following errors: Package file libgcc1 has a corrupt local copy, please remove and retry. Package file libssp0 has ...
1
vote
1answer
13 views

Cygwin convert windows path to unix then change dir

I am usually trying to use the cygwin terminal to move to a nested directory. The problem is the windows directory are not immediately interpreted. So I had to do two step: $ cygpath -u ...
0
votes
0answers
64 views

Permission Denied (Public Key,password,keyboard-interactive)

I have installed CYGWIn and then run SSH-HOST-CONFIG There I have disabled the stric mode and created a privileged user for SSH. Now when I do ssh cyg_server@localhost , I am getting the password ...
1
vote
0answers
23 views

How to connect remotely from Windows to a Vagrant instance?

Is there a way to connect from my windows pc to a vagrant instance running on my mac which is on the same network? Ideally I would like to use cygwin or something equivalent
0
votes
1answer
16 views

Running the command “bochs -q” from Cygwin fails

I'm having troubles to execute the command "bochs -q" from Cygwin. I have installed the XV6 operation system in my C drive. I'm using Cygwin in order to compile the XV6 files, that is execute the ...
1
vote
0answers
20 views

Tmux 1.9a - variable #{pane_current_command} doesn't work as expected

I'm trying to get vim-tmux-navigator to work on my my Cygwin (Win7 x64) + Tmux 1.9a but it doesn't. The reason is the variable #{pane_current_command} always returns bash instead of vim, so the ...
0
votes
0answers
3 views

Problems with locale on cygwin

Trying to mess around with locale in a program. GCC - or rather g++ being the compiler I use - throws an exception. One problem I see is that locale -a lists the suitable locale to use as ...
0
votes
1answer
45 views

SFTP connection is getting closed after password

We have set up Cygwin on Windows 2012 and the services related to the tool are running fine on the server. During installation we have created a local user cyg_server, we tried to create home folder ...
0
votes
0answers
16 views

Open windows gui applications through ssh with x forwarding

I have a cygwin sshd server set up on a windows computer and want to start a windows application (like notepad.exe) through ssh using x11 forwarding, i.e. I want to connect from windows computer a to ...
0
votes
1answer
29 views

Why does cygwin sha512 create different checksums depending on terminal?

I'm using Windows 7 and have both Cygwin and the ming-based Git command line tool. When I issue the command: c:\>echo -n hello | e:\cygwin\bin\sha512sum from the Windows cmd, it generates ...
1
vote
3answers
25 views

Unable to delete a file using cygwin shell

I'm trying to delete the file ~$bgka.mod from my current directory in Cygwin shell. When I list all my files in that directory it shows up: $ ls ~$bgka.mod CaBK.mod hcdist.hoc mcdist.hoc ...
1
vote
1answer
31 views

What is the minimal packages list for Cygwin?

The Cygwin FAQ mentions that one the first install, the setup exe will download “a minimal subset of all available packages.” Which packages are part of this subset? I’m installing Cygwin on a ...
1
vote
1answer
35 views

Failing to compile Putty for Windows on Ubuntu

I am trying to compile putty for windows on ubuntu 14.04. got the source from here: http://the.earth.li/~sgtatham/putty/latest/putty-0.63.tar.gz This is what I did until I got the error: ...
0
votes
1answer
28 views

How to run X/Cygwin without first running cygwin.bat?

To run any GUI program, I need first run a startxwin, which has no EXE extension. So I need first run cygwin.bat. startxwin only starts GUI terminal by default, so I am obliged to run 2 intermediate ...
0
votes
0answers
8 views

Bash/Cygwin synchronize two directories

I have small problem with synchronization of two git repositories. In first directory for example localRepo is only two subdirectories: localRepo/ dirA/ dirA1/ ...
0
votes
1answer
39 views

cygwin on win7 x64 takes long time to respond

I recently got a new PC(laptop) and installed cygwin on it, latest version as of today. For some reason cygwin behaves strangely. When i open the cygwin console or when i type commands in regular ...
0
votes
0answers
55 views

Windows 10 Technical Preview: running custom commands

I have recently installed the Windows 10 Technical Preview and like using unix in my terminal. When I had Windows 8 I used a very lightweight application called gow that installed a few unix commands ...
0
votes
1answer
52 views

Bash Scrolling Output Cygwin

My apologies if this has been asked before but I did my best to find it beforehand. I have a bash script like so: #!/bin/sh <Appropriate variables here> lftp -c "open -p $port -u $login,$pass ...
1
vote
1answer
131 views

Cygwin from Windows very slow/ laggy

Suddenly all Cygwin commands I start from the Windows command line have a ~10-20 second lag before they execute. So that Cygwin becomes totally unusable, I already tried to reinstall without success. ...
2
votes
3answers
38 views

How can I install pygame on python with cygwin? [duplicate]

I cannot install pygame on cygwin properly. I tried to follow that old doc , http://msdl.cs.mcgill.ca/people/tfeng/svmsccdoc/node49.html, but it doesn't work. Worse issue is SDL not be able to ...
0
votes
2answers
63 views

How can I install pygame on python with cygwin?

I cannot install pygame on cygwin properly. I tried to follow this old doc http://msdl.cs.mcgill.ca/people/tfeng/svmsccdoc/node49.html but it doesn't work.
1
vote
1answer
35 views

Can't connect with OpenSSH sftp with custom port

I am using Cygwin on Windows 7. I have installed OpenSSH client and i am using it connect to Ubuntu server installed on virtualbox through localhost. I am connecting through ssh with this command: ...
0
votes
2answers
35 views

How do I install Inkscape for use by Cygwin?

I'd like to know if it is possible to install Inkscape for use from the Cygwin command line. I already have Inkscape installed as a program in Windows 7 (64 bit) but Cygwin isn't recognizing inkscape ...
0
votes
0answers
34 views

CygWin SSHD: Administrators have no permissions/ownership over new files

I have CygWin 64 bits (updated to January 2015) with SSHD installed. If I create a new file in Windows 7 SP1 shell: cmd echo "Test" > Test.txt Those are the permissions for Test.txt file: But ...
0
votes
0answers
10 views

How to compile predictive mode using Gow instead of Cygwin on Windows?

I want to install the predictive mode for latex in Emacs editor. Since I have windows so I should have the make utility available. I don't want to install the fussy Cygwin (over 100MB), but the much ...
0
votes
0answers
24 views

Tmux copy the selection to /dev/clipboard wiithout key-mapping

Many answers related to this topic suggest to map Ctrl+y to a command that pipes tmux show-buffer to xclip. In the specific case of cygwin, the correct way to interract with the Windows clipboard is ...
2
votes
1answer
16 views

cygwin does not use $HOME as home [closed]

On my Windows system, I have set the HOME environment to %USERPROFILE% which is my current Windows user home directory. After I started the cygwin terminal, I can see my cygwin HOME is ...
0
votes
0answers
36 views

copying files from one server to another windows

I have a script where I login to a windows 7 machine(Let's call it A) using SSH. In my SSH session, I am trying to copy files from a share(Let's call it B) to A. I've used cygwin on machine A for ssh ...
1
vote
0answers
66 views

OpenSSH without password does not work Cygwin Windows 7

I've tried several ways to install openssh without password but it does not work. With password it works fine! (Cygwin, Windows7 32Bit) First I did it like execute ssh command without password? ...