Re: Fatal error C1083....

2006-02-01 Thread Brian Dessent
Elin Aronsen wrote: > I did install the smallest number of compilers: gcc: C, C++. Then it > asked for gcc core said to be dependent and gcc mingware core and g++ > mingware. This was the minimum it would let me install. I get the same > message when doing ./configure from cygwin.bat and it still

Re: where is SCP

2006-02-01 Thread Joshua Daniel Franklin
On 1/30/06, Christopher Faylor wrote: > On Mon, Jan 30, 2006 at 07:01:04PM -0600, Yaakov S (Cygwin Ports) wrote: > >Igor Peshansky wrote: > >>Exactly where were you trying to search for it? The answer to most > >>queries of "where is program foo" is the Cygwin package search page at > >>

Re: Problems with sshd under Windows XP

2006-02-01 Thread Larry Hall (Cygwin)
Fabian Pauly wrote: I tried to use sshd under Windows XP. Proceeding in the way described in http://pigtail.net/LRP/printsrv/cygwin-sshd.html or http://www.wintotal.de/Artikel/ftpserver/ftpserver2.php. If you use configuration instructions which come from sites other than Cygwin's, you shoul

Re: XP+cygwin issues

2006-02-01 Thread Larry Hall (Cygwin)
Hammond, Robin-David%KB3IEN wrote: Reinstalling generates the error "bash.exe unable to locate component this applicatio has failed to start because cygwin1.dll was not found. Re-installing the application may fix this problem." Well then we need some information about your installation. Ple

[ANNOUNCEMENT] New Package: gail-1.8.8-1

2006-02-01 Thread Yaakov S (Cygwin Ports)
The following package has been added to the Cygwin net release: *** gail-1.8.8-1 GAIL provides accessibility support for gtk+ and libgnomecanvas by implementing AtkObjects for widgets in gtk+ and libgnomecanvas. The GAIL library is a GTK+ module. For example, if the module is loaded in a program

Problems with sshd under Windows XP

2006-02-01 Thread Fabian Pauly
I tried to use sshd under Windows XP. Proceeding in the way described in http://pigtail.net/LRP/printsrv/cygwin-sshd.html or http://www.wintotal.de/Artikel/ftpserver/ftpserver2.php. Which means I used UsePrivilegeSeparation yes in /etc/sshd_config However then I got the errors [EMAIL PROTECTED

Re: Any way to get cpu usage % of a process in Cygwin/windows on the command line?

2006-02-01 Thread Igor Peshansky
On Wed, 1 Feb 2006, Karr, David wrote: > Is there any way to get the CPU usage percentage of a process in Cygwin > or Windows, in a script? The "ps" command in Cygwin is based on SYSV > ps, which doesn't appear to show the CPU usage (whereas BSD ps does). Use "procps". Igor --

wednesday rough diamond

2006-02-01 Thread Antwan Jefferson
RESEARCH Madison Explorations, Inc. (M D E X . P K; 0.36) S.T. Target 2.75 cause pipette stool bylaw sellout great There are those rare times when the decision to invst in a particular stck or industry is a no-brainer: homeland security in the wake of 9-11, gold in the fall of 2001, and Chin

Re: XP+cygwin issues

2006-02-01 Thread Hammond, Robin-David%KB3IEN
Reinstalling generates the error "bash.exe unable to locate component this applicatio has failed to start because cygwin1.dll was not found. Re-installing the application may fix this problem." On Wed, 1 Feb 2006, Hammond, Robin-David%KB3IEN wrote: Date: Wed, 1 Feb 2006 20:49:27 + (UTC)

Any way to get cpu usage % of a process in Cygwin/windows on the command line?

2006-02-01 Thread Karr, David
Is there any way to get the CPU usage percentage of a process in Cygwin or Windows, in a script? The "ps" command in Cygwin is based on SYSV ps, which doesn't appear to show the CPU usage (whereas BSD ps does). Task Manager shows what I need, but I don't know how to get that in a script. The Sysi

Re: password-authenticated ssh session..;whoami shows OurSrvr064\sshd_server

2006-02-01 Thread Tom Rodman
On Wed 2/1/06 15:26 +0100 Corinna wrote: > On Feb 1 08:07, Tom Rodman wrote: > > On Wed 2/1/06 10:20 +0100 Corinna wrote: > > > On Jan 31 10:32, Tom Rodman wrote: > > > > Also notable, was that whoami shown: "OurSrvr064\sshd_server", instead > > > > of > > > > "staffuser2". > > > > > > That's no

XP+cygwin issues

2006-02-01 Thread Hammond, Robin-David%KB3IEN
I am unable to install cygwin on winxp patchlevel 2. Everytime i try to run ls from sh i get a windows modal dialouge box tailling that 'This application has failed to start becuase cygintl-2.dll was not found. Re-installin gthe application may fix this problem. I have not had any luck reins

Shells hang during script execution

2006-02-01 Thread Ernie Coskrey
I've run into problems with shell scripts hanging during execution for no apparent reason. I've narrowed down my test case to two simple shell scripts. To reproduce the problem, I ran three instances of the "top.sh" script included here, and after a bit (30 minutes to an hour or so) I'll see t

1.5.19-4: global constructors not working with dlopen()

2006-02-01 Thread Martin
I'm having trouble with global constructors/destructors not executing/crashing within a dlopened DLL. I've attached a test-case. FYI: This works fine with 1.5.13-1. Thanks for your help. Martin ps: Here's my shell log. [EMAIL PROTECTED] make clean /bin/rm -f T1_dl *.exe *.dll *.so *~ mapfile [E

Re: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Igor Peshansky
On Wed, 1 Feb 2006, Christopher Faylor wrote: > On Wed, Feb 01, 2006 at 01:31:08PM -0500, Igor Peshansky wrote: > >On Wed, 1 Feb 2006, Christopher Faylor wrote: > > > >> On Wed, Feb 01, 2006 at 12:06:08PM -0500, Igor Peshansky wrote: > >> >However, most bash invocations should exit with a 0 exit c

Re: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Christopher Faylor
On Wed, Feb 01, 2006 at 01:31:08PM -0500, Igor Peshansky wrote: >On Wed, 1 Feb 2006, Christopher Faylor wrote: > >> On Wed, Feb 01, 2006 at 12:06:08PM -0500, Igor Peshansky wrote: >> >However, most bash invocations should exit with a 0 exit code. So, why >> >not simply do something like the test b

Re: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Igor Peshansky
On Wed, 1 Feb 2006, Igor Peshansky wrote: > On Wed, 1 Feb 2006, Christopher Faylor wrote: > > > Wouldn't that be: > > > > if not errorlevel 0 pause > > Contrary to all common sense, "if not errorlevel A" means "if %ERRORLEVEL% > < A", not an equality test... So the above will *always* pause. A

Re: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Igor Peshansky
On Wed, 1 Feb 2006, Christopher Faylor wrote: > On Wed, Feb 01, 2006 at 12:06:08PM -0500, Igor Peshansky wrote: > >However, most bash invocations should exit with a 0 exit code. So, why > >not simply do something like the test below? > > > >if not errorlevel 1 goto nopause > >pause > >:nopause >

Re: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Christopher Faylor
On Wed, Feb 01, 2006 at 12:06:08PM -0500, Igor Peshansky wrote: >However, most bash invocations should exit with a 0 exit code. So, why >not simply do something like the test below? > >if not errorlevel 1 goto nopause >pause >:nopause > >Also, "command not found" sets error code to 127, so the "1"

RE: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Dave Korn
On 01 February 2006 17:06, Igor Peshansky wrote: > > Also, "command not found" sets error code to 127, so the "1" above can be > changed to "127". Igor ITYM '9009'? --e.g.-- Microsoft Windows XP [Version 5.1.2600] (C) Copy

Re: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Aaron Humphrey
On 1/31/06, Brian Dessent wrote: > Well that would certainly work for the case of a missing bash. I guess > I was thinking that the marker file method would work for a wider range > of brokenness where for whatever reason the shell fails to start and/or > complete its initialization. Having never

Re: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Igor Peshansky
On Wed, 1 Feb 2006, Christopher Faylor wrote: > On Tue, Jan 31, 2006 at 08:16:15PM -0800, Brian Dessent wrote: > >Christopher Faylor wrote: > >>Couldn't it just replace the bash line with: > >> > >> if exist bash.exe goto ok > >> echo bash.exe is missing - please install it > >> pause > >>

Re: Fatal error C1083....

2006-02-01 Thread Elin Aronsen
Hi again ! I did install the smallest number of compilers: gcc: C, C++. Then it asked for gcc core said to be dependent and gcc mingware core and g++ mingware. This was the minimum it would let me install. I get the same message when doing ./configure from cygwin.bat and it still says i686-pc-sys

Re: SSH Local Port Forwarding

2006-02-01 Thread Corinna Vinschen
On Feb 1 08:36, Jon Dixon wrote: > Hi Corinna, > >Thanks for all the consideration you have given this WinSock > problem. As a suggestion, would it be possible to add an ssh command > line option, so the user could explicitly open the listening port in > exclusive mode. This would alleviate

Re: cygwin.bat improvements (was Re: Cygwin on XP disapearing terminal mystery)

2006-02-01 Thread Christopher Faylor
On Tue, Jan 31, 2006 at 08:16:15PM -0800, Brian Dessent wrote: >Christopher Faylor wrote: >>Couldn't it just replace the bash line with: >> >> if exist bash.exe goto ok >> echo bash.exe is missing - please install it >> pause >> :ok >> bash --login -i > >Well that would certainly work for

Re: SSH Local Port Forwarding

2006-02-01 Thread Jon Dixon
Hi Corinna, Thanks for all the consideration you have given this WinSock problem. As a suggestion, would it be possible to add an ssh command line option, so the user could explicitly open the listening port in exclusive mode. This would alleviate the problem of trying to second guess when to

[ANNOUNCEMENT] Updated: OpenSSH-4.3p1-1

2006-02-01 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 4.3p1-1. This is an official new upstream release. The official release message is missing a Cygwin specific patch: - In ssh-host-config, always add a dependency to the tcpip (network) service when creating an sshd service on NT. The official releas

Re: Can't copy from Windows shares with latest Cygwin update

2006-02-01 Thread Eric Blake
> > cp //sparky/bracken/myfile.txt . > > cp: skipping file `//sparky/bracken/myfile.txt', as it was > replaced while being copied > Already reported: http://cygwin.com/ml/cygwin/2006-01/msg01161.html > Is there a fix? Thanks! Use a snapshot. http://cygwin.com/faq/faq-nochunks.html#faq.setu

Can't copy from Windows shares with latest Cygwin update

2006-02-01 Thread J . Eric Bracken
I just updated my machine to Cygwin 1.5.19-4. Now I find that I cannot copy files from a Windows share directory any longer. The error message is as follows: cp //sparky/bracken/myfile.txt . cp: skipping file `//sparky/bracken/myfile.txt', as it was replaced while being copied Needless to s

Re: password-authenticated ssh session..;whoami shows OurSrvr064\sshd_server

2006-02-01 Thread Corinna Vinschen
On Feb 1 08:07, Tom Rodman wrote: > On Wed 2/1/06 10:20 +0100 cygwin@cygwin.com wrote: > > On Jan 31 10:32, Tom Rodman wrote: > > > Also notable, was that whoami shown: "OurSrvr064\sshd_server", instead of > > > "staffuser2". > > > > That's normal for passwordless login. > > Sorry, I should ha

Re: password-authenticated ssh ..;cygwin's whoami shows OurSrvr064\sshd_server

2006-02-01 Thread Tom Rodman
by 'whoami', I'm refering to the *cygwin* 'whoami' In addition, to 'whoami' reporting OurSrvr064\sshd_server, the account does not have full rights. For details, see: http://cygwin.com/ml/cygwin/2006-01/msg01495.html -- thanks, Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-

password-authenticated ssh session..;whoami shows OurSrvr064\sshd_server

2006-02-01 Thread Tom Rodman
On Wed 2/1/06 10:20 +0100 cygwin@cygwin.com wrote: > On Jan 31 10:32, Tom Rodman wrote: > > Also notable, was that whoami shown: "OurSrvr064\sshd_server", instead of > > "staffuser2". > > That's normal for passwordless login. Sorry, I should have emphasized that when I ssh'd in, the password wa

RE: sshd password authentication results in identity of NT AUTHORITY\SYSTEM

2006-02-01 Thread Perdue, Dave T. CIV NAVAIR 5.4.3, Bldg 2035, Rm 205, Cube 200
Ahh, excellent news! It must be a local security policy. Thanks very much! :) Dave P.S. Cygwin is amazing! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Corinna Vinschen Sent: Tuesday, January 31, 2006 4:27 To: cygwin@cygwin.com Subject: Re: sshd passwo

RE: 1.5.19-4: Problem to debug dll-mechanism on Cygwin

2006-02-01 Thread Dave Korn
On 01 February 2006 12:15, [EMAIL PROTECTED] wrote: > Greetings! > > I run into some strange problems while trying to debug a simple > application in order to test dll-mechanism with Cygwin 1.5.19-4 on > Windows 2000 Professional. > The whole minimalistic application, made of "a.cpp", "a.h" and

Re: 1.5.19-4: Problem to debug dll-mechanism on Cygwin

2006-02-01 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > Program received signal SIGSEGV, Segmentation fault. > 0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll This is not a real segmentation fault. It is just a side effect of how Cygwin does argument checking, it's completely benign. Just type "continue" in g

1.5.19-4: Problem to debug dll-mechanism on Cygwin

2006-02-01 Thread vita
Greetings! I run into some strange problems while trying to debug a simple application in order to test dll-mechanism with Cygwin 1.5.19-4 on Windows 2000 Professional. The whole minimalistic application, made of "a.cpp", "a.h" and "main.cpp", is attached and was compiled using "compile.sh" script

Re: SSH Local Port Forwarding

2006-02-01 Thread Corinna Vinschen
On Feb 1 10:15, Corinna Vinschen wrote: > On Jan 31 15:25, Jon Dixon wrote: > > Hi Corinna, > > > > I have tested the cygwin-inst-20060130.tar.bz2 snapshot. > > Unfortunately, this snapshot runs the same way as release 1.5.19-4. > > No, it doesn't, definitely. 1.5.19-4 has not set the SO_EXCL

Re: ssh session w/reduced credentials;whoami shows OurSrvr064\sshd_server

2006-02-01 Thread Corinna Vinschen
On Jan 31 10:32, Tom Rodman wrote: > Also notable, was that whoami shown: "OurSrvr064\sshd_server", instead of > "staffuser2". That's normal for passwordless login. Changing the user credentials the way passwordless login does, is not fully recognized by Windows, even your SID seems to belong to

Re: SSH Local Port Forwarding

2006-02-01 Thread Corinna Vinschen
On Jan 31 15:25, Jon Dixon wrote: > Hi Corinna, > > I have tested the cygwin-inst-20060130.tar.bz2 snapshot. > Unfortunately, this snapshot runs the same way as release 1.5.19-4. No, it doesn't, definitely. 1.5.19-4 has not set the SO_EXCLUSIVEADDRUSE option, and I could easily reuse ports for