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

learn more… | top users | synonyms

1
vote
1answer
4k 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
2answers
5k 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
71 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
33 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 ...
-3
votes
2answers
59 views

CYGWIN on windows 2008R2

we have configured CYGWIN on windows 2008R2 and the services are started when we try to connect from outside to the server it is giving the below error. $ sftp 501226742@tnwp010457.psamer.ps.ge.com ...
7
votes
7answers
6k views

How to change the title of the mintty window?

MinTTY is the new default Console for Cygwin. What's a shell command (something I can put in .bashrc, or even better, in .zshrc) to change the title of the MinTTY window ? I'd like the title of the ...
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 ...
1
vote
2answers
229 views

Is it possible to have App-distinct Color Scheme in ConEmu?

I am presently using Bash (with Cygwin), as well as Powershell, both using ConEmu. I'm using bash.exe and powershell.exe via tasks. I'd like to use different colour schemes for the different ...
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 ...
0
votes
0answers
15 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 ...
19
votes
3answers
13k views

zsh with Cygwin

How can I configure zsh to be the default shell under Cygwin?
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 ...
0
votes
1answer
29 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 ...
-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
0answers
23 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 = ...
1
vote
0answers
27 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 ...
1
vote
1answer
941 views

How do I delete a file with invalid characters in Windows 8.1 (not even Cygwin helps)

After a problem I've encountered with the Windows 8 Store I had to delete a system folder. Unfortunately, inside it there's a file with invalid characters (filename as it's displayed via ls or dir): ...
10
votes
4answers
4k views

How do I prevent Cygwin's XWin Server automatically starting xterm?

Whenever I start Cygwin's X server using the "XWin Server" link in my Start menu, or by running startxwin from a Cygwin shell, I automatically get an xterm window appearing, which I neither want nor ...
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
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
1answer
27 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?
0
votes
2answers
887 views

Is there a way to show windows processes in Cygwin constantly

I would like to monitor processes from a cygwin shell, using top or a variant. The reason for this is its realtime reporting and constant updates. However under cygwin, top will not report on windows ...
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
2answers
2k views

start X window applications with Cygwin+Xming or CygwinX on Windows 7 64-bit?

I followed the instructions from previous posts on superuser to try and install cygwin including xorg-server as well as trying the alternative of bringing up X windows using Xming (including setting ...
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
3answers
2k views

Copy files with partial resume support? (Win/Cygwin)

Just curious if anyone knows of a tool that'll copy files, and should the file get interrupted, have it resume where it's left off the next time it's invoked. I'm basically trying to copy something ...
1
vote
1answer
1k views

How do I copy specific set of files in one directory structure to another?

Say I've got a directory structure somewhat like this: view | +--- 0001 | +--- 231 | +--- e2341 | ... and so on My problem is that I want to copy a set of files that have the same name ...
1
vote
1answer
12 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 ...
1
vote
3answers
550 views

Why do random characters appear in terminals in Windows?

I've been programming on Windows for a few years, and there has been an issue that is becoming increasingly frustrating as I have really started to use various terminals in Windows for my development ...
3
votes
4answers
2k views

How to copy and paste between cygwin's vi/emacs and windows clipboard?

I tried to paste what I copied in windows clipboard into cygwin's vi or emacs, and it doesn't seem to work with yy (vi) or M-w (emacs). Is there a way to do it? I learned that /etc/clipboard has the ...
1
vote
4answers
2k views

How do I mount an NTFS image created by GNU NTFSclone on Windows?

How do I mount an NTFS image created by GNU NTFSclone on Windows? Neither the gnuwin32 version of NTFSclone nor Cygwin’s mount seem to be capable.
0
votes
0answers
63 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 ...
2
votes
1answer
5k views

Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

I am very new to Cygwin, C, C++ and NetBeans IDE 7.2. My PC is running MICROSOFT WINDOWS 7 OS. I have read the documentation on how to install the Cygwin C C++ compilers. ...
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
2answers
792 views

Launch Windows program from Cygwin

Is it possible to launch a Windows program from the Cygwin Shell? (similar to firing unix commands in PHP with "exec(…)") My example: I'd like to launch a database backup in cygwin, however the ...
0
votes
0answers
165 views

chgrp and chmod not working in cygwin (windows 8)

I work in "C:\Users\leyou.ssh" I need to chmod id_rsa to 600 as it's currently 644, but it has no effect. Hence I tried "chgrp Users id_rsa" but it doesn't work neither and the group remains as ...
2
votes
1answer
3k views

Cygwin OpenSSH closes immediately after a connection

Trying to connect to cygwin-sshd using putty or cygwin ssh on localhost, here is all I get. I have it working fine on a different Win7x64 machine but this one is proving hellish. Config files for ...
1
vote
1answer
71 views

rsync from Solaris to Windows (character encoding on filenames)

I'm trying to use RSYNC to sync files from a Solaris 9 (SunOS 5.9) System to a Windows Server 2008 R2 (via cygwin) There are many Files containing characters like "ä", "ö", "ü" or "ß". Which are only ...
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 ...