problem to read files

2004-09-16 Thread the_ram_man vädursmannen
Maybe I´m at the wrong mailinglist here but this is my problem. I wrote a c-applicaton using cygwin and gcc. I used text files, in a subdirectory, to fed input into my application. This all worked fine untill I desided to update cygwin. Then suddenly the application wasn´t able to read the input

Re: Cygwin licensing issue

2004-09-16 Thread lorenzo . delana
>-- Messaggio originale -- >Date: Wed, 15 Sep 2004 11:05:12 +0200 >From: Corinna Vinschen <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Cygwin licensing issue >Reply-To: [EMAIL PROTECTED] > > >On Sep 15 10:42, [EMAIL PROTECTED] wrote: >> >> There is someone that can make me understand w

Re: Problem in Cygwin-X...

2004-09-16 Thread Peter Rehley
On Sep 16, 2004, at 10:38 PM, Moises Deangelo wrote: Please I installed cygwin in my windows 2000 with service pack 4. I download the complete version of cygwin. But the graphic interface does not work by any means Cygwin-X does not run. Any applications do not accuse no mistake, simply do not init

Problem in Cygwin-X...

2004-09-16 Thread Moises Deangelo
Please I installed cygwin in my windows 2000 with service pack 4. I download the complete version of cygwin. But the graphic interface does not work by any means Cygwin-X does not run. Any applications do not accuse no mistake, simply do not initiate. Other introduce the following mistake: RUN

Re: Cygwin processes getting stuck on max CPU usage; XP SP2 problem?

2004-09-16 Thread Brian Dessent
Joe Krahn wrote: > > I use SysInternal's Process Explorer a lot. After > installing XP SP2, if I browse Cygwin processes in > ProceExp, I can no longer get the list of loaded > DLLs, and they get stuck at max CPU usage along > with csrss.exe. > > The CygWin processes continue working OK, but the

Re: So how do you uninstall Cygwin?

2004-09-16 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > > It occurred to me, while trying to work out why ssh isn't working on a > laptop that we installed Cygwin on recently, to wonder whether the > information at http://cygwin.com/faq/faq_2.html#SEC19 (How do I uninstall > all of Cygwin?) could be a little more helpful. >

Re: some cygwin in wine

2004-09-16 Thread Brian Dessent
"Gerrit P. Haase" wrote: > > Hello Jan, > > > Just a quick note because I didn't see a success report before, > > some Cygwin stuff starts to work with Wine. > > Is this Wine running under coLinux or on real Linux? ...and I offer 50 quatloos to the first person who can achieve the act of cross-

Cygwin processes getting stuck on max CPU usage; XP SP2 problem?

2004-09-16 Thread Joe Krahn
I use SysInternal's Process Explorer a lot. After installing XP SP2, if I browse Cygwin processes in ProceExp, I can no longer get the list of loaded DLLs, and they get stuck at max CPU usage along with csrss.exe. The CygWin processes continue working OK, but the whole system (obviously) gets slowe

So how do you uninstall Cygwin?

2004-09-16 Thread luke . kendall
It occurred to me, while trying to work out why ssh isn't working on a laptop that we installed Cygwin on recently, to wonder whether the information at http://cygwin.com/faq/faq_2.html#SEC19 (How do I uninstall all of Cygwin?) could be a little more helpful. It gives good advice, but ends by sayi

Re: Bash returns incorrect process status

2004-09-16 Thread Pierre A. Humblet
At 02:50 PM 9/16/2004 -0400, Chet Ramey wrote: >> >> >POSIX shells are required to remember at least CHILD_MAX (but >> >> >optionally more) process statuses. There is a gray area about whether >> >> >or not the user can query the status of those processes, implying that >> >> >once the status of

install error

2004-09-16 Thread electa
Today I tried to retrieve all my installed packets, using "download from internet" and the "reinstall" option, which marks all my packages with "retrieve". I downloaded all of them good, but I get "An error occurred while downloading" at the very end (in the window I see that setup is downloading

Re: some cygwin in wine

2004-09-16 Thread Gerrit P. Haase
Hello Jan, > Just a quick note because I didn't see a success report before, > some Cygwin stuff starts to work with Wine. Is this Wine running under coLinux or on real Linux? Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://c

some cygwin in wine

2004-09-16 Thread Jan Nieuwenhuizen
Just a quick note because I didn't see a success report before, some Cygwin stuff starts to work with Wine. Greetings, Jan. 00:53:17 [EMAIL PROTECTED]:~/.wine/fake_windows/cygwin/usr/bin $ wine --version Wine 20040716 Wine exited with a successful status 00:53:23 [EMAIL PROTECTED]:~/.wine/fake_

Re: broken hardlinks and "permission denied" while copying under cygw in Unix/Linux type files from CD-ROM

2004-09-16 Thread Christopher Faylor
On Thu, Sep 16, 2004 at 06:18:36PM -0400, Povolotsky, Alexander wrote: >PS Yuli - I hope that is the right forum for above questions ? It is not. "fadsroot" is not a cygwin package. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/proble

broken hardlinks and "permission denied" while copying under cygw in Unix/Linux type files from CD-ROM

2004-09-16 Thread Povolotsky, Alexander
Hi, - I am getting broken hardlinks and "permission denied" while copying under cygwin Unix/Linux type files from CD-ROM ... I was advised that: " fadsroot must be copied exactly, any error message probably is a result of the above mentioned incompatibilities and the resulting FS would be broke

Re: cron and copying files across drives: how?

2004-09-16 Thread Igor Pechtchanski
On Thu, 16 Sep 2004, Andrea M wrote: > I am having a problem running a simple bash script with cron. The script > executes and behaves as expected when run from the command line, but > when run by cron, it fails to execute some commands. Cron runs as a different Windows user ("SYSTEM"), so things

Re: cron and copying files across drives: how?

2004-09-16 Thread Isaac Foraker
You need to "net use" the network drive before you can access it through cron. IF Andrea M wrote: I am having a problem running a simple bash script with cron. The script executes and behaves as expected when run from the command line, but when run by cron, it fails to execute some commands. I

cron and copying files across drives: how?

2004-09-16 Thread Andrea M
I am having a problem running a simple bash script with cron. The script executes and behaves as expected when run from the command line, but when run by cron, it fails to execute some commands. I narrowed the problem down and found out that cron fails to copy files between drives; for example,

Re: ed for cygwin

2004-09-16 Thread J. David Boyd
John Proffitt <[EMAIL PROTECTED]> writes: > I have just loaded cygwin on my computer and it looks great. I have started > to experiment with my unix script files to see what modifications will be > needed. Many of my script files use the ed editor to manipulate files and > cygwin does not inc

Re: Can /proc be made to reference Win processes?

2004-09-16 Thread Igor Pechtchanski
On Thu, 16 Sep 2004, linda w wrote: > I know 'ps' can reference win processes with the "-W" switch. Sure, because it's a specially written Cygwin program, not a stock Unix "ps". "procps", which *is* a stock Unix program ported to Cygwin, can't. > I was wondering if there was a value I could pla

Can /proc be made to reference Win processes?

2004-09-16 Thread linda w
01234567890123456789012345678901234567890123456789012345678901234567890123456789 I know 'ps' can reference win processes with the "-W" switch. I was wondering if there was a value I could place in the CYGWIN env-var, or or if "/proc" might be 'mountable', thus allowing passing of a similar "-W" swi

Re: DirectX headers

2004-09-16 Thread Marcel Telka
On Thu, Sep 16, 2004 at 03:07:23PM +0200, Peter Ekberg wrote: > Hello! > > I'm working on a project (GGI) that uses DirectX (DirectInput and > DirectDraw) and would like to be able to compile it without downloading > the DirectX SDK from Microsoft. So, I tried to get it to work with the > DirectX

Re: OpenSSH public key authentication: suspicios in domain environment.

2004-09-16 Thread Larry Hall
At 03:02 PM 9/16/2004, you wrote: >Suppose, I have Windows XP workstation (TEX), member of domain DOM >(Microsoft Windows Networking), and Cygwin/SSH daemon are running >on this workstation (TEX). > >Suppose, on TEX, I set up record in /etc/passwd for domain user DOMUSR. > >If I logon on TEX as DO

Re: signal delivery problem (with pthreads)

2004-09-16 Thread Valery A. Frolov
>> And after while I've got (IMHO) a little test source (attached) to >> reproduce the problem. > > Can anyone confirm this problem? So, after week of silence I can make the decision that this problem has been happened only for me (because no one has confirmed it). Anyway, many many thanks for al

OpenSSH public key authentication: suspicios in domain environment.

2004-09-16 Thread Konstantin Andreev
Suppose, I have Windows XP workstation (TEX), member of domain DOM (Microsoft Windows Networking), and Cygwin/SSH daemon are running on this workstation (TEX). Suppose, on TEX, I set up record in /etc/passwd for domain user DOMUSR. If I logon on TEX as DOMUSR with password authentication, this l

RE: problems with initialization while accessing NFS mounted root file system during the boot

2004-09-16 Thread Povolotsky, Alexander
I forgot to mention that I am booting Linux 2.6.8-rc4 ... What file system support I need to configure while bulding the kernel for the case when root file system is nfs mounted on Windows host (see below) ? > -Original Message- > From: Povolotsky, Alexander > Sent: Thursday, Se

Re: Bash returns incorrect process status

2004-09-16 Thread Pierre A. Humblet
Chet Ramey wrote: > > > >POSIX shells are required to remember at least CHILD_MAX (but > > >optionally more) process statuses. There is a gray area about whether > > >or not the user can query the status of those processes, implying that > > >once the status of a background or foreground job has

OpenSSH privilege separation fails: connections starts to be dropped.

2004-09-16 Thread Konstantin Andreev
In the first place, OpenSSH daemon works fine for me, if "UsePrivilegeSeparation" feature is disabled. I enabled "UsePrivilegeSeparation" and properly configured my system for use of this feature: set up account "sshd" and set up permissions for /var/empty. In this configuration OpenSSH daemon s

Re: Bash returns incorrect process status

2004-09-16 Thread Chet Ramey
> Is there some reason why we aren't discussing this on the mailing > list? Which mailing list? I'm not on the cygwin list. > >POSIX shells are required to remember at least CHILD_MAX (but > >optionally more) process statuses. There is a gray area about whether > >or not the user can query the

problems with initialization while accessing NFS mounted root fil e system during the boot

2004-09-16 Thread Povolotsky, Alexander
> Hi, > I've managed to program U-boot bootloader and now am trying to boot my PQ2FADS-VR board ...but I have problems with the initialization while accessing NFS mounted root file system ... . > I have NFS server running on my Windows XP Laptop (that is all I am > allowed to have, no Linux ho

RE: Problem with cat under bash shell

2004-09-16 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Corinna Vinschen > Sent: 16 September 2004 18:01 > On Sep 16 17:48, Dave Korn wrote: > > Ah, but you probably don't use it in such a 3PP-kind of > way as having your > > /tmp on a remotely-mounted network share. > > Funny you

Re: Problem with cat under bash shell

2004-09-16 Thread Corinna Vinschen
On Sep 16 17:48, Dave Korn wrote: > > -Original Message- > > From: cygwin-owner On Behalf Of Christopher Faylor > > Sent: 16 September 2004 17:30 > > > On Thu, Sep 16, 2004 at 04:49:36PM +0100, Dave Korn wrote: > > >>Thanks for the information, Corinna. Actually, what > > surprises me mo

RE: Problem with cat under bash shell

2004-09-16 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Christopher Faylor > Sent: 16 September 2004 17:30 > On Thu, Sep 16, 2004 at 04:49:36PM +0100, Dave Korn wrote: > >>Thanks for the information, Corinna. Actually, what > surprises me most > >>is that this issue has not been reported

Re: Problem with cat under bash shell

2004-09-16 Thread Christopher Faylor
On Thu, Sep 16, 2004 at 04:49:36PM +0100, Dave Korn wrote: >>Thanks for the information, Corinna. Actually, what surprises me most >>is that this issue has not been reported more frequently. > >If it really is down to this w2k3-specific issue, that would be why in >itself; w2k3 is fairly new, not

RE: checking for working mmap...no

2004-09-16 Thread Dave Korn
> -Original Message- > From: cygwin-owner@ On Behalf Of Corinna Vinschen > Sent: 16 September 2004 09:47 > The mmap test is crap. How can an application expect to be able to > access just about every address together with MAP_FIXED? > > Consequentially MapViewOfFileEx returns error 487 i

RE: Problem with cat under bash shell

2004-09-16 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Lionel Barnett > Sent: 16 September 2004 13:02 > To: cygwin > Subject: Re: Problem with cat under bash shell > > --- Corinna Vinschen wrote: > > On Sep 16 10:47, Lionel Barnett wrote: > > > --- Corinna Vinschen wrote: Hey Lio

Re: gcc, gdb, make missing?

2004-09-16 Thread Christopher Faylor
On Thu, Sep 16, 2004 at 05:05:15PM +0200, A Serebrenik wrote: >I've installed cygwin today and there seem to be a small problem with the >installation that I'm not able to resolve by reading and rereading FAQ. How about the cygwin web page itself? "Note also that, by default, setup.exe does no

RE: gcc, gdb, make missing?

2004-09-16 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of A Serebrenik > Sent: 16 September 2004 16:05 > I've installed cygwin today and there seem to be a small > problem with the > installation that I'm not able to resolve by reading and > rereading FAQ. > Namely, gcc seems to be missi

gcc, gdb, make missing?

2004-09-16 Thread A Serebrenik
Dear all, I've installed cygwin today and there seem to be a small problem with the installation that I'm not able to resolve by reading and rereading FAQ. Namely, gcc seems to be missing (and gdb and make as well). Cygcheck reports: Not Found: cpp (good!) <...> Not Fou

Re: can't start inetd as service

2004-09-16 Thread Andrew DeFaria
Steve Roth wrote: Greetings, I'm having difficulty using inetd under cygwin. After installing it as a service (apparently successfully), "net start inetd" shows this error: The service is not responding to the control function. I have tried all of the suggestions I could find in the README an

can't start inetd as service

2004-09-16 Thread Steve Roth
Greetings, I'm having difficulty using inetd under cygwin. After installing it as a service (apparently successfully), "net start inetd" shows this error: The service is not responding to the control function. I have tried all of the suggestions I could find in the README and in archived emai

Re: checking for working mmap...no

2004-09-16 Thread Ralf Corsepius
On Thu, 2004-09-16 at 15:25, Corinna Vinschen wrote: > Dunno what the current autoconf mmap test does, but the original test > back in 2.13 times was as crappy as this one. This doesn't look like the mmap test from current autoconf. Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

Re: checking for working mmap...no

2004-09-16 Thread Corinna Vinschen
On Sep 16 14:42, Gerrit P. Haase wrote: > Am Donnerstag, 16. September 2004 um 10:47 schriebst du: > > The mmap test is crap. How can an application expect to be able to > > access just about every address together with MAP_FIXED? > > > Consequentially MapViewOfFileEx returns error 487 in these c

Re: ed for cygwin

2004-09-16 Thread John Proffitt
Mike mikee.ath.cx> writes: > vi does everything! > > Thanks, I guess I'll have to load that package. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: ed for cygwin

2004-09-16 Thread Max Bowsher
John Proffitt wrote: I have just loaded cygwin on my computer and it looks great. I have started to experiment with my unix script files to see what modifications will be needed. Many of my script files use the ed editor to manipulate files and cygwin does not include the ed editor. Yes it does.

DirectX headers

2004-09-16 Thread Peter Ekberg
Hello! I'm working on a project (GGI) that uses DirectX (DirectInput and DirectDraw) and would like to be able to compile it without downloading the DirectX SDK from Microsoft. So, I tried to get it to work with the DirectX headers available in Wine and this was a success after some trivial #defin

Re: ed for cygwin

2004-09-16 Thread Mike
On Thu, 16 Sep 2004, John Proffitt wrote: > I have just loaded cygwin on my computer and it looks great. I have started > to experiment with my unix script files to see what modifications will be > needed. Many of my script files use the ed editor to manipulate files and > cygwin does not inc

ed for cygwin

2004-09-16 Thread John Proffitt
I have just loaded cygwin on my computer and it looks great. I have started to experiment with my unix script files to see what modifications will be needed. Many of my script files use the ed editor to manipulate files and cygwin does not include the ed editor. Is there a line editor that I

Re: checking for working mmap...no

2004-09-16 Thread Gerrit P. Haase
Hallo Corinna, Am Donnerstag, 16. September 2004 um 10:47 schriebst du: > On Sep 15 18:33, Sam Steingold wrote: >> > * Christopher Faylor >> <[EMAIL PROTECTED]> [2004-09-15 17:07:51 >> -0400]: >> > >> > On Wed, Sep 15, 2004 at 03:20:50PM -0400, Sam Steingold wrote: >> >>It appears that cygwin mma

Re: Problem with cat under bash shell

2004-09-16 Thread Lionel Barnett
--- Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Sep 16 10:47, Lionel Barnett wrote: > > --- Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > > > /netrel/src/cygwin-1.5.11-1/winsup/cygwin/fhandler.cc:263 > windows > > > error > > > > 59 > > > > 756 122627 [main] cat 2668 geterrno_from_win

RE: Bizarre behaviour of "make --win32"

2004-09-16 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Bob Byrnes > Sent: 16 September 2004 01:31 > On Sep 15, 1:18pm, Dave Korn" wrote: > -- Subject: RE: Bizarre behaviour of "make --win32" > > > > The only thing that has been going wrong here is that when > make invokes > > the comman

Re: Problem with cat under bash shell

2004-09-16 Thread Corinna Vinschen
On Sep 16 10:47, Lionel Barnett wrote: > --- Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > > /netrel/src/cygwin-1.5.11-1/winsup/cygwin/fhandler.cc:263 windows > > error > > > 59 > > > 756 122627 [main] cat 2668 geterrno_from_win_error: unknown > > windows > > > error 59, setting errno to 13

[Fwd: Re: Installation hangs because asks for input from terminal]

2004-09-16 Thread Reini Urban
[from private email] of course it was WinME (as guessed). -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ --- Begin Message --- Reini Urban wrote: Hi Alex, Alexander Colesnicov schrieb: I tried to install cygwin and it hanged when executing /etc/postinstall/post-texmf.sh . To proceed further

Re: Problem with cat under bash shell

2004-09-16 Thread Lionel Barnett
--- Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Sep 16 10:09, Lionel Barnett wrote: > > --- Lionel Barnett <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > Still no joy on this problem (Cygwin ver 1.5.11) > > > > > > bash -c "cat << EOF" > > > > > > fails with: > > > > > > cat: -: Perm

Re: Problem with cat under bash shell

2004-09-16 Thread Corinna Vinschen
On Sep 16 10:09, Lionel Barnett wrote: > --- Lionel Barnett <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Still no joy on this problem (Cygwin ver 1.5.11) > > > > bash -c "cat << EOF" > > > > fails with: > > > > cat: -: Permission denied > > > > The corresponding command under sh, tcsh or zsh c

Re: checking for working mmap...no

2004-09-16 Thread Corinna Vinschen
On Sep 15 18:33, Sam Steingold wrote: > > * Christopher Faylor <[EMAIL PROTECTED]> [2004-09-15 17:07:51 -0400]: > > > > On Wed, Sep 15, 2004 at 03:20:50PM -0400, Sam Steingold wrote: > >>It appears that cygwin mmap() is lacking: > >> > >>configure:20536: checking for working mmap > >>configure:2061