• All Sites

4 answers

Appending a line break to an output file in a shell script

I have a shell script that I am executing in Cygwin (maybe this is the problem). For this bit of code, I simply want to write the first line, and append a line break: echo "`date` User `whoami` ...

4 answers | 26 mins ago by Ode on Stack Overflow
1 answer

Extending awk one-liner from identifying matching pair of columns (row by row), to multiple columns

I am using Win7 with Cygwin. I have a one-liner that will work for identifying matches in a PAIR of columns, but when I try to introduce additional columns (i.e. >2) I cannot get it to work. So the ...

1 answers | 4 hours ago by Simonmdr on Super User
0 answers

cygwin “XWin Server” in task bar

trying to set up cygwin's X server. I end up with an "XWin Server" button in the taskbar, however no window seems to be associated with it. Various tries of startup-options don't get me any further. ...

0 answers

Cursor shape under vim + tmux

How can I have different cursor shapes when running vim inside tmux under cygwin? WITHOUT tmux these lines would be enough to achieve what I want: let &t_SI = "\e[5 q" let &t_EI = "\e[2 q" ...

1 answer

Git on Windows not working with remote because of “SSL protocol” errors

tl;dr Git on Windows stops connecting to github because of mysterious "SSL protocol" errors. Halp! The Issue I'm developing on Windows, using a private GitHub repo for source control. When I first ...

1 answers | 7 hours ago by Sean on Stack Overflow
4 answers

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 ...

4 answers | 10 hours ago by MattK on Stack Overflow
0 answers

can't run 'wget|curl|git clone' or 'irb' in MobaXterm

A collegaue recommended me to try out MobaXterm (Personal) for my *nix on Windows (7) needs. It's promissing but I have the following problems: although I had installed ruby (tried the apt-get and ...

2 answers

platform independent symlinks in build script

I need to add to gradle build script a command that will create a symlink. I know that the person who builds that has cygwin installed. The problem is with export command. Here is what I got so far ...

2 answers | 14 hours ago by lukas on Stack Overflow
0 answers

Cygwin Openssl uninstall

Thanks for reading :-) I'm a complete newbie on cygwin, it was placed on our server to configure ssh or openssl, not by me :-) . server: windows 2003 SP2 cygwin: (cannot find version, but it says ...

6 answers

cygwin + console2: running cygwin bash with startup dir

I am using Console2 as a bash wrapper on Windows. Most importantly, it enables me to start up a new bash tab in a predefined project directory. Now I would like to replace the Windows command line by ...

1 answer

How to include conio.h in cygwin?

I want use getch(); in cygwin. So i search the way,add the code "conio.h". #include <termios.h> #include <unistd.h> #include <stdio.h> /* reads from keypress, doesn't echo */ int ...

1 answers | yesterday by PARK on Stack Overflow
1 answer

How to install Mahout on Windows 8.1?

My goal is to build up a recommendation system and after going through many articles, I came across Mahout as a simple, yet effective way to go on. I already have XAMPP installed on my system. How ...

0 answers

Msys shell exits immediately when run with command parameter

Running msys shell with a -c parameter makes it exit immediately after the command finishes execution. This is similar behavior to cmd utility where the /c switch has the same behavior, which can be ...

6 answers

Has anyone installed MySQLDB for Python on Cygwin?

I'm trying to install MySQLDB for python on Cygwin. Unfortunately, when I run python build, I get the following error: $ python build /bin/sh: /usr/local/bin/mysql_config: No such ...

6 answers | yesterday by Ben on Stack Overflow
1 answer

Removing tracking references to remote that no longer exists

My remote was named BitBucket and I decided to rename it origin, so I deleted BitBucket and created origin with the same URL as BitBucket. Now I seem to have tracking references for both origin and ...

0 answers

Program “see” cygwin dlls only from my desktop

I have really strange problem with cygwin64. I installed Cygwin into D:\Programy\Cygwin and run hmmscan.exe forom my desctop (M:\username\hmmer\binares\hmmscan.exe) it works fine. I moved whole hmm ...

0 answers

pci network card name of the current default gateway

With netsh and devcon how to find out that, for example, "Local Area Connection" is using the network card "Broadcom NetLink (TM) Gigabit Ethernet"? my script so far: ( read -r wanaddr ...

1 answer

java function does not work in cygwin

I'm trying to run a series of programs in Cygwin, but I'm pretty new to this kind of thing. My current dilemma is running a java file. My input and the error is below. Gaius@Ellislab2015 ...

1 answers | May 22 at 22:56 by Gaius Augustus on Super User
1 answer

bash completion in msysgit by single or double tab

Single tab used to make bash complete current line, and double tab shown all possible variants. For example, if I have files (or git branches, or whatever is suitable in current context) "abc", "abd" ...

1 answers | May 22 at 20:46 by Ivan Danilov on Super User
1 answer

scrolling shortcuts in Cygwin terminal less output

Newbie question: Is there a way to use keyboard shortcuts to scroll in a less output in Cygwin? I like being able to scroll using 'Shift'+'PgUp/PgDn' in the command line, but when working with a ...

8 answers

msysGit vs Git for Windows

I am having trouble determining the difference between msysGit and Git for Windows. How are they different? Why would I choose one over the other?

8 answers | May 22 at 16:31 by Jarrod on Stack Overflow
1 answer

python-magic WindowsError: access violation writing 0x00000000

I installed python-magic (0.4.6) on my Win 7 64bit using pip. I then installed cygwin 1.7.33-2 to provide the needed dlls and created a copy of cygmagic-1.dll named magic1.dll (see When I run the ...

1 answer

make with Cygwin

I am trying to set VTK on windows (did I say it was complicated?^^). I have successfully configured VTK with CMake and I am now trying to run make through cygwin. However when I go to the build ...

1 answers | May 22 at 15:32 by Lonni Besançon on Stack Overflow
1 answer

Why is the size of files compiled by gnu gcc and cygwin gcc different?

This is just a small "Hello World" program, which when compiled using Cygwin GCC and GNU GCC is different in size. #include <iostream> main(){ cout<<"Hello World";} The cygwin version ...

1 answers | May 22 at 12:12 by Abhinav Agarwal on Stack Overflow
0 answers

Tie freezes spawn of child processes

edit: did some sorting and more explaining after comments I programmed a small client-server application, and then added logging which at first worked and now gets my program to freeze. The server ...

1 answer

Can cygwin ls show ACLs without providing the DOS path to file?

The commands cd c:/p4 ls -ld . c:/p4 /cygdrive/c/p4 shows d---------+ 1 jgunter Domain Users 0 Apr 27 18:41 . d---------+ 1 jgunter Domain Users ? 0 Apr 27 18:41 /cygdrive/c/p4 ...

1 answers | May 22 at 10:33 by Jay Gunter on Stack Overflow
1 answer

Mirroring with wget - Exclude old files

I am using wget to mirror an ftp file-archive. This is my command: wget -m $mirror (Stripped all unneccessary parameters) So far, everything is okay, all differences to the online archive will be ...

1 answers | May 22 at 9:00 by Nippey on Super User
0 answers

Installation Root (Cern) v6.00.02 with Cygwin

I have installed Root (Cern). Before calling "root" it is necessary starting the X server (by Cygwin, typing "startx"), to allow Root to use Windows. By "setup-x86_64.exe" I installed Cygwin ...

0 answers

Why don't programs compiled with 64-bit MinGW g++ work on my 64-bit PC?

I am using Cygwin on 64-bit Windows 8.1. I wanted to make native windows executables inside the Cygwin environment (i.e. I didn't want to deal with cygwin dll issues). I saw Cygwin had minGW ...

0 answers

cygwin make chktex command not found

When I'm trying to make chktex-1.7.4 with cygwin I get the following output: $ make install /cygdrive/c/Program Files/MiKTeX 2.9/miktex/bin/x64/latex ChkTeX.tex make: /cygdrive/c/Program: Command not ...

15 30 50 per page
1 2 3