Re: Failure of XWin -multiwindow -clipboard in W98

2006-05-17 Thread Dominique Brazziel
I finally got this to work.  I start cygwin-X with
startx 
and the key was also include the -emulate3buttons
option
because I have a Logitech Mouse with stupid Mouseware
stuff bound to the wheel which won't honor the Paste binding.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem with -multiwindow and -clipboard when using -nolisten tcp

2006-05-17 Thread Naveed Hasan

Editing the XWin.exe 6.8.2.0-4 binary for fun and profit.
http://www.cs.columbia.edu/~naveed/CygwinX

Naveed


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



src/winsup/mingw ChangeLog mingwex/wcrtomb.c

2006-05-17 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-05-17 07:49:39

Modified files:
winsup/mingw   : ChangeLog 
winsup/mingw/mingwex: wcrtomb.c 

Log message:
* mingwex/wcrtomb.c (wcrtomb_cp): Test (wc  255) only if C locale.
Use supplied codepage as arg to WideCharToMultiByte.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/mingw/ChangeLog.diff?cvsroot=srcr1=1.294r2=1.295
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/mingw/mingwex/wcrtomb.c.diff?cvsroot=srcr1=1.1r2=1.2



RE: telnet: tcp/telnet: unknown service

2006-05-17 Thread Jose Luis Fernandez
$ echo $SYSTEMROOT 
C:\WINDOWS

[EMAIL PROTECTED] ~
$ cygcheck telnet
Found: C:\cygwin\bin\telnet.exe
C:/cygwin/bin/telnet.exe
  C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
  C:\WINDOWS\system32\ntdll.dll
  C:\WINDOWS\system32\KERNEL32.dll
  C:\WINDOWS\system32\RPCRT4.dll

Regards,
Jose Luis.




 After doing a lot more googleing, I've stumbled upon
 this fix.  Wonder
 if you know about this issue?
 
 In regedit go to

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
 edit DataBasePath change %SystemRoot% to its real
 value (on mine its
 C:\WINDOWS)  Don't know why but this fixed my issue.


  The reason it fixed your issue is probably because
SYSTEMROOT is not set in
your cygwin environment, and this causes winsock
failures, which manifest when
telnet (client) tries to look up the well-known port
number for telnet
(service) in the ports database.  So the interesting
question is, what is
going on in your environment?  Is SYSTEMROOT set or
not?  Is it correct or
not?  If that doesn't explain it, 

---Problem reports:  
http://cygwin.com/problems.html

read the bit about sending your cygcheck output *as an
attachment please* to
the list and we'll see if anything obvious shows up.



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

--
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: [Patch] patch -Z not working if timestamp contains seconds =59.5

2006-05-17 Thread Dave Korn
On 16 May 2006 21:36, Christian Franke wrote:

 René Berber wrote:
 Is there a more appropriate place to report patch bugs?
 
 
 No, that address is the one listed (even if patch now is part of
 diffutils), see: 
 
   http://www.gnu.org/software/diffutils/manual/html_node/Bugs.html#Bugs
 
 
 Page comment is This manual is for GNU Diffutils (version 2.8.1, 5
 April 2002)
 and HTTP last modified date is November, 6th 2003.
 
 So this info is possibly no longer valid.
 
 Christian


  We've been through all this before.  Diffutils moved to savannah, didn't it?
Perhaps there's a more active ML listed there?


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: setup - duplicating cygwin

2006-05-17 Thread Jim Easton
Hi Dave,

Thank you for the suggestion.  Correct me if I'm wrong but I
take it that that would be the stuff in cygwin.disk?

I should clarify.  I have no problem with loading new versions of
things, what I was after was a way of priming setup with the list of
names at the Select packages step.

I could accomplish the same thing by writing my current config on
a piece of paper and just check off the names at the new machine
but that seems so labourious.

The file I'm looking for wouldn't happen to be setup.ini by any
chance would it.  You could get that on a floopy.  :-)

Thank again.

Jim



 From: Dave Korn [EMAIL PROTECTED]
 On 16 May 2006 09:20, Jim Easton wrote:
 
  Hi,
  
  Would someone please tell me what file(s) I would have to take with
  me (eg. on a disk) to someone else's machine, both running windows XP,
  whereby I could get setup to download the same cygwin components that
  are on my machine?
 
   How about the local package cache dir?  That'd do nicely, then you just run
 setup.exe on the new machine and tell it to install from local directory, and
 point it there.  I believe this is in the FAQ somewhere but don't have a
 reference to hand.
 
 cheers,
   DaveK

--
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: Proftpd on XP pro

2006-05-17 Thread Jason Tishler
Ken,

On Sat, May 13, 2006 at 03:40:58AM -0500, zhou gang wrote:
 i installed proftpd 1.2.10 on cygwin. But it seems some features can't
 work as expected.
  
 i add a user named cathy in Users group. And i have a ken in
 Administrators group. i want to lock cathy in her home directory, and
 for ken, i wish he can change to any other directories. So i modify
 /etc/proftpd.conf. Add DefaultRoot ~ Users But after cathy login,
 she can still change to other directories. i also have other tries,
 such as DefaultRoot ~ Users, !  Administrators etc.
 Only DefaultRoot ~  works right. But in this case, ken in
 Administrators, is locked in his directory too.
  
 What can i do?
  
 Btw, my OS is windows xp pro with sp2.

http://cygwin.com/acronyms#PPIOSPE

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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: Python 2.4.1-1 time.altzone does not include DST offset

2006-05-17 Thread Jason Tishler
Christian,

On Mon, May 15, 2006 at 08:39:26PM +0200, Christian Franke wrote:
 Python's time.altzone is equal to time.timezone, it should be 
 time.timezone-3600 (for CEST)
 
 $ python -c 'import time; time.tzset(); print time.ctime(), \
  time.daylight, time.timezone, time.altzone, time.tzname'
 Sun May 14 13:46:55 2006 1 -3600 -3600 ('   ', '   ')
 
 On Cygwin, time.altzone is always set equal to time.timezone.
 
 The attached patch should fix this for most timezones.

Sorry, but I'm timezone challenged.  So, I recommend submitting your
patch to http://sourceforge.net/tracker/?group_id=5470atid=305470 for
consideration.

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/



Installation of 1.5.19

2006-05-17 Thread Jozef . Bineytioglu

Hello,

I have installed the newst version of cygwin. But something doesn't
function.
I receive the message, that followed dll failed:
cygopt-0.dll
cygminires.dll
cygXft-2.dll
cygintl-2.dll
cygz.dll

and the reinstallation would be solve the problem.
I have already reinstalled the cygwin 1.5.19. But the Problem still exist.
I can't start the CYGWIN cygserver in Managed - Services - service
marked and click on right mouse button - start.
After a few second the service will be stopped automaticly. I can never
start the services.
I have uninstalled the cygwin, cleared the registry and deleted the
services. After them rebootet the machine and installed cygwin
again. But the same situation occured again.
The same state occured for mountd, portmapd, nfsd services.
Has anybody any idea?

Jozef

This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient,
you must not copy this message or attachment or disclose the contents to
any other person. If you have received this transmission in error, please
notify the sender immediately and delete the message and any attachment
from your system. Merck does not accept liability for any omissions or
errors in this message which may arise as a result of E-Mail-transmission
or for damages resulting from any unauthorized changes of the content of
this message and any attachment thereto. Merck does not guarantee that this
message is free of viruses and does not accept liability for any damages
caused by any virus transmitted therewith.


--
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: setup - duplicating cygwin

2006-05-17 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Wed, 17 May 2006, Jim Easton wrote:

  From:   Dave Korn [EMAIL PROTECTED]

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

  On 16 May 2006 09:20, Jim Easton wrote:
 
   Hi,
  
   Would someone please tell me what file(s) I would have to take with
   me (eg. on a disk) to someone else's machine, both running windows
   XP, whereby I could get setup to download the same cygwin components
   that are on my machine?
 
How about the local package cache dir?  That'd do nicely, then you
  just run setup.exe on the new machine and tell it to install from
  local directory, and point it there.  I believe this is in the FAQ
  somewhere but don't have a reference to hand.

 Hi Dave,

 Thank you for the suggestion.  Correct me if I'm wrong but I
 take it that that would be the stuff in cygwin.disk?

 I should clarify.  I have no problem with loading new versions of
 things, what I was after was a way of priming setup with the list of
 names at the Select packages step.

 I could accomplish the same thing by writing my current config on
 a piece of paper and just check off the names at the new machine
 but that seems so labourious.

 The file I'm looking for wouldn't happen to be setup.ini by any
 chance would it.  You could get that on a floopy.  :-)

Jim, in that case you're looking for /etc/setup/installed.db with all
version numbers replaced by 0.0-0.  Just place it into
c:\cygwin\etc\setup on the target machine, and run setup normally,
clicking Next all the way through.

FWIW, we should probably have a dump bundle function in setup to allow
creating files like this.  Eventually...
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Installation of 1.5.19

2006-05-17 Thread Dave Korn
On 17 May 2006 14:31, [EMAIL PROTECTED] wrote:

 I have installed the newst version of cygwin. But something doesn't
 function.
 I receive the message, that followed dll failed:
 cygopt-0.dll
 cygminires.dll
 cygXft-2.dll
 cygintl-2.dll
 cygz.dll

  There's no such error message as dll failed.  What did it *actually* say?

 and the reinstallation would be solve the problem.
 I have already reinstalled the cygwin 1.5.19. But the Problem still exist.

  What did you actually *do* to reinstall cygwin?  Rerun setup?  Delete the
whole thing and start again?


 I can't start the CYGWIN cygserver in Managed - Services - service
 marked and click on right mouse button - start.

  What is Managed?  Where are these buttons?  What did you *actually* do?

 After a few second the service will be stopped automaticly. I can never
 start the services.
 I have uninstalled the cygwin, 

  What did you *exactly* do?

 cleared the registry ?

  What, the entire registry?  Nope, thought not.  What did you *exactly* do?

  and deleted the
 services. 

  What, all of them?  Deleted them how?  From where?  From the
windows/system32 directory?  From the registry?  From the services control
manager database?

  What did you *actually* do?

 After them rebootet the machine and installed cygwin
 again. But the same situation occured again.
 The same state occured for mountd, portmapd, nfsd services.
 Has anybody any idea?

  Start here:

Problem reports:   http://cygwin.com/problems.html

  Read the whole thing in detail, particularly the bit about sending your
cygcheck output ***as an attachment*** please, not in the body of your email,
and the bits about giving step-by-step descriptions of /exactly/ what you did
and /exactly/ what happened.

  Generally, when setup.exe fails, your best bet is to make sure that *all*
cygwin applications and services have been terminated, then run it again and
tell it to install from the local directory; it will then go through and fix
up anything that didn't get completed last time round.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: PHP for Cygwin

2006-05-17 Thread Nelson Pereira
Can anyone please help me compile PHP5 with Apache1.3 ?

Im desperate... I've been trying to do this for 2 weeks now.

Regards,
 
npereira


Subject: RE: PHP for Cygwin


How do I go about compiling PHP as an apache DSO ?

Regards,
 
npereira

Lloeki wrote:
 
  Getting PHP to build under Cygwin is NOT trivial;
 While not strictly trivial, it's not hard at all. It required me no
 patches or whatever. That is, if you keep your track on building 
 static stuff (CGI/FCGI, CLI, static in apache or the likes, but not 
 apxs/apxs2, .SO and the likes). I compiled it numerous times

Right, I was referring to getting it to compile as an apache DSO/module.
Command-line/CGI-only PHP is simple.

Brian

--
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/


--
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/


--
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: console question

2006-05-17 Thread Jeff Lange

Although it seems like a waste, I need it to look exactly like a dumb
terminal, which by setting the screen size to 80x25, and telling it to
resize the font on window resize works perfectly.

-Jeff

On 5/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

On Tue, May 16, 2006 at 11:03:01AM -0400, Jeff Lange wrote:
 well I've given up on that, now I'm hacking away at puttycyg to make
 it do what I need it to do, like send out the correct high F keys, and
 adding an argument to make it full screen on startup. =)

 Thanks,
 -Jeff

Do you use a 640x480 screen? Full screen for a console sounds like a grand
waste of field of vision.

--
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/




--
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: Python 2.4.1-1 time.altzone does not include DST offset

2006-05-17 Thread Christian Franke
Jason Tishler wrote:
 ...

 Sorry, but I'm timezone challenged.  So, I recommend submitting your
 patch to http://sourceforge.net/tracker/?group_id=5470atid=305470 for
 consideration.

Done.
http://sourceforge.net/tracker/index.php?func=detailaid=1490224group_id=5470atid=305470

Christian




--
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: Cygwin and Emacs: How to exit?

2006-05-17 Thread Shankar Unni

Lloeki wrote:
Andrew DeFaria wrote:

How is this better than simply using rxvt?

I used rxvt for some time but puttycyg rolls better for me.

 [...]

Plus, didn't we just see an announcement where future rxvt's were going 
to be built as (real-)X11-only, instead of with a stub X11 library 
(W11?) that allows it to display to a local window?



--
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: cron issue

2006-05-17 Thread Harig, Mark

 I believe the problem was in the user accounts I have
 setup on my windows box.  I have both a domain
 account domain name\rdavies, and a machine
 account machine name\rdavies.  I'll spare you the
 reasons why.  While I had stopped and deleted the
 service cron with cygrunsrv, I had never tried to
 install and start the service using the 2 steps.
 When I tried, the -u rdavies flag actually picked
 up the machine not domain user.  And it wouldn't start. 

 I deleted the machine user (assigned to group none,
 and not likely to get any use anyway) and then
 reconfigured with cron-configure.  Poof!  I now
 have a new line every minute in the goofy log
 file I was testing with.  Thanks for your help. 

If you are able to think of a test that can be added
to cron_diagnose.sh, please post it on this mail list.
It sounds like there should be a test to see whether
the user's ID is valid for cron, by some definition.

--- 

--
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: Cygwin and Emacs: How to exit?

2006-05-17 Thread Larry Hall (Cygwin)

Shankar Unni wrote:

Lloeki wrote:
 Andrew DeFaria wrote:

How is this better than simply using rxvt?

I used rxvt for some time but puttycyg rolls better for me.

  [...]

Plus, didn't we just see an announcement where future rxvt's were going 
to be built as (real-)X11-only, instead of with a stub X11 library 
(W11?) that allows it to display to a local window?


No.  rxvt will still be both.  It's just being done differently to allow
for more expandability/features.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

--
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: The $HOME variable; rxvt and .inputrc

2006-05-17 Thread Joe Smith


George wrote in message news:[EMAIL PROTECTED]

1.  Does the admonition against setting $HOME as a Windows environmental
variable still stand, or was that an old wives' tale?

If $HOME is set it windows then it MUST be a windows path, or you can break
other (non-cygwin) programs that respect $HOME. Other than that
setting $HOME is fine, as cygwin will convert the variable to a unix style 
path. 




--
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: cron issue

2006-05-17 Thread Harig, Mark

 I believe the problem was in the user accounts I have
 setup on my windows box.  I have both a domain
 account domain name\rdavies, and a machine
 account machine name\rdavies.  I'll spare you the
 reasons why.  While I had stopped and deleted the
 service cron with cygrunsrv, I had never tried to
 install and start the service using the 2 steps.
 When I tried, the -u rdavies flag actually picked
 up the machine not domain user.  And it wouldn't start. 

 I deleted the machine user (assigned to group none,
 and not likely to get any use anyway) and then
 reconfigured with cron-configure.  Poof!  I now
 have a new line every minute in the goofy log
 file I was testing with.  Thanks for your help. 

If you are able to think of a test that can be added
to cron_diagnose.sh, please post it on this mail list.
It sounds as though there should be a test to see
whether the user's ID is valid, by some definition.

---

--
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/



Internet Apps (cvs, lynx, svn) spits out an error about not being able to connect to the internet

2006-05-17 Thread Charli Li
In Cygwin, when I want to check out source code from cvs, it spits out
something that has to do with: cannot create socket.  When I want to browse
the WWW with lynx, it spits out an error about cannot access the startpage.
Now, just recently, when I want to start up X11, it spits out cannot create
socket.  The internet features worked before some time, but now it is
completely blocked!
---
BTW, is this a problem with Cygwin or is this a problem with my config?


--
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: Internet Apps (cvs, lynx, svn) spits out an error about not being able to connect to the internet

2006-05-17 Thread Bryan D. Thomas
 BTW, is this a problem with Cygwin or is this a problem with my config?

Well, we can't diagnose your config because you haven't supplied it.

http://cygwin.com/problems.html 




--
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: Internet Apps (cvs, lynx, svn) spits out an error about not being able to connect to the internet

2006-05-17 Thread Charli Li
My config is W2k, 256MB RAM, latest Cygwin1.dll, and many cygwin/GNU
packages installed.
Some of these packages include lynx, svn, cvs, X11, make, gcc, coreutils,
etc.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Bryan D. Thomas
Sent: Wednesday, May 17, 2006 9:43 PM
To: cygwin@cygwin.com
Subject: Re: Internet Apps (cvs, lynx, svn) spits out an error about not
being able to connect to the internet


 BTW, is this a problem with Cygwin or is this a problem with my config?

Well, we can't diagnose your config because you haven't supplied it.

http://cygwin.com/problems.html




--
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/



--
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/



python: update soon?

2006-05-17 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

python maintainer,

Could we have an update to python soon?  gedit-2.14 requires
PyGC_Collect, but that function was not exported in libpython2.4 until
2.4.3[1].

[1] http://svn.python.org/view?rev=42188view=rev


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEa9tPpiWmPGlmQSMRAowpAJ9UgdP/VhuGJCDe1PGfp1DuCnbrQgCgxKCH
IBBFA7m8CFVvL1GbGTQUNmU=
=Ilo0
-END PGP SIGNATURE-

--
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/



fork problem debugging

2006-05-17 Thread Bryan D. Thomas
I'm taking the risk of conflating several different
issues into one.  On the other hand, this might be a
useful synthesis to help us bottom out on fork
problems so that we can turn a snapshot into a stable
release[1]?

I've been trying to figure out strace incantations.
Hopefully someone more wizardly can help?  Is strace
the best/only attack vector on this?

In [2] Torfinn Ottesen wrote:
 I find that my loops are OK until after about 80
 cases, each loop increases my memory usage by about
 3.2 MB
 I am aware of the following information:
[3],[4],[5]
 I have strace but do not know what to do with it 

I wonder if some strace like [6] would help?

Perhaps someone could suggest a helpful cheatsheet
of
what we might want to focus on in strace output of
these processes?

If it would be helpful to run strace against the
processes in the weather.sh fork example[7]
, or in the nonsense testcase example[8]
...what should the command line be, and what would we
be looking for in output?

In [2], Larry Hall wrote:
 Sounds to me like the situation you found closely
 mirrors the behavior the MS KB article describes.
 I think it's worthwhile for you to experiment
 with the workaround proposed to see if it helps.
 It would be beneficial if you reported any results
 you saw back to this list.

Torfinn, any luck on SharedSection parameter tweaking
per the MS KB?

Regards,
Bryan

http://sourceware.org/ml/cygwin/
[1] 2006-05/msg00402.html
[2] 2006-05/msg00127.html
[3] 2006-04/msg00390.html
[4] 2005-09/msg00945.html
[5] http://support.microsoft.com/kb/824422
http://sourceware.org/ml/cygwin/
[6] 2006-05/msg00364.html
[7] 2006-04/msg00718.html
[8] 2006-05/msg00422.html

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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: Internet Apps (cvs, lynx, svn) spits out an error about not being able to connect to the internet

2006-05-17 Thread Larry Hall (Cygwin)

Reformatted top-post...


-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Bryan D. Thomas
Sent: Wednesday, May 17, 2006 9:43 PM
To: cygwin@cygwin.com
Subject: Re: Internet Apps (cvs, lynx, svn) spits out an error about not
being able to connect to the internet



BTW, is this a problem with Cygwin or is this a problem with my config?


Well, we can't diagnose your config because you haven't supplied it.

http://cygwin.com/problems.html




Charli Li wrote:
My config is W2k, 256MB RAM, latest Cygwin1.dll, and many cygwin/GNU
packages installed.
Some of these packages include lynx, svn, cvs, X11, make, gcc, coreutils,
etc.



Oh, so you have *many* cygwin/GNU packages installed.  Well then *that's*
your problem.  You can't install more than 3 without upgrading to a full
Cygwin license, which is $$$.  What do you expect for free?

All kidding aside, it's hard for people on this list to take helping you
seriously when you don't bother to read and follow the advice already
given.  If you don't want to provide a complete problem report, you're
not obligated to but people reading your email messages aren't going to
be encouraged to help you with your problem.  Just food for thought.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

--
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: simple test triggers fork errs for me in 4/27 snapshot

2006-05-17 Thread Tom Rodman
Thanks to all for trying the test.

On Tue 5/16/06 21:20 PDT Bryan D. Thomas wrote:
  If I revert to the April 3 snapshot it works fine. For the 4/27
  snapshot, it's repeatable
 
  I see this under 20060309 as well.
 
 This is repeatable on my system with both 20060427 and 20060309 versions of 
 cygwin1.dll.  Perhaps we have very similar output of 'find /usr -print0'?

IIRC I tried to tickle the fork err w/:

  while : ;do bash -c true ; done  # but this worked fine w/the 4/27 snap

Here's the nonsense command sequence again:

  cd /tmp;echo -ne '#!/bin/bash -u\nfoo $@\n' bar;chmod +x bar
  foo() { for f ;do bash -c true ;done ; } ; export -f foo
  find /usr -print0|xargs -0 ./bar

In the function foo f takes on the value from the find output,
but absolutely nothing is done with the value $f.  Maybe the fork
error would still show up if find /usr -print0, was replaced w/yes.

 What would be the interaction between this and the SharedSection  
 parameter[1]?  

The box that is acting up for me is a Windows 2000 server, w/OOTB heap settings.

It is running an Informix database server.

 What other data would be helpful to collect? 
 cygcheck -s -v -r  cygcheck.out attached.

too busy, probably for about a week to post more  :-

--
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: fork problem debugging

2006-05-17 Thread Igor Peshansky
On Wed, 17 May 2006, Bryan D. Thomas wrote:

 I'm taking the risk of conflating several different
 issues into one.  On the other hand, this might be a
 useful synthesis to help us bottom out on fork
 problems so that we can turn a snapshot into a stable
 release[1]?

I've been plagued by these problems for a while (since you didn't provide
full links in your message, I don't know whether you cited my message
among them without a lot of cutting-and-pasting).  I would like to help,
but all information I have at this point is rather negative...  One
definite data point is that unloading and reloading just Cygwin1.dll (by
exiting all Cygwin processes) fixes the problem for me (until the next
time I run that resource-intensive script that reproduces the problem).

 I've been trying to figure out strace incantations.
 Hopefully someone more wizardly can help?  Is strace
 the best/only attack vector on this?

I haven't found the strace to be all that useful, especially because the
information printed in the strace doesn't reflect what's actually
happening.  The errno value is bogus (from inspecting the code).  I have a
patch (attached) that makes it print out more of the seemingly relevant
information (pretty verbosely, basically dumping the whole pinfo structure
plus printing the Windows error code) whenever a fork error occurs, but I
haven't been able to follow through on actually using that information to
debug the problem.

 In [2] Torfinn Ottesen wrote:
  I find that my loops are OK until after about 80
  cases, each loop increases my memory usage by about
  3.2 MB
  I am aware of the following information:
 [3],[4],[5]
  I have strace but do not know what to do with it

 I wonder if some strace like [6] would help?

 Perhaps someone could suggest a helpful cheatsheet of what we might
 want to focus on in strace output of these processes?

 If it would be helpful to run strace against the processes in the
 weather.sh fork example[7] , or in the nonsense testcase example[8]
 ...what should the command line be, and what would we be looking for in
 output?

 In [2], Larry Hall wrote:
  Sounds to me like the situation you found closely mirrors the behavior
  the MS KB article describes. I think it's worthwhile for you to
  experiment with the workaround proposed to see if it helps. It would
  be beneficial if you reported any results you saw back to this list.

 Torfinn, any luck on SharedSection parameter tweaking
 per the MS KB?

I'm not Torfinn, but I can say that I've been running with
SharedSection=2048,6144,1024 (double my original values), which had no
noticeable effect on the frequency of the fork errors (i.e., I still get
them reproducibly).

 http://sourceware.org/ml/cygwin/
 [1] 2006-05/msg00402.html
 [2] 2006-05/msg00127.html
 [3] 2006-04/msg00390.html
 [4] 2005-09/msg00945.html
 [5] http://support.microsoft.com/kb/824422
 http://sourceware.org/ml/cygwin/
 [6] 2006-05/msg00364.html
 [7] 2006-04/msg00718.html
 [8] 2006-05/msg00422.html

Sorry I couldn't be of more help, but perhaps the info printed in the
patch gives someone some idea...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de BergeracIndex: fork.cc
===
RCS file: /cvs/src/src/winsup/cygwin/fork.cc,v
retrieving revision 1.175
diff -u -p -r1.175 fork.cc
--- fork.cc 29 Dec 2005 20:46:34 -  1.175
+++ fork.cc 18 May 2006 03:54:26 -
@@ -320,11 +320,15 @@ frok::parent (void *stack_here)
 
   if (!child)
 {
+  int e = get_errno();
   this_errno = get_errno () == ENOMEM ? ENOMEM : EAGAIN;
 #ifdef DEBUGGING
-  error = pinfo failed;
+  static char buf[4096];
+  int w = geterrno_from_win_error();
+  snprintf(buf, 4095, pinfo failed: %d, %d, e, w);
+  error = buf;
 #else
-  syscall_printf (pinfo failed);
+  syscall_printf (pinfo failed: %d, %E, e);
 #endif
   goto cleanup;
 }
Index: pinfo.cc
===
RCS file: /cvs/src/src/winsup/cygwin/pinfo.cc,v
retrieving revision 1.225
diff -u -p -r1.225 pinfo.cc
--- pinfo.cc11 Feb 2006 04:53:14 -  1.225
+++ pinfo.cc18 May 2006 03:54:27 -
@@ -259,6 +259,61 @@ pinfo::init (pid_t n, DWORD flag, HANDLE
 locking mechanism, just loop.  */
   if (!created  createit  (procinfo-process_state  PID_EXITED))
{
+ if (i == 0) {
+ system_printf(procinfo = { pid=%d, process_state=%x, exitcode=%u, 

wget from cron update Re: need help with cygwin snapshot debugging

2006-05-17 Thread Bryan D. Thomas
 If you are willing to continue testing, it may be worthwhile to
 keep this running for a couple of days.  Maybe it is sporadic enough
 that it is only triggered very occasionally.

I do seem to have run afoul of some problem with this process after another 
day.  Though I cannot find any unexpected processes in ps ax output or 
tasklist and cannot tell from the filesystem or the weather.log or cron.log 
whether any files were not downloaded as they should have been, I do see 
this output from netstat -ano:

TCP192.168.1.149:2479 63.111.66.12:80TIME_WAIT   0
[15 more just like it]

nslookup tells me that 63.111.66.12 is weather.com

My interpretation is that some of the wget processes to the weather.com site 
triggered from the weather.sh in my crontab have not completed.  This state 
persisted for several minutes, until I stopped the cron service.

Hopefully other avenues will prove fruitful.  I need to stop running this 
test. 




--
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/