Console Window pops up for sh.exe in 1.5.19

2006-03-27 Thread Jens Wilken
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I have a problem that appeared when switching from Cygwin 1.5.10 to 1.5.19. Some GUI Application uses the "system" function to execute external programs. It calls several programs, including "make". Make processes makefiles that contain prog

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread 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 which runs natively on the machine, so what do you expe

Re: Sshd: problem with X11 passthru

2006-03-27 Thread Corinna Vinschen
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 work correctly if two or > more X11-enabled sessions run at the same time. > > As I understand it

Re: Problems with sshd

2006-03-27 Thread Corinna Vinschen
On Mar 27 20:54, Chris Sutcliffe wrote: > I've upgraded to the latest cygrunsrv (1.14-1) and I have noticed that > I can't seem to ssh to localhost anymore when the service is started > by the system. If I do a 'cygrunsrv --start sshd' from a bash prompt, > it works fine. > [...] This can't be re

Re: Locales with wrong umlauts

2006-03-27 Thread Lapo Luchini (smtp)
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 specified outside of the console. > Oh? I ha

Re: Locales with wrong umlauts

2006-03-27 Thread Lapo Luchini
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 specified outside of the console. > Oh? I ha

RE: The 20060324/20060326 snapshots hang on testcase

2006-03-27 Thread Gary R. Van Sickle
> 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 started to hang on the > > following testcase. Note, I

Re: Locales with wrong umlauts

2006-03-27 Thread Igor Peshansky
On Sun, 26 Mar 2006, Lapo Luchini wrote: > Igor Pechtchanski cs.nyu.edu> writes: > > > On Sun, 27 Jun 2004, A. Alper Atici wrote: > > > > > try the following: > > > set OUTPUT_CHARSET=iso-8859-1 > > > > Wow. Thanks, this was *extremely* useful. Interestingly enough, the > > OUTPUT_CHARSET optio

Re: Locales with wrong umlauts

2006-03-27 Thread Joshua Daniel Franklin
On 3/26/06, Lapo Luchini wrote: > > > On Sun, 27 Jun 2004, A. Alper Atici wrote: > > > > > try the following: > > > set OUTPUT_CHARSET=iso-8859-1 > > Instead of putting it simply in some FAQ couldn't Cygwin define that env var > correctly "by default"? (after all the system *knows* which charset i

Re: Installation problem on windows 2000 server

2006-03-27 Thread Larry Hall (Cygwin)
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 Cygwin icon, i see the black DO

Re: Installation problem on windows 2000 server

2006-03-27 Thread Tim Prince
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 Cygwin icon, i see the black DO

Problems with sshd

2006-03-27 Thread Chris Sutcliffe
I've upgraded to the latest cygrunsrv (1.14-1) and I have noticed that I can't seem to ssh to localhost anymore when the service is started by the system. If I do a 'cygrunsrv --start sshd' from a bash prompt, it works fine. Before (when the system started sshd): $ ssh -v -v localhost OpenSSH_4.

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread Steven Hartland
Interesting idea that I just tried setting high prio on the command line version and it does benefit obtaining 6.0MB/s but not quite matching the 6.2MB/s of the daemonised version. Note: Using realtime prio drops the rate back to 4.3MB/s Oh just tried using above normal and that hits 6.2MB/s so t

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread René Berber
Steven Hartland wrote: > Also very interesting is when running sshd from the command line with > /usr/sbin/sshd -D vs running it via cygrunsvr I get: > * cmdline = 192MB 4.4MB/s 00:44 > * cygrunsvr = 192MB 6.4MB/s 00:30 > * cmdline without -D = 192MB 6.4MB/s 00:30 > > I tried running:

Installation problem on windows 2000 server

2006-03-27 Thread jack
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 Cygwin icon, i see the black DOS box for a s

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread Steven Hartland
Also very interesting is when running sshd from the command line with /usr/sbin/sshd -D vs running it via cygrunsvr I get: * cmdline = 192MB 4.4MB/s 00:44 * cygrunsvr = 192MB 6.4MB/s 00:30 * cmdline without -D = 192MB 6.4MB/s 00:30 I tried running: /usr/sbin/sshd -D 2>&1 > /dev/null b

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread Steven Hartland
- Original Message - From: "Pedro Inacio" I'm starting to think that openssl have some performance issues on cygwin. my fixed non-blocking echo_server.c with openssl is too slow when compared with the same code compiled on Linux. is something like 40ms on Linux to 1040ms on Cygwin

Rsync over SSH and ssh into machine not working with ZoneAlarm Security Suite

2006-03-27 Thread Kris Thielemans
Hi Oh no! Not another ZoneAlarm question! Sorry. I'm having the same problem as Zarko mentioned in http://comments.gmane.org/gmane.os.cygwin.talk/1580 Briefly: rsync hangs as soon as networking is involved. So for instance, $ rsync -v -v -v -v test1 localhost:test.xxx cmd= machine=localhost use

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread Pedro Inacio
I'm starting to think that openssl have some performance issues on cygwin. my fixed non-blocking echo_server.c with openssl is too slow when compared with the same code compiled on Linux. is something like 40ms on Linux to 1040ms on Cygwin. On 2006/03/27, at 23:32, Steven Hartland wrote:

hi , chao ban

2006-03-27 Thread Chuyen Tinh 1 dem
http://www.chuyentinh1dem.net.tc/ Chuyen Tinh 1 dem -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread Steven Hartland
- Original Message - From: "Pedro Inacio" I've initiated the post "select() too slow". The example I've done was a non-blocking tcp echo_server.c and how slow it was on linux compared with cygwin. In fact after activation oh tcp_nodelay option the times were similar. Meanwhile I've do

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread Pedro Inacio
Hello, I've initiated the post "select() too slow". The example I've done was a non-blocking tcp echo_server.c and how slow it was on linux compared with cygwin. In fact after activation oh tcp_nodelay option the times were similar. Meanwhile I've done another test, I've added ssl on top of t

Re: very poor cygwin scp performance in some situations

2006-03-27 Thread Steven Hartland
- Original Message - From: "Dave Korn" On 27 March 2006 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. See the thread about "select() too slow" last week for an explanation of the Nagle algor

Sshd: problem with X11 passthru

2006-03-27 Thread David Picton
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 work correctly if two or more X11-enabled sessions run at the same time. As I understand it, the server should give each session a unique disp

RE: very poor cygwin scp performance in some situations

2006-03-27 Thread Dave Korn
On 27 March 2006 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. See the thread about "select() too slow" last week for an explanation of the Nagle algorithm, how windoze's implementation of it appears

RE: Multiple cygwin installs

2006-03-27 Thread Dave Korn
On 27 March 2006 16:44, Brian Hawkins wrote: > OK please clarify how I commandeered a thread? I addressed my email to > the cygwin list and set my own subject. I was not replying to any other > thread. If you weren't replying to any other thread, why did you send the following headers with yo

RE: Multiple cygwin installs

2006-03-27 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Alexander Herrmann wrote: > On 3/27/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: >> On Sun, 26 Mar 2006, Larry Hall (Cygwin) wrote: >>> Brian Hawkins wrote: [snip] >>> FWIW, if you want something similar to symbolic links for >>> directories and you're running W2K or above with NTFS, you can use >

df hanging

2006-03-27 Thread Steven Hartland
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. What's the best way to obtain why this is so it can be fixed: gdb the process? Steve =

Re: Multiple cygwin installs

2006-03-27 Thread Brian Hawkins
OK please clarify how I commandeered a thread? I addressed my email to the cygwin list and set my own subject. I was not replying to any other thread. Also this may not be the best solution, but I use cygwin for development. It may not be the perfect solution but it works well for switchin

[ANNOUNCEMENT] Updated: cygrunsrv-1.14-1

2006-03-27 Thread Corinna Vinschen
I have updated cygrunsrv to version 1.14-1. This version fixes an I/O problem when service processes are started with the "Interact with desktop" flag set, and the stdio descriptors are directoed to the service's console window. If you have questions or comments, please send them to the Cygwin

very poor cygwin scp performance in some situations

2006-03-27 Thread Steven Hartland
I've done quite a bit of digging and not found any real answers on why cygwin's scp performance is so poor. So I decided to do some tests, here the results: == machines == * P4 2.8Ghz * 1GB RAM * IDE disk * Running nothing but these test === test1 === * FreeBSD 5.4-RELEASE * OpenSSH_3.8.1p1 Free

Re: service interact with desktop broken between: 1.5.5 & 1.5.19

2006-03-27 Thread Corinna Vinschen
On Mar 26 20:24, Lev Bishop wrote: > Thanks, Corinna. I can almost get it working now. Maybe you can > explain why this works: > > $ cygrunsrv -I cygtest -jid 'cygrunsrv test' -p '/cygdrive/c/i386/cmd.exe' \ > -0/dev/console -1/dev/console -2/dev/console > > Giving me a console running cmd.exe th

Re: how t o read env variable in cygwin

2006-03-27 Thread Igor Peshansky
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". but when i try for > > cygwin it returns empty string. is t

Re: [OT] Sysinternals (was: Re: Multiple cygwin installs)

2006-03-27 Thread Alexander Herrmann
Dankeschoen On 3/27/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote: > Alexander Herrmann wrote: > > On 3/27/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: > > > On Sun, 26 Mar 2006, Larry Hall (Cygwin) wrote: > > > > Brian Hawkins wrote: > > > > See the "junction" utility from www.sysinternal.com

RE: how t o read env variable in cygwin

2006-03-27 Thread Dave Korn
On 27 March 2006 15:11, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > 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". but wh

Re: how t o read env variable in cygwin

2006-03-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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". but when i try for cygwin > it returns empty string. is the

[OT] Sysinternals (was: Re: Multiple cygwin installs)

2006-03-27 Thread Markus Schönhaber
Alexander Herrmann wrote: > On 3/27/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: > > On Sun, 26 Mar 2006, Larry Hall (Cygwin) wrote: > > > Brian Hawkins wrote: > > > See the "junction" utility from www.sysinternal.com if you're > > > interested in this. > > This link is broken(@ least for me) take

Re: Multiple cygwin installs

2006-03-27 Thread Alexander Herrmann
On 3/27/06, Igor Peshansky <[EMAIL PROTECTED]> wrote: > On Sun, 26 Mar 2006, Larry Hall (Cygwin) wrote: > > > Brian Hawkins wrote: > > > Just FYI. I found a pretty good way to manage multiple cygwin installs. > > > > > > I use the windows subst command. > > > > > > It works like this. Create a di

Re: Multiple cygwin installs

2006-03-27 Thread Igor Peshansky
On Sun, 26 Mar 2006, Larry Hall (Cygwin) wrote: > Brian Hawkins wrote: > > Just FYI. I found a pretty good way to manage multiple cygwin installs. > > > > I use the windows subst command. > > > > It works like this. Create a directory c:\cyginstalls. Then beneath > > it create a directory for e

Re: service interact with desktop broken between: 1.5.5 & 1.5.19

2006-03-27 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" <[EMAIL PROTECTED]> There's no 1.5.5 version of cygrunsrv. cygrunsrv is using its own numbering scheme, the latest version now is 1.13. As for the issue, it's a different handling of the console in case of 1.5.19. This requires a change a

RE: The 20060324/20060326 snapshots hang on testcase

2006-03-27 Thread Dave Korn
On 27 March 2006 12:00, Dave Korn wrote: > On 27 March 2006 04:04, Volker Quetschke wrote: > >> The newest 20060324/20060326 snapshots started to hang on the >> following testcase. Note, I only tried the following versions: >> >> release 1.5.19 no hang >> snapshot 20060306 no hang >> snapsh

RE: The 20060324/20060326 snapshots hang on testcase

2006-03-27 Thread Dave Korn
On 27 March 2006 04:04, Volker Quetschke wrote: > The newest 20060324/20060326 snapshots started to hang on the > following testcase. Note, I only tried the following versions: > > release 1.5.19 no hang > snapshot 20060306 no hang > snapshot 20060324 hangs > snapshot 20060326 hangs CVS

how t o read env variable in cygwin

2006-03-27 Thread cyg_win_user
i m trying to read environment variable in perl using $OSTY = $ENV{OSTYPE}; this will return os type as "linux" or "solaris". but when i try for cygwin it returns empty string. is the some other syntax of way of finding value of env variable in cygwin -- View this message in context:

Re: clamav: no shared libclamav

2006-03-27 Thread Reini Urban
2006/3/27, Yaakov S (Cygwin Ports) <[EMAIL PROTECTED]>: > clamav maintainer, > > The shared libclamav is missing from clamav-0.88-1; you need to (re-)add > '-no-undefined' to libclamav_la_LDFLAGS. Nope, -no-undefined is there I believe, resp. not necessary anymore. Another libtool problem, probabl