cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.
59
votes
7answers
13k views
upgrading and installing packages through the cygwin command line?
I'm a blind computer user that uses Cygwin. The installation program isn't very accessible, upgrading, installing, and removing specific packages is quite hard to do since you have to use simulated ...
34
votes
1answer
33k views
Installing Cygwin packages from the command-line [duplicate]
Possible Duplicate:
upgrading and installing packages through the cygwin command line?
I'm looking for a "yum"-link method to install additional Cygwin packages from the command-line. Let's ...
27
votes
4answers
13k views
Cygwin fatal error unable to remap.. What does it mean?
0 [main] python 6140 C:\cygwin\bin\python.exe: *** fatal error - unable to remap \\?\C:\cygwin\lib\python2.6\lib-dynload\time.dll to same address as parent: 0x2B0000 != 0x360000
Stack trace:
Frame ...
22
votes
2answers
11k views
How to update Cygwin from Cygwin's command line?
To search and download a package missed from Cygwin I need to run setup.exe GUI each time, click many times and do other boring things.
Is there a way to do the same from Cygwin's command line ...
19
votes
2answers
15k views
There's no 'sudo' command in Cygwin
Because there's no sudo command in Cygwin, scripts that I want to run fail with
./install.sh: line N: sudo: command not found
What's the standard way for getting around this? Editing the scripts ...
16
votes
3answers
5k views
C-x C-c not working in Emacs 23.1
I am using Emacs 23.1 with Cygwin but when I try to exit by pressing C-x C-c it says C-x C-g is undefined and I am not able to exit.
14
votes
1answer
4k views
Using Cygwin in Windows 8, chmod 600 does not work as expected?
I'm trying to change the the permissions to my key file key.pem in Cygwin 1.7.11. It has the permissions flags: -rw-rw----
chmod -c 600 key.pem
Reports:
mode of 'key.pem' changed from 0660 ...
13
votes
4answers
5k views
How to make Cygwin shortcut stick to Windows 7 dock
I have recently installed Cygwin on a Windows 7 beta machine. Everything works great, except one little annoyance:
The Cygwin shortcut (Start->All Programs->Cygwin->Cygwin Bash Shell) cannot be ...
12
votes
1answer
4k views
12
votes
2answers
6k views
How to go to remote directory in Cygwin?
I'm using the latest version of Cygwin to try to cd into a network drive on Windows XP Pro Service Pack 3. The path in Windows Explorer to this directory is something like:
\\myserver\photos\original
...
11
votes
7answers
713 views
Cygwin alternate for windows?
I would like to have some of the most frequent commands which I use in Linux environment in my windows box , I know there is program called Cygwin. But I don't want to use such a heavy one . All I ...
11
votes
4answers
2k 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 ...
11
votes
2answers
8k views
Is there an equivalent of apt-get in Cygwin? [duplicate]
Possible Duplicate:
upgrading and installing packages through the cygwin command line?
Is there an equivalent of apt-get in Cygwin?
9
votes
7answers
3k views
Good Alternative to Cygwin with Copy/Paste?
I am annoyed that I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?
9
votes
5answers
5k views
Writing “tail -f” output to another file
As a continuation from my last post where I have used grep & tail -f to find occurences of "rare" events. I would like to record this in another file.
I've tried turning
tail -f log.txt | ...
9
votes
2answers
7k views
“tty” option detected in CYGWIN environment variable
I recently reinstalled cygwin on my windows 7 machine, and added the cygwin directory to my path so that it works seamlessly with the windows command line. Every time I execute a command, I get the ...
9
votes
4answers
8k views
How to install new packages on Cygwin?
I installed the latest version of Cygwin with a number of packages.
I soon realised that I need more packages (such as wget, etc) and I coudln't find a way to install the new packages without running ...
9
votes
5answers
4k views
alternatives to Gnu screen under Cygwin
Are there any terminal multiplexers for Cygwin/Windows other than Gnu's screen?
I know of 2 alternatives to the Gnu's screen application: Byobu and TMux. However, neither of these run under Windows ...
9
votes
8answers
2k views
Cygwin/Git Bizarre Terminal Issue
Alright, this is weird. First off, this is mintty running on up-to-date cygwin, with git pulled from cygwin's setup.exe. I am running zsh.
$ git clone ...
8
votes
2answers
3k views
cygwin + mintty + vim backspace problem
I have installed vim, mintty via cywin on XP.
The problem is when I try to hit backspace in VIM edit mode, the cursor move back a character instead of wiping the previous char. How can I tweak this ...
8
votes
2answers
6k views
Change Cygwin Prompt
The default cygwin prompt of "user@computer path \n $" is too long for me. I would like to keep the path.
I want it to become:
path $
Is there a config file I can modify to do this?
8
votes
4answers
510 views
How do I make ctrl-arrow keys move forward/backward a word at a time in Cygwin bash?
In the default Cygwin installation, using CTRL-LEFTARROW or CTRL-RIGHTARROW simply prints 5C or 5D instead of skipping a word at a time as expected.
Home/End keys work properly, so remapping should ...
8
votes
6answers
6k views
Use Notepad++ from Cygwin without having the shell wait for an exit code
I'm running Cygwin and would like to use Notepad++ as the main shell editor, kind of like what I have on my Mac, where I can type mate whatever to open up an instance of TextMate. In my ~/.bashrc file ...
8
votes
3answers
27k views
How do I install the vi text editor ONLY on my Cygwin installation?
I have managed to install the Cygwin on my Windows Vista machine. I installed using the default settings.
When I try to do vi in the Bash shell, Bash tells me command not found. I believe I need to ...
8
votes
2answers
36k views
How to completely uninstall/remove cygwin from Windows 7
How can I completely uninstall/remove cygwin? I don't think it is as simple as deleting C:\cygwin. Maybe alter registry?
7
votes
3answers
3k views
Virtual Machines vs Cygwin
With the arrival of virtual machine software like VirtualBox, VMWare, Parallels etc., is Cygwin any useful on the Windows platform to give a linux like environment?
7
votes
2answers
5k views
Running rebaseall on Cygwin
I tried building node.js on Cygwin and that caused errors, so someone in #node.js on freenode told me to run rebaseall on Cygwin to clean it up. So I tried that and I got the following message:
$ ...
7
votes
5answers
9k views
Cygwin offline installer?
I hate downloading Cygwin. Several times I tried to download it from several different computers/networks, and many times it got stuck mid-transfer. Where can I find a reliable offline installer?
7
votes
3answers
4k views
Use OpenOffice from command line to convert HTML to RTF
I'm trying to build a bash script in Cygwin that will convert HTML files to RTF. In OS X this is trivial with textutils, but that doesn't exist for regular Linux or Cygwin. Instead I'm trying to use ...
7
votes
2answers
3k views
Running cmd.exe from within Cygwin
I'd like to use Cygwin for my main shell at work, but my group uses batch files for several processes. I've been told that I can just do cmd /c batch.bat to run the batch file from Cygwin. This works ...
7
votes
2answers
5k views
How can I access volume levels from the command line on Windows 7?
What I need
I'm looking for a tool or a script that allows me to access the Windows volume levels from the command line. Ideally it would allow me to get and set all volumes including application ...
7
votes
2answers
436 views
Mount drive at /Volumes/NAME/ or similar in Cygwin
I'm using Cygwin on Windows 7. When I plug in an USB stick, the drive automatically gets mounted to /cygdrive/x . This is good and really easy to use.
My problem is that the drive letter changes ...
7
votes
2answers
1k views
tmux/screen alternative for powershell
Is there an alternative to tmux/screen that would work on Windows with Powershell? I'm aware of Powerscreen, but it seems dead for a long time. Cygwin wouldn't work with Powershell, would it? Console2 ...
6
votes
8answers
1k views
Is dual boot worth-while?
I'm a genetics PhD student. The word-processing and referencing software available for windows is more suitable (and more compatible with computers in the library etc.), but there's some genetics ...
6
votes
3answers
3k views
how to access different directories outside cygwin home dir
I have installed dropbox in my computer, but it is located outside my cygwin directory. The probably easiest way would probably just move the dropbox directory to cygwin's home dir.
Anyway I wonder if ...
6
votes
5answers
3k views
Cygwin - cd in bash script
I'm new to using Cygwin, so apologies if this is a very newbie question.
I have a bash script where I "cd" to a directory then do something in that directory. However, the cd command fails with "No ...
6
votes
2answers
1k views
How long should it take Cygwin to load?
I recently downloaded Cygwin so I could easily use gcc. It installed correctly, and gcc compiles programs and reports errors as expected... but I can't help but notice that it appears to be taking an ...
6
votes
1answer
3k views
How do I create a shortcut that opens Cygwin bash shell on a directory of my choosing (UNC especially)?
Given a standard installation of Cygwin for Windows XP, I would like to create a standard Explorer shortcut that opens a bash shell already open on a directory of my choosing. The directory is a UNC ...
6
votes
4answers
3k views
Backspace does not work in Cygwin
I just installed Cygwin and the BACKSPACE functionality is not there, i.e. when I hit the Backspace key, I get a space. I've been trying to research this issue on Google, but did not find anything ...
6
votes
3answers
571 views
Cygwin bash sed locks my files
When I change files in cygwin bash with the sed command, the file gets locked.
Reproduce:
Open cmd and cd to non-user directory (f.e. temp)
echo aaa > test.txt
Open in texteditor, add line, try ...
6
votes
1answer
470 views
Why does Cygwin slow down after it has been running for a while?
If I leave a cygwin shell (usually putty-cyg, but also true with xterm or the normal Cygwin bash shell) running for a while I tend to find that after a certain amount of time, it goes really really ...
6
votes
4answers
3k views
How can I run something as Administrator via Cygwin's SSH?
I'm trying to connect to a remote Windows 7 box that needs a setup change or two. I've got access to an Administrator account via Cygwin's SSH server, but Cygwin won't let me run ...
6
votes
2answers
2k views
Can I speed up cygwin's fork?
I came across a post discussing the speed of forking in Cygwin, giving an expected 'fork rate' in Windows XP of around 30-50 per-second (link)
I've got a Core 2 duo (1.79GHz) which I would expect to ...
5
votes
2answers
14k views
5
votes
2answers
968 views
How to install Siege on Cygwin
I am trying to install Siege on Cygwin but I cannot find the install in the install packages on Cygwin. Would it be coming under a different name?
Cheers,
Andrew
5
votes
2answers
684 views
How do I install 'rev' in Cygwin?
The Unix rev utility reverses lines in a file. How do I get this under Cygwin? Which package do I need to install?
5
votes
1answer
3k views
find command doesn't seem to work in cygwin
When trying to run find commands in cygwin, I keep getting the error
"FIND: Parameter format not correct"
However, the same commands run on linux. What's going on?
5
votes
1answer
621 views
How to use fish shell in cygwin?
Is it possible to use the fish shell with cygwin? I wasn't able to compile the source in cygwin, and I didn't find any precompiled packages. Is there a good reason for not having fish in cygwin?
5
votes
2answers
2k views
ssh command not work in cygwin
the ssh command is work perfect in my cygwin before. but today it is not work. It always show a usgage. but my command is correct.
$ ssh root@10.0.0.1
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b ...
5
votes
4answers
2k views
How can I tell when I logged into Windows?
On UNIX I can tell when I logged in and out of my workstation with the last command. Is there a way to get the same information on my Windows workstation?
I notice that Cygwin has a last command, ...