Re: Truncated Environment Variables? - using Cygwin + GetEnvironmentStrings() WIN32 API

2006-04-29 Thread Brian Dessent
Kaveh Goudarzi wrote: > 1. is it possible to somehow force cygwin to always sync > the env with windows prior to spawning a child process (any > child process)? Well, you could always patch the DLL to not perform this optimization. I'm not sure if it's possible to do this in any other way. > 2.

Re: Truncated Environment Variables? - using Cygwin + GetEnvironmentStrings() WIN32 API

2006-04-29 Thread Christopher Faylor
On Sun, Apr 30, 2006 at 03:32:55AM +, Eric Blake wrote: >On Sun, Apr 30, 2006 at 04:12:52AM +0100, Kaveh Goudarzi wrote: >>I'm working on an app which attempts to get the environment of running >>cygwin apps. It does this by running the GetEnvironmentStrings() win32 >>api call in the context o

[ANNOUNCEMENT] Updated: texinfo-4.8-2

2006-04-29 Thread Christopher Faylor
I've made a new version of 'texinfo' available for installation. This version should correctly translate files which contain CRLF and it also fixes a trivial problem found by the texinfo test suite where texinfo did not properly recognize /dev/null as the null device. For a brief description of t

Re: Truncated Environment Variables? - using Cygwin + GetEnvironmentStrings() WIN32 API

2006-04-29 Thread Kaveh Goudarzi
Hi Eric/Brian, Thanks for your responses. I hope you don't mind answering a few more questions :-) 1. is it possible to somehow force cygwin to always sync the env with windows prior to spawning a child process (any child process)? 2. How does cygwin work out if it's spawning a

Re: Truncated Environment Variables? - using Cygwin + GetEnvironmentStrings() WIN32 API

2006-04-29 Thread Brian Dessent
Kaveh Goudarzi wrote: > I'm working on an app which attempts to get > the environment of running cygwin apps. It does this > by running the GetEnvironmentStrings() win32 api call > in the context of the running cygwin app (code injection). > However the result that comes back as a truncat

Re: Truncated Environment Variables? - using Cygwin + GetEnvironmentStrings() WIN32 API

2006-04-29 Thread Eric Blake
> > I'm working on an app which attempts to get > the environment of running cygwin apps. It does this > by running the GetEnvironmentStrings() win32 api call > in the context of the running cygwin app (code injection). That is somewhat risky, as recent threads have discussed how windows

Truncated Environment Variables? - using Cygwin + GetEnvironmentStrings() WIN32 API

2006-04-29 Thread Kaveh Goudarzi
Hi, I'm working on an app which attempts to get the environment of running cygwin apps. It does this by running the GetEnvironmentStrings() win32 api call in the context of the running cygwin app (code injection). However the result that comes back as a truncated version of the environme

Re: How do I detect a failure in Make?

2006-04-29 Thread Christopher Faylor
On Sat, Apr 29, 2006 at 04:42:08PM -0600, Eric Blake wrote: >According to Doyle Rhynard on 4/28/2006 3:51 PM: >> Use "remake" the make debugger >> It will allow you to step through the makefile and stop when an error is >> found. > >You know, remake is built

Re: Recovering after updating while cygwin was running

2006-04-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ido Trivizki on 4/28/2006 6:58 PM: > memory version mismatch detected - 0x75BE0074/0x75BE0096. > This problem is probably due to using incompatible versions of the > cygwin DLL. Are you sure you searched all the directories on your PATH f

Re: Error on /bin/sh -login: "cannot remove /bin/sh.exe: Permission denied"

2006-04-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Webb Roberts on 4/27/2006 2:00 PM: >> I will also try to clean up the profile script to short-circuit when you >> are running /bin/sh instead of /bin/bash > > One thing you might do is to have the /etc/profile.d sh-update-script > delete

99 MB Hosting 9 YTL - www.acilhost.com

2006-04-29 Thread kampanya
BÖYleSi GöRÜLMeDİ +999 MB Hosting +999 MB MysQl +100 Pop3 Web Mail +10 GB Veri Transferi 10 DOMAIN BARINDIRMA Özelliği...(10 lu Paket) Sadece 99 YTL İster bir yıllık alın, ister 2-3-4-5 yıllık Bu kampanya kaçmaz... www.acilhost.com / İNTERNETTEKİ E

Re: How do I detect a failure in Make?

2006-04-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Doyle Rhynard on 4/28/2006 3:51 PM: > > Use "remake" the make debugger > It will allow you to step through the makefile and stop when an error is > found. You know, remake is built by the same guy

[ANNOUNCEMENT] Updated: bash-3.1-6

2006-04-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of bash, 3.1-6, is available, replacing 3.1-5 as the current version. NEWS: = This is a minor patch release. The postinstall scripts are updated to ensure that /bin/sh is up-to-date even if you use tcsh as your login shell, as well

Re: Geomview and Cygwin

2006-04-29 Thread Christopher Faylor
On Sat, Apr 29, 2006 at 09:44:36PM +0100, Lloyd Wood wrote: >>So, that means that "Geomview" will either have to use what we provide >>or decide not to support Cygwin. > >I suspect Geomview will just wait for Cygwin to return its support for >d_ino in 1.5.20. Thanks to Eric Blake for an informativ

Re: Geomview & Cygwin setup [Attn gcc maintainer]

2006-04-29 Thread Christopher Faylor
On Sat, Apr 29, 2006 at 04:46:31PM +, Eric Blake wrote: >However, I feel that the output of gcc -v is not entirely freeform, because >part of it is also used in gcc --version. In this recent autoconf thread, >http://lists.gnu.org/archive/html/autoconf/2006-04/msg00116.html, >it was pointed out

Geomview and Cygwin

2006-04-29 Thread Lloyd Wood
> So, that means that "Geomview" will either have to use what we provide > or decide not to support Cygwin. I suspect Geomview will just wait for Cygwin to return its support for d_ino in 1.5.20. Thanks to Eric Blake for an informative message. (How to download snapshots? There's nothing newer

Re: X-client on Cygwin/XP, X-server on 'Nix

2006-04-29 Thread Brett Serkez
X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). In theory you have credentials in a file called .Xauthority. These credentials are forwarded along with the display and need to be sent back to the X-server to a

X-client on Cygwin/XP, X-server on 'Nix

2006-04-29 Thread Friendly neighborhood Cygwin user
Hello! I have sshd, ssh, and X11 set up on my XP laptop such that I can "ssh -Y" into linux boxes and run programs there while sitting at my laptop. I would like also to do the reverse: To "ssh -X" into my laptop from a unix box and to run x-clients on my laptop while sitting at the unix worksta

Re: Windows Vista Beta 2

2006-04-29 Thread Robert Pendell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jennifer Smith wrote: > I tried to install cygwin on the Windows Vista Beta 2 (build 5308), here > are the problems I've run into: > 1) During package install bash seems to crash. > I get this dialog from windows: > Please close bash.exe > A problem ca

RE: Geomview & Cygwin setup [Attn gcc maintainer]

2006-04-29 Thread Eric Blake
Dave Korn wrote: > > (Why #define says __CYGWIN__ and gcc -v says something else is > > silly.) > > No it isn't. Your assumption that the two have to be in some way related is > silly. As is attempting to parse the output from "gcc -v" to detect a given > target rather than using one of the p

- LeGeNdOfHyIp -

2006-04-29 Thread new & hot & just started
new hyip paid me Referral plz join and paid under me :) http://legendofhyip.com/?ref=mazika -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: where to find "dig" command?

2006-04-29 Thread Hiroki Sakagami
I was able to use Windows native binary on the Cygwin console. Thank you. On 4/29/06, Thorsten Kampe <[EMAIL PROTECTED]> wrote: * Hiroki Sakagami (2006-04-28 16:19 +) > Where is "dig" DNS lookup command? > It seems that search at http://cygwin.com/packages/ has no result package. ftp://ftp

Re: rsync over ssh hang issue understood

2006-04-29 Thread Steven Hartland
Corinna Vinschen wrote: freebsd1> ssh cygwin1 cygwin1> echo "1" > /tmp/test.txt cygwin1> cat /tmp/test.txt 1 cygwin1> exit freebsd1> ssh cygwin1 "cat /tmp/test.txt" *** no output *** Looks like its just not flushing the output at someone point in the reworked code. I just tried it a couple of

SSH X11 forwarding hang work around

2006-04-29 Thread Brett Serkez
There have been several posts in regard to the ssh -X/-Y hang, with no resolution. A simplistic work around is to simply not use xauth.exe. If the port that the X server is running on (i.e. 6000 by default) is only available via localhost, this should be reasonably secure vs. validating individu

Re: rsync over ssh hang issue understood

2006-04-29 Thread Brett Serkez
This is really a tricky problem. What I could do to circumvent this at least for connections over ssh is to upload an OpenSSH test version which uses socketpairs instead of pipes for the local connection to the applications. This avoids using pipes which are the culprit here, This thread's

Re: New Mirror in Armenia

2006-04-29 Thread Brian Dessent
---SHMEL--- wrote: > we want to open a CygWin Mirror on our server in Armenia. How can we do it? Are you asking how to actually setup the mirror, or how to get your site added to the official list? If the former, then there are multiple ways to go about it, but probably the best is rsync. If th

New Mirror in Armenia

2006-04-29 Thread ---SHMEL---
we want to open a CygWin Mirror on our server in Armenia. How can we do it? --- ArmLUG Team -- ---SHMEL--- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: rsync over ssh hang issue understood

2006-04-29 Thread Corinna Vinschen
On Apr 29 01:53, Steven Hartland wrote: > Steven Hartland wrote: > >Good news this does fix the issue. I've just successfully done > >an rsync of ~1G ( 1700 files ) with no problem at all. > > > >Also note that due to the existing performance issues in ssh ( I've > >still not had chance to dig more