cygwin

grep: matching on literal "+"

I need to find occurrences of "(+)" in my sql scripts, (i.e., Oracle outer join expressions). Realizing that "+", "(", and ")" are all special regex characters, I tried: grep "\(\+\)" * Now this does return occurrences of "(+)", but other lines as well. (Seemingly anything with open and close parens on the same line.) Recalling that ...

How Can I Build wxWidgets With Eclipse On Windows

Hi all, I installed wxWidgets 2.8.9 on a Windows XP SP2 box and built the library according to the directions and now I'm trying to get the Hello World! tutorial app to build from within Eclipse and I'm just missing something apparently. Any idea how to get Cygwin, Eclipse and wxWidgets to play nice together? ...

How do I use cygwin behind the corporate firewall

I'm in a Microsoft IE environment, but I want to use cygwin for a number of quick scripting tasks. How would I configure it to use my windows proxy information? Ruby gems, ping, etc are all trying to make direct connections. How can I get them to respect the proxy information that IE and firefox use? ...

What's the bare minimum Cygwin install to have DDD running properly on XP?

I’m using the gcc in MinGW that comes with Strawberry Perl, on Windows XP. I’d like to have ddd (the Data Display Debugger) as well but apparently on Windows the simplest way to get ddd is by running Cygwin. So what's the bare minimum of Cygwin I can install to get ddd up and running? I'd prefer if I could run ddd natively on Win32 but t...

Lost use of forward slash in windows command prompt

I can no longer use / at the windows xp command prompt, and it seems to have started after a botched cygwin installation, e.g. cd /windows won't work, but used to. Can anyone think of how this might have happened? OOPS! It doesn't normally work in XP, though I had read that it does in Vista. I simplified my problem and it was wrong. Th...

enter key sometimes not recognized in windows apps under cygwin

At work, I use Cygwin a lot because it offers me a small oasis in the vast desert of Windows. I inevitably end up running some non-Cygwin programs through the bash shell, such as build scripts (batch files created in-house) and the Subversion CLI binaries (I have the Windows ones installed). 99% of the time, I don't have any problems u...

Is there a way to tell maven where to place the artifacts ?

I am running both maven inside the m2eclipse plugin, windows command line and my cygwin command line. cygwin's bash shell dumps artifacts into the cygwin /home/me/.m2 directory but m2eclipse & windows shell (on vista) uses /Users/me/Documents/.m2 Is it possible to tell the mvn command to use one central .m2 directory ? Thanks ...

FogBugz, WebSVN & Cygwin - Diffs Not Being Generated

Hey Guys, I can appreciate what I'm about to ask is a bit specific and a small niche but if you could provide some help you might actually let me keep some of my hair! I originally posted the query over on the FogBugz technical support page, but haven't had much joy. Basically I am using webSVN as a repository browser to provider log ...

Safely change home directory in cygwin

I'm trying to safely update the home directory as specified in /etc/passwd, but the standard linux utils - usermod and vipw - for doing so aren't provided by cygwin. Could anyone tell me how they changed this in cygwin? If you know where these utils are hiding, that would be great. ...

How can I run Cygwin Bash Shell from within Emacs?

I am running GNU Emacs on Windows so entering: M-x shell launches the Windows command-line DOS shell. However, I would like to instead be able to run the Cygwin Bash Shell (or any other non-Windows shell) from within Emacs. How can this be easily done? ...

How do I detect how to escape spaces in a path

In Cygwin a space in a path has to be escaped with a backslash Not true in Windows, put the whole path in a quote Is there a way to convert to this automatically in Ruby? Otherwise, how in Ruby do I detect if I am running with Windows or Cygwin? ...

How do you pass commands to a cygwin console in Windows using Inno Setup

I've tried variations of this, but had no luck other than the ability to start a cygwin window. (wrapped on ; for clarity) Filename: "c:\cygwin\bin\bash.exe"; Parameters: "-c c:/scripts/step1.sh paramX"; Flags: shellexec waituntilterminated; StatusMsg: "Running the script..." (this is for an internal install, thus cywin is insta...

Cygwin + git permission problems when trying to create a commit message

When I try to commit the first revision to my git repository (git commit) from Cygwin, I'm getting an error in gvim which says "Unable to open swap file for "foo\.git\COMMIT_EDITMSG" [New Directory]. I think it might be some sort of permission problem, but I've tried removing the read-only flag from the folder, as well as recursively adj...

How do you determine what to put in .rhosts file in an VAX open vms when accessing from CYGWIN

How do you determine what to put in .rhosts file in an VAX openvms system when trying to remotely access the server using a remote shell from Cygwin on windows XP ? .rlogin and rsh are the only methods that can be used to access the VAX server and it must be using Cygwin to remote in to the VAX server. SSH is not an option. When the VAX ...

How to do substitutions using sed for windows (from cygwin) for utf16 files

Hi, I am using sed from cygwin on Windows to do some substitutions in text files. Everything works fine for normal (ANSI) files, but it doesn't do anything for utf-16 files (no substitutions are made). Do you know how I can make it work for both types of files at the same time? ...

Emacs and cygwin

How can I change my GNUemacs to open up a cygwin terminal rather then a cmd one with the shell command? Closed as duplicate of How can I run Cygwin Bash Shell from within Emacs?. ...

In Windows, how can I launch cygwin shells n times and then resize their windows?

My hope is to one-click a shortcut, and get a grid of cygwin shells laid out before me, filling up my whole screen. Any idea where I should start looking? ...

How can I download python .egg files, when behind a firewall

I'm going to try out turbogears however I'm on windows vista. however due to firewall proxy problems, it seems i can't download .egg files which is required for setup turbogears to get installed in my windows environment. I do have a bootable, or I can make a bootable Linux USB, I can try cygwin but I am not sure where to start with cygw...

How do you do Cygwin passwordless rlogin or rsh to Solaris 5.7

I am trying to login in to my works Solaris box from cygwin on windows. SSH is not supported. I have tried different combination in the .rhosts with no luck I do not have root privileges. ...

connecting to remote oracle via cygwin sqlplus

I'm trying to use cygwin sqlplus to connect to a remote oracle installation located at myserver.mycompany.com port 1530. When I try sqlplus [email protected]:1530/orcl I get the error: ORA-12154: TNS:could not resolve the connect identifier specified When I set ORACLE_HOME to /cygdrive/c/oracle/product/10.2.0/client_...