Re: copying a million tiny files?

2007-11-02 Thread Richard Copley
Portability to non-Windows systems is of course a problem but xcopy is present on every install of Windows that has ever existed going back to some very old version of MS-DOS so it is probably one of the most portable commands in existance on this platform. Well, you'd think.

Re: copying a million tiny files?

2007-11-02 Thread Brian Dessent
Richard Copley wrote: Well, you'd think. Just because they made an improved version of the command in Vista doesn't mean that the old xcopy ceases to work or to be just as portable as it's always been. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

gvim: how to end STDIN input

2007-11-02 Thread red
Hi List, This is my first post. I've spent 2 days researching this simple problem, to no avail: SITUATION: I have a (external) perl script that I call from vim/gvim (:!scriptname) to ftp the current buffer to a server. I run gvim by first running 'startx', and then from 'x', I run gvim.

Python 2.4 libraries with Python 2.5

2007-11-02 Thread Frodak Baksik
Hi, Is there a way to get Python 2.5 to use libraries installed in Python 2.4 /usr/lib/python2.4/site-packages? I was trying to use bzr-gtk that I downloaded, it relies on the cygwin package pygtk which installs into /usr/lib/python2.4/site-packages, but the version of python I have installed is

Re: Cygwin1.dll

2007-11-02 Thread Brian Dessent
Reply to the mailing list, not to me. [EMAIL PROTECTED] wrote: Hi Brian thank you very much for your answer. Why then, when I build with borland say, there is no such dependancy and I can just give that exe to anyone and it just works? It still has a dependency on a C runtime library, it's

Re: Awk scripts that worked on previous cygwin installs are no longer working

2007-11-02 Thread Tony Richardson
Daniel So so_whing at yahoo.com writes: I use Cygwin to run simple awk scripts. I have several scripts that have worked previously on my installation of Cygwin. Recently I had to have my XP OS re-installed and now the scripts no longer work. The scripts still work on my other Cygwin installs.

Searching for apps in cygwin by keyword

2007-11-02 Thread Hussein Patwa
Hello, Firstly apologies if this has been asked before, I did search the archive, Google and various tutorials but did not find a clear answer. Of course there are lots of apps included in the cygwin distribution. My question is, how does one search to find what apps are installed that fulfill a

RE: High CPU usage on posix_fallocate call - CVS version

2007-11-02 Thread Rob Bosch
I found on MSDN that Windows has the capfilealloc function in all Windows OS versions. This function was designed to create a preallocated capture file of a specified size. It seems like this would accomplish what cygwin needs with the posix_fallocate function? I'm sure it is more complicated

detecting elevation of a process running in bash in vista

2007-11-02 Thread Kurt Franke
Hi, does anyone found a methode to detect if a bash process is running so-called elevated with cygwin on windows vista ? it would be a nice feature setting the prompt to a value reflecting this like done when running as root under an unix os. or to modify the windows title to reflect the fact

ssh and vista

2007-11-02 Thread Mark Rutten
I've just got a brand new machine with vista. On my previous machines (WinXP) I've installed cygwin to ssh to my linux box, without any problems. I've installed cygwin and openssh on the new machine and things seem to work fine, BUT once I've logged on to the other machine with ssh I can do

Re: Searching for apps in cygwin by keyword

2007-11-02 Thread Brian Dessent
Hussein Patwa wrote: Of course there are lots of apps included in the cygwin distribution. My question is, how does one search to find what apps are installed that fulfill a certain purpose? For example, I want to see how many apps have Several ideas: 1. Run cygcheck -p keyword which will

GCC and C program use help

2007-11-02 Thread madskier8806
I am very very very new at this, just taking my first class in C programming in UNIX. Anyway, I am trying to use Cygwin, on my local machine since I will be away from internet access and will not be able to connect to my universities UNIX system. I am having trouble getting my programs to run,

rename file on cygwin

2007-11-02 Thread Muhammad Najmi Ahmad Zabidi
Hi all. I have this kind of file name: $ ls *.mp3* agama dan aqidah [EMAIL PROTECTED] -h2cpUXJWMQf1Bj04= Which I want to rename to this: $ ls *.mp3*|awk -F@* {'print $1'} agama dan aqidah b.mp3 I tried to use for loop but since the old name contains spaces, I've to deal with the spaces as

Re: GCC and C program use help

2007-11-02 Thread Mark Rutten
From: madskier8806 [EMAIL PROTECTED] Sent: Saturday, 3 November, 2007 5:06:35 PM it compiles correctly, then I try what normally works on my normal UNIX system $ project1 and I get an error bash: project1:command not found. I think you'll find that the problem is that you're current