Re: Read from socket failed: Connection reset by peer

2012-04-26 Thread Gyurmo
Hello, yes, I can connect, but something drop mine connection. Why? Which is last working version on XP SP3? 2012/4/26 Andrey Repin : > Greetings, Gyurmo! > >> Hello, I probed. >> ssh working with telnet. > >> openssh              6.0p1-1 > >> WindowsXP Event Log entry for sshd service: >> ===

Re: peflags warning and tsaware flags

2012-04-26 Thread Achim Gratz
Larry Hall (Cygwin) writes: > Does this help? Thanks, I've been reading this before. Tentatively I concluded that all Cygwin executables should have the +tsaware set, I just wanted to make sure that there aren't some that I would break if I do this. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+30

Re: bad performance when opening many files on Win7

2012-04-26 Thread Achim Gratz
Larry Hall (Cygwin) writes: > Here's some background. > > > > Anything there describe your setup? The part about "groups with many members" looks oddly familiar. Incidentally I've never had enough patience for makepasswd to finish while sc

Re: how to drop administrator privileges?

2012-04-26 Thread Achim Gratz
Charles Wilson writes: > The "cygdrop.exe" utility is part of the cygutils package. Thank you. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- Proble

Re: bad performance when opening many files on Win7

2012-04-26 Thread Larry Hall (Cygwin)
On 4/26/2012 4:47 PM, Achim Gratz wrote: I've seen major performance regressions on Win7 compared to an pre-1.7 Cygwin version on Win2000. I had initially suspected the virus scanner and disabling the real-time scan for the whole Cygwin folder did improve things appreciably. However the real p

Re: peflags warning and tsaware flags

2012-04-26 Thread Larry Hall (Cygwin)
On 4/26/2012 4:28 PM, Achim Gratz wrote: Corinna Vinschen writes: The warning might be a bit misleading. What it really tries to tell you is that the file in question is not an executable (*.exe). The tsaware flag has no meaning for DLLs, it's only evaluated in headers of executables. That e

Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)

2012-04-26 Thread Christopher Faylor
On Thu, Apr 26, 2012 at 09:18:27PM -, James Johnston wrote: >== SenderC.c: Sender program in Visual C++ 2008 == > >#include >int main() { > char * test = "Hello world!\n"; > DWORD written; > HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE); /* Get standard output >f

Re: Cygwin | Cygwin Compatibility Issue report ID 386608.

2012-04-26 Thread Nick Lowe
Dear Microsoft, Which version did you test? See the following thread: http://cygwin.com/ml/cygwin-developers/2011-10/threads.html#5 "Re: Add support for Windows 8, first step" Regards, Nick On Fri, Apr 27, 2012 at 1:05 AM, Anuja Singh (MP Tech Consulting LLC) wrote: > find_fast_cwd --

Cygwin | Cygwin Compatibility Issue report ID 386608.

2012-04-26 Thread Anuja Singh (MP Tech Consulting LLC)
Hi Cygwin Support, I am a Program Manager with the Ecosystem Engineering team at Microsoft. At Mobile World Congress in February, Microsoft announced the availability of the Windows 8 Consumer Preview. Please use the resources available at the Windows Development Center and begin testing your a

Re: How to access /dev/ttyS* ?

2012-04-26 Thread Ryan Johnson
On 26/04/2012 4:04 PM, Corinna Vinschen wrote: On Apr 26 11:48, Ryan Johnson wrote: Hi all, I'm trying to connect a VirtualBox guest's serial port to something that cygwin/gdb can access for remote debugging, and am having trouble connecting the pieces... One post from a couple of years ago [1

Re: how to drop administrator privileges?

2012-04-26 Thread Charles Wilson
On 4/26/2012 4:33 PM, Achim Gratz wrote: > > I've recently had a test fail because I started it with administrator > privileges (via the Administrator group). The test tried to write to a > file that it set read-only before and of course as an administrator it > was still able to write to it. So

Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)

2012-04-26 Thread James Johnston
I have "run into an issue with Cygwin". This is arguably not a bug in Cygwin, but in other platform runtime libraries. Never-the-less, the symptoms occur only with Cygwin and not the Windows command prompt. So, from a practical standpoint, Cygwin is "broken." This is almost certainly the same i

bad performance when opening many files on Win7

2012-04-26 Thread Achim Gratz
I've seen major performance regressions on Win7 compared to an pre-1.7 Cygwin version on Win2000. I had initially suspected the virus scanner and disabling the real-time scan for the whole Cygwin folder did improve things appreciably. However the real performance hit when an application opens or

how to drop administrator privileges?

2012-04-26 Thread Achim Gratz
I've recently had a test fail because I started it with administrator privileges (via the Administrator group). The test tried to write to a file that it set read-only before and of course as an administrator it was still able to write to it. So the test fail wasn't really that important, but I

Re: peflags warning and tsaware flags

2012-04-26 Thread Achim Gratz
Corinna Vinschen writes: > The warning might be a bit misleading. What it really tries to tell you > is that the file in question is not an executable (*.exe). The tsaware > flag has no meaning for DLLs, it's only evaluated in headers of > executables. That explains a lot more than that warning

Re: How to access /dev/ttyS* ?

2012-04-26 Thread Corinna Vinschen
On Apr 26 11:48, Ryan Johnson wrote: > Hi all, > > I'm trying to connect a VirtualBox guest's serial port to something > that cygwin/gdb can access for remote debugging, and am having > trouble connecting the pieces... > > One post from a couple of years ago [1] suggests using /dev/ttyS* to > acc

Re: peflags warning and tsaware flags

2012-04-26 Thread Corinna Vinschen
On Apr 26 15:16, Achim Gratz wrote: > What is peflags trying to tell me with this warning, which is only present > when > the "-v" switch is in effect? > > > > ash -c "PATH=/bin peflags -t -d -v /usr/lib/zsh/4.3.12/zsh/zutil.dll" > Warning: file is non-executable but has tsaware set > (/usr/lib

Re: Re: [ANNOUNCEMENT] Updated: rebase-4.1.0-1

2012-04-26 Thread Corinna Vinschen
On Apr 26 10:49, KJ wrote: > I've installed CygWin in the root directory "C:\Program Files > (x86)\CygWin" (I know that it's not recommended to use spaces in the > directory names), but my installation worked so far. > > I'd like to suggest a minor change when calling the _autorebase package. > As

Re: Read from socket failed: Connection reset by peer

2012-04-26 Thread Andrey Repin
Greetings, Gyurmo! > Hello, I probed. > ssh working with telnet. > openssh 6.0p1-1 > WindowsXP Event Log entry for sshd service: > = > The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The > local > computer may not have the necessary r

Re: cygwin 1.7.13-1: can't execute shell scripts on samba share

2012-04-26 Thread Andrey Repin
Greetings, Michel Bardiaux! >> From: Andrey Repin >> Mode on the *nix side seems unimportant, as Samba fakes ACL, if client do >> not understand native modes. > It is unimportant if the samba share is just a file server for Windows > machines. It is unimportant in the currently discussed issue.

Re: Odd behavior of scripts in dos mode

2012-04-26 Thread Andrew DeFaria
On 4/26/2012 7:40 AM, Eric Blake wrote: On 04/26/2012 08:13 AM, Andrew DeFaria wrote: I remember that Cygwin used to not be able to run scripts that were converted or were in "DOS" mode - had trailing carriage returns in the file. It would fail because the #! line might have /bin/bash\r which wa

Re: /bin in path before /usr/bin breaks latex

2012-04-26 Thread Ken Brown
On 4/26/2012 11:05 AM, Mark Frazer wrote: Updating cygwin yesterday broke several of my scripts. Turns out this was because they have /bin before /usr/bin in their PATH exported to child processes which broke latex. To reproduce: env PATH=/bin:"$PATH" latex manual.tex Seems that the latex r

RE: Odd behavior of scripts in dos mode

2012-04-26 Thread Buchbinder, Barry (NIH/NIAID) [E]
Earnie Boyd sent the following at Thursday, April 26, 2012 10:27 AM > >http://cygwin.com/faq/#faq.api.cr-lf You can also avoid to change the source code at all ^ changing - Barry Disclaimer: Statements made herein are not made on behalf of NIAID.

How to access /dev/ttyS* ?

2012-04-26 Thread Ryan Johnson
Hi all, I'm trying to connect a VirtualBox guest's serial port to something that cygwin/gdb can access for remote debugging, and am having trouble connecting the pieces... One post from a couple of years ago [1] suggests using /dev/ttyS* to access COM ports. This would work great... except t

peflags warning and tsaware flags

2012-04-26 Thread Achim Gratz
What is peflags trying to tell me with this warning, which is only present when the "-v" switch is in effect? > ash -c "PATH=/bin peflags -t -d -v /usr/lib/zsh/4.3.12/zsh/zutil.dll" Warning: file is non-executable but has tsaware set (/usr/lib/zsh/4.3.12/zsh/zutil.dll). /usr/lib/zsh/4.3.12/zsh/z

Re: Odd behavior of scripts in dos mode

2012-04-26 Thread Eric Blake
On 04/26/2012 08:13 AM, Andrew DeFaria wrote: > I remember that Cygwin used to not be able to run scripts that were > converted or were in "DOS" mode - had trailing carriage returns in the > file. It would fail because the #! line might have /bin/bash\r which was > not a file (bash with a carriage

Re: Odd behavior of scripts in dos mode

2012-04-26 Thread Andrew DeFaria
On 04/26/2012 07:26 AM, Earnie Boyd wrote: On Thu, Apr 26, 2012 at 10:13 AM, Andrew DeFaria wrote: I remember that Cygwin used to not be able to run scripts that were converted or were in "DOS" mode - had trailing carriage returns in the file. It would fail because the #! line might have /bin/ba

Re: Odd behavior of scripts in dos mode

2012-04-26 Thread Earnie Boyd
On Thu, Apr 26, 2012 at 10:13 AM, Andrew DeFaria wrote: > I remember that Cygwin used to not be able to run scripts that were > converted or were in "DOS" mode - had trailing carriage returns in the file. > It would fail because the #! line might have /bin/bash\r which was not a > file (bash with a

RE: cygwin 1.7.13-1: can't execute shell scripts on samba share

2012-04-26 Thread Michel Bardiaux
> From: Andrey Repin > Mode on the *nix side seems unimportant, as Samba fakes ACL, if client do not understand native > modes. It is unimportant if the samba share is just a file server for Windows machines. But if you also work on 'nix machines, locally on that server or via nfs, then you want m

Odd behavior of scripts in dos mode

2012-04-26 Thread Andrew DeFaria
I remember that Cygwin used to not be able to run scripts that were converted or were in "DOS" mode - had trailing carriage returns in the file. It would fail because the #! line might have /bin/bash\r which was not a file (bash with a carriage return that is). But the behavior has changed. Now

man cygcheck patch

2012-04-26 Thread Nellis, Kenneth
The cygcheck manpage has some unsightlies: vv $ man cygcheck NAME - List system information, check installed packages, or query package database. ... Note: -c, -f, and -l only report on packages that are currently installed. To

[ANNOUNCEMENT] Updated: cppcheck-1.54-1

2012-04-26 Thread Chris Sutcliffe
Version 1.54-1 of cppcheck has been uploaded, following the upstream release. cppcheck is a tool for static C/C++ code analysis. It tries to detect bugs that your C/C++ compiler doesn't see. The goal is no false positives. cppcheck is versatile. You can check non-standard code that includes var

Re: Re: [ANNOUNCEMENT] Updated: rebase-4.1.0-1

2012-04-26 Thread KJ
Am 27.03.2012 10:36, schrieb Corinna Vinschen: > On Mar 26 22:59, Ryan Johnson wrote: >> On 26/03/2012 9:40 PM, Jason Tishler wrote: >>> New News: >>> === >>> I have updated the version of rebase to 4.1.0-1. The tarballs should be >>> available on a Cygwin mirror near you shortly. >>> >>> The

Re: Read from socket failed: Connection reset by peer

2012-04-26 Thread Gyurmo
Hello, I probed. ssh working with telnet. openssh 6.0p1-1 WindowsXP Event Log entry for sshd service: = The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local computer may not have the necessary registry information or message DLL fi

Re: The "date" command is giving wrong results.

2012-04-26 Thread Corinna Vinschen
On Apr 25 16:28, Rodrigo Medina wrote: > Hi, > The command "date" is giving wrong results: > > In cygwing-bash: > $ date > Jue, 26 de Abr de 2012 06:27:24 a.m. > > While in the Windows command shell: > > C:\Documents and Settings\rmedina>time > The current time is: 15:57:24.24 > > > C:\Documen

Re: ssh wants to use /.ssh and not ~/.ssh?

2012-04-26 Thread Andrey Repin
Greetings, kuaf! > I've come across this issue also after installing latest Cygwin. Don't > know how to fix it. Don't top-post, and you'll see your answer. > тз 2012дЙ4тб26ху ионГ2:13ё╛marco atzeri п╢╣юё╨ >> On 4/25/2012 7:32 PM, Garrison, Jim (ETW) wrote: >>> >>> New install of Cygwin on Win7X