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

learn more… | top users | synonyms

0
votes
1answer
9 views

Install older version of gfortran on windows (cygwin x64)

I'm using cygwin 64bit for windows. It offers all the packages you could want in the setup, but I can't find a way to get an older version of a package (gcc fortran compiler in my case). I have ...
7
votes
1answer
1k 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
1answer
29 views

Windows 7: Introduce commands for the run-command

Given Windows 7, you can press Win+R to open the command prompt. How I introduce short cuts to execute commands? For example, I use Cygwin and would like to open a Cygwin terminal simpy by writing ...
0
votes
0answers
161 views

Vagrant VM mysteriously disappearing after rebooting host

I am running Vagrant on Windows 7. I use cygwin to run Vagrant up and halt, etc... I noticed that if I do a vagrant halt, and then restart my host computer (the physical box), my vagrant VM ...
8
votes
8answers
7k 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 ...
1
vote
3answers
46 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 ...
0
votes
1answer
19 views

How to use echo in shell command from Makefile?

I have a GNU makefile. It runs fine on Linux, Solaris and OS X. However, under Cygwin-32, Cygwin-64 and MinGW, it produces: /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: ...
0
votes
1answer
26 views

zip extractor reading archives from stdin

As follows from UNZIP(1L) man page Archives read from standard input are not yet supported Are there another CLI programs running under Linux/cygwin which can extract from zip archives reading ...
1
vote
1answer
17 views

Cygwin, emacs and associate it with a file type on Windows

I want to use Emacs as and editor and shell. On Windows 7 I installed cygwin , X11 and emacs. In terminal I added to /etc/profile file these lines: XWin -multiwindow 2> /dev/null& export ...
0
votes
1answer
257 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
0answers
8 views

How to I make the parallels shared folders visible under cygwin ssh sessions?

I do have Windows VM with Cygwin ssh server installed and configured and I am trying to access the host shared folders from ssh sessions. Somehow it seems that even if these folders are mapped in the ...
0
votes
0answers
41 views

Changing the HOME for Cygwin

I'm trying to change the home directory for Cygwin on a computer at work. Our home directories mapped to a network share by default. This seems to cause some confusion for Cygwin, as it created a ...
1
vote
1answer
63 views

Can't find the good Cygwin shell executable

I am working on Windows 7 and I need Cygwin for my project. I am trying to launch the Cygwin terminal from a Java programm and then write command lines but my problem is that I can't find the right ...
0
votes
1answer
48 views

Changed cygwin home location, now the terminal can't find my .minttyrc config file

I had to change the HOME location for Cygwin by setting it to pick up the directory I set in /etc/passwd (following the solution from here). It seems to not be a problem for the majority of my ...
0
votes
0answers
29 views

Accessing rsync folder after windows re-install

I am using cygwin to backup my Debian VPS to my Windows PC. All is fine, but if I re-install Windows I can't access the backup folder until I change the owner of the folder and all its children. ...
1
vote
1answer
37 views

Why doesn't Apache start up automatically?

I have Apache2 running on Cygwin on my Windows 7 computer. It doesn't do much, it just hosts some HTML documentation for my local (firewalled) LAN. Oddly, it doesn't seem to start automatically even ...
0
votes
1answer
12 views

How to force Cygwin's .bash_history to be in custom HOME?

I am using Cygwin (CYGWIN_NT-6.3 2.0.4(0.287/5/3)) with a custom /etc/profile which I use to set the HOME to a personalized path, also, /etc/passwd sets that same path for the [only] user. If I load ...
1
vote
2answers
17 views

How to setup background image on Cygwin?

I am looking for a way to setup a background image on Cygwin. In the options of Cygwin shell Mintty there is no settings available to setup background image. Is there any other way to setup ...
1
vote
3answers
4k views

Color in Cygwin terminal

I've installed cygwin because I'm a bit fed up with the Windows terminal not being great. The only problem I'm having is the lack of colours. You can see the problem in the following 2 screenshots ...
-1
votes
0answers
14 views

What does cygwin delete when I install new packages?

I would like to install new cygwin packages, however, I obviously want to keep my old ones. I selected the new packages that I wanted to use (gawk, et. al.), and installed again. However, this ...
0
votes
2answers
38 views

java: command not found in cygwin bash

I'm trying to run a series of programs in Cygwin. My current dilemma is running a java file. My input and the error is below. Gaius@Ellislab2015 ~/muTect-1.1.4-bin $ java -jar muTect-1.1.4.jar ...
0
votes
1answer
16 views

apt-cyg can't connect to download mirror

Question I was asked to help with the following problem. Each time apt-cyg tries to connect to it's server, it just can't get response and gets stuck with connecting to it. Since I'm there via ssh, ...
1
vote
4answers
110 views

How to reset the terminal under Cygwin?

Under Linux, I can clear terminal output with a simple reset from the command line. Under Cygwin, it appears reset does not work: I also tried reset 0 and reset 1 with no joy. And I even tried the ...
0
votes
1answer
11 views

Call MATLAB installed on network drive from Cygwin shell script

MATLAB is installed on a network drive, and I want to call it from a shell script. The installed location is \\apps\matlab2014b$\bin\win64\MATLAB.exe in P:\. I am using Cygwin to run the shell ...
2
votes
2answers
49 views

How to change the default shell in Cygwin?

I am trying to change my default shell from bash to zsh in cygwin. The normal unix command chsh isn't available on cygwin The etc/passwd file it seems isn't used anymore in existing versions of ...
0
votes
0answers
11 views

Intellij - Open directory of selected file in Cygwin

In Eclipse, I could use Easy Shell and have a command to open the directory of the selected file in Cygwin. I wonder if it is possible for Intellij. The best I could do so far is use Terminal plugin ...
3
votes
0answers
12 views

GNU screen is slow exiting

I've set up my .bashrc to automatically screen -DRA (even though it's a local session). screen works fine, except that if I run exit from the last window or otherwise close it from the client itself, ...
1
vote
5answers
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.
2
votes
3answers
5k views

Git clone does not work in using cygwin to run git

I was able to 'git clone a repository using 'git clone' in my MS Terminal (the one start by using 'cmd'). git clone git+ssh://michael@103.116.29.18/~/Src/Test But when I do the SAME command under ...
6
votes
1answer
4k views

Starting Windows GUI program in Windows through Cygwin sshd from ssh client

I would like to ssh into my Windows box running Cygwin sshd and run the Windows GUI application in that Windows box. I don't want X forwarding. e.g. From ubuntu-server terminal, I ssh into Windows ...
1
vote
1answer
113 views

Libpcap on Cygwin

I recently installed Cygwin, and while trying to get Reaver onto it I got the following error: pcap library not found!. Although I think Cygwin is a terrifically useful tool, I'm still not used to not ...
1
vote
1answer
20 views

Cygwin - how do I search scrollback?

Going to be pretty depressed if this is not a feature by now. To be clear, by scrollback, I mean scrolling up and down on the terminal emulator to see history.
0
votes
1answer
22 views

openSSH is ignoring the HOME env variable

I've been trying to sort out the Could not create directory issue with openSSH installed via cygwin, and have tried every solution I can find on the internet, but none of them are working... I've ...
1
vote
2answers
103 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 ...
0
votes
1answer
36 views

Cygwin Mintty unicode doesn't display fail despite having dejavu sans mono and everything

Edit the problem is ubuntu machine can't display \u03bb as greek lambda symbol ubuntu is remote: [ubuntu@ubuntu:~]$echo -e "\xce\xbb\x0a" λ [ubuntu@ubuntu:~]$echo -e "\u03bb" \u03BB this is ...
0
votes
1answer
16 views

input/output error while copying PNG files from linux server to desktop using scp in cygwin

I am trying to copy some png files from linux server onto my local desktop running windows 7. I am trying to copy the files with cygwin using the scp command. I do not get any syntax errors but all my ...
0
votes
1answer
34 views

How does sshd under cygwin authenticate?

I know very little of Windows yet I have to work with a Windows server. The only way to make this bearable is with Cygwin and sshd. I have installed and configured sshd but I don't really understand ...
1
vote
1answer
57 views

cygcheck: track_down: could not find cygnettle-4.dll

I'm trying to use cmake in cygwin. When doing so I get the following: ~> cmake --version /usr/bin/cmake.exe: error while loading shared libraries: ?: cannot open shared object file: No such file ...
0
votes
1answer
58 views

cygwin USER and USERNAME are different

I changed an account on a Windows 7 machine from 'user' to my own name, and after rebooting, my name is the value of the environment variable USERNAME. But USER is still set to 'user'. How do I ...
4
votes
1answer
48 views

How does cygwin mount mapped network drives

I use Cygwin as a POSIX environment, and I have a bunch of mapped network drives on my windows computer (set up by a sysadmin, not by me). I have found that all the network drives which are mapped on ...
0
votes
1answer
31 views

cygwin opens three windows instead of one

If I open a cygwin terminal window it opens three instead of one window. The titles are C:\cygwin\bin\mintty.exe Cygwin Terminal <my host and current directory> Only the third ...
3
votes
2answers
374 views

Putty->Cygwin X11 Forwarding “Can't open display” Error

I am using Putty on a Windows machine to ssh into another server. Once there, I am trying to use X11 forwarding to pop windows onto my computer. The remote system is not the issue since it is a large ...
0
votes
0answers
9 views

Is there a way to pause mosh from 3 second UDP updates?

Is there a way to pause mosh in a Cygwin installation? I think it's causing an excessive battery drain for my AndroidAP phone, since it's designed to be sending packets every 3 seconds, which is not ...
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 ...
2
votes
2answers
4k 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 ...
0
votes
0answers
25 views

Can cygwin shell interfere with git bash when using Git Bash Here?

I've been using Cygwin terminal for a long time, and have gotten very used to its quirks and what-not. Recently I've been using the Git Bash shell in Windows 7 (64-bit). For Git command-line work, I ...
0
votes
2answers
7k 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 ...
6
votes
2answers
6k views

ssh config under cygwin

I have Cygwin installed on Windows 7. I made default install. I would like to use ssh config file (~/.ssh/config) to set host and options for connecting. Normal ssh command is not able to find the ...
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 ...
-1
votes
1answer
28 views

What is the name of the Cygwin package manager? [duplicate]

I'm not a regular Cygwin user. I installed Cygwin and Cygwin64 for testing proposed patches. I tried to perform a git clone, but it failed with -bash: git: command not found. So I need to install Git, ...