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
1k views

For cygwin, how do I export the output in a terminal into a file?

I'd like to be able to export the output (and error messages) of my cygwin terminal in a file, especially since I have to click a lot of buttons in order to "mark" the stuff in the cygwin terminal ...
1
vote
1answer
403 views

CUPS compilation fails on Cygwin

I was brave and tried to compile CUPS in a 32-bit Cygwin environment. I used the standard sources from the tarball. All went fine until linking. http://pastebin.com/QSKvLSmT Here's the end of the ...
1
vote
2answers
32 views

How to run bash on CYGWIN

I have created following file with name test.sh #!/bin/bash name = "Elvin John Paul" echo $name echo ${name#* } echo ${name##* } echo ${name% *} echo ${name%% *} and I am getting some error as ...
1
vote
2answers
712 views

Using mintty as default terminal on Cygwin and default shell as bash

There is already one answered the question at Best way to use a shell with Cygwin in Windows 7. That is to start Cygwin with C:\cygwin\bin\mintty.exe - With that $SHELL = /bin/sh How can I launch ...
1
vote
2answers
545 views

Trouble with read line script in Cygwin

I'm on windows 7 using Cygwin. My script and text file are located in the same directory. #!/bin/bash while read name; do echo "Name read from file - $name" done < /home/Matt/servers.txt I get ...
1
vote
2answers
274 views

need portable crontab host-checking/failover logic across Linux & Cygwin

A host-ping test that always works correctly from the interactive bash command line in Cygwin, is behaving incorrectly in its own crontab--always selecting the second host--and I can't figure out why: ...
1
vote
3answers
471 views

Compile Linux Application for Windows

I want to use a Linux Application under Windows. It is my understanding that the application is Linux only and to use it in Windows I have to compile the application from the source using Cygwin or ...
1
vote
1answer
38 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
1answer
88 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
1answer
277 views

xterm cygwin setting vtfonts -> truetype fonts, utf8-encoding, utf8-fonts set by default

I'm using cygwin and cygwin X server, I'm having a problem with xterm. Every time I start it I have to set its parameters via the menu. Is there a way to make them set to true by default? I found ...
1
vote
2answers
187 views

Cygwin : make install up to date problem

I have installed mingw-gcc: GNU Compiler Collection using the setup of Cygwin. When running "make install" command : $ make install And I get this message : make: `install' is up to date. What ...
1
vote
1answer
154 views

Error not a valid identifierd when executing shell script [duplicate]

I have the following shell script in order to connect to database and do some tasks. echo Please enter userid: read USER_NAME echo "Please enter password:" read -s PASS SID=${ORACLE_SID} if [ ...
1
vote
2answers
300 views

Run a command at a certain time in cygwin

I am writing a bash (.sh) script for cygwin. I want to run a certain command at specific time. I tried the following: echo "test" | at 19:00 but I get the following error: The AT command has been ...
1
vote
1answer
1k views

Reading from USB serial port under Cygwin

I am actually using Cygwin, but it is my understanding that it responds to Unix commands so hopefully I am in the correct place. I have an Arduino hooked up via USB to my LapTop for data reading. I ...
1
vote
2answers
233 views

“watch” command not found in Cygwin? [duplicate]

Possible Duplicate: Cygwin has no watch command? I am in the process of learning Unix commands; I started a few days back. I read a post here and tried to use the watch command, but my ...
1
vote
1answer
451 views

How can I make custom key bindings work even while SSH-ed into another machine?

I've added "\eOD": backward-word "\eOC": forward-word to my .inputrc to get ctrl-arrow key mappings sorted out in Cygwin allowing me to move forward and back fine. When I SSH to any other Linux ...
1
vote
0answers
20 views

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

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
0answers
35 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: ...
1
vote
0answers
26 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 ...
1
vote
0answers
42 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 ...
1
vote
0answers
102 views

Mutt is not able to send mail from Cygwin [closed]

I have installed mutt packages and when I tried to send mail to my email address I get the error here: mutt 4352 child_info_fork::abort: C:\cygwin\bin\cygdb-4.8.dll: Loaded to different address: ...
1
vote
1answer
401 views

Changing title without changing prompt on Cygwin

I have the following shell script function from this site that allows me to change the title in both Putty and Cygwin. In Putty connected to a Linux host it changes the title and leaves the prompt as ...
1
vote
3answers
3k views

Using cygwin and rsync — “password file must not be other-accessible”

I've finally got an old computer of mine running as a backup server with Ubuntu 11.10. I'm planning on using it to backup my Windows 7 machine weekly using rsync. I've got cygwin installed, and rsync ...
0
votes
1answer
143 views

Cygwin installation message [closed]

I want to ask about this error? The error states : This is the first time you've installed Cygwin 1.7.x. Please be advised that this is a major release. If you have not done so already, ...
0
votes
2answers
101 views

How to exit file reading mode in linux terminal?

I appologize if its something really stupid i am asking. But this is my first day on linux commands infact I dotn have linux right now I have just installed CYGWIN for my learning. SO my question is ...
0
votes
2answers
395 views

Vi for Cygwin syntax

How can I make vi in Cygwin highlight the syntax when I open a file by default? I know that I can type in the command "syntax on" but I would prefer to not do this all the time.
0
votes
1answer
83 views

Why does exec file generate 4 processes in Linux? [closed]

I build my RTAI-model-sourceļ¼ˆgenerated by simulinkļ¼‰ in CygWin with gcc-linux-4.1 (cross-compiler of CygWin) on Windows, and generate ELF successfully. and the ELF runs correctly on Ubuntu. After the ...
0
votes
1answer
99 views

How do I get bcvi installed and working (with Cygwin and Perl 5.8.8)?

I'm trying to install bcvi (under Cygwin), and there are apparently no directions that apply to this setup. The directions at http://sshmenu.sourceforge.net/articles/bcvi/#installation state that ...
0
votes
1answer
281 views

setting Cygwin's $HOME to Windows profile directory

Are there any drawbacks to having Cygwin and Windows share the same $HOME directory, in this case the Windows profile directory?
0
votes
1answer
90 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 ...
0
votes
1answer
132 views

startxwin: command not found

I am trying to enable X11 forwarding on my cygwin.. And I was following this tutorial. Whenever I do startxwin, I always get this error - root@ubuntu-dyn-cassandra-50686:~# startxwin startxwin: ...
0
votes
1answer
560 views

configure: error: cannot guess build type; you must specify one [closed]

I am trying to compile an application called "iPerf" in my windows environment using cygwin. Now this is my first time with cygwin but I hope my problems with cygwin would be considered valid with ...
0
votes
1answer
51 views

cw and . does not work as expected in vim on character deletion

If I have the following non-sense text: Hi woman! What is your name? I know what you mean... Yeap. Yeap. Again :) Hi woman! What i s your name? I know what you mean... Yeap. Yeap. Again ...
0
votes
1answer
114 views

Red5 can't find JAVA_HOME

I'm setting up a Red5 server on Cygwin I get this /usr/share/red5$ sh red5.sh Running on CYGWIN_NT-6.1-WOW64 Unable to locate Java. Please set JAVA_HOME environment variable. However, I can also ...
0
votes
1answer
15 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 ...
0
votes
0answers
29 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
258 views

install-recursive Error while installing libLBFGS + cygwin

I am building binaries for CRFSuite in cygwin based on these instructions: In Linux environments, download the source package of libLBFGS, and build it. If you do not want to install libLBFGS into ...
0
votes
0answers
21 views

Change/fix cygprefix to / (corrrect/updated way?)

Ive seen and done as suggested on this question but am still unable to get ride of the /cygdrive/c prefix. :pwd /cygdrive/c/Users/myname :ls file1 file2 ... :cat /etc/fstab # For a description of ...
0
votes
1answer
126 views

How can I remotely run a Windows 7 application from host on a linux guest without showing up on host?

I have Ubuntu Linux guest running on a Windows 7 host using Virtualbox. I am wondering if I can remotely access the application from Windows 7 on my ubuntu install and not show up on the windows 7 ...
0
votes
1answer
54 views

Emacs key problem

I am using Cygwin to connect to an Ubuntu installation, and for some reasons my Ctrlh for the help has been remapped to CtrlDel. When I actually type Ctrlc,h I get the error: No operation mapped ...
0
votes
0answers
71 views

Issues with process substitution

I am quite new to Linux and currently I am using Cygwin on my Windows machine. My problem is I made a script to automate my analytics work and used process substitution in it and it worked fine when ...
0
votes
1answer
199 views

Start and stop tomcat through ant script which is running in cygwin

I am trying to start and stop my tomcat through ant build.xml as follows, I am running the ant script in cygwin , i get the following error D:\build-cygwin-copy_converted.xml:53: Execute failed: ...
0
votes
1answer
121 views

I'm able to remotely ssh into Cygwin on XP, but it warns “Could not chdir to home directory” and my /bin is almost empty

I've made a firewall exception, opened ports 22 through 443 to the correct internal IP (I think), and am able to log in using my external IP, but it's like I have very limited view access to almost ...
0
votes
1answer
1k views

Remote GUI login from Windows machine to Linux machine [duplicate]

Possible Duplicate: Accessing Linux server from Windows machine in graphical mode via SSH How I can login to a remote CentOS' GUI from my Windows 7 laptop?
-1
votes
3answers
1k views

printf white space character in bash script

How can the white space character be escaped in printf for the purpose of this script that currently runs in a Cygwin client? The line containing the whitespace (which by itself works from the command ...