Questions tagged [cygwin]

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

510 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
363 views

Fabric and cygwin don't work with windows UNC paths

I have some strange problems with fabric deployment to Windows Server 2008r2. The thing I try to accomplish is to copy some files to a shared folder with a fabric script (this script does a lot of ...
tcoopman's user avatar
  • 111
1 vote
0 answers
2k views

SSH via Cygwin "Authentication method 'password' failed"

there. I'm an SSH/Cygwin noob, but want to use ssh via Cygwin to connect to a Windows 7 machine under a domain from ConnectBot (android). I went through the ssh-host-config as described here: http://...
aikeru's user avatar
  • 243
1 vote
0 answers
688 views

Why are some Cygwin packages' sources ALWAYS pending?

Every so often I run Cygwin's setup.exe and click "Install" for the "All" category. However, when I change the view to show "Pending", about seventy-five packages' sources are always checked to ...
wes's user avatar
  • 745
1 vote
0 answers
765 views

Trying to run MATLAB through an ssh connection, MATLAB process hangs

I have two computers and I am attempting to ssh from one to the other and then running an automated MATLAB script. My sshd and ssh client are both from OpenSSH via Cygwin on both machines, which are ...
Jon Paprocki's user avatar
1 vote
1 answer
314 views

cygwin - bash can't find file depending on arguments

If I type bash -i release_script.sh it starts processing the script If I type bash --login -i release_script.sh I get the error: bash: release_script.sh: No such file or directory I don't ...
Mr. Boy's user avatar
  • 5,256
1 vote
2 answers
20k 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 text ...
user avatar
1 vote
1 answer
489 views

How can I dismount a truecrypt partition over ssh in windows 7

I'm having trouble dismounting a truecrypt container, in windows 7, over ssh. When opening a cygwin terminal on the local computer (where truecrypt is running and the partition is mounted), I can do ...
snowape's user avatar
  • 313
1 vote
0 answers
346 views

CopSSH backspace doesn't work in bash?

I just installed CopSSH Basic Edition v2.1.2.5 on my Windows 7 Ultimate 64-bit box...I've only installed it because PuTTY doesn't have a working IPv6 version yet, and I want to connect to another IPv6 ...
leeand00's user avatar
  • 22.4k
1 vote
0 answers
461 views

irssi "Terminal doesn't support cursor movement"

I'm trying to run irssi under cygwin and it gives me this error: $ irssi Terminal doesn't support cursor movement Can't initialize screen handling, quitting. You can still use the dummy mode with -d ...
Alex's user avatar
  • 213
1 vote
0 answers
596 views

Is it possible to get gedit's External Tools plugin working with cygwin on Windows?

I see that gedit has an External Tools plugin, but it is Unix only. Is there a way to get it working with cygwin on Windows? Or is there a windows alternative to External Tools?
Acorn's user avatar
  • 708
1 vote
0 answers
776 views

C++ Eclipse in Windows, when the run button is clicked nothing is showing in the console

I am in the middle of the process for installing Eclipse CDT in a Windows environment, and I got everything working, except when I press the "run" button nothing is showing up in the Eclipse console. ...
Anatoli's user avatar
  • 127
1 vote
1 answer
288 views

How to install Lagrange in Cygwin?

I need to install a script for biogeographical analyses in Windows XP using Cygwin. The program is named Lagrange and is written in C++. It actually comes with instructions to install in Linux and Mac&...
Ricardo's user avatar
  • 19
1 vote
0 answers
374 views

Can't change rxvt terminal width

How do you change the width of a rxvt terminal running in Cygwin? I can change the number of lines by dragging, but can't figure out how to change the maximum width of any line.
mkClark's user avatar
  • 356
1 vote
2 answers
2k views

Midnight Commander Woes: Output while panels are active, and tab completion

I'm trying out midnight commander (loved Norton back in the day!) and I'm finding two things hard to work out. I'm curious if there's ways around this or not however. 1) If the panels are active and ...
Eddie Parker's user avatar
  • 2,914
1 vote
2 answers
4k views

how to view hidden files on an NTFS drive that were copied from a Mac?

I have some files on my external NTFS drive that were copied from a Mac using Paragon NTFS. Back in Windows 7, I'm unable to view said files. I believe they exist because they still occupy space on ...
adi's user avatar
  • 11
0 votes
0 answers
38 views

Why did sed stop working with emoji overnight, but only on 1 of 3 machines?

I have 3 machine all running the same version of sed (cygwin), under TCC command line. This morning, I woke up to sed failing to work with emoji, but only on 1 of the 3 machines. The sed version is ...
ClioCJS's user avatar
  • 186
0 votes
0 answers
50 views

Chromedriver not found in Cygwin although it exists

After a couple hours of trying everything I could, I'm posting the question here. I'm trying to run this python script which uses chromium in order to execute. https://github.com/FallingLights/...
superuser's user avatar
  • 3,503
0 votes
0 answers
20 views

Cygwin "less" pager: "s" command not saving text to file

According to this Q&A, less's s command should save the paged text to file. When I press s, I am asked for a log file. I provide a fill path ~/tmp/less_blah.txt, and the prompt then goes away. ...
user2153235's user avatar
  • 1,171
0 votes
0 answers
28 views

restoring symlinks for transferred cygwin system

I backed up a portable cygwin installation the old way: in a simple tarball with tar -cvf cygwin; then I tried to restore it on a portable hard drive the old way: with a simple tar -xvf cygwin. The ...
jarnosc's user avatar
  • 165
0 votes
0 answers
65 views

cygwin64's pgrep not working

I installed Cygwin64 and tried its pgrep.exe tool (with admin privilege) as follows: PS D:\cygwin64\bin> D:\cygwin64\bin\pgrep.exe svchost.exe PS D:\cygwin64\bin> D:\cygwin64\bin\pgrep.exe ...
D.J. Elkind's user avatar
0 votes
0 answers
181 views

Which ECDSA Public Key in a Windows 10 OpenSSH Server Will Be Used?

Linux OpenSSH client (Debian Stretch, OpenSSH version 7.4p1) Windows 10 OpenSSH server (OpenSSH version 9.4p1) Said Windows 10 OpenSSH server has two different ECDSA public key files loaded on its ...
Digger's user avatar
  • 153
0 votes
0 answers
1k views

SSL connect error (schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE

I try to install spotdl using cygwin git clone https://github.com/spotDL/spotify-downloader && cd spotify-downloader curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh pip install ...
Super Sonic's user avatar
0 votes
0 answers
47 views

Can I install xlwings via Cygwn rather than Windows-Native Python distribution?

xlwings is an SQL support add-on for MS Excel which also requires a Python backend with a pip-installed xlwings package. See installation instructions here. Now, on a Windows machine I'm working on, ...
einpoklum's user avatar
  • 9,503
0 votes
0 answers
92 views

Cygwin mintty fails to start, requires Cygwin install finalization to run properly

I have a recurring problem using Cygwin (on a Windows 10 machine with a bunch of corporate spyware/malware which I had to live with). Whenever I install or update Cygwin - everything seems to work ...
einpoklum's user avatar
  • 9,503
0 votes
0 answers
99 views

Cygwin update using new setup executable: The following packages(s) had download errors

After 3+ years, I tried to update my Cygwin packages. There was a new setup executable, which I normally run as non-administrator. I did this today and got the message "The following packages(s)...
user2153235's user avatar
  • 1,171
0 votes
0 answers
72 views

Why Cygwin installtion folder is taking 5 gb in my system? How can I reduce it?

I have Cygwin installed within Windows 10, on a non-OS partition, and might have installed unwanted packages during setup periodically for updates. I only need it for C/C++ Compiler library, so I just ...
lnxfan's user avatar
  • 1
0 votes
0 answers
496 views

Script fails in WSL/Ubuntu when run via a symbolic link

I have a script that behaves differently when run by name compared to when it is run via a symbolic link. The problem is specific to WSL/Ubuntu. The same script, when used under Linux or Windows/...
jjoIV's user avatar
  • 1
0 votes
0 answers
96 views

How to remove the "+" and "-" after a diff comparison

I compare 2 files using Cygwin (MobaXterm) diff. Output files have -- a and ++ b lines at the first line. I want to delete only these lines. How could I do it? Here's my script: #! /bin/bash sort -...
susik's user avatar
  • 653
0 votes
1 answer
430 views

Move and rename files based on their parent folders

I'm trying to write a Bash function that will find files in a given directory tree and move them to the current folder while renaming them based on their parent folder, but I'm still stuck on the ...
Hashim Aziz's user avatar
  • 12.8k
0 votes
0 answers
219 views

cygwin /usr/bin/install cannot change permissions

When I run /usr/bin/install, I get permissions errors: bifrost ~ 857# groups None Local account and member of Administrators group tsysadm Administrators Users NETWORK Authenticated Users This ...
Erik Bennett's user avatar
0 votes
2 answers
343 views

In Windows cmd, does grep use GetCommandLine(), and findstr use argv?

In Windows cmd, does grep use GetCommandLine(), and findstr use argv? This is the grep i'm using C:\>where grep c:\cygwin\bin\grep.exe C:\>c:\cygwin\bin\grep.exe --version grep (GNU grep) 3.7 ...
barlop's user avatar
  • 23.9k
0 votes
1 answer
257 views

can't run commands in bash invoked from emacs shell on windows

I invoked "shell" which correctly runs cmd.exe and runs correctly. However, when I run bash from within that shell, every command gives an error Microsoft Windows [Version 10.0.22000.739] (c)...
anjanbacchu's user avatar
  • 1,397
0 votes
1 answer
286 views

With cygwin, how do you restart an ssh reverse tunnel without a forwarding issue "Warning: remote port forwarding failed" message occurring?

With cygwin, how do you restart an ssh reverse tunnel without a forwarding problem "Warning: remote port forwarding failed" message occurring? I have this command ssh -R 50500:127.0.0.1:5900 ...
barlop's user avatar
  • 23.9k
0 votes
0 answers
60 views

Platform/version-independent sorting for gnu sort

I am trying to do an offline comparison of two lists generated on two different systems. They both have GNU coreutils so to aid the diff'ing, I sort both lists using sort before transferring them. I'...
dovetalk's user avatar
  • 233
0 votes
1 answer
178 views

Accessing notepad++ from cygwin bash

So when I am writing code, I use notepad++ and when I am done, I copy-paste it to plain old notepad because I use Cygwin and notepad is the only text editor that I know how to access from the shell. ...
Ahmad Alkhaled's user avatar
0 votes
1 answer
134 views

Prevent Cygwin from clearing terminal window

I start a new cmd.exe and run Cygwin like this: C:\cygwin\Cygwin.bat Then I type exit. Cygwin now clears the whole terminal window. Is there a way to prevent this? (I cannot use miniterm.exe because ...
zomega's user avatar
  • 1,250
0 votes
0 answers
121 views

Cygwin ctrl-number not working (in cli emacs)

Cygwin ctrl-number is not working in cli emacs. I disabled the mintty options for keyboard shortcuts, so now ^- does work the same as ^u -1. Still, ctrl-number shortcuts do not work in emacs. ^4 ^x o ...
memtha's user avatar
  • 181
0 votes
1 answer
103 views

Cygwin: git 2.33.0: gitk not showing diffs from index

I have been using Cygwin git for a long time (since about 2012). Much better than msysgit, as bash and all utilities are identical to what runs on linux, which is where I deploy. I have lots of ...
sootsnoot's user avatar
  • 199
0 votes
2 answers
82 views

Can I let `rm` prompt again if I type the wrong key?

Question Is there any way to let rm -i just ask again if I type in anything different than j/J/n/N at its prompt? Reason Consider this small example: echo "Hey, I am a file. Or at least I am IN ...
Bowi's user avatar
  • 1,487
0 votes
0 answers
374 views

Cygwin install NS2 issue

I'm trying to install ns2 (ns-allinone-2.35) with the help of cygwin 2.909-32bit in windows 10. i run ./install but i get the error : tcp/tcp-fack.cc:302:22: warning: ISO C++17 does not allow ‘...
alex's user avatar
  • 101
0 votes
0 answers
257 views

cygwin / mintty color scheme woes

I heavily rely on Cygwin (that uses mintty) and SSH to work on remote systems on command lines and then using emacs in text mode as editor. I find the default color schemes of the cygwin shell ...
Gunther Schadow's user avatar
0 votes
1 answer
44 views

Struggling with installing Audacious part 2

So I did install pkg-config just fine, I even saw signs that I installed it correctly. However, when I tried to compile Audacious again with cygwin, I get this message: Package 'glib-2.0', required by ...
brickblock369's user avatar
0 votes
0 answers
98 views

Struggling with installing Audacious, which requires pkg-config

Title should be self-explanatory. I thought the pkg_config installation didn't give me errors at all, so I assumed it installed fine, but I got this error when installing Audacious. How do I deal with ...
brickblock369's user avatar
0 votes
0 answers
279 views

How to setup Cygwin in Sublime Text in terminus?

I saw a post about how to set up Cygwin in Sublime Text in this link, but it's still not working in my case. [ { "keys": ["alt+o"], "command": "...
RajinCoding2007's user avatar
0 votes
0 answers
262 views

Mount ext3 filesystem in Cygwin

I've succesfully partitioned and created an ext3 file system on my SD Card using Cygwin. Now I need to mount that partition in Cygwin to add some files to it. Is this somehow possible with Cygwin, or ...
Manuel's user avatar
  • 111
0 votes
0 answers
396 views

Installilng GiNaC and CLN on windows

I planned to move to Arch Linux but for the time being I'm unfortunately stuck with Windows. I want to install GiNaC. In its installation page it says to install CLN first so that is also something I ...
cushionball's user avatar
0 votes
0 answers
46 views

Updating Cygwin and zsh causes permission problems

I updated my Cygwin installation for the first time after more than one year (running the cygwin setup program), and when I started my interactive zsh login shell, I quickly ran into various problems. ...
user1934428's user avatar
0 votes
0 answers
1k views

Cygwin cannot find termios.h

I use Code blocks 20.03 at windows 10 64 bit, using cygwin32 bit and i am trying to include #include <termios.h> bit it gives me fatal error: sys/termios.h: No such file or directory I thought ...
Christianidis Vasilis's user avatar
0 votes
0 answers
872 views

Can't run Cygwin GUI applications from Cygwin Terminal

I can't start Cygwin GUI applications from Cygwin Terminal, if I click "XWin Server" in the start menu after a while the server is up and there is this "X applications menu on :0" ...
Ξένη Γήινος's user avatar
0 votes
0 answers
496 views

Why can't I access a Linux machine remotely from my windows 10 machine?

I want to connect from windows 10 to an external Linux server remotely. I tried Putty and Cygwin's Mintty. Neither of them works. I then went to Windows Defender Firewall and unblocked those two ...
user avatar

1
3 4
5
6 7
11