Re: 1.7: mv: Device or resource busy

2009-10-28 Thread Spiro Trikaliotis
Hello Denis, * On Wed, Oct 28, 2009 at 12:31:32AM +0100 Denis Excoffier wrote: > Under some circumstances (detailed below), the command: > > mv file1 file2 > produces > mv: cannot move `file1' to `file2': Device or resource busy Bloda? (http://www.cygwin.com/acronyms/) I reported the exact same

Set uid and gid of a file to "root"

2009-10-28 Thread Stern, Eli
Hi, I am developing a diskless embedded system (aka the target) that uses Linux as its Operating system. The target connects directly to my PC (XP). I would like to boot the target to an NFS server, where is will get the file system. I would like to use the Cygwin NFS server in the following ma

Cygwin 1.5 vs. 1.7: tail

2009-10-28 Thread Roland Schwingel
Hi... At present I am using cygwin 1.5 mainly, but I have also started to migrate over to 1.7. Everything works quite well, but I encountered a problem with the tail command. Obviously the + syntax does no longer work in 1.7 In 1.5 when I call eg. tail +3 /path/to/some/file I get the whole

R: Cygwin 1.5 vs. 1.7: tail

2009-10-28 Thread Marco Atzeri
--- Mer 28/10/09, Roland Schwingel ha scritto: > Hi... > > At present I am using cygwin 1.5 mainly, but I have also > started to migrate over to 1.7. Everything works quite well, > but I encountered a problem with the tail command. Obviously > the + syntax does no longer work in 1.7 > > In 1.5

Re: R: Cygwin 1.5 vs. 1.7: tail

2009-10-28 Thread Roland Schwingel
Hi Marco, Thanks for your reply. Marco Atzeri wrote on 28.10.2009 12:05:09: > --- Mer 28/10/09, Roland Schwingel ha scritto: > > > Hi... > > > > At present I am using cygwin 1.5 mainly, but I have also > > started to migrate over to 1.7. Everything works quite well, > > but I encountered a pro

Re: R: Cygwin 1.5 vs. 1.7: tail

2009-10-28 Thread Julio Costa
Hi Roland, On Wed, Oct 28, 2009 at 11:15, Roland Schwingel wrote: > Hi Marco, > > Thanks for your reply. > Quoted e-mail edited; please see http://cygwin.com/acronyms/#PCYMTNQREAIYR > Marco Atzeri wrote on 28.10.2009 12:05:09: >> --- Mer 28/10/09, Roland Schwingel  ha scritto: >> >> the manual

Re: 1.7.0-62: segfault when PATH is not set

2009-10-28 Thread Corinna Vinschen
On Oct 28 00:51, Denis Excoffier wrote: > On 2009-10-19 21:47, Corinna Vinschen wrote: > >On Oct 19 21:18, Denis Excoffier wrote: > >> > >>Hope this helps. > > > >It does. The value of $PATH is used without checking if $PATH > >exists. I fixed that in CVS. > Thank you. Let's wait until 1.7.0-63 n

Cygwin 1.5 vs 1.7: speed

2009-10-28 Thread Roland Schwingel
Hi... When evaluating 1.7 I do also conduct some speed tests with cygwin 1.5. I am using 1.5.25 und 1.7.0-62 on windows xp sp3 32bit here for my tests on a quad core machine with enough ram. It seems that 1.7 is around 10-25% slower in my scenarios here. I did some compilation tests. Each te

Howto set default text file type to DOS/Text under release 1.7 BETA

2009-10-28 Thread Niels Hallenberg
Hi, I have just installed release 1.7 under Windows 7, 64bit. The setup.exe program seems to have changed and you can't any longer set the Default Text File Type to DOS/Text. I have a lot of scripts that won't run under bash as long as the extra CR's are not removed. I know of the tool doc2unix, h

Re: text emacs issues and solution

2009-10-28 Thread Ken Brown
On 10/28/2009 1:52 AM, Kurt Harriger wrote: I was having some trouble with text based emacs under cygwin. The C-x C-c to exit was for some reason being interpreted as C-x C-g. After some googling around I found that export CYGWIN=tty seemed to fix the key sequence, however this also introduced ne

Re: Cygwin 1.5 vs 1.7: speed

2009-10-28 Thread Corinna Vinschen
On Oct 28 12:37, Roland Schwingel wrote: > Any clues? I just made an additional test compiling stock > libxml2-2.6.32 using the stock gcc3 coming with both cygwin versions > and I am coming to roughly the same numbers. Is 1.7 truly slower > than 1.5 or aren't all final optimizations done right now?

Re: Cygwin 1.5 vs 1.7: speed

2009-10-28 Thread Corinna Vinschen
On Oct 28 14:26, Corinna Vinschen wrote: > On Oct 28 12:37, Roland Schwingel wrote: > > Any clues? I just made an additional test compiling stock > > libxml2-2.6.32 using the stock gcc3 coming with both cygwin versions > > and I am coming to roughly the same numbers. Is 1.7 truly slower > > than 1.

command not working

2009-10-28 Thread Kie Kyon Huang
Hi, I just recently install cygwin using the setup.exe. The problem is that i cant seem to use some common command e.g. mkdir, ls without addding ./ in front? I am attaching the cygcheck output here. Did i miss any steps here? Thanks in advance Huang. cygcheck.out Description: Binary data -

Re: command not working

2009-10-28 Thread paul . hermeneutic
On Wed, Oct 28, 2009 at 08:51, Kie Kyon Huang wrote: > The problem is that i cant seem to use some common command e.g. mkdir, > ls without addding ./ in front?  I am attaching the cygcheck output > here. The output appears to show that you do not have Cygwin in your PATH. Are you running this fr

Cygwin 1.7, who version 7.0 does not respond with a value

2009-10-28 Thread Larry W. Virden
when I type the who command within a Cygwin window, only an empty line is returned. The man page states that who prints info about users who are logged in. What I have found so far is that -H returns headers -q returns # users=0 while who with the -a, -b, -d, -l, --lookup, -m, -p, -r, -s, -t,

Re: Cygwin 1.5 vs 1.7: speed

2009-10-28 Thread Roland Schwingel
Hi Corrinna... > On Oct 28 14:26, Corinna Vinschen wrote: > > Whether 1.7 is faster or slower depends on what you're doing and on what > > OS you're running. For instance, scanning local directories is about > > 60% faster in 1.7 while starting lots of processes is about 10% slower > > on Vist

RE: "Permission denied" on /usr/bin/sh when running gmake with multiple jobs

2009-10-28 Thread John Daintree
Hello all, I'm still having this problem but I'm beginning to narrow it down. Here's an example of the error I get: "J:\trunk\svn\apl\win\bin\mk_cc: /cygdrive/j/trunk/svn/apl/allos/bin/verbose: /usr/bin/sh: bad interpreter: Permission denied" I've upgraded to cygwin 1.7, and I'm running this o

Re: text emacs issues and solution

2009-10-28 Thread Larry Hall (Cygwin)
On 10/28/2009 01:52 AM, Kurt Harriger wrote: I was having some trouble with text based emacs under cygwin. The C-x C-c to exit was for some reason being interpreted as C-x C-g. After some googling around I found that export CYGWIN=tty seemed to fix the key sequence, however this also introduced n

Cygwin Vista svn problem STATUS_ACCESS_VIOLATION

2009-10-28 Thread Mark MacVicar
I recently upgraded from XP to Vista and started having problems with svn (aka subversion). \cygwin\bin\svn.exe works when run from a cygwin bash terminal but not from a Windows cmd prompt (not required, but handy to be able to run svn from a cmd prompt when working with visual studio, so that runt

Re: Bash - IF Statement

2009-10-28 Thread Mark J. Reed
You're still sending TOFU. Please stop. On Tue, Oct 27, 2009 at 5:54 PM, briglass111 wrote: > It didn't matter if I believed what I read on the internet or not, I couldn't > get the IF-statement to work, and when I queried a unix user, he wasn't sure Sounds like you need to associate with a bett

Re: Set uid and gid of a file to "root"

2009-10-28 Thread Larry Hall (Cygwin)
On 10/28/2009 05:29 AM, Stern, Eli wrote: Hi, I am developing a diskless embedded system (aka the target) that uses Linux as its Operating system. The target connects directly to my PC (XP). I would like to boot the target to an NFS server, where is will get the file system. I would like to us

Re: R: Cygwin 1.5 vs. 1.7: tail

2009-10-28 Thread Dave Korn
Marco Atzeri wrote: > --- Mer 28/10/09, Roland Schwingel ha scritto: >> I get an error: >> tail: cannot open '+3' for reading: No such file or >> directory. >> >> Is this on purpose or an accident? > probably, the last > > $ tail --version > tail (GNU coreutils) 7.0 > > don't accept any mor

Re: Bash - IF Statement

2009-10-28 Thread Christopher Faylor
On Wed, Oct 28, 2009 at 12:46:40PM -0400, Mark J. Reed wrote: >You're still sending TOFU. Please stop. > >On Tue, Oct 27, 2009 at 5:54 PM, briglass111 wrote: >>It didn't matter if I believed what I read on the internet or not, I >>couldn't get the IF-statement to work, and when I queried a unix us

mkdir differences between 1.5.25 and 1.7

2009-10-28 Thread Egerton, Jim
Hi, I'm seeing a few things with mkdir and acl's I don't quite understand - OS is Server 2008. First, from the shell I see different behaviors with mkdir on 1.5.25 and 1.7. On 1.5.25 ($ filever \\usr\\bin\\cygwin1.dll --a-- W32i DLL ENU 1005.25.0.0 shp 1,872,884 06-12-2008 cygwi

Re: command not working

2009-10-28 Thread Larry Hall (Cygwin)
On 10/28/2009 09:51 AM, Kie Kyon Huang wrote: Hi, I just recently install cygwin using the setup.exe. The problem is that i cant seem to use some common command e.g. mkdir, ls without addding ./ in front? I am attaching the cygcheck output here. Did i miss any steps here? Looks to me like s

Re: Cygwin 1.7, who version 7.0 does not respond with a value

2009-10-28 Thread Larry Hall (Cygwin)
On 10/28/2009 10:04 AM, Larry W. Virden wrote: when I type the who command within a Cygwin window, only an empty line is returned. The man page states that who prints info about users who are logged in. What I have found so far is that -H returns headers -q returns # users=0 while who with the

Re: Bash - IF Statement

2009-10-28 Thread jreidthomps
> before i knew that bash was white-space picky I think most shells are, not just bash > , i thought this may be a cygwin issue because i read a bit about people > saying bash is different in cygwin than in unix where? I've not ran into any instances where cygwin bash varies from unix bash >

Re: Cygwin Vista svn problem STATUS_ACCESS_VIOLATION

2009-10-28 Thread Larry Hall (Cygwin)
On 10/28/2009 12:07 PM, Mark MacVicar wrote: I recently upgraded from XP to Vista and started having problems with svn (aka subversion). \cygwin\bin\svn.exe works when run from a cygwin bash terminal but not from a Windows cmd prompt (not required, but handy to be able to run svn from a cmd promp

Re: Howto set default text file type to DOS/Text under release 1.7 BETA

2009-10-28 Thread Larry Hall (Cygwin)
On 10/28/2009 07:59 AM, Niels Hallenberg wrote: Hi, I have just installed release 1.7 under Windows 7, 64bit. The setup.exe program seems to have changed and you can't any longer set the Default Text File Type to DOS/Text. I have a lot of scripts that won't run under bash as long as the extra CR

Re: Bash - IF Statement

2009-10-28 Thread briglass111
What is wrong with you people? What is the desire to continue posting in this thread? I am a relatively inexperienced cygwin/unix user who had an honest question and you people got so chafed up by it. If you are so insulted or annoyed by my question, then find a mod or something and delete it, or

Re: Bash - IF Statement

2009-10-28 Thread DePriest, Jason R.
On Wed, Oct 28, 2009 at 2:10 PM, briglass111 <> wrote: > > What is wrong with you people? What is the desire to continue posting in this > thread? I am a relatively inexperienced cygwin/unix user who had an honest > question and you people got so chafed up by it. If you are so insulted or > annoyed

Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

2009-10-28 Thread Steven Monai
Corinna Vinschen wrote: > I'm seriously puzzled. Could you please run > > $ strace -o ls.trace ls -l weird/ > > and send the ls.trace file as attachment? Maybe there's some hint > in it. Done. -SM -- 3 3 [main] ls 288 open_shared: name shared.5, n 5, shared 0x60FC (wanted 0x

Re: Rsync link-dest not working for a host with the most recent rsync/cygwin 1.7

2009-10-28 Thread Chris Francy
On Thu, 22 Oct 2009 20:08 PM, Steven Monai wrote: >> Since I don't care about the retaining the >> permissions, and I now have a version of rsync on both sides that >> allows me to use link-dest without copying permissions I am happy. If >> someone wants to continue digging into this further I am

Re: [ANNOUNCEMENT] [1.7] Updated: {ncurses/libncurses9/libncurses-devel/ncurses-demo}-5.7-15

2009-10-28 Thread Eric Backus
Charles Wilson cwilson.fastmail.fm> writes: > > ncurses is a package that provides character and terminal handling > libraries, including 'gui-like' panels and menus. It is often used > instead of termcap. > > This is a packaging bug fix, and an update to latest upstream. > > [[ compiled usin

Re: Rsync link-dest not working for a host with the most recent rsync/cygwin 1.7

2009-10-28 Thread Steven Monai
Chris Francy wrote: > On Thu, 22 Oct 2009 20:08 PM, Steven Monai wrote: >> Could you re-run your Cygwin-1.7 test case with --itemize-changes added >> to the rsync command-line? That should provide a hint at what Debian's >> rsync thinks is different between its existing file copy and Cygwin's >> s

pseudo-hang during postinstall

2009-10-28 Thread Jeffrey Friedl
Hi, Using the latest 1.7 on XP SP3, installs seem to hang during the pre/post install phases, as if it's being blocked by a BLODA. However, it persists even after fully uninstalling any and every security-related item I could find (I didn't have much), stopping and disabling almost every service,

Re: [ANNOUNCEMENT] [1.7] Updated: {ncurses/libncurses9/libncurses-devel/ncurses-demo}-5.7-15

2009-10-28 Thread Charles Wilson
Eric Backus wrote: > I'm getting a segmentation fault when I try to use tput. The program runs > successfully if you just ask it for a version number, or if asked for a non- > existent capability, but gets a seg fault when asked about a real capability. > > $ tput sgr0 > Segmentation fault (core

[ANNOUNCEMENT] Updated: {subversion,subversion-apache2,subversion-devel,subversion-perl,subversion-python,subversion-ruby}-1.6.6-1

2009-10-28 Thread David Rothenberger
NEWS: = This is a new upstream release. See CHANGES (URL below) for more information. IMPORTANT: This release will silently upgrade your Subversion working copies to the 1.6 format, rendering them unusable with previous major versions of Subversion. Please see the release notes http://subv

[ANNOUNCEMENT] [1.7] Updated: {subversion,subversion-apache2,subversion-devel,subversion-perl,subversion-python,subversion-ruby}-1.6.6-2

2009-10-28 Thread David Rothenberger
A new version of subversion is now available for download. This version is built for Cygwin 1.7. CYGWIN NEWS: There was one test failure with Cygwin 1.7. * All tests hang using the serf HTTP library. This package still includes support for serf, but if you encounter problems, plea

Re: pseudo-hang during postinstall

2009-10-28 Thread Larry Hall (Cygwin)
On 10/28/2009 09:36 PM, Jeffrey Friedl wrote: Once it's working, it's working, except that I can't start sshd as a service. If I open a shell and run /usr/sbin/sshd by hand, it's fine. Does any of this ring a bell? Other than the part about sshd, no. As for sshd, since you've run it by hand,

Symbolic links on NTFS with real symbolic links

2009-10-28 Thread Neil Mowbray
Dear Folks, On NTFS systems that support real symbolic links (eg those with Vista) the comand ln -s does *not* create a native symbolic link merely an old style shortcut. Will ln -s be chansed to support native symbolic links? Also rm removes the target of the symbolic link not the link file. I

Re: Symbolic links on NTFS with real symbolic links

2009-10-28 Thread Larry Hall (Cygwin)
On 10/29/2009 01:26 AM, Neil Mowbray wrote: Dear Folks, On NTFS systems that support real symbolic links (eg those with Vista) the comand ln -s does *not* create a native symbolic link merely an old style shortcut. Will ln -s be chansed to support native symbolic links? No, not until, at leas