Tagged Questions
0
votes
1answer
22 views
Apache package in cygwin does not seem to work. Error logs are also empty
I installed cygwin in a Windows pc. All ok.
Then I tried to install apache package. I selected all relevant packages and installed them as well.
The problem: In /usr/sbin I can see apachectl2 and ...
0
votes
0answers
29 views
Why are tasklist results different when run locally vs over ssh
I have a windows box setup with cygwin and an ssh server that has been working fine, however today I came across a command I am trying to use that returns different results based on whether it is used ...
0
votes
2answers
27 views
How to open a Cygwin shell at a specific directory from Netbeans?
I've tried using QuickOpener with the command:
C:\cygwin\bin\mintty.exe -e cd `cygpath "${currentFolder}"`
but it just opens a window saying: cd: No such file or directory.
0
votes
0answers
34 views
Getting up and running with boost [duplicate]
So I have cygwin installed and up and running. I can change directories, whole nine yards.
I have run the following test and it works.
NOTE:
C:\cygwin\
and
C:\cygwin\boost_1_53_0
also in my path ...
0
votes
1answer
24 views
Having Trouble Sending Arguments To Mintty/Cygwin
Simply put, I would like to have a shortcut on Windows which can open up a terminal window just like clicking the Cygwin shortcut normally does, but in a different location from the default.
The ...
0
votes
2answers
174 views
Where'd PHP for cygwin go? Still have a copy with PHP installed? Wanna share?
I used to have cygwin with PHP installed and working, but the hard drive on which was installed crashed catastrophically. Cygwin was just about the only thing that hadn't propagated to my backup yet, ...
1
vote
1answer
42 views
Am I failing to foresee an issue with a cygwin symlink to Windows's python.exe?
Should be an easy question. I have a windows version python 2.7 at C:/Python27/python.exe and I also have cygwin's installation at /usr/bin/python -> /usr/bin/python2.7.exe. This means that when I ...
0
votes
1answer
37 views
cygwin git documentation
I just installed git using cygwin.
I then tried using git help status but I received the error fatal: '/usr/share/doc/git-doc': not a documentation directory. And indeed, there is no folder git-doc in ...
0
votes
1answer
50 views
Cannot build lynx on windows with cygwin
There are many Windows builds of Lynx available over the 'net, but none of them support HTTPS, so I was trying to build with SSL enabled, among other things.
The ./configure part is successful, but ...
0
votes
1answer
38 views
Windows does not recognize folder, cygwin/linux does
Windows does not recognize a folder I have on my external hard drive, when i browse via cmd and use "ls" via cygwin i see the folder. using file explorer or using "dir" does not see the folder at all. ...
-2
votes
2answers
116 views
“rm -i” alias equivalent on Cygwin/Windows Command Line
I'm using Windows command prompt with Cygwin. Is it possible to define a bash like alias i.e. alias rm='rm -i' to prevent accidental damage from rm command? (Other than using doskey)
Update : All the ...
1
vote
3answers
33 views
Using group by in ls
I am using cygwin on windows.
I wish to count the number of jpeg, gif and png files from a root folder.
Now I can do:
ls . -1R | grep '.jpeg' | wc -l
ls . -1R | grep '.gif' | wc -l
ls . -1R | ...
0
votes
1answer
49 views
Doing a dir or ls for a windows library abstraction? [duplicate]
We all know dir and if you have cygwin ls. I am wondering how could I use either of these commands for a windows library abstraction. For example, my music library points to C:\users\me\music and ...
3
votes
1answer
143 views
Is there a command line tool in cygwin to copy a file to the clipboard?
I'd like to do something like this:
On the command line, copy a file to the Windows clipboard
In Windows Explorer, paste the file/files into a current location
Is there a simple tool to do this, ...
3
votes
3answers
116 views
Cygwin instead of cmd open from explorer?
I know that in explorer you can go to the address bar and type in cmd to open a command prompt for the directory you're currently in. What I'm looking for is a way to do the same thing with cygwin. ...
0
votes
0answers
97 views
How does rsync (in Cygwin) decide what sharing permissions to apply to a copied file?
I have an XP machine with Cygwin installed. Every night my Android phone connects to rsync on the PC and backs up my phone's pictures. This process is working smoothly, and has been for over a year.
...
0
votes
1answer
265 views
ssh -X with cygwin on Windows: “Unable to access the X Display”
I'm on a windows machine, trying to run a python program on my lab's server, and would like to be able to see the output plots it produces. Here is what I type to try:
ssh –X user@server
python
...
2
votes
3answers
268 views
Setting up SSH/Git on Cygwin yields “Bad permissions on ~/.ssh/config”
I'm attempting to setup Git with OpenSSH under Cygwin. I almost got everything setup. I have the agent and public key and all that.. but now I get this really weird error:
$ git pull -u origin master
...
1
vote
0answers
80 views
Windows cmd only uses Linux commands
I'm using Windows 7 and for some weeks I can't use Windows commands (e.g. taskkill) anymore but Linux commands (e.g. ls, kill, ps,...) instead. The problem seems to be that it is not using my PATH ...
0
votes
1answer
176 views
sh.exe (bash) heap space error on Windows XP
I am running a bash shell on Windows XP that is shipped with Git for Windows. The command window's title shows MINGW32, and the error message contains Cygwin. This is the command that I run and the ...
1
vote
2answers
71 views
Cygwin not cooperating
This is gonna sound very simple for you guys but I've never installed cygwin and the tutorial I used gave no contingency plan for when something goes wrong. I added the path C:\cygwin\bin to my Path ...
1
vote
2answers
40 views
Installing `at` on Cygwin
I am running a bunch of simulations on several machines. Each of these machines posts a "request" to a server, which then sshes back into this machine to schedule a run of the appropriate simulation.
...
1
vote
1answer
117 views
Configure OpenSSH to use a non-windows account for authentication?
Is there anyway to configure OpenSSH to use a non-windows account for authentication? I want to create a kind of virtual user, where I can login with credentials I've created specifically to login in ...
2
votes
1answer
139 views
Zsh in Cygwin 1.7
When starting Zsh as the shell in Cygwin 1.7, I get the escape characters in plain text. When using Zsh with the -l option, this is resolved. Why is this?
As you can see, the terminal renders the ...
0
votes
1answer
118 views
Cygwin+Mintty password prompt problems
The latest version of Cygwin doesn't use the windows command prompt by default, but Mintty instead. Initially, I loved mintty because it is much more reponsive and pastes on middle click. However, ...
0
votes
1answer
109 views
Access cygwin filesystem from host windows?
When running cygwin, it has it's internal virtual filesystem mappings which are visible to linux programs (well, ports) running inside cygwin. Accessing the host windows filesystem from within cygwin ...
2
votes
1answer
77 views
Opening PHP files in vim gives me error: E108: No such variable: “b:current_syntax”
I'm running cygwin on my Windows box, and everytime I open up a php file using vim, i get this error:
sendgrid-test.php" 7L, 46C
Error detected while processing /usr/share/vim/syntax/php.vim:
line ...
2
votes
2answers
654 views
How can I delete the cygwin folder on my c drive?
I have a folder called C:\cygwin. How can I delete this folder.
It says I need permission from the administrator. However I am logged in as administrator.
0
votes
2answers
106 views
Installing shogun on windows xp
I want to install Shogun on Windows XP, and getting the following error in Cygwin 2.0. I have already successfuly issued a ./configure command, and make command.
$ make install
make -C shogun ...
4
votes
2answers
419 views
cygwin ssh shortcut on windows desktop
I have multiple servers that I need to remote into.
I prefer Cygwin over Putty to do so.
Anyhows - the process of opening my cool Mintty window and then typing the following commands takes too long.
...
3
votes
1answer
115 views
Starting Cygwin in arbitrary directory?
Is it possible to set up Cygwin so that if I call Cygwin.bat from an arbitrary path using arbitrary Windows-native launching method (cmd.exe, Total Commander' command line), it will start bash ...
1
vote
1answer
1k views
Use Linux ping in Cygwin
I need to work with a script that uses the ping command with its ordinary Linux syntax, neither Cygwin's default package or the Windows ping utility will work. For now, I've patched the script to ...
0
votes
1answer
106 views
How do I send SIGKILL on cygwin in GNU Screen?
I have recently started using GNU screen on cygwin, but the functionality to terminate a foreground process with CTRL-C does not seem to work when there is an active screen session. Is there a ...
0
votes
1answer
487 views
How can I make files I check out with git on Windows writable by default in Cygwin?
I'm developing on Windows and I prefer to run git and build commands from the Windows command line, but I also enjoy using cygwin sometimes when I want to just explore the project repository using my ...
0
votes
1answer
137 views
Cygwin shell is overriding my Windows shell
I'm not sure what I did, but I've somehow got Cygwin installed in such a way that even when I try to run an ordinary windows shell, Cygwin is interfering. I have batch scripts that I want to run in ...
2
votes
2answers
227 views
Copy all files from a directory tree into one directory
I'm running on Windows but have Cygwin so Windows or simple Linux versions are both OK.
My camera-phone stores images in a directory tree based on date, but still appears to name each file uniquely. ...
1
vote
1answer
356 views
rsync error: exit code 23 ( No such file or directory (2) )
Rsync reports error for one file (other files were copied just fine):
rsync: stat "//serverName/destination/.lpt$vpn.251.yiOK8j" failed: No such file or directory (2)
rsync: rename ...
1
vote
0answers
86 views
Windows Access is Denied to file created via ssh
I have a Windows server with cygwin installed and an sshd server running. I SSH in, and execute the following lines:
echo "Hello World!" > /cygdrive/c/Users/Administrator/Documents/helloworld.txt
...
1
vote
1answer
147 views
Cygwin file and directory user and group
I use Cygwin as my main development environment on both my home and work computers.
In order to share files between the two computers, I use Dropbox, which is installed in the following folder on ...
1
vote
3answers
157 views
How do I send a command to a Linux box from a Windows box in a script?
The problem: I have a backup program (BackupAssist) that can run scripts automatically after a backup. I want to automatically shut down the computer that stores my offsite backups after the backup ...
2
votes
2answers
751 views
How do I prevent Cygwin's XWin Server automatically starting xterm?
Whenever I start Cygwin's X server using the "XWin Server" link in my Start menu, or by running startxwin from a Cygwin shell, I automatically get an xterm window appearing, which I neither want nor ...
4
votes
4answers
2k views
How to kill a windows process in a cygwin terminal?
I have a problem regarding how to kill a process in cygwin on windows. I am completely new to cygwin. But i have a task that i simply cant kill. i have tried issuing the following commands:
kill 4568
...
3
votes
1answer
395 views
Cygwin + zsh: Home and End keys not working
I cannot get Home and End keys to work for zsh under Cygwin. Various sources seem to suggest that
bindkey '\e[1~' beginning-of-line
bindkey '\e[4~' end-of-line
will fix the problem but this does ...
4
votes
1answer
242 views
BSOD during Cygwin install
I have been running Cygwin (1.7.7) under Windows Vista 64-bit, SP2 for at least a year, and had no problems with my installation at all until today.
When I tried to install apt-cyg, I realized that I ...
0
votes
1answer
875 views
How can I find files that have changed between certain times?
I have windows 7 box with cygwin installed. I have multiple folders with files, within a single root folder. I want to find the list of files that have a time stamp within a specific date time range.
0
votes
0answers
368 views
cygwin syslog server won't start
I'm trying to set up syslog on windows using the instructions here:
http://www.syslog.org/logged/running-syslog-ng-on-windows/
Which worked fine, but now when I try and start the created service, it ...
0
votes
1answer
177 views
SSH rapid keypresses cause disconnect
I often work directly on a server in vim via ssh for small changes to sites, etc. However often if I input a lot of keypresses rapidly (such as holding down a page dn, scrolling my mouse wheel or ...
0
votes
3answers
877 views
Open a text file in cygwin's VIM
Is there any way to configure Windows to open text files in Cygwin's VIM instance? I am currently using GVIM but I find it limiting for many reasons. Unfortunately, I can't just install Debian on this ...
2
votes
3answers
515 views
Is there a way for cygwin to access a Linux (ext3) partition?
I'd like to be able to access a Linux partition through cygwin on Windows. My purpose is to backup data from a Linux server to my home computer running Windows 7. Right now it mostly works, except ...
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 ...