cygwin

Cygwin X11R7.4 update support

I just got burned by the Cygwin X11R7.4 update and I find the official mailing lists hostile and clunky. So I thought I'd ask here. If you have survived the upgrade (or at least made progress on fixing things), what steps did you take to make things work? ...

How do you compile wxPython under cygwin?

I am using CYGWIN as a platform and would like to use wxPython. Is there a way to get the source compiled and working in cygwin? ...

What language would people recommend as simple GUI that can be used as input to a script runing on Cygwin?

I need a simple window with three input boxes and three labels (login name, password, and server node) and a button to execute the script. I do not want any third party programs that need to be installed on Windows. If it can be installed on Cygwin that would be great. ...

Using a stackdump from Cygwin executable

So I wrote buggy code that occasionally crash ... and creates a stackdump file. Using addr2line I can figure out how the program got to the crash point by decoding the addresses on by one. Is there an alternative tool that can ease the debug using stack dumps? Is there a way to to load this information in Insight/Gdb? ...

SSH Password/User problem with Cygwin sshd service

hello I just set up SSHd through Cygwin on a Windows XP Pro box overseas using a RAT and discluded the openssh package from the install. I ran the cywin shell (from c:\cywin) and ran Now, It's under a port I know is safe and fowarded properly, but I won't share it's number. It's not a common port, but it's under 40000. Firewalls are off ...

connecting to mysql from cygwin

I can successfully connect to MySQL from a DOS prompt, but when I try to connect from cygwin, it just hangs. $/cygdrive/c/Program\ Files/MySQL/MySQL\ Server\ 5.1/bin/mysql -u root -p What's wrong? ...

cygwin xterm not responding to keyboard

My cygwin xterm is not responding to the keyboard. I am able to run rxvt, but when I start other X applications I have the same problem. From the rxvt command prompt, I get the following: $ xterm xterm Xt error: Can't open display: :0 The contents of my XWin.0.log are: $ cat XWin.0.log Welcome to the XWin X Server Vendor: The Cygw...

Prevent duplicates from being saved in bash history

I'm trying to prevent bash from saving duplicate commands to my history. Here's what I've got: shopt -s histappend export HISTIGNORE='&:ls:cd ~:cd ..:[bf]g:exit:h:history' export HISTCONTROL=erasedups export PROMPT_COMMAND='history -a' This works fine while I'm logged in and .bash_history is in memory. For example: $ history 1 vi...

Can you statically compile a cygwin application?

Does cygwin allow a statically compiled binary? This would prevent the need for cygwin1.dll being on the PATH of target machines. ...

Clearcase Multi-file rename

I have a large number of files in a ClearCase directory structure, and I need to go through and change all "makefile" to "Makefile". I'm thinking some combination of the find . -name makefile command with an exec flag, but I'm having a hard time coming up with the exec command. The cleartool mv command does not automatically check out th...

Does pdksh (public domain korn shell) support associative arrays?

I recently ran up against a wall doing some bash shell programming where an associative array would have solved my problems. I googled about features of the Korn shell and learned that it supports associative arrays, so I installed Cygwin's pdksh (public domain korn shell). However, when trying to create an associative array in the pre...

Compiling libgadu under Windows

I want to use libgadu (library of instant messaging protocol) under Visual Studio 2008. I have downloaded libgadu http://toxygen.net/libgadu/files/libgadu-1.8.2.tar.gz and under cygwin I've compiled it - ./configure , make , make install. File libgadu.h which appeard in include folder I copied to another folder which is marked in VS as I...

File permissions in cygwin and MVFS

I am using Cygwin with a dll version of 1.5.19 (yes, out-of-date, I know, but we're doing it for configuration control reasons). All my files (existing and newly created) show up with permissions 644, despite a umask of 022. Also, using chmod doesn't change the permissions. I have ntsec set in the CYGWIN environment variable. I need ...

Default file extension of the executable created by g++ under Cygwin vs Linux.

Hi All, I've done most of my work on VisualStudio and don't have much experience with gcc or g++. When I tried to compile a (ex. aprogram.cpp) this morning on my pc using cygwin, I got (aprogram.exe) when I tried to compile the same thing on my Ubuntu box I got (aprogram) w/o any extension. I am just wondering if someone be kind enough ...

Git On Windows Without Cygwin?

Are there any native Git implementations for Windows that do not require Cygwin? I've become a fan of the TortoiseSVN client, and would really like to see a similar Git client for Windows. Edit: I am also considering Mercurial, but would prefer to check out a few before I make a decision. ...

Invoking cl.exe (MSVC compiler) in Cygwin shell

I'm heavily using Cygwin (with Putty shell). But, it's quite tricky to invoke cl.exe (i.e., Visual C++ compiler toolchain) in the Cygwin bash shell. Running vcvars*.bat in the bash shell doesn't work obviously. I tried to migrate VC++'s environment variables to Cygwin, but it's not that easy. Is there anyone who ever tried to run VC++ c...

Command line to delete all ClearCase view-private files

I'm looking for a command line to remove all view-private files and directories from a ClearCase view on Windows. I have Cygwin available as well. The script available at this article is not quite what I want, since I'm working with a large number of files and want to delete them all without having to select each one. ...

How do I get PIL to work when built on mingw/cygwin?

I'm trying to build PIL 1.1.6 against cygwin or mingw whilst running against a windows install of python. When I do either the build works but I get the following failure when trying to save files. $ python25 Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "li...

Compiling minimal GLEW application under Cygwin.

Let's consider the following program and try to compile it under Cygwin: #include <GL/glut.h> int main(int argc, char** argv) { glutInit(&argc, argv); glLoadIdentity(); } It compiles and runs just fine. -I/usr/include/opengl seems to be terribly important. g++ -I/usr/include/opengl -I../include/cygwin -L../lib/cygwin test.cpp...

What packages should I install with Cygwin to make it not bloated but also have everything I would need as a developer?

Normally, I run Linux in a VM, however, most of my VMs are on an external HDD and I might or might not have one with me. I figure Cygwin would be a good alternative for lightweight functionality when I need something Linux like and don't have a VM on my laptop. But I'm having trouble getting the configuration right - I want the bare mini...