[ANNOUNCEMENT] Updated: sysvinit-2.86-10: A System-V Init Clone

2010-03-02 Thread Dr. Volker Zell
Hi A new version of 'sysvinit' has been uploaded to a server near you. Cygwin NEWS: o Changed /bin/sh -> /bin/bash in /bin/init-config (see http://cygwin.com/ml/cygwin/2010-02/msg00225.html) o Rebuild for cygwin 1.7.1 with gcc-4 o The segmentation violation mentioned in this

Re: Cygwin's svn appends unwanted .exe to file name on checkout

2010-03-02 Thread Spiro Trikaliotis
Hello David, * On Mon, Mar 01, 2010 at 09:45:46AM -0800 David Rothenberger wrote: > On 3/1/2010 5:43 AM, Alan Burn wrote: > So I think I've made a little progress here. I still don't have a > solution, but I can now reproduce the problem. Doesn't cygwin 1.7 add the .exe suffix when writing (so

[no subject]

2010-03-02 Thread Thomas Berger
> * On Mon, Mar 01, 2010 at 09:45:46AM -0800 David Rothenberger wrote: >> On 3/1/2010 5:43 AM, Alan Burn wrote: > >> So I think I've made a little progress here. I still don't have a >> solution, but I can now reproduce the problem. > > Doesn't cygwin 1.7 add the .exe suffix when writing (some?

Re: Setup fails with 1.7 upgrade attempt

2010-03-02 Thread Csaba Raduly
On Mon, Mar 1, 2010 at 9:39 PM, wrote: > $ wget -S http://www.tug.org > $ Try it with wget -d -S http://www.tug.org (if cygcheck reports no missing DLL) -- Life is complex, with real and imaginary parts -- Problem reports: http://cygwin.com/problems.html FAQ: http://

Re: Cygwin's svn appends unwanted .exe to file name on checkout

2010-03-02 Thread Corinna Vinschen
On Mar 2 11:33, Thomas Berger wrote: > > * On Mon, Mar 01, 2010 at 09:45:46AM -0800 David Rothenberger wrote: > >> On 3/1/2010 5:43 AM, Alan Burn wrote: > > > >> So I think I've made a little progress here. I still don't have a > >> solution, but I can now reproduce the problem. > > > > Doesn'

cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.

2010-03-02 Thread wu andy
In cygwin 1.7.1, when I use "bash promt here" at a directory which's name contains unicode charactor, there's wrong. But it's right under cygwin 1.5.x. Below is my example. C:\Users\andy>C:\cygwin\bin\bash -c "/bin/xhere /bin/bash.exe 'd:\我的工作'" cygwin warning: MS-DOS style path detected: /bin/x

Re: cron fails to run as a service

2010-03-02 Thread Pierre A. Humblet
At 02:13 AM 3/2/2010, Paul McFerrin wrote: I've been using "cron" for more that a few weeks without any problems, until my needs changed. I installed cron as a service using "cygrunsrv". I keep getting errors about creating lockfile. I removed the lockfile but it got created again. At firs

Re: Directory named "." created at /: seems to have happened during update

2010-03-02 Thread Michael Hennebry
On Mon, 1 Mar 2010, Thomas Wolff wrote: On 01.03.2010 16:24, Fergus wrote: etc all to no avail. And also I see the / after the listing: ls -al /m total 16 drwxr-xr-x 14 fergus ver_1.50 Jan 1 1970 ./ drwxr-xr-x 14 fergus ver_1.50 Jan 1 1970 ./ drwxr-xr-x 15 fergus ver_1.50

RE: Cygwin's svn appends unwanted .exe to file name on checkout

2010-03-02 Thread alan.burn
> -Original Message- > From: cygwin-ow...@cygwin.com > [mailto:cygwin-ow...@cygwin.com] On Behalf Of David Rothenberger > Sent: 01 March 2010 17:46 > So I think I've made a little progress here. I still don't > have a solution, but I can now reproduce the problem. > I've attached anoth

Re: How to delete a file without owner and group?

2010-03-02 Thread Charles D. Russell
On 3/2/2010 3:15 AM, Larry Hall (Cygwin) wrote: Does answer your question? Is there a short answer, one that does not require understanding how it all works? One thing I like about Cygwin is that I don't have to learn anything about Wi

Setup fails with 1.7 upgrade attempt -- CLOSING OUT.

2010-03-02 Thread chethcoat
> I can find no direct information on this problem anywhere, so now > I'm writing you. My computer is an Intel Pentium(R) 4, 3.4 Ghz and > 1GB RAM. The OS is MS Windows XP 2002, SP2. I've been happily > running Cygwin for 8 years, and it looks like it's time to upgrade > to Cygwin 1.7. > I su

Re: Cygwin's svn appends unwanted .exe to file name on checkout

2010-03-02 Thread David Rothenberger
On 3/2/2010 3:58 AM, Corinna Vinschen wrote: The .exe suffix is added if all of the below is true: - The file is renamed via the rename(2) function. - The name does not only change by case on a caseinsensitive mount. - The file is a binary checked with the Win32 function GetBinaryType, and th

Using setup.exe for a different computer

2010-03-02 Thread Merek Thorondursson
Using setup.exe for a different computer Tuesday March 02, 2010 I have looked through the FAQ's and archives for a solution to my problem, but have gotten hopelessly lost and cannot find anyone with the same problem. The closest I found was a (rather interesting) 2003 post about a CD installation

Re: cron fails to run as a service

2010-03-02 Thread Pierre A. Humblet
- Original Message - From: "Paul McFerrin" < To: "Pierre A. Humblet" Sent: Tuesday, March 02, 2010 12:03 | Pierre A. Humblet wrote: | > | > Some of your problems are due to launching a new cron daemon while an | > old one is still running. | | What "old" cron. This is the firts setup

Re: How to properly set up /etc/passwd and /etc/group

2010-03-02 Thread Pavel Kudrna
Wes Barris wrote: Hi Pavel, I don't think that I understood anything you said. I've never run something called "Sysprep" (whatever that is). Are you suggesting that I need to run "cacls ..."? What exactly will that do? Hi Wes, no problem if you don't understand. My reaction was to your senten

Re: Cygwin's svn appends unwanted .exe to file name on checkout

2010-03-02 Thread Corinna Vinschen
On Mar 2 09:16, David Rothenberger wrote: > On 3/2/2010 3:58 AM, Corinna Vinschen wrote: > >The .exe suffix is added if all of the below is true: > > > >- The file is renamed via the rename(2) function. > >- The name does not only change by case on a caseinsensitive mount. > >- The file is a binar

Re: Cygwin's svn appends unwanted .exe to file name on checkout

2010-03-02 Thread David Rothenberger
On 3/2/2010 9:55 AM, Corinna Vinschen wrote: > On Mar 2 09:16, David Rothenberger wrote: >> On 3/2/2010 3:58 AM, Corinna Vinschen wrote: >>> The .exe suffix is added if all of the below is true: >>> >>> - The file is renamed via the rename(2) function. >>> - The name does not only change by case o

Re: Using setup.exe for a different computer

2010-03-02 Thread Christopher Faylor
On Tue, Mar 02, 2010 at 09:23:43AM -0800, Merek Thorondursson wrote: >Using setup.exe for a different computer >Tuesday March 02, 2010 > >I have looked through the FAQ's and archives for a solution >to my problem, but have gotten hopelessly lost and cannot >find anyone with the same problem. The c

Re: Using setup.exe for a different computer

2010-03-02 Thread Peter A. Castro
On Tue, 2 Mar 2010, Merek Thorondursson wrote: Greetings, Merek, Using setup.exe for a different computer Tuesday March 02, 2010 I have looked through the FAQ's and archives for a solution to my problem, but have gotten hopelessly lost and cannot find anyone with the same problem. The closest

Re: cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.

2010-03-02 Thread Dave
wu andy wrote: > In cygwin 1.7.1, when I use "bash promt here" at a directory which's > name contains unicode charactor, there's wrong. But it's right under > cygwin 1.5.x. > > Below is my example. > C:\Users\andy>C:\cygwin\bin\bash -c "/bin/xhere /bin/bash.exe 'd:\我的工作'" > cygwin warning: > MS-

Re: cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.

2010-03-02 Thread Christopher Faylor
On Tue, Mar 02, 2010 at 06:44:45PM +, Dave wrote: >Also, is the d:\ within quotes later in the command erronously >triggering the nodosfile warning? I'm not expecting to see it here. I guess this is a FAQ. The error message comes from an attempt to do a file access using an MS-DOS path. It

Re: cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.

2010-03-02 Thread Dave
Christopher Faylor wrote: > On Tue, Mar 02, 2010 at 06:44:45PM +, Dave wrote: >> Also, is the d:\ within quotes later in the command erronously >> triggering the nodosfile warning? I'm not expecting to see it here. > > I guess this is a FAQ. The error message comes from an attempt to do a >

Re: How to delete a file without owner and group?

2010-03-02 Thread Larry Hall (Cygwin)
On 3/2/2010 11:51 AM, Charles D. Russell wrote: On 3/2/2010 3:15 AM, Larry Hall (Cygwin) wrote: Does answer your question? Is there a short answer, one that does not require understanding how it all works? One thing I like about Cygwin i

Re: cygwin 1.7.1: "bash prompt here" can't be used at directory which's name contains unicode charactor.

2010-03-02 Thread Christopher Faylor
On Tue, Mar 02, 2010 at 06:57:39PM +, Dave wrote: >Christopher Faylor wrote: >> On Tue, Mar 02, 2010 at 06:44:45PM +, Dave wrote: >>> Also, is the d:\ within quotes later in the command erronously >>> triggering the nodosfile warning? I'm not expecting to see it here. >> >> I guess this i

Re: How to delete a file without owner and group?

2010-03-02 Thread Charles D. Russell
On 3/2/2010 6:16 PM, Larry Hall (Cygwin) wrote: information that would help to clarify and resolve the actual problem. Any chance you could file a problem report that might help in that regard? Sorry, the original poster will have to answer that one. I don't have the problem; I'm just a bys

Re: Resolving '????????' users and groups

2010-03-02 Thread Wes Barris
Andrew DeFaria wrote: On 03/01/2010 09:57 PM, Wes Barris wrote: I'm trying to find a solution for my files being listed with '' as the owner and group: -rw-r--r-- 1 137894 2010-02-25 11:34 1536.gff The following page partially addresses this: http://www.cygwin.com/

Re: Resolving '????????' users and groups

2010-03-02 Thread DePriest, Jason R.
On Tue, Mar 2, 2010 at 4:24 PM, Wes Barris <> wrote: > mkpasswd -d would return all of the domain users (we have thousands). > However, I know that these files are not owned by anyone else. > The files in question are coming from a samba share (mapped network > drive) served from a Linux system. >

Re: Problems with qt4, requiring local repair

2010-03-02 Thread Dave Korn
On 01/03/2010 21:47, Paul Bibbings wrote: > cyggcc_s-sjlj-1 was not a Cygwin lib. It does seem, however, that I > will have to go round for another build on a couple of my compilers > since I did indeed miss --disable-sjlj-exceptions on gcc-4.4.3 and the > gcc-4.5.0 snapshot (and a few other thin

Re: How to properly set up /etc/passwd and /etc/group

2010-03-02 Thread Dave Korn
On 01/03/2010 23:08, Wes Barris wrote: > Dave Korn wrote: >> On 01/03/2010 05:05, Wes Barris wrote: >> >>> What I normally end up doing is to list the directory with the '-n' >>> option that shows me the uid and gid information (in this case >>> both are 4294967295. I manually edit the /etc/passwd

Re: How to properly set up /etc/passwd and /etc/group

2010-03-02 Thread Wes Barris
Dave Korn wrote: On 01/03/2010 23:08, Wes Barris wrote: Dave Korn wrote: On 01/03/2010 05:05, Wes Barris wrote: What I normally end up doing is to list the directory with the '-n' option that shows me the uid and gid information (in this case both are 4294967295. I manually edit the /etc/pas

Shared home dir, samba, and workgroups

2010-03-02 Thread Wes Barris
I use Cygwin 1.7 on my XP desktop system at work. I like having the same home directory on this Windows XP system as I do on our Unix server. The Windows XP system is a member of a domain. The Unix server is not. The Unix server is running Samba and is configured with a workgroup name. My hom

Re: Resolving '????????' users and groups

2010-03-02 Thread Dave Korn
On 02/03/2010 05:57, Wes Barris wrote: > I'm trying to find a solution for my files being listed with '' > as the owner and group: > > -rw-r--r-- 1 137894 2010-02-25 11:34 1536.gff > > The following page partially addresses this: > > http://www.cygwin.com/cygwin-ug-net

Re: How to delete a file without owner and group?

2010-03-02 Thread Dave Korn
On 02/03/2010 16:51, Charles D. Russell wrote: > On 3/2/2010 3:15 AM, Larry Hall (Cygwin) wrote: >> >> Does >> answer your question? >> > > Is there a short answer, one that does not require understanding how it > all works? One thing I like

mintty colors

2010-03-02 Thread Gary Johnson
I have downloaded mintty-0.6-beta2-cygwin15.zip and read mintty-0.5.8.pdf, but I don't see a way to change the ANSI color palette other than to send escape sequences. I could echo the escape sequences in my ~/.bashrc, but mintty isn't the only terminal I use. I could wrap mintty in a shell script

Re: How to properly set up /etc/passwd and /etc/group

2010-03-02 Thread Dave Korn
On 03/03/2010 00:34, Wes Barris wrote: > My W: drive is a mapped network drive. However, it is mapped to a > share coming from the same physical computer. This drive contains > all of my data including a folder that I wish to use as my home > directory (W: is mapped to //mycomputer/share/home).

pipes are still buggy in 1.7

2010-03-02 Thread Paul McFerrin
Hi folks: I've been tryinh to get the following code to work. What I trying to do is to run a ps command 2 times (with 3 secs separation) and have the awk program capture the output kill all processes for a shutdown script. Something is hanging. It does not run and control-C & controol-\ do

Re: Resolving '????????' users and groups

2010-03-02 Thread Wes Barris
Dave Korn wrote: On 02/03/2010 05:57, Wes Barris wrote: I'm trying to find a solution for my files being listed with '' as the owner and group: -rw-r--r-- 1 137894 2010-02-25 11:34 1536.gff The following page partially addresses this: http://www.cygwin.com/cygwin-ug

Re: How to properly set up /etc/passwd and /etc/group

2010-03-02 Thread Wes Barris
Dave Korn wrote: On 03/03/2010 00:34, Wes Barris wrote: My W: drive is a mapped network drive. However, it is mapped to a share coming from the same physical computer. This drive contains all of my data including a folder that I wish to use as my home directory (W: is mapped to //mycomputer/s

"tail" command does not work as advertised

2010-03-02 Thread Paul McFerrin
The "tail +4" commands does not work as advertised. When given such command (advertised in man command), it complains it can't open the file. With the command "tail +5 -", it produces the desired output with some junk on standard output. See examples: $ ps -a | tail +5 - tail: cannot open `

Re: How to delete a file without owner and group?

2010-03-02 Thread Charles D. Russell
On 3/2/2010 8:22 PM, Dave Korn wrote: Cygwin can't override the permissions enforced by the OS. It attempts to /use/ those permissions to model the posix user/group/world model, but if a file was created outside cygwin (i.e. in windows itself) there's no guarantee the permissions set on it

Re: Problems with qt4, requiring local repair

2010-03-02 Thread Paul Bibbings
Dave Korn writes: > On 01/03/2010 21:47, Paul Bibbings wrote: >> On the current problem, having tidied up the libraries, I can get a >> basic Qt4 app to build, but I'm not getting any joy running it. It >> merely hangs at a point that I am still trying to trace through >> debugging with gdb; and

Re: "tail" command does not work as advertised

2010-03-02 Thread Chris Sutcliffe
> The "tail +4" commands does not work as advertised. When given such command > (advertised in man command), it complains it can't open the file. With the > command "tail +5 -", it produces the desired output with some junk on > standard output. As per the tail manpage: -n, --lines=N

Re: Resolving '????????' users and groups

2010-03-02 Thread Larry Hall (Cygwin)
On 3/2/2010 9:21 PM, Wes Barris wrote: Dave Korn wrote: Do you *actually* own the files? What kind of drive is this; network or local? NTFS or FAT? This is a second drive in my XP system. The drive contains all of my data. One of the folders/directories on this drive is what I use as my ho

Re: Resolving '????????' users and groups

2010-03-02 Thread Wes Barris
Larry Hall (Cygwin) wrote: On 3/2/2010 9:21 PM, Wes Barris wrote: Dave Korn wrote: Do you *actually* own the files? What kind of drive is this; network or local? NTFS or FAT? This is a second drive in my XP system. The drive contains all of my data. One of the folders/directories on this

Re: "tail" command does not work as advertised

2010-03-02 Thread Eric Blake
According to Chris Sutcliffe on 3/2/2010 8:01 PM: >> The "tail +4" commands does not work as advertised. When given such command >> (advertised in man command), it complains it can't open the file. With the >> command "tail +5 -", it produces the desired output with some junk on >> standard outpu

Re: Resolving '????????' users and groups

2010-03-02 Thread Larry Hall (Cygwin)
On 3/2/2010 10:25 PM, Wes Barris wrote: Larry Hall (Cygwin) wrote: On 3/2/2010 9:21 PM, Wes Barris wrote: Dave Korn wrote: Do you *actually* own the files? What kind of drive is this; network or local? NTFS or FAT? This is a second drive in my XP system. The drive contains all of my data

Re: Resolving '????????' users and groups

2010-03-02 Thread Wes Barris
Larry Hall (Cygwin) wrote: On 3/2/2010 10:25 PM, Wes Barris wrote: Larry Hall (Cygwin) wrote: On 3/2/2010 9:21 PM, Wes Barris wrote: Dave Korn wrote: Do you *actually* own the files? What kind of drive is this; network or local? NTFS or FAT? This is a second drive in my XP system. The

Re: "tail" command does not work as advertised

2010-03-02 Thread Todd Stansell
This is a side affect of the change to the newer POSIX standard. For instance, to use the old standard: 503:$ _POSIX2_VERSION=199209 504:$ export _POSIX2_VERSION 505:$ ps -a | tail +5 2864 12864 2864 con 718399 19:26:01 /usr/bin/rxvt 76122864

Re: mintty colors

2010-03-02 Thread Reid Thompson
On 3/2/2010 9:07 PM, Gary Johnson wrote: I have downloaded mintty-0.6-beta2-cygwin15.zip and read mintty-0.5.8.pdf, but I don't see a way to change the ANSI color palette other than to send escape sequences. I could echo the escape sequences in my ~/.bashrc, but mintty isn't the only terminal I

Re: mintty colors

2010-03-02 Thread Reid Thompson
On 3/2/2010 9:07 PM, Gary Johnson wrote: I have downloaded mintty-0.6-beta2-cygwin15.zip and read mintty-0.5.8.pdf, but I don't see a way to change the ANSI color palette other than to send escape sequences. I could echo the escape sequences in my ~/.bashrc, but mintty isn't the only terminal I

Re: mintty colors

2010-03-02 Thread Gary Johnson
On 2010-03-03, Reid Thompson wrote: > On 3/2/2010 9:07 PM, Gary Johnson wrote: > >I have downloaded mintty-0.6-beta2-cygwin15.zip and read > >mintty-0.5.8.pdf, but I don't see a way to change the ANSI color > >palette other than to send escape sequences. I could echo the > >escape sequences in my