Hi mates,
On both, my Cygwin and my Linux box (Debian) I'm experiencing same issue:
I'm working in a shell script with some kind of formatting ids, I want to add a backslash () before a slash occurrence (/).
My sed script is working well at my terminal:
# export someid="314-12345/08"
# echo "${someid}" | sed 's/\//\\\//'
Output:
3...
I wanted to use the Python installed under cygwin rather than one installed under WinXP directly, so I edited ~/.bashrc and sourced it. Nothing changed. I tried other things, but nothing I did changed $PATH in any way. So I rebooted. Aha; now $PATH has changed to what I wanted.
But, can anyone explain WHY this happened? When do cha...
Pythons installed under WinXP have dirs like DLLs, DOC, include, etc. but python (2.5) installed with cygwin is a bare python.exe. My motivation for asking is that 'things' under XP don't seem to be finding 'other things' under cygwin and vice versa, I want to start developing with Qt, I like shells, and I do not like MS; I thought if I...
Our work machines are moving to vista so I am struggling through installing cygwin. After setting the proxy on the installer manually instead of using "use IE5 settings" and running the following command:
mkpasswd -l -c > /etc/passwd; mkgroup -l -d > /etc/group
I finally have a "working" version of cygwin.
However, when I type exi...
I'm having what I hope to be a simple problem. However, it's had me stumped all day.
I'm working with cruisecontrol in windows, being set up through Cygwin. I have some CC experience in the linux platform and much of what I'm doing is very similar. However, most any command I try to execute in the config.xml file's Schedule section i...
We have an automated build, managed by Hudson (1.312), that's got a few layers. On the slaves:
codewarrior cc/ld and other tools (some in-house), run by
a few recursive Cygwin GNU make 3.81 instances, run by
Hudson "execute windows batch command" (so cmd.exe running a batch file that hudson creates, as near as I can tell), run by
Huds...
I just installed cygwin with C++ compiler and Perl on my windows machine. Whenever
trying to compile the C++ files with the makefile I get the following error:
>make
Cant find C:\Program on PATH
Not sure what path is exactly missing and where I can change it...
...
I'm wondering if anyone can point me at resources dealing with the low(ish) level mechanics of how output rediction works in bash. Unfortunately, I've only been able to turn up pages and pages of the basic "> sends output to a file" guides, but nothing seems to go into more detail than that.
In particular, I'm facing a strange situatio...
Hi,
Python is 'hanging' when I try to import a c++ shared library into the windows version of python 2.5 and I have no clue why.
On Linux, everything works fine. We can compile all of our C++ code, generate swig wrapper classes. They compile and can be imported and used in either python 2.5 or 2.6. Now, we are trying to port the cod...
Hello I installed cygwin on Windows XP so I can use Unix command in Console2.
I also installed Ruby on Rails without much of problem.
Then I tried to run the 'ruby /script/server' command, and I got the following error:
$ ruby /script/server
c:\ruby\bin\ruby.exe: No such file or directory -- /script/server (LoadError)
In order to acc...
I've set up Gitosis on a remote Ubuntu box which I will refer to as linuxserver as my host in the following commands. I'm also connecting from a Windows box using Cygwin.
I followed the instructions according to: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
I had no problems up until I needed to clone...
Here's the situation :
I am writing a SH deployment script that will deploy a website with an RSYNC command in CYGWIN. After the installation, I want to send an e-mail to the development team to say that a deployment has been made with some details. I will use "exim" to send the mail from CYGWIN.
The thing is that, exim is only optio...
Hello,
I would like to send an e-mail using CYGWIN.
I have installed exim and want to use the same config as what I have in Outlook at the moment to send the mail (my company SMTP, my own e-mail, etc) without screwing up Outlook in the process.
Is that possible ?
Note that the SH script that will send the mail MUST be installed o...
I am trying to call a bash command through a user account with PsExec. Cygwin is being used, and I am trying to run a command from SQL:
exec master..xp_cmdshell 'psexec -u cyg_server -p <pwd> -accepteula "bash script.sh"';
However, I get the following error from psexec:
Access is denied.
PsExec could not start bash script.sh...
I have a java program that I would like to be able to run from anywhere on my machine. I would like to run it from my Cygwin command prompt. I've made scripts to call the java program. I added the location of the java program to the classpath, and the scripts work when I run them from the java program's directory. However, when I try...
I want to run spawn command through Cygwin but it's not working.
So let me know what is the process to run that command.
Also while installing Cygwin I am not able to find package related to
Spawn.
Please provide answer as soon as possible.
Thanks in advance.
...
I have a small script that I use to resize all of the images in a directory. I run this script in cygwin and it uses "convert" to do the image resizing. The images change their resolution just fine, but I am having problems with file sizes after the script is run.
I typically use this script to resize images dumped out from a Powerpoi...
#!/bin/bash
echo "Testing"
cd "/cygdrive/x/Internal Communications/Riccardo/"
filename=htdocs-`date +%A`.tar.gz
tar cvzf $filename "/cygdrive/c/Program Files/Zend/Apache2/htdocs"
The above script is working when it is called inside cygwin console, but when I try to call it from a bacth file is get command not found for date and tar com...
SSH on Cygwin intermittently freezes before requesting password authentication. I would be grateful for a way to track down the error: is there a log file I can check, or a website that explains this problem? Thanks in advance for your help :)
When SSH freezes, it looks as follows:
# My command input
ssh -l $username $ip_address -v...
python purple says it needs dbms and debhelper in order to run, but I don't run debian. Is there a way to get this running on a different linux? or in cygwin?
...