What it doesn't provide is "a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows." Cygwin home page Cygwin on Wikipedia
0
votes
0answers
2 views
cygwin can bypass windows xp acls?
How is cygwin able to bypass Windows XP ACLS? In the following example, cmd.exe cannot create a file in a directory but bash can. What gives?
C:\WINDOWS\Temp>mkdir noaccess
...
0
votes
3answers
12 views
How do I change the default startup directory in Cygwin?
Whenever I start cygwin, I need to cd several levels
down to the only directory that I care about when using cygwin.
How can I get cygwin to start in this particular directory by
default...i.e., ...
2
votes
2answers
11 views
Disown process from cygwin bash
There is a way to properly disown process from cygwin bash?
for example i can run in background
/cygdrive/c/Windows/notepad.exe &
and the notepad window shows but when i close the bash using ...
0
votes
1answer
9 views
Certificate generation with Keytool, I can't confirm personal data
I'm trying to generate a self-signed certificate in order to sign some source code. I use:
keytool -genkey -storepass mypass -alias lorenzos -keystore nbproject/private/keystore
Then I fill in ...
0
votes
0answers
19 views
Case-sensitive error in compiler's building using crosstool-ng under Cygwin
When I try to build gcc cross-compiler using crosstool-ng under Cygwin (running in Windows 7) I have the following message:
$ /opt/ng-crosstool/bin/ct-ng build
[INFO ] Performing some trivial sanity ...
0
votes
0answers
12 views
rsync cygwin also hangs without ssh
I've been using rsync installed via cygwin on two Windows 7 PCs to sync my music and picture collection, but eventually it always stops transferring after some time. I've googled and it seems that ...
1
vote
1answer
26 views
Pageant alternative for Cygwin?
I would like to be able to access my ssh connections without having to type in the passphrase for my key file each time. Is that an app like Pageant that works with Cygwin to do this?
0
votes
1answer
80 views
strange permission error involving ssh, Cygwin, Windows 7, and .sh files
I am new to Cygwin, ssh, and messing with file permissions and have a problem. On computer WORKER1, I am attempting to ssh into computer WORKER2 and then running a .sh file on WORKER1 from there. From ...
1
vote
2answers
63 views
How can I get the Full Cygwin Installation (about 1GB)?
I want to install Cygwin Full (about 1GB) but I cannot find any site offering it anymore. There was one but the Internet Archive did not back it up, after someone killed the site.
Some instructions ...
0
votes
0answers
41 views
cygwin - bash can't find file depending on arguments
If I type bash -i release_script.sh it starts processing the script
If I type bash --login -i release_script.sh I get the error:
bash: release_script.sh: No such file or directory
I don't ...
0
votes
1answer
51 views
Building VIM with python support in Cygwin?
I'm trying to build VIM with Python/Perl support under Cygwin.
Has anyone done this and can shed some light how this is achieved?
0
votes
0answers
50 views
Using OpenSSH on Windows for enterprise use
Is OpenSSH for Windows (using Cygwin) is considered to be robust & stable for enterprise use?
1
vote
2answers
86 views
How to get Cygwin Permissions in Windows 7
I had installed Cygwin, then later deleted my Windows 7 account and recreated the account with the same name. Now I am having trouble editing files in my Cygwin folder or creating new folders/files. ...
2
votes
1answer
45 views
New to Cygwin, help please
I'm a little new to cygwin and I want to edit my .emacs file. During the install, I added the emacs package but I don't know where the .emacs file is located. Any ideas?
Also, when I'm trying to run ...
0
votes
2answers
96 views
Ctrl+L doesn't clear screen in Console2+Cygwin+Bash
As per the title, when I press Ctrl+L it just simulates a return carriage and returns me to the prompt.
0
votes
0answers
42 views
Cygwin SSH Connection Host key verification failed
I'm trying to establish a SSH connection with my school's server. I have already created the public-private key pair.
I can connect to the server only using gitbush (mingw32) and everything seems ...
0
votes
1answer
89 views
How can I remove new line character in prompt?
As you can see in the screenshot, I have an unneeded newline character in my prompt. Anyone know how to do remove this character from my prompt?
0
votes
1answer
29 views
Cygwin: PS1 cannot wrap lines on the same line (2)
I found that in my cygwin,
The PS1 console have 2 lines and I want to solve it. This is due to "\n" at the end of PS1
But I cannot export it well due to "not a valid identifier" error.
How can I ...
-1
votes
0answers
66 views
cygwin not using enviroment variable
I installed cygwin a couple of weeks ago and I just realized that it doesnt let me use the programs in the environment variable, so I still have to use on the windows command prompt. I'm new to this ...
0
votes
6answers
41 views
g++ compiler : unable to compile
This is the first time that I'm using the g++ compiler to compile my c++ programs. I have installed cygwin g++. and I'm trying to run a very simple program to display "hello", to see wether it would ...
0
votes
1answer
18 views
calling cygwin svn from vim
I am trying to shell to get 'svn log %'. In order to get this into a different buffer, it seems the best way is to call:
:new | set buftype=nowrite | r !svn log #
Where r puts output from the ...
1
vote
1answer
39 views
sftp client with cygwin, is it possible?
Is there any sftp clieant for cygwin? From what I read on the web, all I can find is instruction on how to install the server/ how to use putty/ how to use filezilla.
Is there a terminal client for ...
0
votes
0answers
18 views
pdfgrep error under cygwin
I am trying to grep over some pdf using pdfgrep which I download from here:
http://fd0.x0.to/cygwin/release/pdfgrep/
I then unzip it and put files into the cygwin corresponding folders.
Initially I ...
0
votes
1answer
44 views
Ctrl+h causing backspace instead of help in emacs on cygwin
I want to access the help for a command by using ctrl+h in emacs, but it keeps deleting the previous character. I googled it, and apparently ctrl+h is backspace in a terminal. How do I remove this key ...
2
votes
2answers
102 views
Command line tool to search docx file under ms dos or cygwin
Is there a command line tool that is able to search .docx file under MS DOS or Cygwin ?
I have tried Grep, it's not working with .docx while working fine with .txt file.
I know I could always ...
0
votes
1answer
27 views
Cygwin (bash, g++…) is in Japanese mode - how to set everything to English?
I am using Cygwin under Windows 7. For some reason (*) Cygwin talks to me in Japanese: bash responses, error messages from g++ etc are in Japanese. I speak some Japanese but having C++ compiler error ...
0
votes
1answer
30 views
Cygwin fatal error: is not a directory
I'm trying to use todotxt in Cygwin on Windows 7. However, when I do t add "test" I get an error message: "Fatal Error: $/cygdrive/c/Users/Travis/todo is not a directory". However, cd ...
4
votes
2answers
93 views
How Can Vim and Windows See Two Different Files that Have the Same Name in the Program Files Directory
I'm seeing a strange interaction between vim, the Cygwin tools, and Windows7. I don't think that it is a bug, but at the same time, I have no idea how to explain what I'm seeing.
I installed Vim ...
0
votes
1answer
35 views
Behaviour of Cygwin's `(no)dosfilewarning`
Original Question
Cygwin's CYGWIN environment variable and its contents have effect on several aspects of the Cygwin environment. If CYGWIN contains nodosfilewarning then
Cygwin will warn the ...
0
votes
1answer
39 views
What is the password of localhost on Windows 7? (SSH related)
How to deal with this? I'm using Windows 7, installed SSH via Cygwin.
0
votes
1answer
67 views
How to download individual cygwin packages (and/or individual files within them) without running cygwin's setup.exe on local system?
I only need specific files without cygwin environment. Is there a way for example to download latest version of some unix tools file, like for example grep.exe and latest cygwin1.exe file, and that's ...
1
vote
0answers
48 views
How can I dismount a truecrypt partition over ssh in windows 7
I'm having trouble dismounting a truecrypt container, in windows 7, over ssh.
When opening a cygwin terminal on the local computer (where truecrypt is running and the partition is mounted), I can do ...
0
votes
1answer
54 views
Cygwin terminals don't run some native Windows programs
For compatibility with other Windows programs, I have to install the Windows version of Mercurial (vs. the Cygwin version), for Python, etc.
Unfortunately, these native Windows programs seem to have ...
0
votes
1answer
55 views
cygwin grep in files takes forever
I tried used cygwin to emulate some cool linux search feature and when I do grep in files (12 text files - not big) it takes forever. I used
grep -rne word
I could find this word faster ...
1
vote
1answer
38 views
Unable to run rebaseall
I have installed cygwin on c:/cygwin from the command prompt as an administrator. I used the following command:
C:\cygwin\bin\ash.exe
Now the prompt is displaying $
But now, I do not know how to ...
2
votes
1answer
20 views
Does CYGWIN need to be in my main OS drive?
I have a main SSD drive for my OS and most my programs (which is getting low on memory 65gb used of 75gb)
C:\\
I then have a large drive I use for my data (music, video, photos, and all my code ...
0
votes
0answers
73 views
Using git through cygwin on windows 8
I've got a windows 8 dev preview (not sure if it's relevant, but I never had this hassle on w7) machine and I'm trying to clone a git repo from github.
The problem is that my ~/.ssh/id_rsa has 440 ...
1
vote
2answers
40 views
How can I find a missing binary needed under Cygwin?
I am trying to put together a cygwin installation and find that the commandtput is needed, but I have no idea what package supplies it. How can I find the package I need?
please note: I found have ...
0
votes
1answer
109 views
How to change the title of the mintty window?
MinTTY is the new default Console for Cygwin.
What's a shell command (something I can put in .bashrc, or even better, in .zshrc) to change the title of the MinTTY window ?
I'd like the title of the ...
0
votes
1answer
49 views
Difference between various terminal options for Cygwin?
I am using Cygwin. Due to the poor interface, I recently looked into other terminals that come with Cygwin. It seems that there isn't much difference between them.
What are some alternatives and ...
0
votes
1answer
64 views
Cygwin - How do I remap X-term keys?
I would like to know how to remap some of the default keys for x-term.
Specifically I would like to remap the Cntrl+leftArrow and Cntrl+rightArrow keys to move a word forward or backwards. I would ...
1
vote
1answer
43 views
rsync with Cygwin creating weird directories
I'm trying to use rsync to backup data from a local shared drive to a remove server. Both the local machine and the remote server are running Cygwin under Windows XP. I use the following command:
...
1
vote
2answers
82 views
how do I call zgrep in windows cmd line
I've added the my cygwin\bin path to Path already but when I type in zgrep in cmd line, it says "zgrep is not recognized as an internal or external command..."
But when I do it within the cygwin ...
9
votes
4answers
174 views
Going to directory using bash variables doesn't work when directory names have spaces
Let's say I want to store the following command in a variable
cd "/cygdrive/c/Program Files/"
So I do this
dir="cd \"/cygdrive/c/Program Files/\""
That should store the command to navigate to ...
0
votes
1answer
42 views
How do I remove the remnants of data from my C: drive?
I have installed Cygwin software which contains C++ and c compiler, debugger and some more things. Later on I decided to install all what Cygwin contains in itself. But I run out of memory on C: disk. ...
1
vote
3answers
123 views
Can't pipe or redirect cygwin grep output
How do I get grep to work properly in a regular cmd.exe?
> grep -o 'ProductVersion\".*\".*\"' foo.txt | grep -o '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+'
foo.txt:ProductVersion" Value="59.59.140.59"
grep: ...
0
votes
0answers
79 views
SSH connection closes after successful authentication
I'm trying to run a CopSSH server on a Windows 7 x64 machine. The server starts fine and all is well and good, but when I try to connect to the server with PuTTY (with password auth), I get an error ...
1
vote
1answer
71 views
fatal: Out of memory? mmap failed: Invalid argument
Upon doing
git add .
I get the following message -
fatal: Out of memory? mmap failed: Invalid argument
I am using git on cygwin on Windows 7
What does this mean?
1
vote
0answers
80 views
CopSSH backspace doesn't work in bash?
I just installed CopSSH Basic Edition v2.1.2.5 on my Windows 7 Ultimate 64-bit box...I've only installed it because PuTTY doesn't have a working IPv6 version yet, and I want to connect to another IPv6 ...
0
votes
1answer
76 views
Pseudo- Sudo on Cygwin/bash
I need sudo to work, well not sudo itself but a way of allowing the sudo commands to work as described here.
This would be great however the sudo lines have extra arguments, like :
sudo -u user bash ...