Questions tagged [cygwin]
cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.
1,776 questions
1
vote
0
answers
42
views
Why is there a strange character (@) in the Cygwin/bash prompt?
When I run :
$ env -i /bin/bash --norc
@bash-5.2$ PS1='$ '
@$
There is an at sign (@) at the beginning of the prompt.
This happened recently, in CMD windows and in Windows Terminal.
7
votes
0
answers
123
views
Windows Explorer sometimes take longer to restart after toggling a registry value
I'm using a Bash script below in Cygwin to toggle the HideClock registry
value under
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. The
script kills and restarts explorer.exe after ...
2
votes
1
answer
442
views
Emacsclient in WSL2 as default editor for .txt files
I'm trying to set up Windows 11 WSL2 Ubuntu emacsclient as the default editor for all .txt files in Windows 11. This is what I have so far:
setlocal enableextensions enabledelayedexpansion
IF "%~...
3
votes
1
answer
91
views
How to delete a Cygwin account?
I deleted a user account from Windows 11, but there is a folder tree under Cygwin's /home folder.
Nothing comes up after googling how to delete an account in Cygwin, but Linux uses userdel. A Cygwin ...
0
votes
1
answer
73
views
Python import of local package fails in cygwin
I've installed python3.13 on windows. It runs well from cmd, and django runserver works good.
But I need to run it under cygwin. When I'm trying to run django-admin dbshell to test with, it fails to ...
1
vote
0
answers
90
views
Cygwin's xpdfReader's File open dialogue box takes several dozen seconds to appear
I use XpdfReader 4.0.4 on 2 corporate-imaged Windows 11 machines at work. Approximately 2025-05-15 to 16, XpdfReader's file open dialogue box on one of them started to take several dozen seconds to ...
1
vote
1
answer
109
views
How to find a USB drive via blkid in Cygwin? It suddenly stopped working the way it used to
My system is Windows 10 Pro, and I am using Cygwin to get rsync and other tools.
For backup purposes, I want to identify connected USB hard drives and select the one that is the correct destination.
I ...
0
votes
0
answers
29
views
Why vim still able to run, and showing up in the list of installed programs, using the 'cygwin-c' command; after deletion using setup.exe file
Have Cygwin latest version 3.6.1-1 installed via running setup.exe, and then due to some reason tried to uninstall it, by running setup.exe again.
It still showed up in the list of packages installed, ...
0
votes
0
answers
192
views
Vim shows empty screen in oh-my-zsh on cygwin
When i start vim on the command line or git opens it to edit a comment, all I get is a empty screen with some zzzz. The only way to get out of this is to shutdown the terminal.
This happens with ...
1
vote
1
answer
246
views
Why does every Cygwin command take seconds to complete after they run?
I've seen a lot of similar questions to this but I haven't seen any answers that worked for me. After every command ran, it would take ~5 seconds for my prompt to appear again. I figured it out but it ...
0
votes
0
answers
53
views
groff's home in GnuWin32
I know, from the docs and from Cygwin, that groff can find some macros and other files (hyphenation patterns in my case) in the built in directories at compilation time, including $HOME; however, I ...
1
vote
1
answer
103
views
Octave in cygwin silent crashing
I have used Octave in cygwin in the past and at one point I found it would crash silently with no messages. At that time the library libgfortran3-4.3.4-3 was needed and had been removed by an update. ...
1
vote
0
answers
162
views
How to get Eclipse EGit on Windows to use local git hooks that are native executables?
I've built a small Go application that acts as a local git commit-msg hook. It is working fine with command-line git, when installed in a ~/.githooks directory, where that path is set as the core....
3
votes
1
answer
110
views
Display mystery: Danish characters in cygwin bash
To enable danish characters in my cygwin bash environment I execute
export LANG='da_DK.utf8'
I have written a program (ge), that just do a
printf("Søren");
and exits the program. The ...
0
votes
1
answer
301
views
Command line install Cygwin with specific packages and --site specification
I am replicating a Cygwin installation from one Windows 10 64-bit machine to another. I have done this in the past, but somehow lost the recipe. I am reconstructing it with web search and command ...