starting problems XWin X Server

2006-03-28 Thread kautz, michael
Hello, I want to run X-Windows and started C:\Cygwin\usr\X11R6\bin\startxwin.bat @echo off SET DISPLAY=127.0.0.1:0.0 REM REM The path in the CYGWIN_ROOT environment variable assignment assume REM that Cygwin is installed in a directory called 'cygwin' in the root REM directory of the current

Re: starting problems XWin X Server

2006-03-28 Thread Igor Peshansky
On Tue, 28 Mar 2006, kautz, michael wrote: Hello, [snip contents of startxwin.bat] and got the following result: Xwinlog.txt: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-4 [snip] Fatal server error: InitOutput - Duplicate invocation on display number: 0.

Re: starting problems XWin X Server

2006-03-28 Thread Alexander J. Herrmann
kautz, michael wrote: Hello, I want to run X-Windows and started C:\Cygwin\usr\X11R6\bin\startxwin.bat @echo off SET DISPLAY=127.0.0.1:0.0 REM REM The path in the CYGWIN_ROOT environment variable assignment assume REM that Cygwin is installed in a directory called 'cygwin' in the root

winsup/cygwin ChangeLog dcrt0.cc fork.cc sigpr ...

2006-03-28 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2006-03-29 06:35:25 Modified files: cygwin : ChangeLog dcrt0.cc fork.cc sigproc.cc sigproc.h Log message: * dcrt0.cc (child_info_fork::handle_fork): Set uid/gid in myself so

Re: how t o read env variable in cygwin

2006-03-28 Thread Yitzchak Scott-Thoennes
On Mon, Mar 27, 2006 at 10:12:01AM -0500, Igor Peshansky wrote: On Mon, 27 Mar 2006, Eric Blake wrote: According to cyg_win_user on 3/27/2006 3:12 AM: i m trying to read environment variable in perl using $OSTY = $ENV{OSTYPE}; this will return os type as linux or solaris.

Problem setenv/putenv for msgget

2006-03-28 Thread Martine Carannante
I 'm using CYGWIN (the last version 1.5.19.4). My application use the IPC messages queue. The cygserver is started correctly. The application server side (is a service) is launched by cygrunsrv ... with -e CYGWIN=server , it is OK If I launch the application client in a shell script, it is OK

Re: Problem setenv/putenv for msgget

2006-03-28 Thread Brian Dessent
Martine Carannante wrote: IIS , and I don't know how to set the CYGWIN variable before the application is launched. You should be able to set this in the standard windows way: Control Panel - System - Advanced - Environment Variables - System variables. So , I tried to set the environment

Re: Sshd: problem with X11 passthru

2006-03-28 Thread David Picton
From: Corinna Vinschen corinna-cygwin at cygwin dot com To: cygwin at cygwin dot com Date: Tue, 28 Mar 2006 09:37:28 +0200 On Mar 27 18:55, David Picton wrote: I have encountered a problem with the sshd server when the client specifies X11 passthru i.e. ssh -Y or ssh -X. The allocation of

Re: Problem setenv/putenv for msgget

2006-03-28 Thread Martine Carannante
Brian Dessent wrote: Martine Carannante wrote: IIS , and I don't know how to set the CYGWIN variable before the application is launched. You should be able to set this in the standard windows way: Control Panel - System - Advanced - Environment Variables - System variables. Yes

Re: Problem setenv/putenv for msgget

2006-03-28 Thread Brian Dessent
Martine Carannante wrote: Does that mean it is impossible to set environment variables once the program is started ? In that case; the setenv/putenv are not equivalent to UNIX functions. No, of course you can set environment variables using getenv/putenv. They should work just as expected.

Re: Sshd: problem with X11 passthru

2006-03-28 Thread Corinna Vinschen
On Mar 28 10:17, David Picton wrote: From: Corinna Vinschen corinna-cygwin at cygwin dot com On Mar 27 18:55, David Picton wrote: I have encountered a problem with the sshd server when the client specifies X11 passthru i.e. ssh -Y or ssh -X. The allocation of virtual displays doesn't

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Steven Hartland
- Original Message - From: Corinna Vinschen On Mar 27 16:39, Steven Hartland wrote: I've done quite a bit of digging and not found any real answers on why cygwin's scp performance is so poor. Cygwin is just emulating POSIX by calling Windows functions. It's not an operating system

run exe cygwin batch

2006-03-28 Thread lightyear
hi, i want run a exe file or any other file when user user clicks on short cut of cygwin i.e when user starts cygwin. i think this can be done writing code in batch file of cygwin can some one please help me out with this -- View this message in context:

run exe using batch file

2006-03-28 Thread lightyear
hi, i want run a exe file or any other file when user user clicks on short cut of cygwin i.e when user starts cygwin. i think this can be done writing code in batch file of cygwin can some one please help me out with this -- View this message in context:

cygwin setup: uninstall deadlock...

2006-03-28 Thread Gregor Heinrich
Hi -- I have a question on the uninstalling procedure for individual packages with the Cygwin Setup utility. My exemplary problem: I can't seem to uninstall the libXft, libXft1, libXft2 and X11 altogether. But I guess this problem is more general. The reason is that the mentioned packages are

Re: df hanging

2006-03-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Steven Hartland on 3/27/2006 8:57 AM: I'm currently testing an updated cygwin install from 1.5.5 - 1.5.19 and I've noticed that on a number of occasions df is hanging sometimes using 100% of CPU on the machine. I have not seen this

Re: Locales with wrong umlauts

2006-03-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Igor Peshansky on 3/27/2006 9:54 PM: Incidentally, since this subject came up: ls has a --show-control-chars option, but rm, mv, cp, and a bunch of other tools don't. So, if you run rm in interactive mode, it doesn't display

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Corinna Vinschen
On Mar 28 11:43, Steven Hartland wrote: - Original Message - From: Corinna Vinschen On Mar 27 16:39, Steven Hartland wrote: I've done quite a bit of digging and not found any real answers on why cygwin's scp performance is so poor. Cygwin is just emulating POSIX by calling

Re: Locales with wrong umlauts

2006-03-28 Thread Igor Peshansky
On Tue, 28 Mar 2006, Lapo Luchini wrote: Igor Peshansky wrote: The system has no idea what charset it's using, because it depends on the font you set for your terminal, which is outside of the terminal's control. Even if you use a Unicode font with charset conversion, the charset is

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Igor Peshansky
On Tue, 28 Mar 2006, Corinna Vinschen wrote: It turns out that three factors limit the speed on the client side: - The worst of all is ssh itself. When reading blocks from the network, it uses an 8K buffer. Whatever you try with setting different socket buffer sizes or disabling the

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Igor Peshansky
On Tue, 28 Mar 2006, Igor Peshansky wrote: On Tue, 28 Mar 2006, Corinna Vinschen wrote: It turns out that three factors limit the speed on the client side: - The worst of all is ssh itself. When reading blocks from the network, it uses an 8K buffer. Whatever you try with setting

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Corinna Vinschen
On Mar 28 09:57, Igor Peshansky wrote: All of the above will probably need to be suggested to the OpenSSH team (preferably in the form of patches). Volunteers welcome (nudge-nudge, wink-wink, Steve). :-) You don't seriously believe that stuff like that hasn't been already suggested a couple

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Corinna Vinschen
On Mar 28 17:12, Corinna Vinschen wrote: On Mar 28 09:57, Igor Peshansky wrote: All of the above will probably need to be suggested to the OpenSSH team (preferably in the form of patches). Volunteers welcome (nudge-nudge, wink-wink, Steve). :-) You don't seriously believe that stuff

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Igor Peshansky
On Tue, 28 Mar 2006, Corinna Vinschen wrote: On Mar 28 09:57, Igor Peshansky wrote: All of the above will probably need to be suggested to the OpenSSH team (preferably in the form of patches). Volunteers welcome (nudge-nudge, wink-wink, Steve). :-) You don't seriously believe that stuff

Re: Problems with sshd

2006-03-28 Thread Chris Sutcliffe
Hey, This can't be related to the cygrunsrv change since it only affects services which have the Interact with desktop switch set, which sshd certainly hasn't. Is it possible that your sshd now gets accidentally started before the network service got started? Can you reinstall the sshd

Re: Problems with sshd

2006-03-28 Thread Steven Hartland
I can confirm its not an issue with cygrunsvr v1.13 as it works perfectly here. However if you want to double check you can do that from setup.exe by clicking multiple times on the cygrunsvr option which will then cycle through the available versions. Steve - Original Message - From:

Re: Problems with sshd

2006-03-28 Thread Corinna Vinschen
On Mar 28 10:43, Chris Sutcliffe wrote: Hey, This can't be related to the cygrunsrv change since it only affects services which have the Interact with desktop switch set, which sshd certainly hasn't. Is it possible that your sshd now gets accidentally started before the network service

Re: The 20060324/20060326 snapshots hang on testcase

2006-03-28 Thread Christopher Faylor
On Mon, Mar 27, 2006 at 11:43:04PM -0600, Gary R. Van Sickle wrote: From: Dave Korn Sent: Monday, March 27, 2006 5:00 AM To: cygwin@cygwin.com Subject: RE: The 20060324/20060326 snapshots hang on testcase On 27 March 2006 04:04, Volker Quetschke wrote: The newest 20060324/20060326 snapshots

RE: The 20060324/20060326 snapshots hang on testcase

2006-03-28 Thread Dave Korn
On 28 March 2006 16:55, Christopher Faylor wrote: Ahem, without resolution to the minute that's going to help how again? Wow. Blowing this up a little out of proportion are we? I refer all interested parties to my reply on the http://cygwin.com/acronyms#TITTTL list. Meanwhile, it seems

Re: Problems with sshd

2006-03-28 Thread Chris Sutcliffe
Hey, Sounds like you have some Firewall software which interacts with sshd badly. Did you try to add a dependency to this firewall software, too? I don't have any firewall software installed. Having said that, I had to install a new wireless NIC driver on may laptop to support the LEAP

Re: Problems with sshd

2006-03-28 Thread Chris Sutcliffe
Me again, Since it seems that sshd may be a non-starter for me now, is there any other method I can use to switch between users? I've got rlogin up and running via inetd running under cygrunsrv. Thanx all! Chris -- Chris Sutcliffe http://ir0nh34d.blogspot.com http://emergedesktop.org --

RE: Problems with sshd

2006-03-28 Thread Dave Korn
On 28 March 2006 17:24, Chris Sutcliffe wrote: [ I see you've found a workround now, but there was one thing that wasn't clear if you'd tried it from your earlier posts: ] Sounds like you have some Firewall software which interacts with sshd badly. Did you try to add a dependency to this

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Steven Hartland
- Original Message - From: Corinna Vinschen Yeah, I'm just slightly annoyed about the Cygwin is slow routine on this mailing list. I would not say Cygwin is not slow persay but there issues in certain areas which have issues. This is what I was trying to highlight and as such hopefully

Re: Problems with sshd

2006-03-28 Thread Corinna Vinschen
On Mar 28 11:24, Chris Sutcliffe wrote: [cygrunsrv] I grabbed it off mirrors.kernel.org and it did not solve the issue. Since the cygrunsrv upgrade and the LEAP driver install are the only 2 system changes I have made recently, I'm inclined to blame the LEAP driver. Since it seems that

Re: Installation problem on windows 2000 server

2006-03-28 Thread jack
Larry Hall (Cygwin) wrote: jack wrote: Hola, I'm trying to install cygwin on a windows 2000 terminal server (remote administration mode). I'm using: - Dell poweredge 1750 - Cygwin setup.exe version 2.510.2.2 The install finishes fine with no errors, but when I go to double click on the

Re: very poor cygwin scp performance in some situations

2006-03-28 Thread Corinna Vinschen
On Mar 28 19:43, Steven Hartland wrote: From: Corinna Vinschen - The worst of all is ssh itself. When reading blocks from the network, it uses an 8K buffer. Whatever you try with setting different socket buffer sizes or disabling the Nagle algorithm, nothing has any interesting impact if

Re: Why only 1 cygwin1.dll?

2006-03-28 Thread Bob Rossi
Sorry for my late response. I've been busy. What's wrong with third parties simply installing any cygwin1.dll that they want to distribute (subject to the GPL of course) in a setup-compatible location and way? Then the only question is whether to install over any existing DLL or not. That's

Re: Problems with sshd

2006-03-28 Thread Chris Sutcliffe
Hey, I don't quite get it. Did you try to add a dependency to the sshd service so that its started after that LEAP service? That would seem to be more natural a solution than just giving up on ssh entirely and use *shudder violently* rlogin. That I did not do. Is there a way to add a

Re: Why only 1 cygwin1.dll?

2006-03-28 Thread Igor Peshansky
On Tue, 28 Mar 2006, Bob Rossi wrote: Sorry for my late response. I've been busy. What's wrong with third parties simply installing any cygwin1.dll that they want to distribute (subject to the GPL of course) in a setup-compatible location and way? Then the only question is whether to

Re: run exe using batch file

2006-03-28 Thread Larry Hall (Cygwin)
lightyear wrote: hi, i want run a exe file or any other file when user user clicks on short cut of cygwin i.e when user starts cygwin. i think this can be done writing code in batch file of cygwin can some one please help me out with this What kind of help do you need? What you're

Re: Why only 1 cygwin1.dll?

2006-03-28 Thread Alexander J. Herrmann
Igor Peshansky wrote: On Tue, 28 Mar 2006, Bob Rossi wrote: Sorry for my late response. I've been busy. What's wrong with third parties simply installing any cygwin1.dll that they want to distribute (subject to the GPL of course) in a setup-compatible location and way? Then the

Re: Sshd: problem with X11 passthru

2006-03-28 Thread David Picton
* From: Corinna Vinschen corinna-cygwin at cygwin dot com * To: cygwin at cygwin dot com * Date: Tue, 28 Mar 2006 12:29:40 +0200 On Mar 28 10:17, David Picton wrote: From: Corinna Vinschen corinna-cygwin at cygwin dot com On Mar 27 18:55, David Picton wrote: I have encountered a

Re: Installation problem on windows 2000 server

2006-03-28 Thread Igor Peshansky
On Tue, 28 Mar 2006, jack wrote: Larry Hall (Cygwin) wrote: jack wrote: Hola, I'm trying to install cygwin on a windows 2000 terminal server (remote administration mode). [snip] The install finishes fine with no errors, but when I go to double click on the Cygwin icon, i

Re: Why only 1 cygwin1.dll?

2006-03-28 Thread Christopher Faylor
On Wed, Mar 29, 2006 at 04:09:39AM +0700, Alexander J. Herrmann wrote: I was following this thread and time will tell. Something you're maybe not aware of that the cygwin1.dll soon will be distributed to thousends of people who didn't even heard about cygwin. How come? You may have heard about

informal report on fork: Resource temporarily unavailable incidents

2006-03-28 Thread Tom Rodman
Not expecting help, just sharing. We're running windows 2003 server enterprise edition on a quad processor HP proliant G3. uname -a results in [CYGWIN_NT-5.2 c7mdcs063 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin]. Yesterday I ran a script (kicked off in a makefile) to create /etc/passwd for

Re: Locales with wrong umlauts

2006-03-28 Thread Eric Blake
According to Eric Blake on 3/28/2006 6:58 AM: Interesting question; I don't recall ever seeing this topic asked before here or upstream, so I don't know where to search either. I'll do some upstream asking, to see what might be improved. As for whether upstream will agree to make the default

Re: Installation problem on windows 2000 server

2006-03-28 Thread jack
Igor Peshansky wrote: On Tue, 28 Mar 2006, jack wrote: Larry Hall (Cygwin) wrote: jack wrote: Hola, I'm trying to install cygwin on a windows 2000 terminal server (remote administration mode). [snip] The install finishes fine with no errors, but when I go to double click on the Cygwin icon,

Please help on cscope15.5 compiling errors

2006-03-28 Thread Hong Sun
Hi, I was not able to attach the cyhcheck.out file as it was bounced back as spam. Anyway, I got errors when compling cscope15.5 on cygwin 15.1.9-4 downloaded on March 27,2006. The error compains that function getline() was re-declared in cscope package's global.h, which was delcared in

Re: Why only 1 cygwin1.dll?

2006-03-28 Thread Alexander J. Herrmann
Christopher Faylor wrote: On Wed, Mar 29, 2006 at 04:09:39AM +0700, Alexander J. Herrmann wrote: I was following this thread and time will tell. Something you're maybe not aware of that the cygwin1.dll soon will be distributed to thousends of people who didn't even heard about cygwin. How