Linux-like environment for Windows making it possible to port software running on POSIX systems (such as Linux, BSD, and Unix systems) to Windows.

learn more… | top users | synonyms

1
vote
1answer
27 views

glib errors on cygwin

I want to compile and install geany text editor in Windows 7 by using cygwin. I follow the usual way to compile and install C source: ./configure make make install the configure script was ...
0
votes
0answers
12 views

Serial port in Cygwin [migrated]

I'm trying to write a program to interpret traffic received from a serial interface under Cygwin. I copied some demo code from another project to open the serial port. Then I set up the serial port ...
1
vote
1answer
112 views

permission issues while doing ssh setup in cygwin

I'm trying to setup ssh-host in cygwin. Getting the below error: *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x..x..[xt] *** ERROR: ...
1
vote
2answers
134 views

How to get traceroute on cygwin?

The implementation of traceroute(tracert) differs on Windows and Unix. I wanted to compare both with Wireshark. I am on Windows 7 now and i wanted to get Unix traceroute implementation quickly. My ...
1
vote
0answers
41 views

scp stdin: is not a tty, and write failed, connection reset by peer

I have used scp for years between linux servers, as well as with Mac OSX systems. But now, I have installed cygwin and ssh, bash and openssl in order to pull large files from my linux box on the web ...
1
vote
1answer
32 views

Cygwin header file location

My OS is Windows 8, I'm using cygwin 1.7.34(0.285/5/3). Where are the header files located in cygwin? For instance, I need to add an additional header file, say transport.h to already existing in ...
0
votes
1answer
103 views

/usr/bin/gnuplot.exe: error while loading shared libraries: cyggd-2.dll: cannot open shared object file

I am trying to run Octave under Windows and to run graphics plotting routine under it. It requires Cygwin and X/Cygwin. When I trying to run any plotting routine, the following error appears: ...
2
votes
1answer
43 views

Change my profile's PATH environment variable on Cygwin

Sadly, I am not at all experienced in coding. I am attempting to use a program to work with GRIB files, here: http://www.nws.noaa.gov/mdl/degrib/compile.php?os=windows. I am compiling as there are ...
2
votes
2answers
123 views

Installing SSH via Cygwin

I have a laptop with windows 8. I'm trying to setup SSH from this laptop to a windows 2012 server via Cygwin64. I followed the steps as described here. However, when I am at the step: ...
2
votes
2answers
148 views

Cygwin XWin server: How to disable the creation of the “panel” window?

A couple of months ago, I re-installed Cygwin on my Win7 machine. Since then, when clicking the XWin Server entry in the Start Menu, it not only starts the (familiar) X tray icon along with a xterm ...
0
votes
0answers
30 views

How do I install htmldoc via cygwin?

I've installed all packages with gcc in their title via cygwin on my PC along with FLTK and I ran ./configure and ./configure ENTER with no errors but now after running make I received the error: ...
2
votes
1answer
27 views

Run Cygwin software on Linux

My professor has some software that he wrote that runs on Unix-like systems. Either on Windows via Cygwin or on MacOS, it uses X11 on both platforms. Is there any way for me to run it on Linux? He ...
1
vote
1answer
57 views

rsync initial sync

I'm new to rsync. I have a Linux machine with an external harddrive (ext3) and a Windows machine with an NTFS external harddrive. I connected the NTFS harddrive to the Linux machine and did a mirror ...
3
votes
0answers
46 views

How do I schedule a cron task to run

I'm looking to crontab a script every hour starting Friday at 5pm... ending Monday at 5am. This script checks if it's completed this week and if it's currently running. If no/no, start task. Off the ...
1
vote
1answer
50 views

Cygwin: CD to Windows paths easily

In Windows paths are (unreasonably) long, so it is common to drag and drop from some links to the terminal or copy and paste paths from file managers. It is possible to put in the shell init file a ...
0
votes
1answer
70 views

gtags for cygwin

This might be a silly question, and hopefully it's not off-topic, but I can't figure out where else to ask. Is gtags available for cygwin? I'm using ctags but it'd be nice to have all the extra ...
0
votes
1answer
46 views

Odd Cygwin netstat output

20:38:41 [setevoy@setevoy-main ~] $ netstat -anp ▒▒⨢▒▒ ▒▒▒▒▒▒祭▒▒ ▒▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒譨▒ ▒▒▒▒ ▒▒▒▒ﭨ▒ I have clear installtion of Cygwin on my Win7 x64 desktop, but netstat ...
-4
votes
3answers
55 views

Data Types in UNIX [closed]

I have 2 questions. Q#1: data types & variables I have just begun reading UNIX and came across variable definitions. As per the site I'm referring UNIX variables are defined directly with a ...
1
vote
1answer
137 views

Run an X11 program under Cygwin

How do I set the appropriate DISPLAY environment variable? I try to launch idle in cygwin using the following command: idle ...and I get a display error: _tkinter.TclError: no display name and ...
0
votes
0answers
82 views

KDE-Openbox closes immediately after it opens on Cygwin

I just installed Cygwin a few days ago. Now when I want to explore it, I can't run KDE-Openbox. I haven't tried anything else, except compiling Mplayer which did work. Last time I had Cygwin ...
0
votes
1answer
201 views

Error when running TMUX under CYGWIN

When I run tmux in cygwin command line I get the error: $ tmux 0 [main] tmux 6688 C:\cygwin64\bin\tmux.exe: *** fatal error - NtCreateEvent(lock): 0xC0000077 Hangup I tried to reinstall tmux ...
1
vote
2answers
242 views

Increasing stack size in 64 bit Cygwin? (installing ocaml)

I'm trying to set up an older version of ocaml, and I'm getting an error message that says that I need to increase my stack size. The only way I've found to do this in cygwin involves running an ...
8
votes
2answers
8k views

How to apply the fix for CVE-2014-6271 bash vulnerability on cygwin?

I would like to find out how do I apply the fix for this vulnerability on cygwin. I am running the CYGWIN_NT-6.1 MYHOSTNAME 1.7.30(0.272/5/3) 2014-05-23 10:36 x86_64 Cygwin of cygwin on Windows 7. ...
1
vote
1answer
103 views

File not found (cygwin on Windows)

Windows 7 TeX Live 2014 I am trying to install Minion Pro and Myriad Pro for the use with pdflatex. When I try to run the script in cygwin via name@pc-name /cygdrive/d/LaTeX/FontPro-master-Build01 ...
2
votes
2answers
181 views

cygwin, tail -F and rapidly filling/rotatinglogs

I'm using cygwin tail to follow busy java web application logs, on a windows server, generating roughly 16Gb worth of logs a day. I"m constrained to 10MB log sizes, so the files roll very often. ...
0
votes
1answer
33 views

What's with `-` in filename affecting sorting order depending on platform? [duplicate]

I just checked if contents of directory on my cygwin/Win7 development system, and test embedded platform running Linux+Busybox are the same. Simple, cat * | md5sum on both (RXVT/Bash on Cygwin, serial ...
1
vote
2answers
201 views

cygwin awk output to windows line delimeters

I could find the way to print zip entries' list and forward to a txt file. unzip -l my.zip | awk '{print $4}' > my.txt When I open the file my.txt in windows' notepad the line delimiters ignored ...
2
votes
1answer
226 views

mkdir with date function behaves differently in script

I am trying to create a directory with a timestamp. If I type at the prompt mkdir "$(date +%Y-%m-%d_%H%M%S)" I get a directory named with the date as I would like. If I put the same line in a bash ...
0
votes
2answers
13k views

why won't x11 display work through ssh login?

I have logged in to a remote server and am trying to display an x application(e.g. firefox). but an error message appears. the below are my attempts to open firefox Black@Black-PC ~ $ ssh -X ...
8
votes
4answers
860 views

Stopping output from a program run in SSH session NOW

Problem I execute command that outputs LOTS of information through SSH. For example, I foolishly add debug information inside a loop that executes million times, or just run cat /dev/urandom for ...
0
votes
0answers
94 views

Cygwin ssh X forwarding - “The system network services are not compatible with this version.”

I connect to Ubuntu system from windows system using Cygwin and putty with X forwarding. When I try to change Network settings in unity-control-center I get "The system network services are not ...
2
votes
0answers
99 views

Corrupt files after extracting with Cygwin's GNU tar

I have a bunch of tarball backups which I just restored onto my new Windows 8.1 + Cygwin system using GNU tar: zsh$ for file in **/*.tgz; do tar xvzf $file; done To my surprise a lot of these ...
0
votes
1answer
2k views

gcc produces erroneous “No such file or directory” under Cygwin

For demo purposes, here is my one line program test.c : #include <dbus/dbus.h> This is my makefile : INC = -I/usr/include/dbus-1.0 \ -I/usr/lib/dbus-1.0/include ...
1
vote
2answers
175 views

find command throws errors when inside function

I can run the following command in bash without any errors: $ find /d/Code/Web/Development/Source/ \( -name '*.cs' -o -name '*.cshtml' \) -exec grep -IH UserProfileModel {} \; I wrote a function in ...
1
vote
0answers
82 views

Cygwin serial tty device for high-numbered COM ports

My hardware enumerates as COM125 on the device manager (CDC-ACM class). But, I can't find it under /dev/tty* listing. Does cygwin have a limitation on CDC-ACM class of com ports or numbers greater ...
1
vote
1answer
233 views

understand the output of stty -a and change ctril backspace to just backspace

I am working in bash shell on a Solaris environment and whenever I type "backspace" it clears out the entire line. Do you have any suggestions for me to change the backspace clearing entire line to ...
1
vote
0answers
267 views

SSH to Windows 7 with cygwin openSSH freezes when remote conection [closed]

When I SSH into Windows 7(Cygwin) from a remote, the session freezes after few seconds or up to two minutes. This can happen while I'm typing and it can happen when idle. This is still happening after ...
1
vote
1answer
311 views

SSH tunnel to VNC on a Windows 7 system. Error: Tunnel device open failed

The system I'm trying to SSH from is Fedora 20 x86_64. The system tunneling to is Windows 7 Ultimate 32-bit and it has Cygwin installed with TigerVNC and OpenSSH. VNC is running on Windows 7 on port ...
2
votes
2answers
372 views

Linux Shell fundamentals: How can I check the file descriptors status, (where are redirected to) right now without lsof?

I am learning about file descriptors for the case of Linux, and I was wondering if there is any command showing a complete list that allows me to know where is each one redirected to in this moment. ...
0
votes
0answers
467 views

Dropbear SSH on Cygwin won't allow passwordless login

I am using Dropbear SSH running on Cygwin, on Windows 7, on a VMware virtual machine, on Windows 8.1. On my physical OS I have Cygwin and I am trying to get passwordless login using openssh on ...
0
votes
1answer
2k views

Failed to connect to dl.google.com port 443: Network is unreachable

$ curl -v https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | bash * STATE: INIT => CONNECT handle 0x2001f130; line 1011 (connection #-5000) * Hostname was NOT found in DNS ...
5
votes
2answers
2k views

A terminal emulator for CygWin?

I have: Windows 7 CygWin A development board connected to COM1 port. I need: Connect to its serial port from CygWin. If I used Linux I would run a program like picocom or minicom. Also in ...
1
vote
1answer
163 views

truncate a log file to zero while another process is continuously writing to it

I'm trying to debug this horribly hacky little program and it's writing a trace of all emulated instructions to a logfile which has grown to 2.5 GB in 45 min. I've only got 800 MB free. Can I ...
1
vote
2answers
601 views

Cygwin - Shell Scripting (eval and echo)

I have the following file f1.txt: A=0 A=\`expr $A + 1\` and the following script file s1.sh for line in $(cat testfile.txt) do echo "$line" # eval $line done echo $A When I run the ...
3
votes
2answers
2k views

How to configure fonts on a remote X connection (XDMCP vs. ssh)?

Connecting to a remote Solaris 10 system over X11 I observe inconsistent behavior regarding the used fonts. I am connecting from a Cygwin/X system. When I connect using ssh forwarding like this $ ...
1
vote
0answers
90 views

Cygwin DenyHosts daemon-control file: no such file or directory error

I have been trying to figure out this error and searched everywhere with no luck. I have installed DenyHosts on Cygwin and also the DenyHosts daemon but when I try to start the daemon by typing: ...
3
votes
1answer
227 views

Grep perl syntax and copyright character

I am trying to pull some links out of text that I downloaded of off the internet using grep, but keep getting "Aborted (core dumped)". When using grep I tend to use -P as I prefer to use perl syntax ...
1
vote
0answers
58 views

Shorewall “ERROR: Ordinary users may not start the /etc/shorewall configuration” in Cygwin

I am using Cygwin on Windows 7 and I have installed Shorewall 4.5.21.5. When I try to start shorewall in Cygwin, it gives me error: $ shorewall start ERROR: Ordinary users may not start the ...
2
votes
1answer
673 views

why updatedb command takes too much time?

I have read that to run locate command on CYGWIN first I need to run the following command. updatedb --localpaths=c:/ what this command exactly do as I run this on CYGWIN and it is taking too much ...
1
vote
0answers
106 views

ssh log sent to email in Cygwin

I am using Cygwin in Windows 7. I am trying to make my syslog-ng daemon send a ssh log via email to me when ever someone tries to log into my computer. I tried using the code below (entered into ...