Questions tagged [cygwin]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
39 views

Using variables with bc: syntax error

The original problem This may be more of a bc or bash question than an FFmpeg one, although I would also appreciate being able to prevent ffprobe from printing carriage returns after its output. In a ...
0
votes
0answers
7 views

Vim inside xfce4-terminal under Cygwin displays symbols when I enter insert mode

I am using xfce4-terminal via Cygwin/X. When I open a file in VIM and press Shift-A (to get to the end of the line and enter insert mode), some strange character is displayed at the start of the line. ...
0
votes
0answers
5 views

Issue with converting array or string to valid path [migrated]

I'm trying to make a function that will make my life easier converting images to pdf. I'm using img2pdf which is a Python script. I want to be able to pass files and directory to my function (with ...
0
votes
2answers
35 views

Is there a program to remove trailing spaces and convert tabs to spaces in a lot of files at once using command-line?

I am using cygwin and have a lot of files in which I want to convert tabs to spaces and remove all space characters that exist at end of line. Is there a utility for this in Linux?
0
votes
0answers
40 views

Cygwin SSHD causes 100% CPU load

I run cygwin 32-bit on Windows 10 Pro b19042 [Cygwin is 3.2.0-1], with OpenSSH [8.5p1-1], using sshd to access the machine from afar, and notice (often multiple) processes of sshd.exe with 100% CPU ...
0
votes
1answer
25 views

Changing default startup directory in CygWin and using alias

Following this post : How do I change the default startup directory in Cygwin? I was able to change the default directory by editing the .bashrc file. I was curious about the alias : I created the ...
0
votes
0answers
12 views

Irssi was working fine now can't be found

I've installed irssi and cygwin, I exited once and when I re-entered Cygwin, it says command cannot be found. apt-cyg irssi-1.2.3.tar.xz is shown. Please can someone tell me why?
0
votes
0answers
23 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 ...
0
votes
0answers
24 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 ...
0
votes
0answers
12 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. ...
0
votes
0answers
27 views

Selectively cut and paste images using bash

I have 1125 images classified in four different types of weather: rain, sunrise, shine, cloudy. Each of these categories have a different amount of images, so for example, there are 300 images ...
0
votes
0answers
55 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 ...
0
votes
0answers
17 views

Webkit Cygwin downloader failure: “unable to get setup from <localdir>”

After running WebKit's cygwin-downloader, the list of packages is downloaded along with the archives of the packages, but setup/installer can't find them afterward. Keeps saying it is "unable to ...
0
votes
0answers
35 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" ...
0
votes
0answers
51 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 ...
0
votes
0answers
19 views

Windows batch file calling Cygwin no longer executes

I have had a batch file calling bash from cygwin running as expected for a few years now. Last Thursday it suddenly start failing at all locations. Here is what is in the batch file: c:\cygwin64\bin\...
0
votes
0answers
31 views

How to check number of parked cores in command line (win, lin) via ssh

I'm wondering how to check number of parked cores via CMD on Windows remotely, via ssh. I'm also using cygwin there, so bash scrips would also help. I tried to look for answers but it usualy directs ...
0
votes
0answers
41 views

Remove duplicate lines from lots of files recursively

I have a directory tree of a few thousand folders consisting of an ungodly amount of total lines - about 2 or 3 times my system's memory. I could have run uniq or sort -u inside of a for loop but I ...
0
votes
1answer
37 views

How to run Mercurial from MobaXterm

I'm using Windows 10 and have Cygwin and MobaXterm installed. I need to use Mercurial. It works fine from Cygwin but I want to run it from MobaXterm. I just installed Mercurial plugin for MobaXterm ...
0
votes
0answers
18 views

Compiling bash loadables on cygwin

I download bash (5.1) source from : https://ftp.gnu.org/gnu/bash/ # Both in cygwin and wsl1 ./configure && make ran successfully. When I tried to install with # Ran fine on wsl1 make install ...
0
votes
0answers
10 views

Pb with Task Scheduler

I need to set up a Scheduled Task for a shell cygwin script. when i configured the task on windows task scheduler i tried to run the task to test it. Unfortunattly, it didn't work , bash window is ...
0
votes
0answers
16 views

Display problems when running window maker package

I have display issues after installing wm on cygwin, is it a redrawing issue? Here is a screenshot of wm running on a XWin server:
0
votes
0answers
19 views

Cygwin's MinTTY behaving strangely with case sensitive names

Cyginw's MinTTY sorts files incorrectly on: ls -al Example: S@DESKTOP-SCRPN /cygdrive/c/Users/S/Downloads $ ls -al total 153 drwx------+ 1 S None 0 Feb 5 17:11 . drwxrwxr-x+ 1 SYSTEM ...
0
votes
0answers
30 views

mintty/tmux paste from clipboard on windows

I use cygwin/mintty/tmux3.0a and and suddenly pasting with the mouse includes trailing whitespace. This often has the effect of executing whatever I pasted on the command line == BAD. I did a long ...
1
vote
2answers
63 views

How do I instruct Git to show help without any pager-based documentation system, be it info or man?

By default, on unix systems, git displays help through man, which requires it to load a pager, ruining my workflow. When I type git branch --help, I want it to display the options, in a short summary. ...
0
votes
1answer
29 views

How to use sed's substitute with a regex pattern as variable?

Let us say that we have the following as stdin (as an example) Life is temporary I want sed to replace this with Life is permanent with a command somewhere along the lines of sed 's/Life<%XY=.*&...
0
votes
0answers
83 views

rsync to windows server closes connection

I'm trying to rsync files to a remote windows 2016 server from my windows machine. This is the command I used rsync -Pav myuser@mydomain@myserver:D:\test . Error I got is: NoProfile : The term '-...
1
vote
1answer
25 views

How do I build the openSeaChest hard drive tools for Cygwin?

As detailed here, the hdparm tool hasn't been actively maintained on Cygwin for some time. This results in a situation in which there is no current tool that can perform the firmware-level Secure ...
0
votes
0answers
12 views

remote script not accessible to cygwin

I am trying to execute a remote centos bash script using cygwin on a windows 10 machine. I can execute the script if I manualy ssh to the server, but not using cygwin. I am getting: cd: /path/to/...
1
vote
1answer
50 views

Cygwin can't ssh (hangs, segmentation fault)?

I have cygwin installed on Windows 10 and am seeing that I cannot SSH to any of my servers. When trying to ssh, I just see ➜ ~ ssh -vv me@myserver OpenSSH_8.4p1, OpenSSL 1.1.1f 31 Mar 2020 and it ...
0
votes
0answers
13 views

disconnecting Cygwin commands from Windows CMD

in a system im trying to use gcc installed in c:/mingw/bin, i also set the related PATH variable for that, but running the command gcc -v always shows the cygwin installed gcc because it tells Thread ...
1
vote
1answer
35 views

For loop logic to skip processing files

I wrote the following script in an attempt to try my hand at automation, to automate some common transformations on sets of text files I work with: #!/bin/bash set -e if [ $# -eq 0 ]; then echo "...
0
votes
1answer
51 views

Cygwin can't execute Windows binary … command not found even though the path is correct

I've just installed Cygwin & Python 3.9 to Windows 10. Both are working just fine. However, when I try to execute python in Cygwin, I'm getting command not found error. wolf@win10 ~ $ python3 -...
0
votes
1answer
62 views

Remote login using ssh keys vs password. Weird Error: Is a directory

I am facing a weird issue, and just stuck trying to figure out. If i login using ssh keys (passwordless authentication), i get this error every time: rsanpui@cygwin ~ $ "//DNVM/E920/System920/x86/...
0
votes
2answers
94 views

Is LC_ALL=C destructive?

I have a reasonably large (~15GB) set of text files. These files are essentially simple databases that contain credentials, and the credentials in them often fall outside of the 128-character ASCII ...
0
votes
1answer
99 views

How do I fix Cygwin crashes inside X2Go client?

I am trying to connect to an Ubuntu x2go server, but I get: The message says: NXPROXY - Version 3.5.0 Copyright (C) 2001, 2010 NoMachine. See http://www.nomachine.com/ for more information. Info: ...
0
votes
0answers
15 views

How to get correct environment when launching cygwin script?

When I have this small script: #!/bin/bash echo "Hello!" sleep 5 I can launch it from my Cygwin bash and it works (=prints Hello!, sleeps 5 seconds and exits). However, when I launch it ...
4
votes
2answers
601 views

purely command-line operation of dropbox

Is it possible to make use of dropbox account from purely command-line solution e.g a bash script? I have so far failed to find a comprehensive answer to this question. I have used Git for sometime ...
0
votes
1answer
45 views

cannot find command I installed from cygwin - can't run ddrescue that I installed

I ran https://cygwin.com/setup-x86_64.exe and installed ddrescue here is some info from cygwin and from cmd so you see where the file is and the paths. user@hp-probook1 ~ $ PATH=$PATH:/bin user@hp-...
0
votes
0answers
25 views

I am creating a cygwin silent install, howeer, the “make” package will not install

I am creating a cygwin silent install, howeer, the "make" package will not install. I only need the following: "%CD%\setup-x86.exe" ^ --no-shortcuts ^ --no-desktop ^ --quiet-mode ...
0
votes
0answers
40 views

Prevent Windows Explorer from “owning” a directory while viewing it?

I am running some GNU make makefiles via Cygwin, and one of the targets tries to rename a directory: clear_dirs: @echo "Creating clean local test directories..." @if [ -d $(...
1
vote
1answer
34 views

Cygwin-x dbus-daemon process does not unload itself from memory after termination

I have 64 bit cygwin on Windows 10. When I terminate X sessions, a process spawned by c:\cygwin64\bin\dbus-daemon.exe stays in memory together with c:\windows\system32\conhost.exe 0x4. If I do it ...
0
votes
1answer
115 views

mounting problems in cygwin

I am facing a problems when i try to convert my linux application to windows using cygwin. when mounting i followed as per the commands in the help, but seems still something is missing. $ mount -b C:\...
0
votes
1answer
186 views

.exe Generated by Cygwin not running directly from windows

I compiled and build source code files using the cygwin and gcc and everything went ok , i got the .exe file when i run the file from cygwin like this : ./file.exe it runs without problem but when i ...
0
votes
2answers
136 views

How to install ASITIC (Simulation of Spiral Inductors and Transformers) CAD tool?

I want to run ASITIC http://rfic.eecs.berkeley.edu/~niknejad/download.html But it was developed upon an old architechture and g77 compliler as far i know and while i used this app on Ubuntu I had to ...
0
votes
0answers
15 views

Accessing virtualbox shared folder from an SSH cygwin session

I'm using the Shared Folder feature of Virtual box. When I double click on the Share in My Computer it gets mounted to letter E and I can then access it from a GUI terminal Window inside the guest ...
0
votes
1answer
343 views

Cygwin/X and Windows Subsystem for Linux with Unix domain socket

Graphical apps in WSL, e.g., gedit or xterm and so forth, can connect to Cygwin/X through TCP. Since current WSL (partially) supports AF_UNIX, is it possible to connect to Cygwin/X through Unix domain ...
0
votes
0answers
27 views

make: *** [Makefile:25086: libgrub_a_init.lst] Error 1

I've been trying to install grub 2.04 on cygwin for osdev so i can use grub-mkrescue, ./configure went fine, but when i run make, this error occurs: make: *** [Makefile:25086: libgrub_a_init.lst] ...
0
votes
1answer
712 views

How to install AWS CLI Version 2 on Cygwin

Most questions that I've come across on this issue solve it by using Python package managers, but these are all outdated methods that install the Version 1 of the AWS CLI command-line tool. I tried ...
0
votes
1answer
26 views

cygwin sshd fatal seteuid Invalid argument

recently I'm unable to connect to cygwin sshd server $ ssh 127.0.0.1 -vvvv OpenSSH_8.2p1, OpenSSL 1.1.1f 31 Mar 2020 debug1: Reading configuration data /cygdrive/c/Users/Gowtham/.ssh/config debug1: /...

1
2 3 4 5
34