Questions tagged [cygwin]
cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.
1,755
questions
0
votes
1
answer
977
views
Bin? Not Showing Up In Cygwin Installation Select Packages
I am following this guide for setting up cLion with cygwin. In the guide, the second step is to add these pacakges:
gcc-g++
make
gdb
and select the bin? tick mark. However, in my installation page, ...
2
votes
1
answer
429
views
Why does the Cygwin chere package take up so much space?
The chere package is currently the easiest and most common method to create a context menu item that opens a Cygwin terminal at a specific directory. When installing the package using the Cygwin ...
0
votes
0
answers
580
views
Cygwin: Handle python scripts as Window programs
In my setup on Windows I use Cygwin because I like Bash, but I use Windows' Python to make sure everything is compatible with the version my colleagues use.
Typically, when I execute a windows ...
1
vote
2
answers
203
views
is this a bug in cygwin GNU sed 4.4 when run from a cmd window?
is this a bug in cygwin GNU sed 4.4 when run from a cmd window?
this works
C:\>echo asdf| sed "s/a/w/"
wsdf
C:\>
this works (apart from that the output isn't quite right in that it shouldn't ...
6
votes
1
answer
1k
views
Why is pdftk no longer available on Cygwin?
pdtfk is often considered the go-to non-proprietary tool for serious transformations of PDF files, and as such it used to be available from the Cygwin package repository, but I can't find it anymore. ...
8
votes
2
answers
2k
views
Cygwin's pdflatex: i5-3340M runs 2-3x faster than i5-8250U
I used to run Cygwin 64-bit on a Toshiba laptop, Portege R930. In particular, I ran pdflatex on a report being composed. It took about a handful of seconds. That machine ran Windows 7. According ...
3
votes
1
answer
338
views
How to make WinScp use the same proxy as Cygwin ssh
I'm working on a Windows machine behind a firewall.
In Windows control panel, there's a proxy .pac file configured, which browsers use successfully.
When I use ssh (within Cygwin), I have a ...
0
votes
1
answer
2k
views
Cygwin SSH port redirection
What happen when I do an SSH port redirection trough Cygwin SSH ?
I mean, does Cygwin has the power to redirect a port in Windows, without administrator rights ?
Or do he effectively redirect ports ...
1
vote
1
answer
91
views
Cygwin: Safe to `cp Some/File.txt /dev/clipboard`?
I know that there is putlcip and getclip, but sometimes, I just want to deal with files. I know that I can cp from /dev/clipboard to another file, and the result is a text file with the same ...
2
votes
1
answer
2k
views
Share ssh-agent socket or any other named pipe between windows 10 and cygwin
Cygwin emulates sockets by opening port and adding the port number and a "login" secret to a file instead of using windows named pipes.
Further there seems to be no access to Windows named pipes from ...
0
votes
1
answer
278
views
how to install gengetopt on cygwin
I have some C code originally developed on linux, which makes use of gengetopts to parse the command line. I also want to build that code on cygwin.
(On linux I simply did "apt-get install gengetopt" ...
1
vote
0
answers
213
views
Unable to scroll using mouse wheel with putty in cygwin
I am using cygwin and fvwm in windows 7 and using putty as a replacement for openssh, since it does not work for me anymore. The putty I am using came with cygwin and its version is 0.69. I startup ...
1
vote
0
answers
65
views
Cygwin: Is it safe to pipe from /dev/clipboard to clip?
I am using cygwin on windows.
Given a long list of strings in the clipboard:
mail
know
trial
posture
wind
census
shelf
concrete
moon
fee
If I want to "unwrap" them, is it safe to use such a command:...
0
votes
1
answer
1k
views
How to bring up an Explorer window in the current Cygwin shell folder?
I'm in a shell session in Cygwin, and want to open up a Windows Explorer window in the current directory you're in. How do I do that?
2
votes
1
answer
717
views
SSH sends environment variable, but to no effect
I'm SSH'ing from Cygwin into an older SUSE machine. I use:
MyHost
SetEnv FOO=bar
SendEnv BAZ
in my ./ssh/config file, and run export BAZ=bar on my Cygwin machine before connection.
When I ...
0
votes
1
answer
498
views
Unable to remove symlink from cygwin
I installed cygwin64 on my PC and then from terminal created some symlinks like this:
%ln -s /cygdrive/c /c
%ln -s /cygdrive/z /z
After that by mistake I created wrong link:
%ln -s /cygdrive/x /z
...
0
votes
1
answer
514
views
Access drive by label under rsync/cygwin?
I have downloaded rsync for Windows.
It uses cygwin.
My rsync command is this:
rsync.exe -W -a -v --delete --exclude=cache2 --exclude=Cache "/cygdrive/C/Users/user1/" "/cygdrive/F/backup/"
As you ...
3
votes
1
answer
440
views
Wget not downloading files from NASA’s Earthdata website
I am using Cygwin64 on Windows 10 to download files via Wget from NASA’s Earthdata website. I seem to be following the correct procedure as explained on their website, but for some reason, Wget is not ...
0
votes
1
answer
600
views
Cygwin shell in VS Code tries to activate conda. How to prevent this?
In my Windows 10 computer I have VS Code and Cygwin installed. I use Cygwin bash as the shell for VS Code. I also have the Anaconda Python distribution installed.
Whenever I open a new shell in VS ...
0
votes
0
answers
15
views
can find with shell expansion but not grep
Can anyone figure out why I could not find list_awareness.html with an ls piped to a grep, yet it was findable with the shell expansion.
I am using Cygwin on windows.
casper@NYKPWM2037968 /cygdrive/...
1
vote
0
answers
56
views
Cygwin Folders Deleted [closed]
This is very weird.
Under Windows 8, I have a computer running bash script calling Cygwin routines downloading files and executing Windows programs over them.
After using Cygwin almost everyday, ...
0
votes
1
answer
463
views
cygwin: Administrator user not a member of Administrators group
I have two Win10_64 Pro PC's. One is behaving as expected and the other is not and I can't figure out how to resolve the issue on the problematic PC. Something else that might be noteworthy is that ...
0
votes
0
answers
152
views
How can I get an up-to-date version of wget on Cygwin?
On Cygwin, the most up-to-date version of wget that I can find is 1.19.1.
https://cygwin.com/packages/summary/wget.html
However, that version is lacking support for TLS 1.3, which was added in 1.19.5,...
0
votes
0
answers
101
views
zsh installed via cygwin makes the windows background sound with every command
So I have zsh.exe inside C:\cygwin64\bin and I recently integrated it as an integrated terminal for vs code. I have noticed it makes the windows background sound with every command I enter in the ...
1
vote
1
answer
542
views
File permissions/ownership on network share in MSYS2 vs Cygwin?
I work on Windows 10, with both MSYS2 and Cygwin installed.
For the most part I work with MSYS2 (or rather, MINGW64 shell in this case), and I generally do not have a problem accessing files on a ...
1
vote
1
answer
478
views
How likely is the last block of a drive to be a bad sector?
This is a follow-up question to this one, where zeroing the disk with dd would give me an error towards the very end of the drive.
I then set about trying to determine whether this was a bad sector, ...
1
vote
1
answer
1k
views
How do I run tesseract (anything really, that requires write permissions, from a shell) on windows10?
I am trying to run tesseract on windows10 (home ed), but this question is really more generic.
Sources and instructions to run the program are here.
I am running a downloaded windows binary, not a ...
1
vote
2
answers
6k
views
Why does dd give me an error at the end of zero-writing a disk?
I'm running Cygwin on Windows 7.
I was using the following dd command to securely erase a 1TB mechanical disk:
dd if=/dev/zero of=/dev/sde bs=4M status=progress
About 2 and a half hours into the ...
0
votes
3
answers
864
views
Does Ctrl2Cap work with Windows 10
The old Unix environments, X-windows, and power text editors make extensive use of the Ctrl key. When running such environments & apps on modern era Windows laptops, e.g., perhaps via Cygwin, the ...
1
vote
1
answer
608
views
Why is hdparm not available on Cygwin?
I'm running Cygwin on Windows 7 and have done for several years now. I use kou1okada's brilliant fork of apt-cyg to install packages from the Cygwin repository, and up until now this has suited me ...
0
votes
0
answers
36
views
Deleting all third-party cookies and HTML5 site data using commandline/cygwin on windows 7
is it possible to delete all
cookies
third-party cookies
flash cookies
HTML5/site data like sqlite DB, ..
did I miss anything?
using cygwin/cmd/powershell? Prefer cygwin/bash.
For some reason, ...
0
votes
0
answers
678
views
X-windows middle-mouse button using touchpad on Windows 10
Cygwin is the only unix environment of which I know that works on top of Windows. I am getting frequent reminders to move from Windows 7 to Windows 10. It doesn't make sense to migrate my 2011 ...
1
vote
1
answer
1k
views
Compiling program with Cygwin - getting the "error: cygwin cannot find -lmpi_cxx."
What can I do with this?
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lmpi_cxx
The openmpi package version 3.1.2 no longer contains the mpicxx compiler ...
1
vote
0
answers
855
views
Installing ipmitool for Windows
I am trying to install ipmitool on Windows 10. I just installed Cygwin and have been trying to follow the steps for building ipmitool 1.8.12 (https://stackoverflow.com/questions/12907005/ipmitool-for-...
2
votes
2
answers
834
views
Why does the Command prompt and PowerShell give different output results than the Terminal?
I have the following example code from a book:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main(int argc, char *argv[])
{
printf("Hello World (pid:%d)\n", (int)...
1
vote
1
answer
667
views
How to solve Unknown package x3270.sh exit code 127 error when updating Cygwin
I got this error when I updated Cygwin.
As a new Cygwin user I don't understand much. Is this a critical error? Is there any crucial problem if I can't fix it?
1
vote
2
answers
2k
views
Bash auto completion not working after certain command
I am using graphViz under bash / Cygwin, but somehow when calling it, bash tab autocomplete does not do anything.
Example files:
myGraph.graphviz is the input file
myGraph.graphviz.png should be the ...
0
votes
2
answers
1k
views
GNUCOBOL with embedded sql runtime error : module 'OCESQLConnect' not found
I am currently trying to run a cobol pgm with embedded sql that calls database in postgresql. I am running (GnuCOBOL) 2.2.0 on cygwin.
I have followed steps in https://github.com/opensourcecobol/Open-...
1
vote
1
answer
304
views
Mintty for Cygwin on Windows 10 PC gives me command-line line 0: Unsupported option "gssapiauthentication"
I am using a pretty complex rsync script through mintty installed through Cygwin, on a Windows 10 PC and it is giving me the following issue:
command-line line 0: Unsupported option "...
0
votes
1
answer
179
views
Ubuntu ssh shell access becomes irresponsive after unattended for a while
I installed Ubuntu 16.04.6 on my server which runs 10+ sites using virtualmin/webmin setup. When I ssh to root or a sudo user it works just well. But if the terminal is unattended for a while, the ...
20
votes
2
answers
4k
views
Which ping implementation is Cygwin using?
What is the source of the implementation of ping is Cygwin using?
It apparently isn't GNU ping (because in GNU ping, the number of pings to send is decided with -c X, while in Cygwin ping, it's ...
0
votes
0
answers
171
views
Notepad++ and Cygwin
I'm connecting to an Ubuntu server hosted by AWS, using Cygwin to connect through my Windows box. Does anyone know of a way I can configure it so that I type a command at the Ubuntu prompt to edit a ...
1
vote
0
answers
314
views
How to generate .so files in systemc using cygwin?
I'm porting a build environment from Linux to Windows and planning to use Eclipse with Cygwin to build the code. The code requires systemc version 2.3.3. However, when building systemc in cygwin, ...
0
votes
1
answer
415
views
SQL data not displaying properly when selecting multiple columns
When I run the following code, I get garbled output
MariaDB> select c.customer_id,c.name,o.order_name
from customers c
left join orders o on c.customer_id = o.customer_id;
When I just select a ...
0
votes
1
answer
233
views
Cygwin cursor won't go to beginning
Wondering if anyone else has seen this and has a solution:
Context: Cygwin on Windows 7, ssh into Ubutntu 16.04.6
Spend some time in the shell, so your command history has something in it.
press Up ...
3
votes
1
answer
1k
views
Copy tmux selection to windows clipboard in cygwin/minTTY
I use tmux in my cygwin-minTTY in windows, with mouse-support.
When I select a text in the terminal, it gets copied to the tmux buffer. But I want to have it in the Windows clipboard!
I can run ...
0
votes
1
answer
556
views
Cygwin EOL Windows
I am trying to remember how to configure Cygwin to use windows EOL instead of Unix EOL. I haven't had to do this in years and I just bought a new laptop.
NOTE: Bear with me as I describe the issue. ...
0
votes
1
answer
472
views
Recover DAR Archive Slices using an Isolated Catalogue
I have a DAR archive of 10 slices. Having lost the last slice, how can the files in the 9 intact slices be recovered. (The catalogue of the whole archive is contained in the last slice.)
There is a ...
4
votes
1
answer
1k
views
Why can't I clone a git repository with submodules in Cygwin using Windows Native Symlinks?
If you want to clone a git repository with submodules for use exclusively within Cygwin, you can. Take pymode, a Vim plugin, as an example. You can, from within Cygwin, perform git clone described in ...
2
votes
1
answer
331
views
How to run ImageMagick library scripts in Windows with Cygwin
I have reviewed many posts, but I did not find a solution to run ImageMagick scripts in Windows with Cygwin, despite configuring them following this post. It fails with an error
FILE ./0004.jpg DOES ...