Re: ATTN: cvs maintainer please upgrade from 1.11.x to 1.12.9

2005-12-20 Thread Jari Aalto
Charles Wilson [EMAIL PROTECTED] writes:

| Jari Aalto wrote:
| 
|  The CVS in Cygwin is rather old. The problematic in it is, that
|  it does not work in environments where all traffic must go through
|  SQUID proxy.
|  The support was added 1.12.7 and Debian includes 1.12.9 (unstable)
| 
| Somebody is going to have to persuasively make the case that we should
| be using the feature (e.g. unstable development, 1.12.x) version of
| CVS, rather than the stable (1.11.x) version.
| 
| Saying that Debian __unstable__ distributes the 1.12.x version doesn't
| quite do that.

The reason was at the beginning. In corporate environment, the 1.xx
cannot be used due to Proxy restrictions. It would be good if there
were, as mentioned in other post, a test version that people could
upgrade.

Jari



[BUG] Setup.exe does not work properly with high contrast colour scheme.

2005-12-20 Thread Tim O'Callaghan
Setup does not play well with any of the windows desktop high contrast
color schemes. It is usable with High Contrast #2, but utterly
unusable with High Contrast Black.

Essentially the background for the text used to describe a package or
package group is fixed to 'White' rather than the system default. So
if you use a windows color scheme like High Contrast Black, which is
a black background with white foreground text, you cannot see the
displayed text.

This is easily verified by running setup.exe under a high contrast
scheme, or switching schemes while setup.exe is in the package
selection menu.

Tim.
I've worked myself up from nothing to a state of supreme poverty.
-- Groucho Marx


Re: [BUG] Setup.exe does not work properly with high contrast colour scheme.

2005-12-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Tim O'Callaghan on 12/20/2005 7:03 AM:
 Essentially the background for the text used to describe a package or
 package group is fixed to 'White' rather than the system default. So
 if you use a windows color scheme like High Contrast Black, which is
 a black background with white foreground text, you cannot see the
 displayed text.

This is a known issue, with a patch provided but not yet applied.  Can we
please get another setup.exe release soon?

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDqBAt84KuGfSFAYARAhmDAKCwENRbwka3V3hD4Kdk9iVm5cN4KACgwHDX
CUECu7XVYTuJMPzVmVp3vOo=
=WdRd
-END PGP SIGNATURE-


Important

2005-12-20 Thread admin
Salut !

Royal Contact a maintenant décidé d'orienter sa clientèle dans la tranche d'âge 
entre 18 et 40 ans.

Une publicité sera faite dans les CEGEPS et Universités pour recrutter du 
nouveau monde.

Si vous êtes dans cette tranche d'âge, Faites-vous une fiche sur le site et une 
fois entré, cliquez le lien pour contacter l'administration. Inscrivez votre 
nick et dites que vous aimeriez être membre privilège. Si votre profil comporte 
une photo, toutes les options y compris la salle video vous seront offertes 
gratuitement pour toute la période de la promotion de départ.

Profitez-en pendant que ça passe.

Joyeux Noel et au plaisir de vous voir sur Royal Contact.

www.royalcontact.com

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



pager and virtual desktops

2005-12-20 Thread Luke Vanderfluit

Hi.

My next question on cygwin is to do with pagers and virtual desktops.
On my regular linux boxes, I run virtual desktops using a pager to
switch between them.
Is this possible under cygwin?

Thanks.
Kind regards.

--
Luke



--
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: pager and virtual desktops

2005-12-20 Thread Soong, SylokeJ

At first, I was wondering if you meant using SNPP to switch desktops.
(Why would anyone want to use telephony to manage a cygwin screen?)
I guess that is not your intent.

I am guessing you are not using multi-windows.

Do you already run twm rather than the default window manager?
I have twm create the number of desktops I need.

Through prior help from people on this list - Alternatively,
I could also run two displays on a cygwin server process
or two single-display cygwin server processes.
Then I use an Win/XP multi-desktop software,
and place each cygwin display window on separate multi-desks.

The links attached by cygwin list server at the end of every email
would lead you to manuals to show how to run multiple display windows
or multiple cygwin servers. Otherwise, someone on the list would
be able write out a short routine to illustrate.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Luke Vanderfluit
Sent: Tue, December 20, 2005 4:59 PM
To: cygwin-xfree@cygwin.com
Subject: pager and virtual desktops


Hi.

My next question on cygwin is to do with pagers and virtual desktops.
On my regular linux boxes, I run virtual desktops using a pager to
switch between them.
Is this possible under cygwin?

Thanks.
Kind regards.

-- 
Luke

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



Two old X11 problems

2005-12-20 Thread Rodrigo Medina
Hi,
I will refer to two issues that have been around from two years, they are
more
X11 problems than Cygwin/X problems, but as I understand you Cygwin/X people
are  close to the people that can fix them.

1- The xman program is not compatible with new versions of man. The
   program should be modified in order to call nroff with the -c option.
   See:  http://sourceware.org/ml/cygwin-xfree/2004-03/msg00299.html

2- The us_intl keyboard of X11 is very limited. It doesn't have dead
accents,
   and lacks of reversed ! and reversed ?. The Windows US international
   layout is much better. A us_intl_win layout has been proposed that
functions
   like the Windows US-international.
   See:  http://sourceware.org/ml/cygwin-xfree/2003-11/msg00218.html

Happy holidays

RM.


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



run fails with xmgrace

2005-12-20 Thread Rodrigo Medina
Hi,
There is a peculiar behavior of run with xmgrace

In the Windows cmd shell, XWin is running:

C:\set DISPLAY=127.0.0.1:0.0
C:\PATH=%PATH%;\cygwin\bin;\cygwin\usr\X11R6\bin
C:\run xterm

then the xterm window appears, but

C:\run xmgrace

Nothing appears. (there are no messages, there is no process in ps).

Actually there was another problem with xmgrace because in /bin
there is a soft link, not the .exe, but that was taken care of.
Happy holidays
RM.




--
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: Two old X11 problems

2005-12-20 Thread Alan Hourihane
On Tue, 2005-12-20 at 18:55 -0400, Rodrigo Medina wrote:
 Hi,
 I will refer to two issues that have been around from two years, they are
 more
 X11 problems than Cygwin/X problems, but as I understand you Cygwin/X people
 are  close to the people that can fix them.
 
 1- The xman program is not compatible with new versions of man. The
program should be modified in order to call nroff with the -c option.
See:  http://sourceware.org/ml/cygwin-xfree/2004-03/msg00299.html
 
 2- The us_intl keyboard of X11 is very limited. It doesn't have dead
 accents,
and lacks of reversed ! and reversed ?. The Windows US international
layout is much better. A us_intl_win layout has been proposed that
 functions
like the Windows US-international.
See:  http://sourceware.org/ml/cygwin-xfree/2003-11/msg00218.html

Any bugs like this or Cygwin/X specific bugs too, can be filed at the
Xorg bug database on

http://bugs.freedesktop.org 

and choose xorg as the package. 

It would also be useful for those who actually produce patches to file
bug reports and attach patches to fix problems so that they can be
tracked accordingly.

Thanks,

Alan.


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



winsup/cygwin ChangeLog fhandler.h fhandler_te ...

2005-12-20 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-12-20 18:14:42

Modified files:
cygwin : ChangeLog fhandler.h fhandler_termios.cc 

Log message:
* fhandler.h (fhandler_termios::fixup_after_exec): Make non-inlined.
* fhandler_termios.cc (fhandler_termios::fixup_after_exec): Don't call
fixup_after_fork if close_on_exec'ed.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.3273r2=1.3274
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaumr1=1.277r2=1.278
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaumr1=1.64r2=1.65



src/winsup/cygwin ChangeLog miscfuncs.cc winsup.h

2005-12-20 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2005-12-20 20:34:28

Modified files:
winsup/cygwin  : ChangeLog miscfuncs.cc winsup.h 

Log message:
* winsup.h (flush_file_buffers): Define as inline function.
* miscfuncs.cc (flush_file_buffers): Remove.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3275r2=1.3276
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/miscfuncs.cc.diff?cvsroot=srcr1=1.38r2=1.39
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/winsup.h.diff?cvsroot=srcr1=1.177r2=1.178



Re: Fix /lib=/usr/lib alias in cygcheck -f

2005-12-20 Thread Corinna Vinschen
On Dec 19 11:34, Igor Pechtchanski wrote:
 Hi,
 
 Due to a missing trailing /, cygcheck -f did not recognize /lib as
 being the same as /usr/lib.  The attached patch fixes this.  ChangeLog
 below.
   Igor
 ==
 2005-12-19  Igor Pechtchanski  [EMAIL PROTECTED]
 
   * dump_setup.cc (package_find): Fix is_alias computation for
   /usr/lib.

Applied, thanks.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: vim under cygwin

2005-12-20 Thread Jim Easton
On Tue, 20 Dec 2005, Luke Vanderfluit wrote:
 Hi.

 I'm a vi user :-)

 I recently started using cygwin, so forgive me if this is an obvious one.
 I want to use vi under cygwin but I'm having trouble with terminal settings.

 apparently these are the possible term settings.

 builtin_ansi
 builtin_xterm
 builtin_iris-ansi
 builtin_dumb

 However, none of these work right.
 Can someone advise me on the term settings for windows XP/cygwin or
 point me to an appropriate resource.

Hi,

For what it's worth I set the term type to vt100 and have had
no problems with vi/vim.

In my .Xresources file I have the line,
XTerm*TermName: vt100

Jim


--
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: Compiling oRTP under cygwin

2005-12-20 Thread Holger Krull

Aengus schrieb:


In file included from port_fct.c:24:
rtpsession.h:83: error: field `loc_addr' has incomplete type
rtpsession.h:84: error: field `rem_addr' has incomplete type
rtpsession.h:125: error: field `loc_addr' has incomplete type
rtpsession.h:126: error: field `rem_addr' has incomplete type




This  happens with various different versions of the library including the
latest. Anyone any suggestions? seen this before?



You probably need to include in.h to get the needed typedefs.

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



Setting cygwin permissions from Windows programs

2005-12-20 Thread Steve Holden
I am writing a Python program to generate file trees to be distributed 
to a Linus machine using Cygwin's scp. As the GUI to this program uses 
wxPython, a native Windows approach is the most straightforward.


Is there any way to set permissions on the output files from the Windows 
side that will result in predictable permissions when the output tree is 
viewed from Cygwin?


A Python recipe would be useful, but I'll take what I can get!

regards
 Steve
--
Steve Holden   +44 150 684 7255  +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006  www.python.org/pycon/


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



It this a license violation?

2005-12-20 Thread Colin Harrison
Hi,

Spotted this on the web:-

http://www.axiomsol.com/hedesu/kb/details.php?id=45

Does this comapany have a legit license?

Colin Harrison


--
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: It this a license violation?

2005-12-20 Thread Colin Harrison
Oops wrong list.

Should be on cygwin-licensing at cygwin dot com 

More coffee for me!

Colin Harrison


--
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: pager and virtual desktops

2005-12-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Luke Vanderfluit on 12/19/2005 10:08 PM:
 Hi.
 
 My next question on cygwin is to do with pagers and virtual desktops.
 On my regular linux boxes, I run virtual desktops using a pager to
 switch between them.
 Is this possible under cygwin?

Yes.  As has been pointed out on this list, anything in software is
possible with enough time and money.  And in the case of this question, I
believe the programs to do so already exist pre-compiled for cygwin.


Oh, you wanted more details - well, your question sounds like a windows
manager (hint: X-related) question, so you should ask on the cygwin-xfree
list, not here.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDqAjQ84KuGfSFAYARAoEMAJ9sdDUNxA9FtmDTylz42CbcEQhomwCgxwF6
u6CAqtrgJLE8uJexSqmMiK0=
=XXNG
-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/



Re: SSH problem after upgrade

2005-12-20 Thread Larry Hall (Cygwin)

Ed Brady wrote:
After upgrading to the latest release of cygwin, I am continually 
receiving the error message.


socket:  Operation not permitted
ssh:  connect to host port 22: Operation not permitted

I have had Cygwin installed on this computer for over three years and 
have used ssh reguarly without any problems until this recent upgrade.


Also, I can copy ssh.exe to my home directory and for some strange 
reason this seems to work.  I have searched all over for an answer to 
this problem with no avail.

Any help appreciated



Have you tried enabling the debug options on the client and server and
analyzing the results?  Have you tried the latest cygwin snapshot to see
if that helps?  If these don't help point the way, please read and follow
the problem reporting guidelines at http://cygwin.com/problems.html.
From your description so far, this sounds like a local problem so having
more info about what you're doing and what your installation is will be
crucial to diagnosing the actual cause of the problem.


--
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: Setting cygwin permissions from Windows programs

2005-12-20 Thread Larry Hall (Cygwin)

Steve Holden wrote:
I am writing a Python program to generate file trees to be distributed 
to a Linus machine using Cygwin's scp. As the GUI to this program uses 
wxPython, a native Windows approach is the most straightforward.


Is there any way to set permissions on the output files from the Windows 
side that will result in predictable permissions when the output tree is 
viewed from Cygwin?


A Python recipe would be useful, but I'll take what I can get!


Have you checked what the permissions on a file you created by Windows looks
like under Cygwin and seen some problem?  If so, please post the details and
perhaps someone can help.  Otherwise, I'd suggest just doing the above and
working with the result unless you see problems.  In general, unless you've
done something to restrict access in Windows, Cygwin can see and interact
with natively created files just fine.

--
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: Setting cygwin permissions from Windows programs

2005-12-20 Thread Holger Krull

Steve Holden schrieb:

Is there any way to set permissions on the output files from the Windows 
side that will result in predictable permissions when the output tree is 
viewed from Cygwin?


A Python recipe would be useful, but I'll take what I can get!



Cygwin doesn't have an own management of permissions. So any program that modifies permission in Windows will be able to change permissions for cygwin files. 
cacls and xcacls are command line tools from windows. Don't know how this would be usually done in python.


--
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: pager and virtual desktops

2005-12-20 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Eric Blake wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 According to Luke Vanderfluit on 12/19/2005 10:08 PM:
 Hi.
 
 My next question on cygwin is to do with pagers and virtual desktops.
 On my regular linux boxes, I run virtual desktops using a pager to
 switch between them. Is this possible under cygwin?
 
 Yes.  As has been pointed out on this list, anything in software is
 possible with enough time and money.  And in the case of this
 question, I believe the programs to do so already exist pre-compiled
 for cygwin.   
 
 Oh, you wanted more details - well, your question sounds like a
 windows manager (hint: X-related) question, so you should ask on the
 cygwin-xfree list, not here.  

Moving OT (sorry) 

You might really want to look at a pure Windows solution.  MS  provides
a Virtual Desktop Manager Powertoy, e.g., at
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
NoNags lists several:
http://www.nonags.com/nonags/deskshell.html
Though I don't know if any of them can be controlled with a pager 

- Barry

--
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: Setting cygwin permissions from Windows programs

2005-12-20 Thread Steve Holden

Larry Hall (Cygwin) wrote:

Steve Holden wrote:

I am writing a Python program to generate file trees to be distributed 
to a Linus machine using Cygwin's scp. As the GUI to this program uses 
wxPython, a native Windows approach is the most straightforward.


Is there any way to set permissions on the output files from the 
Windows side that will result in predictable permissions when the 
output tree is viewed from Cygwin?


A Python recipe would be useful, but I'll take what I can get!



Have you checked what the permissions on a file you created by Windows 
looks
like under Cygwin and seen some problem?  If so, please post the details 
and

perhaps someone can help.  Otherwise, I'd suggest just doing the above and
working with the result unless you see problems.  In general, unless you've
done something to restrict access in Windows, Cygwin can see and interact
with natively created files just fine.


Holger Krull wrote:
 Cygwin doesn't have an own management of permissions. So any program
 that modifies permission in Windows will be able to change permissions
 for cygwin files. cacls and xcacls are command line tools from windows.
 Don't know how this would be usually done in python.


Thanks for the responses. The issue is that I'd like the files to appear 
in Cygwin with permissions of -rwxr--r--, or -rwxr-xr-x for executables 
and directories.


I'm trying to avoid having to use Cygwin utilities to assert Cygwin 
permissions, but I am unable to determine the Windows permissions I must 
assert when creating the files in order for Cygwin to see those 
permissions. Currently a newly created file appears as:


-rwx--  1 sholden None 13834 Dec 20 14:26 index.html

This is under Win XP. Are the Cygwin and Windows permissions different 
universes that don't interact?


regards
 Steve
--
Steve Holden   +44 150 684 7255  +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006  www.python.org/pycon/


--
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: Setting cygwin permissions from Windows programs

2005-12-20 Thread Steve Holden

Larry Hall (Cygwin) wrote:
[...]
Have you checked what the permissions on a file you created by Windows 
looks
like under Cygwin and seen some problem?  If so, please post the details 
and

perhaps someone can help.  Otherwise, I'd suggest just doing the above and
working with the result unless you see problems.  In general, unless you've
done something to restrict access in Windows, Cygwin can see and interact
with natively created files just fine.

Sorry to bang on about this, but here's a little more detail. If I start 
in a Cygwin shell:


[EMAIL PROTECTED] /c/Apache/htdocs/comsite
$ ls -l index.html
-rwx--  1 sholden None 13834 Dec 20 14:33 index.html

Then in a Windows shell I run the following Python:

C:\Apache\htdocs\comsitepython
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on 
win32

Type help, copyright, credits or license for more information.
 from stat import *
 from os import chmod
 chmod(index.html, S_IRWXU|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)


This does not have the desired effect:

[EMAIL PROTECTED] /c/Apache/htdocs/comsite
$ ls -l index.html
-rwx--  1 sholden None 13834 Dec 20 14:33 index.html

I'm quite happy to take this up as a Python error if indeed it is. But 
if so I'd appreciate understanding how I could use cacls to assert 
-rwxr-xr-x on that file.


My hope is that I'm overlooking a stupid error here.

regards
 Steve
--
Steve Holden   +44 150 684 7255  +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006  www.python.org/pycon/


--
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: expect script hanging: ssh to localhost w/password authentication

2005-12-20 Thread Tom Rodman
My guess is that cgf is aware of this, and working on a fix..:

  ~ $ uname -a
  CYGWIN_NT-5.0 OurServer108 1.5.19s(0.148/4/2) 20051220 00:11:57 i686 unknown 
unknown Cygwin
  ~ $ ssh localhost date
  [EMAIL PROTECTED]'s password:
  ~ $ 

I manually entered the correct password above, the output from
the date command is lost. Note that the 20051220 is in use above.
Not sure the date command even ran, see the additional test after my sig.

As always, I appreciate all the work that goes into cygwin.

--
thanks,
Tom

--v-v--C-U-T---H-E-R-E-v-v-- 
~ $ ssh localhost 'ls /tmp/foo 21'
[EMAIL PROTECTED]'s password:
~ $ less  /tmp/foo
/tmp/foo: No such file or directory
~ $


--
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: Setting cygwin permissions from Windows programs

2005-12-20 Thread Igor Pechtchanski
On Tue, 20 Dec 2005, Steve Holden wrote:

 Larry Hall (Cygwin) wrote:
  Steve Holden wrote:
 
   I am writing a Python program to generate file trees to be
   distributed to a Linus machine using Cygwin's scp. As the GUI to
   this program uses wxPython, a native Windows approach is the most
   straightforward.
  
   Is there any way to set permissions on the output files from the
   Windows side that will result in predictable permissions when the
   output tree is viewed from Cygwin?
  
   A Python recipe would be useful, but I'll take what I can get!
 
 
  Have you checked what the permissions on a file you created by Windows
  looks like under Cygwin and seen some problem?  If so, please post the
  details and perhaps someone can help.  Otherwise, I'd suggest just
  doing the above and working with the result unless you see problems.
  In general, unless you've done something to restrict access in
  Windows, Cygwin can see and interact with natively created files
  just fine.

 Holger Krull wrote:
  Cygwin doesn't have an own management of permissions. So any program
  that modifies permission in Windows will be able to change permissions
  for cygwin files. cacls and xcacls are command line tools from
  windows. Don't know how this would be usually done in python.

 Thanks for the responses. The issue is that I'd like the files to appear in
 Cygwin with permissions of -rwxr--r--, or -rwxr-xr-x for executables and
 directories.

 I'm trying to avoid having to use Cygwin utilities to assert Cygwin
 permissions, but I am unable to determine the Windows permissions I must
 assert when creating the files in order for Cygwin to see those
 permissions. Currently a newly created file appears as:

 -rwx--  1 sholden None 13834 Dec 20 14:26 index.html

 This is under Win XP. Are the Cygwin and Windows permissions different
 universes that don't interact?

To clarify what Holger said: on NTFS, Cygwin does not do its own
permission management -- it uses the ACLs on the underlying filesystem and
maps them to Unix-style permissions.  You can experiment with this mapping
by playing with the Cygwin getfacl/setfacl tools (or use cacls, but I
found the getfacl output much more palatable).  Once you understand how
the mapping works, you can change the ACLs appropriately to get the right
Unix permission bits from Cygwin.

FYI, on FAT filesystems, Cygwin can emulate permissions using NTEA, but
those will need to be changed via Cygwin itself -- Windows won't know
anything about them, and so none of the pure Windows tools can be used to
change them.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) 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: Setting cygwin permissions from Windows programs

2005-12-20 Thread Holger Krull


in Cygwin with permissions of -rwxr--r--, or -rwxr-xr-x for executables 
and directories.


I'm trying to avoid having to use Cygwin utilities to assert Cygwin 
permissions,


Which would be easier, by the way.

but I am unable to determine the Windows permissions I must 
assert when creating the files in order for Cygwin to see those 
permissions. Currently a newly created file appears as:


-rwx--  1 sholden None 13834 Dec 20 14:26 index.html


xcacls index.html /G sholden:F None:EW Everyone:E /Y

will give -rwxrw-r--

xacls index.html /G sholden:F None:R Everyone:E /Y

will give -rwxr-xr-- 

R (Read) translate to read and execute. 
E will give read


And check if you use a none english windows because windows translates None and 
Everyone. (My german windows calls this Kein and Jeder)


This is under Win XP. Are the Cygwin and Windows permissions different 
universes that don't interact?


As i said before, cygwin only uses windows permissions they can't work around 
ntfs access rights. You probably get confused by the mapping that has to be 
done.
Take getfacls in cygwin to look at file permission if more acls have been set.


--
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/symlinks/gcc/chown question

2005-12-20 Thread Corinna Vinschen
On Dec 19 09:37, Karl M wrote:
 Hi All...
 
 I see the broken links on any machine I use. I run as a restricted user, 
 except when I am installing or updating software. Here is the way I do the 
 initial install (to prevent permissions leaks)...

Well, I still can't reproduce it and I didn't get any hint that somebody
else can reproduce this.  I tried chmod -R and chown -R on directories
containing symlinks created by a former setup.exe call and the symlinks
were still symlinks afterwards.

Let's restart with my previous mail:

 Are you sure you're using Cygwin's chmod/chown?  Did you try to run them
 under strace and see what happens?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: 1.5.18-1: issue with cygwin1.dll: system shared memory version mismatch detected

2005-12-20 Thread JeDi
  I am now able to launch bash properly.
 
  Worm ?
 
 Not sure.  services.exe could be a wrapper that was
 running some Cygwin
 program at the time...

Well ProcessExplorer used to point services.exe on
c:\windows\system\DRIVER, were I couldn't find any
services.exe in the explorer (I checked that explorer
was not configured for hidding files). Moreover I was
not able to create a file called services.exe,
explorer wouldn't do it because another one was called
like this in the folder Then, in a command prompt
I executed del services.exe, and the del command
told me no file was there. Then, I did mv
services.exe services.exe.old, and the file was
renamed. I created a services.exe from an empty txt
file, and that's it, services.exe (the one containing
a copy of cygwin1.dll) does not launch himself anymore
at each boot and cygwin works correctly.

I definitly think it's a worm.
 
 
 Hmm...  Weird.  Well, it's gone now...

Thanks to you, thank you and the other guys in the
forum for your gracious help.

 
  /etc/setup does exist and contains some files.
  Actually cygcheck is depending on cygwin1.dll I
 guess, so ...
 
 Your guess is wrong.  cygcheck does attempt to
 invoke some programs that
 depend on cygwin1.dll, but it itself does not depend
 on it.  The fact that
 it thinks that you have no mounts and that no
 packages are installed is
 alarming.


But everything seems to work perfectly.
 
 What is the output of mount from bash?  Does your
 system have an
 /etc/setup/installed.db?

bash-3.00$ mount
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
g: on /cygdrive/g type system (binmode,noumount)
h: on /cygdrive/h type system (binmode,noumount)

And I have a /etc/setup/installed.db in my cygwin
directory. Attached with the mail, my last cygcheck
which seems fine.





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com

cygcheck.out
Description: 3924260979-cygcheck.out
--
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: 1.5.18-1: issue with cygwin1.dll: system shared memory version mismatch detected

2005-12-20 Thread Igor Pechtchanski
On Tue, 20 Dec 2005, JeDi wrote:

   I am now able to launch bash properly.
  
   Worm ?
 
  Not sure.  services.exe could be a wrapper that was running some
  Cygwin program at the time...

 Well ProcessExplorer used to point services.exe on
 c:\windows\system\DRIVER, were I couldn't find any services.exe in the
 explorer (I checked that explorer was not configured for hidding files).
 Moreover I was not able to create a file called services.exe, explorer
 wouldn't do it because another one was called like this in the
 folder Then, in a command prompt I executed del services.exe, and
 the del command told me no file was there. Then, I did mv services.exe
 services.exe.old, and the file was renamed. I created a services.exe
 from an empty txt file, and that's it, services.exe (the one containing
 a copy of cygwin1.dll) does not launch himself anymore at each boot and
 cygwin works correctly.

 I definitly think it's a worm.

Ok.

  Hmm...  Weird.  Well, it's gone now...

 Thanks to you, thank you and the other guys in the
 forum for your gracious help.

   /etc/setup does exist and contains some files. Actually cygcheck is
   depending on cygwin1.dll I guess, so ...
 
  Your guess is wrong.  cygcheck does attempt to invoke some programs
  that depend on cygwin1.dll, but it itself does not depend on it.  The
  fact that it thinks that you have no mounts and that no packages are
  installed is alarming.

 But everything seems to work perfectly.

For now.  Your configuration is just asking for trouble.

  What is the output of mount from bash?  Does your system have an
  /etc/setup/installed.db?

 bash-3.00$ mount
 c: on /cygdrive/c type system (binmode,noumount)
 d: on /cygdrive/d type system (binmode,noumount)
 e: on /cygdrive/e type system (binmode,noumount)
 g: on /cygdrive/g type system (binmode,noumount)
 h: on /cygdrive/h type system (binmode,noumount)

You need to have the /, /usr/bin, and /usr/lib mounts, at the very
least.

 And I have a /etc/setup/installed.db in my cygwin directory. Attached
 with the mail, my last cygcheck which seems fine.

It is not fine.  The default mounts are missing, so most scripts will not
work properly (those that use /usr/bin/PROG as their shebang line, for
example).  Looks like you've installed Cygwin into c:\cygwin, so you can
restore the mounts with

cd c:\cygwin\bin
.\mount -f -s -b c:/cygwin /
.\mount -f -s -b c:/cygwin/bin /usr/bin
.\mount -f -s -b c:/cygwin/lib /usr/lib

(from a cmd.exe window), or re-running setup.exe...
FWIW, the empty list of installed packages is likely a consequence of the
missing / mount, and should also be fixed by the above commands.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) 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: 1.5.18-1: issue with cygwin1.dll: system shared memory version mismatch detected

2005-12-20 Thread JeDi
--- Igor Pechtchanski [EMAIL PROTECTED] wrote:

 On Tue, 20 Dec 2005, JeDi wrote:
 
I am now able to launch bash properly.
   
Worm ?
  
   Not sure.  services.exe could be a wrapper that
 was running some
   Cygwin program at the time...
 
  Well ProcessExplorer used to point services.exe on
  c:\windows\system\DRIVER, were I couldn't find any
 services.exe in the
  explorer (I checked that explorer was not
 configured for hidding files).
  Moreover I was not able to create a file called
 services.exe, explorer
  wouldn't do it because another one was called like
 this in the
  folder Then, in a command prompt I executed
 del services.exe, and
  the del command told me no file was there. Then, I
 did mv services.exe
  services.exe.old, and the file was renamed. I
 created a services.exe
  from an empty txt file, and that's it,
 services.exe (the one containing
  a copy of cygwin1.dll) does not launch himself
 anymore at each boot and
  cygwin works correctly.
 
  I definitly think it's a worm.
 
 Ok.
 
   Hmm...  Weird.  Well, it's gone now...
 
  Thanks to you, thank you and the other guys in the
  forum for your gracious help.
 
/etc/setup does exist and contains some files.
 Actually cygcheck is
depending on cygwin1.dll I guess, so ...
  
   Your guess is wrong.  cygcheck does attempt to
 invoke some programs
   that depend on cygwin1.dll, but it itself does
 not depend on it.  The
   fact that it thinks that you have no mounts and
 that no packages are
   installed is alarming.
 
  But everything seems to work perfectly.
 
 For now.  Your configuration is just asking for
 trouble.
 
   What is the output of mount from bash?  Does
 your system have an
   /etc/setup/installed.db?
 
  bash-3.00$ mount
  c: on /cygdrive/c type system (binmode,noumount)
  d: on /cygdrive/d type system (binmode,noumount)
  e: on /cygdrive/e type system (binmode,noumount)
  g: on /cygdrive/g type system (binmode,noumount)
  h: on /cygdrive/h type system (binmode,noumount)
 
 You need to have the /, /usr/bin, and /usr/lib
 mounts, at the very
 least.
 
  And I have a /etc/setup/installed.db in my cygwin
 directory. Attached
  with the mail, my last cygcheck which seems fine.
 
 It is not fine.  The default mounts are missing, so
 most scripts will not
 work properly (those that use /usr/bin/PROG as their
 shebang line, for
 example).  Looks like you've installed Cygwin into
 c:\cygwin, so you can
 restore the mounts with
 
 cd c:\cygwin\bin
 .\mount -f -s -b c:/cygwin /
 .\mount -f -s -b c:/cygwin/bin /usr/bin
 .\mount -f -s -b c:/cygwin/lib /usr/lib
 
 (from a cmd.exe window), or re-running setup.exe...
 FWIW, the empty list of installed packages is likely
 a consequence of the
 missing / mount, and should also be fixed by the
 above commands.

I performed the previous command and mount returns:
c:\cygwin\bin on /usr/bin type system (binmode)
c:\cygwin\lib on /usr/lib type system (binmode)
c:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
g: on /cygdrive/g type system (binmode,noumount)
h: on /cygdrive/h type system (binmode,noumount)

Everything's fine. Thanks for the help.

 
 Las! je suis sot... -Mais non, tu ne l'es pas,
 puisque tu t'en rends compte.

C'est pour moi cette citation ? :p

JD



___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

cygcheck.out
Description: 3924260979-cygcheck.out
--
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: download cygwin packages in multiple session

2005-12-20 Thread Cj2k5
Igor Pechtchanski pechtcha at cs.nyu.edu writes:

 
 On Thu, 15 Dec 2005, Cj2k5 wrote:
 
  Hi all
 
  I have created a shell script because I dont have an internet connection
  and this script allow me to do a dowload session limited in n Mbytes
  using wget. I then fill a usb flash memory key and go home to update my
  local cygwin miror. Then repeat the session.
 
  The script compare a latest setup.ini with a local miror of cygwin
  packages and generate multiple text file that will be use by wget.
 
  I did not have my script when sending this message, but tomorrow I will
  look for reply to this message and if there are people interesting to
  it, I will post the script to a new message.
 
 This may not be apparent from that FAQ entry, but Michael Chase's
 clean_setup.pl, referenced from [1], does that and more.  It would be good
 to know how your script differs from it...
   Igor
 [1] http://cygwin.com/faq/faq.setup.html#faq.setup.disk-space

Hi Igor

I submit a second version of the shell script. It correct some bugs
and have new features.

I did not yet look at the clean_setup.pl script, but I will today.

If it's not the appropriate place to post this shell script, let me know.
I will try to find an other place.

Regards, Cj2k5



file: dl-cygwin.doc


Why?

This script is for people that do not have
internet access and have to download cygwin
in multiple session. The reason because setup.exe
cannot help in this situation, is that it must 
have access to a local miror of the packages if 
a user want to make an update to new packages.

To get these files, a user will have to go at 
a Public Internet Access (internet cafe,
library etc) and use a USB flash memory key
to transport packages files. 

Some PIA manager would not allow a user to 
monopolise a station if there are more then 
one transport of package files to do, 
or they wont let them leave temporary 
file on hardisk (not secure).

Using this shell script, 
1. user can download a fresh setup.ini,
2. generate a list of missing packages,
3. download the files at a PIA using wget,
4. go to home and update local miror,
5. repeat 3 and 4 if still missing files.

What is it?

This is a shell script that generate listing of
package files that are missing in a cygwin local
release directory, base on a new setup.ini file.

It can also do a md5 checksum on downloaded files.

The shell script depend on:

- sh, gawk, sort, uniq, cat and sed commands
- a new setup.ini file
- and optionaly an relatively old local 
  package repository.

The script do not manage cygwin instalation nor 
manage local packages miror, it only generate
text files.

These text files can be use to manage a local 
packages miror in a shell session, 
or use with wget as a list of files to download.

The generated list are splited base on a total
of packages bytes size limit given as argument.
It default to 6000 bytes. To generate only 
one file, use '-s 0' in the argument list.

There are 7 type of listing that can be genrated:

1. listing for all the packages bin (_DL_new_all_bin-nnn.txt)
2. listing for all the packages sources (_DL_new_all_src-nnn.txt)
3. partial listing from existing bin packages (_DL_new_bin-nnn.txt)
4. partial listing from existing sources packages (_DL_new_src-nnn.txt)
5. listing for all the packages to [re]move (_mov.txt)
6. report on total files and total size per file list
   (_00report_all.txt, _00report.txt)
7. 3 listing of checksum on packages for: 
   - files that dont move and pass the checksum (_md5_ok.txt),
   - files that should be move and cannot be check (_md5_mov.txt),
   - and files that fail the checksum (_md5_no.txt).

Availables options:

  --help -hprint this help and exit
  --version -v print version information and exit
  -ab  listing for all the packages bin
  -as  listing for all the packages sources
  -pb  partial listing from existing bin packages
  -ps  partial listing from existing sources packages
  -d   debug (will not erase temp files)
  -m   create a [re]move list (release dir against setup.ini)
  -c   compare with md5 checksum (-r dir against setup.ini)
  -i file  new setup.ini file
  -s bytes file group size limit in byte (default 6000),
   ('-s 0' mean generate only one file)
  -r dir   location of the local 'release' miror directory
   (default ./release)
  -t dir   target directory you want the files generated
   (default ./results)

Todo

- better doc and examples
- generate new setup.ini files 

.bash_profile not being invoked

2005-12-20 Thread Farhad Tahmasebi
I have installed cygwin previously without any problems. After my 
installation yesterday, .bsh_profile does not get invoked when I run 
cygwin.bat . My mount and HOME are OK because cygwin.bat takes me to my home 
directory, but it does not go through .bash_profile in my home directory. I 
also copied .bash_profile to .profile and .bash_login (its synonyms) in my 
home directory without any success.


Any suggestion is greatly appreciated. Thanks.

Farhad



--
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: expect script hanging: ssh to localhost w/password authentication

2005-12-20 Thread Corinna Vinschen
On Dec 19 11:00, Tom Rodman wrote:
 Enclosed is an expect script (to ssh to the localhost with password
 authentication) that hangs (search ahead for parent: waiting for sync 
 byte)
 with the Dec 16 snapshot. Please take a look at the working and
 non-working test cases below.

Looks like we found the cause for this effect.  Please try
the next developers snapshot (2005-Dec-20 and later) from
http://cygwin.com/snapshots/


Thanks for the report,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: .bash_profile not being invoked

2005-12-20 Thread Larry Hall (Cygwin)

Farhad Tahmasebi wrote:
I have installed cygwin previously without any problems. After my 
installation yesterday, .bsh_profile does not get invoked when I run 
cygwin.bat . My mount and HOME are OK because cygwin.bat takes me to my 
home directory, but it does not go through .bash_profile in my home 
directory. I also copied .bash_profile to .profile and .bash_login (its 
synonyms) in my home directory without any success.


Any suggestion is greatly appreciated. Thanks.


Please start here:

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


Following these guidelines will provide folks on this list interested in
helping you track down your problem with the basic info needed to avoid
playing 20 questions about your configuration.  It will also provide the
details about what you're doing and how so that much of the guesswork as to
the problem will be eliminated.

--
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: vim binary package

2005-12-20 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mariusz Wodzicki wrote:
 Incidentally, I also tested the version with the GUI
 [just one configure flag: ./configure --with-features=huge]

 Of course, that increases the size of the vim
 installation dramatically but that may be
 interesting for those of us who prefer not to
 install a separate Win32 version of vim.

Cygwin Ports contains a gvim package, which includes just the gtk2-x11
GUI vim as 'gvim' (and various 'g' symlinks), and depends on vim for the
runtime files, etc.

ftp://sunsite.dk/projects/cygwinports/release/gvim/

 The more serious problem is that when the X server
 is not running then the version of vim linked
 with X libraries takes on average around
 10 seconds to start in either a pcterm or
 an rxvt window.

- From the standard bash prompt with DISPLAY set but X not open, I get
after a few seconds:

$ gvim
E233: cannot open display
Hit ENTER or type command to continue

When I press Enter, I get vim on console.  If I unset DISPLAY, I get the
above message immediately.

 I am just curious if anybody can suggest
 a cure for that behavior. Then compiling
 vim with GUI might indeed become
 a viable option.

Providing separates package for the console and GUI vims is done both by
Gentoo[1] and Debian[2], and should circumvent this problem, as well as
not pulling in X11 and GTK dependencies for those looking just for the
console version.

[1] http://packages.gentoo.org/search/?sstring=vim
[2] http://packages.debian.org/unstable/source/vim

I'm not much of a vim user myself, but with the menus, gvim is a lot
easier to learn.

Of course, in order to get a GTK vim into the distro, Corinna will need
to be consulted, as the Cygwin vim maintainer.


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

iD8DBQFDqHfkpiWmPGlmQSMRAseZAJ9+gAg50wXAZU1zpI+D4vyjYaDIpQCg9jcM
WWLd0DQyF7PT6SEbZf1Scwo=
=5//v
-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/



*nix fun/oddball utilities Merry Xmas

2005-12-20 Thread zzapper
Hi,
Thanx to all those involved with Cygwin another brilliant year

Some lesser known utilities to play around with after your Xmas party instead 
of ruining the code
you've developing all year!

fortune
wtf imho
ddate
factor 32

-- 
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.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/



Listening sockets not always closing?

2005-12-20 Thread Craig Davison
Hello,
I'm running cygwin 1.5.18 on a number of versions of Windows, and I may
have found a problem closing sockets. I'm seeing this problem on Windows
2000 (no SP) and Windows 2000 SP1, but not on Windows 2000 SP2, SP3 or
SP4, and Windows XP and XP SP2 are also unaffected.

I created a small test program to illustrate this. Basically, in a loop, I
create a SOCK_STREAM socket, call bind() and then listen(), check the
output of netstat, and then close the socket. It works on several
versions of Linux, and Windows = 2000 SP 2, but bind fails with
EADDRINUSE the second time through the loop on Windows = 2000 SP1.

I think this is a cygwin-specific problem because if I try the same thing
with a native windows application using winsock, it works. (I can mail out
this code if anyone wants)

The code for my test program is attached. If I'm doing something stupid
here, I apologize for wasting everyone's time.#include sys/socket.h
#include arpa/inet.h
#include unistd.h
#include stdio.h
#include stdlib.h

#define PORT 12345

void netstat()
{
  char netstat_cmd[100];
  sprintf (netstat_cmd, netstat -an -p tcp | /bin/grep %d, PORT);
  system (netstat_cmd);
}

int main()
{
  int i;
  for (i = 0; i  10; i++) {
struct sockaddr_in saddr;
int s;
saddr.sin_family = AF_INET;
saddr.sin_addr.s_addr = 0;
saddr.sin_port = htons(PORT);

s = socket (PF_INET, SOCK_STREAM, 0);
if (s == -1) {
  perror (socket);
  exit (1);
}
if (bind (s, (struct sockaddr *)saddr, sizeof(saddr)) == -1) {
  perror (bind);
  exit (1);
}
if (listen (s, 100) == -1) {
  perror (listen);
  exit (1);
}
printf (Called listen\n);
sleep (1);
netstat();
if (close (s) == -1) {
  perror (close);
  exit (1);
}
printf (Called close\n);
  }

  return 0;
}

--
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: Listening sockets not always closing?

2005-12-20 Thread Chris Taylor

Craig Davison wrote:

Hello,
I'm running cygwin 1.5.18 on a number of versions of Windows, and I may
have found a problem closing sockets. I'm seeing this problem on Windows
2000 (no SP) and Windows 2000 SP1, but not on Windows 2000 SP2, SP3 or
SP4, and Windows XP and XP SP2 are also unaffected.


No offense, but doesn't this tell you what the solution is? Patch the 
out-dated machines.

They're open to countless security flaws by now.
All 2k boxen should be running SP4 by now - it's only been out a couple 
of years...


Beyond that, I can't say anything, but really, look into updating the 
boxen to sp4.



Chris
--

Spinning complacently in the darkness, covered and blinded by a blanket
of little lives, false security has lulled the madness of this world
into a slumber. Wake up! An eye is upon you, staring straight down and
keenly through, seeing all that you are and everything that you will
never be. Yes, an eye is upon you, an eye ready to blink. So face
forward, with arms wide open and mind reeling. Your future has
arrived... Are you ready to go?

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



Found case with Download incomplete / try again

2005-12-20 Thread Alexey N. Solofnenko
After playing with CygwinPorts I found that some component installation 
causes Download incomplete/. One of broken components is 
evolution-data-server:


@ evolution-data-server
sdesc: Backend for the Evolution groupware suite
ldesc: Backend for the Evolution groupware suite
category: Gnome
requires: cygwin GConf2 gnome-vfs2 libbonobo20 libdb4.1 libgnome2 
libiconv2 libintl3 libsoup22

version: 1.0.3-1
source: 
release/GNOME/evolution-data-server/evolution-data-server-1.0.3-1-src.tar.bz2 
4916222 bde269f09e036ec488dd62295c952226


There only strange think I see is that evolution-data-server 
references libbonobo20, which is obsolete:


@ libbonobo20
sdesc: Obsolete package
ldesc: This is the non-GUI part of the GNOME component and compound
document system.
category: _obsolete
version: 2.10.1-1
install: 
release/GNOME/libbonobo2/libbonobo20/libbonobo20-2.10.1-1.tar.bz2 14 
4059d198768f9f8dc9372dc1c54bc3c3
source: release/GNOME/libbonobo2/libbonobo2-2.10.1-1-src.tar.bz2 1377041 
462befc9187b48295f63056cf7510cb9


I tried to install other binary installations that depend on that 
package and they installed fine. Also I locally modified 
evolution-data-server component to depend on libbonobo2 and 
evolution-data-server installed fine.


- Alexey.

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



1.5.18: Re: .bash_profile not being invoked

2005-12-20 Thread Farhad Tahmasebi

Larry:

Many thanks for your time. When I tried cygcheck -s -v -r  cygcheck.out, I 
got the following error message:

cygcheck: dump_sysinfo: GetVolumeInformation() failed: 53

I am running cygwin 1.5.18-1 under Windows XP Professional (Intel Pentium 
M).

$ uname -a
CYGWIN_NT-5.1 msc3069779w 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown 
unknown Cygwin


My HOME is set up correctly:
[EMAIL PROTECTED] ~
$ echo $HOME
/farhad

My mount info is also correct:
[EMAIL PROTECTED] ~
$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
C:\farhad on /farhad type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)

I am running cygwin 1.5.17 under Windows XP Professional (Intel Pentium M) 
on a very similar machine without any problems.


Best regards,
Farhad


- Original Message - 
From: Larry Hall (Cygwin)

To: Farhad Tahmasebi
Cc: cygwin@cygwin.com
Sent: Tuesday, December 20, 2005 4:06 PM
Subject: Re: .bash_profile not being invoked


Farhad Tahmasebi wrote:
I have installed cygwin previously without any problems. After my 
installation yesterday, .bsh_profile does not get invoked when I run 
cygwin.bat . My mount and HOME are OK because cygwin.bat takes me to my 
home directory, but it does not go through .bash_profile in my home 
directory. I also copied .bash_profile to .profile and .bash_login (its 
synonyms) in my home directory without any success.


Any suggestion is greatly appreciated. Thanks.


Please start here:

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


Following these guidelines will provide folks on this list interested in
helping you track down your problem with the basic info needed to avoid
playing 20 questions about your configuration.  It will also provide the
details about what you're doing and how so that much of the guesswork as to
the problem will be eliminated.

--
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: 1.5.18: Re: .bash_profile not being invoked

2005-12-20 Thread Larry Hall (Cygwin)

Farhad Tahmasebi wrote:

Larry:

Many thanks for your time. When I tried cygcheck -s -v -r  
cygcheck.out, I got the following error message:

cygcheck: dump_sysinfo: GetVolumeInformation() failed: 53



That's it?  Nothing went to 'cygcheck.out'?If you do a
'net helpmsg 53' at the command line you'll see what this
message refers to.  Assuming you have some inaccessible
network device, it's not a problem.  But it shouldn't stop
you from getting the rest of the information from 'cygcheck'.


I am running cygwin 1.5.18-1 under Windows XP Professional (Intel 
Pentium M).

$ uname -a
CYGWIN_NT-5.1 msc3069779w 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 
unknown unknown Cygwin


My HOME is set up correctly:
[EMAIL PROTECTED] ~
$ echo $HOME
/farhad



What does '/etc/passwd' say?



My mount info is also correct:
[EMAIL PROTECTED] ~
$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
C:\farhad on /farhad type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)



Yeah, that looks fine.


I am running cygwin 1.5.17 under Windows XP Professional (Intel Pentium 
M) on a very similar machine without any problems.



OK.  How do you determine that ~/.bash_profile isn't being run?  Is it
run when you type 'bash -l' on the command line?  If so, you need to check
how you're starting bash to begin with.  If not, you need to determine what
bash thinks is your home and whether you have proper permissions.


--
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: Rsync over SSH not working when ZoneAlarm installed

2005-12-20 Thread Zarko Roganovic
Dave Korn dave.korn at artimi.com writes:

 
 Zarko Roganovic wrote:
 
  When I set ZoneAlarm to block rsync.exe from accessing the internet I got
  the following error
  
rsync: failed to connect to 192.168.1.2: Connection refused (111)
rsync error: error in socket IO (code 10) at
  /home/lapo/packaging/tmp/rsync-2.6.6/clientserver.c(98)
 
   If your ZA doesn't know the difference between local network addresses and
 internet addresses, it's not correctly configured.
 
   Having said that, since it's off-topic, we should take this across to the
 cygwin-talk list, where it won't clutter up the main list with non-cygwin
 stuff.  Please take note of the Reply-To: header if replying!
 
 cheers,
   DaveK


Hello again,

I had more time to make a case and prove to you that I am able to configure a
firewall correctly. I clean installed Windows 2000 SP4 with all the updates.
Next I installed Cygwin and the following firewalls.


rsync over ssh works with ALL these firewalls with just clicking “allow”
twice(no other config changes).
ZoneAlarm Pro 6.1.737
ZoneAlarm Pro 5.5.094
ZoneAlarm Pro 5.1.033
ZoneAlarm Pro 4.5.594
ZoneAlarm Pro 4.0.146
ZoneAlarm 3.7
Norton Internet Security 2006
F-Secure Internet Security 2006

It only fails with the ZoneAlarm Security Suite (6.1.737, 6.0.677, 5.5.094)
family of products from ZoneLabs. If anybody wants to try it out
go to zonelabsdotcom and download the 15 day trial version. I also sent all
this info to tech support at Zone Labs.

I am a huge supporter of the open source community and want to make this product
as reliable as possible. I was never looking for a free firewall configuration
lesson.

Thanks again
Zarko Roganovic


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



Inconvenient ghostscript and transfig dependences

2005-12-20 Thread Rodrigo Medina
Hi,
There are two different gs programs distributed, one linked to the X11
library
which is put in /usr/X11R6/bin/gs.exe and another no-X11 that goes into
/bin/gs.exe. Here starts the problem: two different programs with the same
name. Actually if you have X11 there is no reason of installing the
gs-no-X11.
Depending on your PATH you get one or the other. In relation to this there
is the inconvenient dependence of transfig on gs-no-X11, which is
automatically
installed even if you have gs-X11. SETUP keeps trying to install gs-no-X11.
A pain on the neck.

Happy holidays
R.M.


--
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: 1.5.18: .bash_profile not being invoked

2005-12-20 Thread Farhad Tahmasebi


- Original Message - 
From: Larry Hall (Cygwin)

To: Farhad Tahmasebi
Cc: cygwin@cygwin.com
Sent: Tuesday, December 20, 2005 5:42 PM
Subject: Re: 1.5.18: Re: .bash_profile not being invoked


Farhad Tahmasebi wrote:

Larry:

Many thanks for your time. When I tried cygcheck -s -v -r  cygcheck.out, 
I got the following error message:

cygcheck: dump_sysinfo: GetVolumeInformation() failed: 53



That's it?  Nothing went to 'cygcheck.out'?If you do a
'net helpmsg 53' at the command line you'll see what this
message refers to.  Assuming you have some inaccessible
network device, it's not a problem.  But it shouldn't stop
you from getting the rest of the information from 'cygcheck'.


Please see the attached cygcheck.out.

I am running cygwin 1.5.18-1 under Windows XP Professional (Intel Pentium 
M).

$ uname -a
CYGWIN_NT-5.1 msc3069779w 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown 
unknown Cygwin


My HOME is set up correctly:
$ echo $HOME
/farhad



What does '/etc/passwd' say?


SYSTEM:*:18:544:,S-1-5-18::

Administrators:*:544:544:,S-1-5-32-544::

Administrator:unused_by_nt/2000/xp:500:513:U-MSC3069779W\Administrator,S-1-5-21-1390067357-507921405-839522115-500:/home/Administrator:/bin/bash

Guest:unused_by_nt/2000/xp:501:513:U-MSC3069779W\Guest,S-1-5-21-1390067357-507921405-839522115-501:/home/Guest:/bin/bash

HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help Assistant 
Account,U-MSC3069779W\HelpAssistant,S-1-5-21-1390067357-507921405-839522115-1000:/home/HelpAssistant:/bin/bash


SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft 
Corporation,L=Redmond,S=Washington,C=US,U-MSC3069779W\SUPPORT_388945a0,S-1-5-21-1390067357-507921405-839522115-1002:/home/SUPPORT_388945a0:/bin/bash


farhad:unused_by_nt/2000/xp:29146:10545:farhad,U-GSFC\farhad,S-1-5-21-1141521480-1469864715-1777090905-19146:/cygdrive/c/Documents 
and Settings/farhad:/bin/bash




My mount info is also correct:
$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
C:\farhad on /farhad type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)



Yeah, that looks fine.


I am running cygwin 1.5.17 under Windows XP Professional (Intel Pentium M) 
on a very similar machine without any problems.



OK.  How do you determine that ~/.bash_profile isn't being run?  Is it
run when you type 'bash -l' on the command line?  If so, you need to check
how you're starting bash to begin with.  If not, you need to determine what
bash thinks is your home and whether you have proper permissions.

I'm setting PATH, CDPATH, $PWD, and a few aliases. When I source (or .) 
~/.bash_profile, I get everything. Runnig bash -l also works (see below)

$ bash -l
/farhad

Thanks again.
Farhad

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


cygcheck.out
Description: Binary data
--
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: Listening sockets not always closing?

2005-12-20 Thread Craig Davison
On Tue, 20 Dec 2005, Chris Taylor wrote:

 No offense, but doesn't this tell you what the solution is? Patch the
 out-dated machines.
 They're open to countless security flaws by now.
 All 2k boxen should be running SP4 by now - it's only been out a couple
 of years...

My cygwin application is a testing framework for a network security
application that must run on every service pack release of Windows 2000
and XP.

 Beyond that, I can't say anything, but really, look into updating the
 boxen to sp4.

From the cygwin web page:
The Cygwin DLL works with all non-beta, non release candidate, ix86 32
bit versions of Windows since Windows 95, with the exception of Windows
CE.

--
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: Rsync over SSH not working when ZoneAlarm installed

2005-12-20 Thread Larry Hall (Cygwin)

Zarko Roganovic wrote:

Dave Korn dave.korn at artimi.com writes:



Zarko Roganovic wrote:



When I set ZoneAlarm to block rsync.exe from accessing the internet I got
the following error

 rsync: failed to connect to 192.168.1.2: Connection refused (111)
 rsync error: error in socket IO (code 10) at
/home/lapo/packaging/tmp/rsync-2.6.6/clientserver.c(98)


 If your ZA doesn't know the difference between local network addresses and
internet addresses, it's not correctly configured.

 Having said that, since it's off-topic, we should take this across to the
cygwin-talk list, where it won't clutter up the main list with non-cygwin
stuff.  Please take note of the Reply-To: header if replying!

   cheers,
 DaveK




Hello again,

I had more time to make a case and prove to you that I am able to configure a
firewall correctly. I clean installed Windows 2000 SP4 with all the updates.
Next I installed Cygwin and the following firewalls.


rsync over ssh works with ALL these firewalls with just clicking “allow”
twice(no other config changes).
ZoneAlarm Pro 6.1.737
ZoneAlarm Pro 5.5.094
ZoneAlarm Pro 5.1.033
ZoneAlarm Pro 4.5.594
ZoneAlarm Pro 4.0.146
ZoneAlarm 3.7
Norton Internet Security 2006
F-Secure Internet Security 2006

It only fails with the ZoneAlarm Security Suite (6.1.737, 6.0.677, 5.5.094)
family of products from ZoneLabs. If anybody wants to try it out
go to zonelabsdotcom and download the 15 day trial version. I also sent all
this info to tech support at Zone Labs.

I am a huge supporter of the open source community and want to make this product
as reliable as possible. I was never looking for a free firewall configuration
lesson.



No one was suggesting you were.  Nor were we suggesting that you don't know
how to configure a firewall.  The point was simply that if some firewall(s)
didn't work as you expect, then that's either a firewall configuration issue
or a firewall bug.  Either way, it's not a Cygwin issue and, as a result, is
off-topic for this list.  Sounds to me like you're following the proper path
by contacting ZoneLabs with this issue.  It seems to me that your diligence
in researching this problem should be a benefit to them.


--
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: *nix fun/oddball utilities Merry Xmas

2005-12-20 Thread Christopher Faylor
On Tue, Dec 20, 2005 at 09:26:50PM +, zzapper wrote:
Hi,
Thanx to all those involved with Cygwin another brilliant year

Some lesser known utilities to play around with after your Xmas party instead 
of ruining the code
you've developing all year!

fortune

fortune?  fortune?

Hasn't it been almost a year since we talked about fortune here to
everyone's great wonderment and delight?

cgf

--
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: Inconvenient ghostscript and transfig dependences

2005-12-20 Thread Larry Hall (Cygwin)

Rodrigo Medina wrote:

Hi,
There are two different gs programs distributed, one linked to the X11
library
which is put in /usr/X11R6/bin/gs.exe and another no-X11 that goes into
/bin/gs.exe. Here starts the problem: two different programs with the same
name. Actually if you have X11 there is no reason of installing the
gs-no-X11.
Depending on your PATH you get one or the other. In relation to this there
is the inconvenient dependence of transfig on gs-no-X11, which is
automatically
installed even if you have gs-X11. SETUP keeps trying to install gs-no-X11.
A pain on the neck.



Sorry but there is currently no way to represent either/or dependencies
via setup.exe (PTC).  That said, there's no reason that you can't override
setup.exe and not install gs-no-X11.  If you know that's what you want,
then you should feel free to do so.  If your gripe is that setup.exe will
try to install gs-no-X11 each time you run it, you should feel free to
manually edit /etc/setup/install.db to include the package name and an
impossibly high version number to fool setup.exe into thinking you
already have a version installed that is more current than what it has
available to it.


--
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: Found case with Download incomplete / try again

2005-12-20 Thread Christopher Faylor
On Tue, Dec 20, 2005 at 01:56:34PM -0800, Alexey N. Solofnenko wrote:
After playing with CygwinPorts I found that some component installation 
causes Download incomplete/. One of broken components is 
evolution-data-server:

We don't support CygwinPorts in this mailing list.  You should be able
to find a specific mailing list which handles this.

cgf

--
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: 1.5.18: .bash_profile not being invoked

2005-12-20 Thread Larry Hall (Cygwin)

Farhad Tahmasebi wrote:


OK.  How do you determine that ~/.bash_profile isn't being run?  Is it
run when you type 'bash -l' on the command line?  If so, you need to check
how you're starting bash to begin with.  If not, you need to determine what
bash thinks is your home and whether you have proper permissions.

I'm setting PATH, CDPATH, $PWD, and a few aliases. When I source (or .) 
~/.bash_profile, I get everything. Runnig bash -l also works (see below)

$ bash -l
/farhad


Well your '/etc/passwd' doesn't agree with the directory you set your
HOME environment variable to.  If running bash -l works, that means
that either you aren't running cygwin.bat or it's equivalent to start
the bash shell that you're having problems with or that you're setting
HOME in a bash script that you're sourcing along the way.  Either set
HOME in your Windows environment, change '/etc/passwd' to point to your
preferred home directory (via editing or 'mkpasswd'), or use cygwin.bat
or comparable way to start your initial bash shell.

--
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: Listening sockets not always closing?

2005-12-20 Thread Larry Hall (Cygwin)

Craig Davison wrote:

On Tue, 20 Dec 2005, Chris Taylor wrote:



No offense, but doesn't this tell you what the solution is? Patch the
out-dated machines.
They're open to countless security flaws by now.
All 2k boxen should be running SP4 by now - it's only been out a couple
of years...



My cygwin application is a testing framework for a network security
application that must run on every service pack release of Windows 2000
and XP.



OK.



Beyond that, I can't say anything, but really, look into updating the
boxen to sp4.




From the cygwin web page:

The Cygwin DLL works with all non-beta, non release candidate, ix86 32
bit versions of Windows since Windows 95, with the exception of Windows
CE.



I don't read it the same way you do.  To me, that says that it will run on
the latest service pack level of 95, 98, Me, NT 3.51, NT 4, W2K, XP, and
W2K3.  Of course, I expect no one is especially averse to Cygwin working
well on any interim service pack either.  But considering that keeping and
testing against all these variations of platforms is a big task, I think
this could boil down to a PTC situation.


--
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: *nix fun/oddball utilities Merry Xmas

2005-12-20 Thread Larry Hall (Cygwin)

Christopher Faylor wrote:

On Tue, Dec 20, 2005 at 09:26:50PM +, zzapper wrote:


Hi,
Thanx to all those involved with Cygwin another brilliant year

Some lesser known utilities to play around with after your Xmas party instead 
of ruining the code
you've developing all year!

fortune



fortune?  fortune?

Hasn't it been almost a year since we talked about fortune here to
everyone's great wonderment and delight?



Yes, we're all very fortunate to have lived through that! ;-)


--
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: expect script hanging: ssh to localhost w/password authentication

2005-12-20 Thread cygwin
On Tue 12/20/05 22:01 +0100 cygwin@cygwin.com wrote:
 On Dec 19 11:00, Tom Rodman wrote:
  Enclosed is an expect script (to ssh to the localhost with password
  authentication) that hangs (search ahead for parent: waiting for sync 
  byte)
  with the Dec 16 snapshot. Please take a look at the working and
  non-working test cases below.
 
 Looks like we found the cause for this effect.  Please try
 the next developers snapshot (2005-Dec-20 and later) from
 http://cygwin.com/snapshots/

Thank-you!  I tried the Dec 20 snapshot dated (~15:36 if I recall right),
and the expect script worked fine; as a bonus it looks it yielded all
the output wanted.  Sorry I'm being so general..any how thanks again.

There seems to be a new (related?) issue w/this Dec 20 snapshot.  I don't
have time to log the test formally now; I hope you will see the problem if
you run:

  ssh localhost date

At least in the case were you are prompted for your password, the
date command either does not run or it's output is lost.

--
Tom

--
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: Listening sockets not always closing?

2005-12-20 Thread Craig Davison
Hate to reply to my own message, but I missed something...

On Tue, 20 Dec 2005, Craig Davison wrote:
 I created a small test program to illustrate this. Basically, in a loop, I
 create a SOCK_STREAM socket, call bind() and then listen(), check the
 output of netstat, and then close the socket. It works on several
 versions of Linux, and Windows = 2000 SP 2, but bind fails with
 EADDRINUSE the second time through the loop on Windows = 2000 SP1.

It appears that the test program fails with up to Windows 2000 SP4.
Windows XP still works. My observation that SP3/SP4 worked was based on
some production code where I first saw this problem, not the minimal test
code I posted here. Sorry for the confusion.

Can anyone with Win 2000 SP4 reproduce this?
Thanks

--
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: expect script hanging: ssh to localhost w/password authentication

2005-12-20 Thread Christopher Faylor
On Tue, Dec 20, 2005 at 07:02:12PM -0600, [EMAIL PROTECTED] wrote:
On Tue 12/20/05 22:01 +0100 cygwin@cygwin.com wrote:
 On Dec 19 11:00, Tom Rodman wrote:
  Enclosed is an expect script (to ssh to the localhost with password
  authentication) that hangs (search ahead for parent: waiting for sync 
  byte)
  with the Dec 16 snapshot. Please take a look at the working and
  non-working test cases below.
 
 Looks like we found the cause for this effect.  Please try
 the next developers snapshot (2005-Dec-20 and later) from
 http://cygwin.com/snapshots/

Thank-you!  I tried the Dec 20 snapshot dated (~15:36 if I recall right),
and the expect script worked fine; as a bonus it looks it yielded all
the output wanted.  Sorry I'm being so general..any how thanks again.

There seems to be a new (related?) issue w/this Dec 20 snapshot.  I don't
have time to log the test formally now; I hope you will see the problem if
you run:

  ssh localhost date

At least in the case were you are prompted for your password, the
date command either does not run or it's output is lost.

WJFFM.

cgf

--
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: Call for testing Cygwin snapshot

2005-12-20 Thread Bas van Gompel
Op Wed, 30 Nov 2005 18:11:37 +0100 schreef Corinna Vinschen
in 20051130171137.GE2999atcalimero.vinschen.de:

:  ask people for testing the latest snapshot, 2005-Nov-30, from

Actually, this is freshly built from a CVS-checkout on Dec 20.

:  Please report back in this thread when you encounter a problem, which
:  you can't reproduce with 1.5.18.  We're interested in regressions in
:  the first place.

This is on win 95 again...

I commonly source a file containing among other things: ''
/usr/sbin/sshd
''. With this build, when logging in (using ''
ssh machine-name
''), a new console pops up. It didn't before. When using ''
ssh machine-name bash -li
'' two consoles pop up, and typing ''
tty
'' on the resultant prompt reports ''not a tty''.


If I can help by providing more info, let me know.


L8r,

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe s.u(z)\1.as.| me. 4^re

--
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/symlinks/gcc/chown question

2005-12-20 Thread Karl M

Hi All...

Attached is the output of

strace -o outfile chown -h administrators.none collect2.exe

executed in

/lib/gcc/i686-pc-mingw32/3.4.4

after having reinstalled gcc/mingw tools.

I am using Cygwin chown. (I did mention it in my last email, but it is easy 
to miss.)


Thanks,

...Karl


From: Corinna Vinschen Subject: Re: setup/symlinks/gcc/chown question
Date: Tue, 20 Dec 2005 17:15:59 +0100

On Dec 19 09:37, Karl M wrote:
 Hi All...

 I see the broken links on any machine I use. I run as a restricted user,
 except when I am installing or updating software. Here is the way I do 
the

 initial install (to prevent permissions leaks)...

Well, I still can't reproduce it and I didn't get any hint that somebody
else can reproduce this.  I tried chmod -R and chown -R on directories
containing symlinks created by a former setup.exe call and the symlinks
were still symlinks afterwards.

Let's restart with my previous mail:

 Are you sure you're using Cygwin's chmod/chown?  Did you try to run 
them

 under strace and see what happens?


Corinna

--
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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




**
Program name: C:\Cygwin\bin\chown.exe (pid 140, ppid 1)
App version:  1005.18, api: 0.132
DLL version:  1005.19, api: 0.148
DLL build:20051220 15:36:37SNP
OS version:   Windows NT-5.1
Heap size:402653184
Date/Time:2005-12-20 20:12:34
**
  73 709 [main] chown 140 set_myself: myself-dwProcessId 140
  66 775 [main] chown 140 time: 1135138354 = time (0)
 7951570 [main] chown 140 environ_init: GetEnvironmentStrings returned 
0x245310 - =C:=C:\Cygwin\bin

 1411711 [main] chown 140 environ_init: 0x460238: !C:=C:\Cygwin\bin
 1951906 [main] chown 140 environ_init: 0x460250: 
ALLUSERSPROFILE=C:\Documents and Settings\All Users
 2452151 [main] chown 140 environ_init: 0x460288: APPDATA=C:\Documents 
and Settings\Administrator\Application Data
 1022253 [main] chown 140 environ_init: 0x4602D0: 
COMMONPROGRAMFILES=C:\Program Files\Common Files

  722325 [main] chown 140 environ_init: 0x460308: COMPUTERNAME=COYOTE
  712396 [main] chown 140 environ_init: 0x460320: 
COMSPEC=C:\WINDOWS\system32\cmd.exe

  712467 [main] chown 140 environ_init: 0x460348: CVS_RSH=/bin/ssh
  772544 [main] chown 140 parse_options: tty 1001
  702614 [main] chown 140 parse_options: returning
  362650 [main] chown 140 environ_init: 0x460360: CYGWIN=tty
  702720 [main] chown 140 environ_init: 0x460380: FP_NO_HOST_CHECK=NO
  802800 [main] chown 140 getwinenv: can't set native for HOME= since 
no environ yet
  792879 [main] chown 140 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\Cygwin\home\administrator, no-keep-rel, no-add-slash)
  462925 [main] chown 140 normalize_win32_path: 
C:\Cygwin\home\administrator = normalize_win32_path 
(C:\Cygwin\home\administrator)
  532978 [main] chown 140 mount_info::conv_to_posix_path: 
/home/administrator = conv_to_posix_path (C:\Cygwin\home\administrator)

 1073085 [main] chown 140 win_env::add_cache: posix /home/administrator
  383123 [main] chown 140 win_env::add_cache: native 
HOME=C:\Cygwin\home\administrator
  383161 [main] chown 140 posify: env var converted to 
HOME=/home/administrator
  703231 [main] chown 140 environ_init: 0x4603C0: 
HOME=/home/administrator

  723303 [main] chown 140 environ_init: 0x460398: HOMEDRIVE=C:
  703373 [main] chown 140 environ_init: 0x460510: HOMEPATH=\Documents 
and Settings\Administrator

  723445 [main] chown 140 environ_init: 0x460548: HOSTNAME=Coyote
  703515 [main] chown 140 environ_init: 0x460560: 
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:

  723587 [main] chown 140 environ_init: 0x460598: LOGONSERVER=\\COYOTE
  703657 [main] chown 140 environ_init: 0x4605B8: MAKE_MODE=unix
  703727 [main] chown 140 environ_init: 0x4605D0: 
MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
  723799 [main] chown 140 environ_init: 0x460618: 
NUMBER_OF_PROCESSORS=1
  703869 [main] chown 140 environ_init: 0x460638: 
OLDPWD=/home/administrator

  703939 [main] chown 140 environ_init: 0x460658: OS=Windows_NT
  714010 [main] chown 140 getwinenv: can't set native for PATH= since 
no environ yet

  454055 [main] chown 140 normalize_posix_path: src .
  574112 [main] chown 140 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\Cygwin\lib\gcc\i686-pc-mingw32\3.4.4, no-keep-rel, 
no-add-slash)
  474159 [main] chown 140 normalize_win32_path: 
C:\Cygwin\lib\gcc\i686-pc-mingw32\3.4.4 = normalize_win32_path 
(C:\Cygwin\lib\gcc

Re: Call for testing Cygwin snapshot

2005-12-20 Thread Christopher Faylor
On Wed, Dec 21, 2005 at 05:16:34AM +0100, Bas van Gompel wrote:
Op Wed, 30 Nov 2005 18:11:37 +0100 schreef Corinna Vinschen
in 20051130171137.GE2999atcalimero.vinschen.de:

:  ask people for testing the latest snapshot, 2005-Nov-30, from

Actually, this is freshly built from a CVS-checkout on Dec 20.

:  Please report back in this thread when you encounter a problem, which
:  you can't reproduce with 1.5.18.  We're interested in regressions in
:  the first place.

This is on win 95 again...

I commonly source a file containing among other things: ''
/usr/sbin/sshd
''. With this build, when logging in (using ''
ssh machine-name
''), a new console pops up. It didn't before. When using ''
ssh machine-name bash -li
'' two consoles pop up, and typing ''
tty
'' on the resultant prompt reports ''not a tty''.


If I can help by providing more info, let me know.

Could retype that without the strange quoting and maybe provide a little
more explanation about what you mean by source a file, i.e., provide
step by step instructions for duplicating the problem?

cgf

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



cygwin's files are read-only under normal windows shell

2005-12-20 Thread Tyler Spivey
Hello. I've noticed an odd problem with cygwin. When I create a file, e.g.
with wget or something similar, the read-only button in windows explorer is
set
to partialy checked.
Is there any way I can prevent this behaviour and allow executable files,
for instance, to run without disabling that in windows explorer which
doesn't
seem to work,
or by using chmod --recursive +rwx dirname in the shell?
Thanks,
Tyler


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