Re: boost, boost_unit_test_framework

2005-10-14 Thread Václav Haisman
Mattias Brändström wrote:
> Václav Haisman wrote:
> 
>>>
>>> /usr/lib/libboost_date_time-gcc-mt-s-1_33.a*
>>> /usr/lib/libboost_date_time-gcc-mt-s.a*
>>
>>
>> This is called 'versioned' layout.
>>
>>
>>> In my build scripts I would still like to be able to specify
>>> -lboost_date_time and not -lboost_date_time-gcc-mt-s. Is it the
>>> intention of the maintainer of the cygwin boost package that I should
>>> make a symbolic link (ln -s libboost_date_time.a
>>> libboost_date_time-gcc-mt-s.a) to the library that I want to use?
>>
>>
>> You can either add the links or you can have something like
>> BOOST_SUFFIX=-gcc-mt-s and use -lboost_date_time${BOOST_SUFFIX}.
>>
> 
> Ok. I didn't think of using a suffix like you suggest. It looks nice and
> I am going to use it in my build scripts.
> 
>>> Another question regarding the cygwin boost package is why the test
>>> libraries are missing?
>>
>>
>> Because its build is broken on Cygwin.
>>
> 
> Have the test libraries worked in any previous version of boost for
> Cygwin? If so, is there any way that I can install that version instead?
I don't know. The current Boost package is the only Boost Cygwin package
so far. You could try to compile some older Boost than 1.33.0 from sources.

> 
> :.:: mattias

Vaclav Haisman



signature.asc
Description: OpenPGP digital signature


Re: boost, boost_unit_test_framework

2005-10-14 Thread Mattias Brändström

Václav Haisman wrote:


Have the test libraries worked in any previous version of boost for
Cygwin? If so, is there any way that I can install that version instead?


I don't know. The current Boost package is the only Boost Cygwin package
so far. You could try to compile some older Boost than 1.33.0 from sources.



Actually, I tried to compile the test libraries of boost 1.33 myself 
like this:


bjam -sTOOLS=gcc --with-test stage

And that command produced the test libraries for me. The only difference 
from your libraries was that their extension was .lib instead of .a. How 
did you manage to get .a libraries? Is there any difference between .a 
and .lib in Cygwin?


When I changed the extension of boost_unit_test_framework to .a and 
compiled and linked my test with -lboost_unit_test_framework I got a 
working binary.


However, I would like to be able to build my project with a vanilla 
installation of Cygwin. This would make it easier for me to share my 
project with other people since they would only have to install the 
correct versions (preferable the latest) of the Cygwin packages to be 
able to build it.


In what way is the test libraries broken under Cygwin?

:.:: mattias

--
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 cygrunsrv for running native win32 applications

2005-10-14 Thread Henry S. Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christopher Faylor writes:

> LOL.

Propose a gold star for Antony Baxter - I believe he is the first
person on record as getting a laugh out of CGF!

ht
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
 Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED]
   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDT5V8kjnJixAXWBoRArgEAJ9xFskpFsU+adhIaLYwUFD1mzVl6QCeIgGp
NNbX9IWIl9d1u6AWUDF0KUM=
=2baZ
-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: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Gerrit P. Haase

Henry S. Thompson wrote:


Christopher Faylor writes:

LOL.



Propose a gold star for Antony Baxter - I believe he is the first
person on record as getting a laugh out of CGF!


I second this propose ;)


Gerrit
--
=^..^=

--
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: Security advisory: uw-imap - 3 attachments

2005-10-14 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Christian Weinberger on 10/14/2005 12:26 AM:
> I could not post to the cygwin applications list via gmane, so I reply
> to the main list. Apologies if this not the way it should be done. 

I don't know why cygwin-apps is registered as a one-way only list on
gmane, but I have also found it is annoying that you can't post there
through gmane.  It would take permission from the list owner for gmane to
change the policy on their mirroring of the list (at least gmane still
respects the subscriber-only posting rules).  However, gmane also has the
annoying property of not allowing file attachments, so you really should
be using a proper email client and not gmane when trying to send attachments.

As for you comments about cygwin applications, they really do belong on
cygwin-apps; I've changed the reply-to accordingly.  Also, attachments are
better received if they are MIME attachments, not uuencoded inline; and
with a text MIME type if they really are text based (the number of mail
clients out there that blindly assume every attachment should be marked
application/octet-stream is unfortunate).

> 
> I´d be glad to assist the maintainer in building a 2004g package for
> cygwin. 

There has been no response from the uw-imap maintainer, at least per
http://sources.redhat.com/ml/cygwin-apps/2005-10/msg00111.html.  If you
are volunteering to maintain it, you will need to respond directly on the
cygwin-apps list.

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

iD8DBQFDT7Px84KuGfSFAYARAsZZAKCQv5IVM86s4JG4E/hy31UqsnLc0gCbBjvV
AaOfRhh14DlGRrgHIOR6XYs=
=FgOe
-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: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Antony Baxter
>Christopher Faylor writes:

>> LOL.

> Propose a gold star for Antony Baxter - I believe he
is 
> the first person on record as getting a laugh out of

> CGF!
>
> ht

Thank you, thank you,  you're too kind!

However, I think it would just be construed as a form 
of nepotism - for the record Henry used to be one of
my 
lecturers in Edinburgh, several years ago. 

Waddya mean you *don't remember*?

Ant.



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.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: Setup fails!

2005-10-14 Thread Kern
in my opition you should copy the cygwin1.dll to the winnt/system32
directory.Ignore whatever the installer say there is an old dll in XXX
path

2005/10/13, Eric Blake <[EMAIL PROTECTED]>:
> >
> > "The procedure entry point getline could not be located in the dynamic link
> > library cygwin1.dll!"
>
> What was the title of the popup box (in other words, which
> app reported this message)?
>
> getline() is not present in 1.5.18, only in snapshots.  Did you,
> perchance, install coreutils-5.90-2, which relies on a snapshot
> being installed?  We would have known that had you followed
> these instructions, or at least mentioned which app was in
> the popup box title.
>
> > Problem reports:   http://cygwin.com/problems.html
>
> --
> Eric Blake
>
>
>
> --
> 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: Setup fails!

2005-10-14 Thread Igor Pechtchanski
Ugh, top-posting...  Reformatted.

On Fri, 14 Oct 2005, Kern wrote:

> 2005/10/13, Eric Blake <[EMAIL PROTECTED]>:

.  Thanks.

> > >
> > > "The procedure entry point getline could not be located in the
> > > dynamic link library cygwin1.dll!"
> >
> > What was the title of the popup box (in other words, which
> > app reported this message)?
> >
> > getline() is not present in 1.5.18, only in snapshots.  Did you,
> > perchance, install coreutils-5.90-2, which relies on a snapshot
> > being installed?  We would have known that had you followed
> > these instructions, or at least mentioned which app was in
> > the popup box title.
> >
> > > Problem reports:   http://cygwin.com/problems.html
>
> in my opition you should copy the cygwin1.dll to the winnt/system32
> directory.Ignore whatever the installer say there is an old dll in XXX
> path

Your opinion is wrong.  Not only will it make future upgrades hard, it
will also not fix the problem, since, as Eric said, this is a legitimate
message that resulted from installing an experimental version of the
coreutils package.

To reiterate: there is *NEVER*[*] any reason to copy cygwin1.dll anywhere
but the directory mounted as /bin.  Doing so will only break your Cygwin
installation.
Igor
[*] Unless you really, REALLY, *REALLY* know what you're doing.
-- 
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!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: security concerns / production environment

2005-10-14 Thread ABi DaR
Well,  I want to install cygwin on a production server and wanted to make 
sure there are no current security concerns or things that I should be aware 
of.  I just wanted to know if anybody else had any issues where it 
conflicted with any existing application that was running at the time or any 
modification they had to make to cygwin for security purposes.




style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'>size=1>
From:  "Larry Hall (Cygwin)" 
<[EMAIL PROTECTED]>Reply-To:  
cygwin@cygwin.comTo:  ABi DaR 
<[EMAIL PROTECTED]>CC:  
cygwin@cygwin.comSubject:  Re: security concerns / production 
environmentDate:  Thu, 13 Oct 2005 16:58:47 -0400>ABi 
DaR wrote:>>Greetings,>>   Are there any known issues 
about running "cygwin SSHD" service >>in a production 
environment?  Is there any concern I should be >>aware of or has 
anyone run into problems running it on a production >>server with 
ColdFusion running on it.>>>What kind of issues?  Just 
how it works with ColdFusion?  Perhaps >others>can answer 
that.  I've run Cygwin's sshd for years to tunnel VNC and 
>not>had any problems.>>If your concern is 
security, you may want to read the following >Cygwin 
FAQ:>>;>>>-->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: Windows update vs. cygrunsrv

2005-10-14 Thread Al Slater
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eric Blake wrote:
>>>I don't know it this was unique to my machine, but am
>>>reporting it in case anyone else runs into the same
>>>issue.  When running Microsoft update today, on Win2k,
>>>the patch for Security Update for DirectX 9 for Windows
>>>2000 (KB904706) hung during installation, with an
>>>instance of cygrunsrv hogging 100% CPU, until I had
>>>stopped every last one of my cygrunsrv processes.  I
>>>don't know what the Microsoft update was trying to do
>>>to running services during the update, but it obviously
>>>didn't interact very well with cygrunsrv.
>>
>>I have the converse experience.  I'm usually running three services
>>under cygrunsrv (syslogd, sshd, esd) and today I used Windows Update,
>>too, to get the latest security bugfixes.  I had (and never had)
>>problems to do this while my services were still running.
> 
> 
> I usually leave my services up, as well; this was the first time
> I had a hang.  Today's Win2k patch list contained 10 patches,
> and it was only the 1 patch for KB904706 that hung.  So it's not
> the update process in general, but that particular patch, that I
> was complaining about.

I had a similar experience this morning, except the DirectX update hung
with inetd using all the CPU.  Shutting down inetd allowed the update to
complete.

Al
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDT8RUz4fTOFL/EDYRAkjwAJ0YGyP+tB7U+Wwf6Ys82l4VJklwfwCfTMVO
HPdCoBHadCCWNESfcGtRpv0=
=oyNi
-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: Setup fails!

2005-10-14 Thread Chris Taylor

Kern wrote:

in my opition you should copy the cygwin1.dll to the winnt/system32
directory.Ignore whatever the installer say there is an old dll in XXX
path



Errr.. NO!

If you want to use the cygwin1.dll that's a part of cygwin, add
cygwin\bin to your path (drive letter omitted here).
Then you just make sure and remove any cygwin1.dll's from apps you install.
That way you're always using the most up to date one, and never have a
conflict between the version cygwin has installed and what you have in
your windows directory.


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/



Re: 1.5.18: ld command generates stackdump

2005-10-14 Thread Christopher Faylor
On Thu, Oct 13, 2005 at 11:50:45PM -0700, Peter J. Stieber wrote:
>One last post before calling it a night. I built a debug version of the 
>cygwin DLL as well and installed it. Here is the latest gdb session:

I don't remember if I suggested trying a snapshot but I'm wondering if
a snapshot would just fix your problem: http://cygwin.com/snapshots/ .

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: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Christopher Faylor
On Fri, Oct 14, 2005 at 12:24:44PM +0100, Henry S. Thompson wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Christopher Faylor writes:
>
>> LOL.
>
>Propose a gold star for Antony Baxter - I believe he is the first
>person on record as getting a laugh out of CGF!

http://www.cygwin.com/ml/cygwin-xfree/2004-12/msg9.html
http://sourceware.org/ml/cygwin/2004-04/msg00947.html
http://sourceware.org/ml/cygwin/2004-04/msg00947.html
http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
.
.
.

And a few in personal email.  Dave Korn must be sick of seeing them, in
fact.

I hate to set the precedent of people voting for gold stars but since
I thought of this when I sent the LOL, I guess a gold star would be
appropriate, just for a nice comeback.

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/



Running cygwin on multiple computers from a shared network drive

2005-10-14 Thread Bogdan Calmac
I want to keep a cygwin installation on a shared network drive and
then then use it from any computer. Has anybody accomplished this? Can
you point me to some instructions?

I would guess there is some setup required, such as loading the mount
points in registry. Anything else?

Thanks you.

--
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: Running cygwin on multiple computers from a shared network drive

2005-10-14 Thread Christopher Faylor
On Fri, Oct 14, 2005 at 12:07:37PM -0400, Bogdan Calmac wrote:
>I want to keep a cygwin installation on a shared network drive and
>then then use it from any computer. Has anybody accomplished this? Can
>you point me to some instructions?
>
>I would guess there is some setup required, such as loading the mount
>points in registry.

"mount -m"

>Anything else?

/etc/passwd, /etc/group?

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: patch cygrunsrv for running native win32 applications

2005-10-14 Thread Igor Pechtchanski
On Fri, 14 Oct 2005, Christopher Faylor wrote:

> On Fri, Oct 14, 2005 at 12:24:44PM +0100, Henry S. Thompson wrote:
> >Christopher Faylor writes:
> >
> >> LOL.
> >
> >Propose a gold star for Antony Baxter - I believe he is the first
> >person on record as getting a laugh out of CGF!
>
> http://www.cygwin.com/ml/cygwin-xfree/2004-12/msg9.html
> http://sourceware.org/ml/cygwin/2004-04/msg00947.html
> http://sourceware.org/ml/cygwin/2004-04/msg00947.html
> http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
> http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html

The last one must've made you laugh twice... :-)

> .
> .
> .
>
> And a few in personal email.  Dave Korn must be sick of seeing them, in
> fact.

And who could forget ?

> I hate to set the precedent of people voting for gold stars but since
> I thought of this when I sent the LOL, I guess a gold star would be
> appropriate, just for a nice comeback.

Done.  But you haven't answered Anthony's question: *will* this be fixed
in 1.5.19?  Is it on its way of becoming the next B20? :-)
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!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 cygrunsrv for running native win32 applications

2005-10-14 Thread Christopher Faylor
On Fri, Oct 14, 2005 at 12:46:34PM -0400, Igor Pechtchanski wrote:
>On Fri, 14 Oct 2005, Christopher Faylor wrote:
>
>> On Fri, Oct 14, 2005 at 12:24:44PM +0100, Henry S. Thompson wrote:
>> >Christopher Faylor writes:
>> >
>> >> LOL.
>> >
>> >Propose a gold star for Antony Baxter - I believe he is the first
>> >person on record as getting a laugh out of CGF!
>>
>> http://www.cygwin.com/ml/cygwin-xfree/2004-12/msg9.html
>> http://sourceware.org/ml/cygwin/2004-04/msg00947.html
>> http://sourceware.org/ml/cygwin/2004-04/msg00947.html
>> http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
>> http://sourceware.org/ml/cygwin-talk/2005-q1/msg00015.html
>
>The last one must've made you laugh twice... :-)

It was a stupid cut/paste error from firefox, actually.  I'm having a #(*&
of a time getting that to work correctly.

>>I hate to set the precedent of people voting for gold stars but since I
>>thought of this when I sent the LOL, I guess a gold star would be
>>appropriate, just for a nice comeback.
>
>Done.  But you haven't answered Anthony's question: *will* this be
>fixed in 1.5.19?  Is it on its way of becoming the next B20?  :-)

Corinna and I were thinking that 1.5.20 could be the next B20, actually.

If I could just figure out Volker's hang problem, I'd release 1.5.19 and
then we'd be on the road to nirvana.

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/



rxvt as replacement for windows terminal

2005-10-14 Thread Christoffer Gurell
I want to use rxvt shipped with cygwin as a replacement for the windows
crappy terminal which cygwin uses as default. 
The problem is that native windows binaries like edit.com or python for
windows does not work in rxvt. The terminal just hangs up. 
Is there a solution for this or what is the problem?

 / Christoffer Gurell ( not a subscriber to this list )

--
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: Running cygwin on multiple computers from a shared network drive

2005-10-14 Thread Igor Pechtchanski
On Fri, 14 Oct 2005, Christopher Faylor wrote:

> On Fri, Oct 14, 2005 at 12:07:37PM -0400, Bogdan Calmac wrote:
> >I want to keep a cygwin installation on a shared network drive and
> >then then use it from any computer. Has anybody accomplished this? Can
> >you point me to some instructions?
> >
> >I would guess there is some setup required, such as loading the mount
> >points in registry.
>
> "mount -m"
>
> >Anything else?
>
> /etc/passwd, /etc/group?

Plus a local /tmp and /var/tmp...  Also, if the machines sharing the drive
have different OSs, the /etc/{hosts,networks,protocols,services} symlinks
will be broken.  You're probably better off with a local /etc as well,
with symlinks to a shared /etc for stuff that needs sharing (e.g.,
/etc/profile).

One more thing: unless the shared drive has the same access path (i.e.,
drive letter) on all machines, you may want to adapt /cygwin.bat.
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!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: security concerns / production environment

2005-10-14 Thread Larry Hall (Cygwin)

On 10/14/2005, ABi DaR wrote:
Well,  I want to install cygwin on a production server and wanted to make 
sure there are no current security concerns or things that I should be 
aware of.  I just wanted to know if anybody else had any issues where it 
conflicted with any existing application that was running at the time or 
any modification they had to make to cygwin for security purposes. 


Beyond the FAQ entry I pointed you to, there is no additional "caveats" to
using OpenSSH under Cygwin.

--
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: ld command generates stackdump

2005-10-14 Thread Peter J. Stieber

PS = Peter J. Stieber
PS>>One last post before calling it a night. I built a debug
PS>> version of the cygwin DLL as well and installed it.
PS>> Here is the latest gdb session:

CGF> I don't remember if I suggested trying a snapshot
CGF> but I'm wondering if a snapshot would just fix
CGF> your problem: http://cygwin.com/snapshots/ .

Tried 20051013 and it worked :-)))

I will let my development crew know when the next version of the cygwin 
DLL is released.


Thanks again Christopher and Brian for the help.

And as always, thanks to Corinna, Christopher, Igor, Joshua, and the 
many others to numerous to mention for all of their hard work on cygwin.


Do I get a gold star ;-)
Pete



--
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: rxvt as replacement for windows terminal

2005-10-14 Thread Larry Hall (Cygwin)

Christoffer Gurell wrote:

I want to use rxvt shipped with cygwin as a replacement for the windows
crappy terminal which cygwin uses as default. 
The problem is that native windows binaries like edit.com or python for
windows does not work in rxvt. The terminal just hangs up. 
Is there a solution for this or what is the problem?


Windows programs don't understand Cygwin ttys.  The workarounds are:

  - Don't use Windows programs with rxvt.
  - Go back to using cmd.exe (without 'tty' set in your CYGWIN environment
variable) if you must use Windows programs.

You can find plenty of discussion about this issue in the email archives if
you're interested in further info.

--
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: ld command generates stackdump

2005-10-14 Thread Christopher Faylor
On Fri, Oct 14, 2005 at 10:15:36AM -0700, Peter J. Stieber wrote:
>PS = Peter J. Stieber
>PS>>One last post before calling it a night. I built a debug
>PS>> version of the cygwin DLL as well and installed it.
>PS>> Here is the latest gdb session:
>
>CGF> I don't remember if I suggested trying a snapshot
>CGF> but I'm wondering if a snapshot would just fix
>CGF> your problem: http://cygwin.com/snapshots/ .
>
>Tried 20051013 and it worked :-)))

I'm sorry that it didn't occur to me much earlier that this was a cygwin
heap problem that was fixed in a snapshot.

I guess that, as a rule of thumb, "try a snapshot" is always a good idea.

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: ld command generates stackdump

2005-10-14 Thread Peter J. Stieber

PS>>Tried 20051013 and it worked :-)))

CGF> I'm sorry that it didn't occur to me much
CGF> earlier that this was a cygwin
CGF> heap problem that was fixed in a snapshot.

CGF> I guess that, as a rule of thumb,
CGF> "try a snapshot" is always a good idea.

Not to be a total brown nose, but I've been using cygwin for a long time 
and this is only the second time I've had to resort to a snapshot to 
solve a problem. In other words cygwin is normally stable enough so I 
don't think to try a snapshot.


I should have tried it before posting.

At least I learned how to build a debug version of the binutils package 
on cygwin.


Thanks again, and I forgot to thank René Berber for his input,
Pete 




--
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: Bug: 1.5.18: 'This application has failed to start because cygwin1.dll was not found. Re-installing the application may fix this problem'

2005-10-14 Thread Igor Pechtchanski
On Wed, 12 Oct 2005, Corinna Vinschen wrote:

> On Oct 10 21:29, Igor Pechtchanski wrote:
>
> > I believe this may be an instance of the error I reported in
> > .  Basically,
> > the PATH conversion code stops whenever it encounters an invalid
> > element in the PATH.  In my case it was due to strict case checking,
> > but it seems to be a more general problem.  Basically, the Cygwin path
> > conversion code stops when it encounters a non-existent directory, and
> > only returns the part of the path it's converted so far.  Since in
> > your case the invalid directory comes first, you get an empty PATH.
> >
> > A patch to turn off this behavior altogether is reasonably simple, but
> > I'm not sure it'll be accepted.  The main question is whether this
> > behavior is desired. Corinna or Chris, care to comment?
>
> This should be solved in current CVS (the general problem with
> non-existant directories, not the case_check stuff).

Incidentally, that fix also solves the check_case problem I reported,
since, due to the wrong case, Cygwin simply thought that the directory was
non-existent.  My patch attempted to make Cygwin understand that the
directory was valid, whereas your approach is much simpler.  In any case,
I'm happy... Thanks! :-)
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!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 error: "URL Scheme not registered!

2005-10-14 Thread Longmire, Ernie
I'm not the original poster but I'm seeing the same problem.  Igor, your
2.513.1-alpha build generates the following setup.log.full:

  2005/10/14 10:54:10 Starting cygwin install, version 2.513
  2005/10/14 10:54:10 Current Directory: G:\LocalPkg\cygwin
  2005/10/14 10:54:10 Changing gid to Users
  2005/10/14 10:54:10 Could not open service McShield for query, start
and stop. McAfee may not be installed, or we don't have access.
  2005/10/14 10:54:11 source: network install
  2005/10/14 10:54:17 root: C:\PROGRA~1\cygwin binary system
  2005/10/14 10:54:18 Selected local directory: G:\LocalPkg\cygwin
  2005/10/14 10:54:19 net: IE5
  get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
  getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
  2005/10/14 10:54:21 site: http://mirrors.xmission.com/cygwin
  get_url_to_membuf http://mirrors.xmission.com/cygwin/setup.bz2
  getUrlToStream http://mirrors.xmission.com/cygwin/setup.bz2
  2005/10/14 10:54:27 mbox fatal: Fatal Error: Uncaught Exception
  Thread: install
  Type: St16invalid_argument
  Message: URL Scheme for 'file://T:' not registered!
  2005/10/14 10:54:30 Ending cygwin install
  
I get the same error when trying to install from my local package cache:

  2005/10/14 10:59:10 Starting cygwin install, version 2.513
  2005/10/14 10:59:10 Current Directory: G:\LocalPkg\cygwin
  2005/10/14 10:59:10 Changing gid to Users
  2005/10/14 10:59:10 Could not open service McShield for query, start
and stop. McAfee may not be installed, or we don't have access.
  2005/10/14 10:59:13 source: from cwd
  2005/10/14 10:59:14 root: C:\PROGRA~1\cygwin binary system
  2005/10/14 10:59:17 Selected local directory: G:\LocalPkg\cygwin
  Found ini file -
G:\LocalPkg\cygwin/http%3a%2f%2fmirrors.xmission.com%2fcygwin/setup.ini
  1% (8192 of 468499 bytes of ini file read)
  3% (16384 of 468499 bytes of ini file read)
  5% (24576 of 468499 bytes of ini file read)
  [...]
  97% (458752 of 468499 bytes of ini file read)
  99% (466944 of 468499 bytes of ini file read)
  100% (468499 of 468499 bytes of ini file read)
  Removing empty category Audio
  Removing empty category Gnome
  Removing empty category KDE
  Removing empty category Math
  Removing empty category Publishing
  Removing empty category _obsolete
  2005/10/14 10:59:21 mbox fatal: Fatal Error: Uncaught Exception
  Thread: install
  Type: St16invalid_argument
  Message: URL Scheme for 'file://T:' not registered!
  2005/10/14 10:59:22 Ending cygwin install
  
The T: drive is my tmp volume; when I first started seeing this error, I
had Windows environment variables TEMP and TMP set to "T:\".  I've since
changed them to T:\FOO and T:\BAR respectively but that hasn't changed
the error message.

The packages it's trying to install are:

  Package Current   New
  cygwin-doc  1.4-2 1.4-3
  dejagnu   20021217-2
  expect20030128-1
  openssl 0.9.8-2   0.9.8a-1
  openssl097  0.9.7g-1  0.9.7h-1
  stunnel 4.11-14.12-1

This is a new install (less than a week old) on a freshly-built XP Pro
SP2 system.  The problem started after I'd been using the system for a
couple of days.

-- 
Ernie Longmire
Charles Schwab & Co., Inc.
Corporate Security/Custody Services, Core Brokerage Solutions

WARNING: All e-mail sent to this address will be received by the Charles
Schwab & Co.,  Inc. corporate e-mail system and is subject to archival
and review by someone other than the recipient. 

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



Sleep not terminating

2005-10-14 Thread David Rothenberger

I'm encountering a weird problem with sleep.

If I run

$ while true; do sleep 120; done &
[1] 6780
$ kill %1

the bash process (6780) and its child sleep process are both killed.

However, if I kill the bash process using the pid, the child sleep 
process is not killed.


$ while true; do sleep 120; done &
[1] 5528
$ kill 5528
$ ps -ef | grep sleep
  drothe6532   1   0  12:26:41 /bin/sleep

I guess this problem has been around for a while. I'm seeing it with the 
latest snapshot and also with 1.5.18, with the latest bash and the test 
bash.


--
David Rothenbergerspammer? -> [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

(null cookie; hope that's ok)


--
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: Sleep not terminating

2005-10-14 Thread Christopher Faylor
On Fri, Oct 14, 2005 at 12:36:55PM -0700, David Rothenberger wrote:
>I'm encountering a weird problem with sleep.
>
>If I run
>
>$ while true; do sleep 120; done &
>[1] 6780
>$ kill %1
>
>the bash process (6780) and its child sleep process are both killed.
>
>However, if I kill the bash process using the pid, the child sleep 
>process is not killed.
>
>$ while true; do sleep 120; done &
>[1] 5528
>$ kill 5528
>$ ps -ef | grep sleep
>  drothe6532   1   0  12:26:41 /bin/sleep
>
>I guess this problem has been around for a while. I'm seeing it with the 
>latest snapshot and also with 1.5.18, with the latest bash and the test 
>bash.

I don't suppose that you tried this on linux, did you?  Same behavior.

It's what I'd expect.  In the first case, by specifying "%1", you're
killing the process group, which consists of the bash process and the
sleep process.  In the second case, by specifying the bash pid, you're
killing only the bash process.  Since bash apparently doesn't have any
special "kill my subprocess" behavior, I wouldn't expect sleep to go
away.

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/



problems with top using Cygwin ssh to Debian 31r0a

2005-10-14 Thread David Christensen
Cygwin:

When I use Cygwin to ssh into a Debian 3.1 stable ("Sarge") machine and run
"top", the newlines seem to be double-expanded -- e.g. there is a blank line
between each line of information.  This problem does not occur when I ssh into a
Debian 3.0 stable ("Woody") machine.  This problem does not occur on either
Debian machine if I use Putty.


Any suggestions?


TIA,

David


--
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: rxvt as replacement for windows terminal

2005-10-14 Thread Andrew DeFaria

Christoffer Gurell wrote:
I want to use rxvt shipped with cygwin as a replacement for the 
windows crappy terminal which cygwin uses as default.  The problem is 
that native windows binaries like edit.com

Try vim! ;-)

or python for windows

Try Python for Cygwin! ;-)
does not work in rxvt. The terminal just hangs up.  Is there a 
solution for this or what is the problem?
What gets me right now is cleartool from IBM Rational is written for 
Windows and doesn't handle the pty's that Cygwin's rxvt (and rsh, etc.) 
use. That and I'm currently working on a Perl script for Clearquest 
which requires cqperl - an ActiveState based Perl which also doesn't 
understand ptys...


But for you I fail to see why you would want to use edit.com! I mean 
geezer a .com executable! Ain't that quaint!


And as for python, I would hope that you are writing the sort of Python 
code that it relatively portable so you can use Cygwin's Python and if 
you must use whatever Python for Windows you have after you're done. If 
I didn't need to use cqperl I'd be using Cygwin's Perl...

--
2400 Baud makes you want to get out and push!!


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