Re: expat-1.95.6-2

2003-09-18 Thread Corinna Vinschen
On Thu, Sep 18, 2003 at 01:21:43PM +0200, Gerrit P. Haase wrote:
 Hallo,
 
 please propagate expat-1.95.6-2 to current and leave 1.95.6-1 as
 previous, setup.hint should look like this:
 
 # expat
 category: Doc Libs Text Devel Interpreters
 requires: cygwin
 sdesc: XML parser library written in C
 ldesc: Expat is an XML parser library written in C.
 It is a stream-oriented parser in which an application
 registers handlers for things the parser might find in
 the XML document (like start tags).
 More details are available at http://www.libexpat.org/;
 prev: 1.95.6-1
 curr: 1.95.6-2
 
 or is the curr: line superflous if there is no newer test release?

prev as well as curr are superfluous if the numbering scheme is
unambiguous.

I just removed curr and test lines and I also removed the 1.95.4 and
1.95.5 releases entirely.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: expat-1.95.6-2

2003-09-18 Thread Gerrit P. Haase
Corinna wrote:

 On Thu, Sep 18, 2003 at 01:21:43PM +0200, Gerrit P. Haase wrote:
 Hallo,
 
 please propagate expat-1.95.6-2 to current and leave 1.95.6-1 as
 previous, setup.hint should look like this:

 prev as well as curr are superfluous if the numbering scheme is
 unambiguous.

 I just removed curr and test lines and I also removed the 1.95.4 and
 1.95.5 releases entirely.

Ok, thanks.


Gerrit
-- 
=^..^=



Re: package download stats?

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 04:43:00PM +0200, Lapo Luchini wrote:
As a mere curiosity: would be possible to nkow how many times the 
packages are downloaded? (maybe grepping ftp/http logs)

OK.. don't listen to me: of course the logs are on the mirrors =P

I would love to know the answer to this, though.

It would be nice (tm) if setup.exe could record download stats
somewhere.  But, then maybe that's a violation of privacy somehow.

cgf


Re: Aspell ... (ready?)

2003-09-18 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 01:24:20AM +1000, Gareth Pearce wrote:

 -- 
 lame ascii art
++
| BB |  -- my spiffy new Cygwin Bash Maintainer Hat ;)
| AA |
| SS |
| HH |
  +-Cygwin-+
   | o  o |
   |  ||  |
   \ \__/ /
\/
 /lame ascii art

inspired by this hat - I ask ... is there anything stoping us doing the
coordinated release of the aspell and dictionary this weekend?  I was fairly
sure that the last available version (which was compiled by rlc not me, but
otherwise was perfectly normal) didnt recieve any aditional feedback.

Gareth - the not-quite-just-yet owner of the new-but-not-spiffy aspell
maintainership hat.

What was the answer to this question?  I've wanted [ai]spell in the distribution
for a long time and I'm anxious to get something in.  Are we ready?  If so,
point me at a URL and I'll download it.

cgf


Re: package download stats?

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 10:56:03AM -0400, Igor Pechtchanski wrote:
On Thu, 18 Sep 2003, Christopher Faylor wrote:
On Thu, Sep 18, 2003 at 04:43:00PM +0200, Lapo Luchini wrote:
As a mere curiosity: would be possible to nkow how many times the
packages are downloaded?  (maybe grepping ftp/http logs)

OK..  don't listen to me: of course the logs are on the mirrors =P

I would love to know the answer to this, though.

It would be nice (tm) if setup.exe could record download stats
somewhere.  But, then maybe that's a violation of privacy somehow.

FWIW, every setup run makes an http connection to cygwin.com (to get
the mirror list).  We could also have setup connect *after* the
download (completely optionally, of course), and report the mirrors
used plus some statistics (OS, packages downloaded, etc -- nothing more
revealing than would be in the browser HTTP headers or the cygcheck
output).  We could have a prominent page asking whether the user allows
this (yeah, yeah, like we need yet another page in the setup sequence).
Just a wild idea...

That's kind of what I was thinking.  I could generate a cgi script to
run, if necessary but obviously it would need some kind of
authentication to avoid abuse.  Is there something like this out there
somewhere?

Hmm.  Maybe I should add a counter to the mirrors page.

cgf


Re: Aspell ... (ready?)

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 05:40:28PM +0200, Ronald Landheer-Cieslak wrote:
On Thu, Sep 18, 2003 at 10:46:47AM -0400, Christopher Faylor wrote:
 On Sat, Sep 13, 2003 at 01:24:20AM +1000, Gareth Pearce wrote:
snipped the lame ASCII art
 inspired by this hat - I ask ... is there anything stoping us doing the
 coordinated release of the aspell and dictionary this weekend?  I was fairly
 sure that the last available version (which was compiled by rlc not me, but
 otherwise was perfectly normal) didnt recieve any aditional feedback.
 
 Gareth - the not-quite-just-yet owner of the new-but-not-spiffy aspell
 maintainership hat.
 
 What was the answer to this question?  I've wanted [ai]spell in the
 distribution for a long time and I'm anxious to get something in. 
 Are we ready?  If so, point me at a URL and I'll download it.
AFAIC, we're ready.
I'll repeat the URLs for the dictionaries:

04be855c088559b4682b5495510234fe *aspell-en-0.51.0-1-src.tar.bz2
http://rlc.unsane.co.uk/aspell-en-0.51.0-1-src.tar.bz2
33fad88cd4d517596ebab42d368ba750 *aspell-en-0.51.0-1.tar.bz2
http://rlc.unsane.co.uk/aspell-en-0.51.0-1.tar.bz2

Gareth pointed to the following URLs in
http://www.cygwin.com/ml/cygwin-apps/2003-09/msg00176.html:

http://www.users.on.net/gpearce/aspell-0.50.3-1-src.tar.bz2
http://www.users.on.net/gpearce/aspell-bin-0.50.3-1.tar.bz2
http://www.users.on.net/gpearce/aspell-bin.setup.hint
http://www.users.on.net/gpearce/aspell-dev-0.50.3-1.tar.bz2
http://www.users.on.net/gpearce/aspell-dev.setup.hint
http://www.users.on.net/gpearce/aspell-doc-0.50.3-1.tar.bz2
http://www.users.on.net/gpearce/aspell-doc.setup.hint
http://www.users.on.net/gpearce/libaspell15-0.50.3-1.tar.bz2
http://www.users.on.net/gpearce/libaspell15.setup.hint

Gareth says in http://www.cygwin.com/ml/cygwin-apps/2003-09/msg00179.html
that there's no need to mark them as test, despite the fact that the gcc
he used is still marked as such. Personally, I'd mark at least aspell-dev 
as test, seeing as that contains the files that won't work with the current
gcc, but it's his call (he's the maintainer, after all :)

I hate to do this at this late point (and I *really* hate it when people
do it to me) but I didn't notice the slightly nonstandard practice of
naming the binary 'aspell-bin'.  I'd like to change that.  Otherwise
we have a base package which only contains source, which is also
unusual.  I'd prefer to mv aspell-{bin-,}0.50.3-1.tar.bz2 and
put it at the top level of the aspell directory and move everything else
underneath it.

Gareth, do you have a problem with that?

cgf


Re: package download stats?

2003-09-18 Thread Igor Pechtchanski
On Thu, 18 Sep 2003, Christopher Faylor wrote:

 On Thu, Sep 18, 2003 at 10:56:03AM -0400, Igor Pechtchanski wrote:
 On Thu, 18 Sep 2003, Christopher Faylor wrote:
 On Thu, Sep 18, 2003 at 04:43:00PM +0200, Lapo Luchini wrote:
 As a mere curiosity: would be possible to nkow how many times the
 packages are downloaded?  (maybe grepping ftp/http logs)
 
 OK..  don't listen to me: of course the logs are on the mirrors =P
 
 I would love to know the answer to this, though.
 
 It would be nice (tm) if setup.exe could record download stats
 somewhere.  But, then maybe that's a violation of privacy somehow.
 
 FWIW, every setup run makes an http connection to cygwin.com (to get
 the mirror list).  We could also have setup connect *after* the
 download (completely optionally, of course), and report the mirrors
 used plus some statistics (OS, packages downloaded, etc -- nothing more
 revealing than would be in the browser HTTP headers or the cygcheck
 output).  We could have a prominent page asking whether the user allows
 this (yeah, yeah, like we need yet another page in the setup sequence).
 Just a wild idea...

 That's kind of what I was thinking.  I could generate a cgi script to
 run, if necessary but obviously it would need some kind of
 authentication to avoid abuse.

Hmm, I doubt we can prevent a determined user from faking the necessary
setup HTTP headers from outside setup...  Unless we start requiring
registration to download Cygwin, which is a whole other can of worms.

 Is there something like this out there somewhere?

I doubt we'll need something particularly sophisticated...  I wrote
something similar (a passthrough download logging script) a while ago -
I'm sure it can be adapted, but it will need modifications.  I'll post it
if there's interest.

 Hmm.  Maybe I should add a counter to the mirrors page.
 cgf

That's kind of what I was hinting at when I said every setup run makes an
http connection to cygwin.com.  The problem with this approach is that it
won't give any package download statistics, and won't be able to detect
aborted setup runs.  Depends on what accuracy you want, I guess...
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: Aspell ... (ready?)

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 11:17:44AM -0400, Christopher Faylor wrote:
I hate to do this at this late point (and I *really* hate it when people
do it to me) but I didn't notice the slightly nonstandard practice of
naming the binary 'aspell-bin'.  I'd like to change that.  Otherwise
we have a base package which only contains source, which is also
unusual.  I'd prefer to mv aspell-{bin-,}0.50.3-1.tar.bz2 and
put it at the top level of the aspell directory and move everything else
underneath it.

Gareth, do you have a problem with that?

And another point -- I'd like to make aspell depend on aspell-en.
Otherwise, I suspect that the cygwin mailing list will be constantly
complaining about aspell not working.

cgf


Re: package download stats?

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 11:20:04AM -0400, Igor Pechtchanski wrote:
On Thu, 18 Sep 2003, Christopher Faylor wrote:
 That's kind of what I was thinking.  I could generate a cgi script to
 run, if necessary but obviously it would need some kind of
 authentication to avoid abuse.

Hmm, I doubt we can prevent a determined user from faking the necessary
setup HTTP headers from outside setup...  Unless we start requiring
registration to download Cygwin, which is a whole other can of worms.

Hmm.  I like your registration idea.  There should be a small fee associated
with registering, too.  And, monthly dues.  And, we could add some checking
to the DLL to prevent unlicensed use.  Hmm.  I think I have an account
where people can even use their credit cards to register.  :-)

But, seriously, I just wanted to make it less than trivial to use.  It
shouldn't be as easy as opening
http://cygwin.com/downloadstats.cgi?apache to register an apache download.

That's kind of what I was hinting at when I said every setup run makes an
http connection to cygwin.com.  The problem with this approach is that it
won't give any package download statistics, and won't be able to detect
aborted setup runs.  Depends on what accuracy you want, I guess...

Actually, after I said that, I realized that we already gather page hit
statistics.  I'm more interested in seeing what people actually are
downloading for packages, though.

cgf


Re: Aspell ... (ready?)

2003-09-18 Thread Igor Pechtchanski
On Thu, 18 Sep 2003, Christopher Faylor wrote:

 On Thu, Sep 18, 2003 at 11:17:44AM -0400, Christopher Faylor wrote:
 I hate to do this at this late point (and I *really* hate it when people
 do it to me) but I didn't notice the slightly nonstandard practice of
 naming the binary 'aspell-bin'.  I'd like to change that.  Otherwise
 we have a base package which only contains source, which is also
 unusual.  I'd prefer to mv aspell-{bin-,}0.50.3-1.tar.bz2 and
 put it at the top level of the aspell directory and move everything else
 underneath it.
 
 Gareth, do you have a problem with that?

 And another point -- I'd like to make aspell depend on aspell-en.
 Otherwise, I suspect that the cygwin mailing list will be constantly
 complaining about aspell not working.

 cgf

There's no setup.hint for the aspell-en package (which, I assume, will
depend on aspell).  BTW, beware of circular dependences -- if both aspell
and aspell-en have postinstall scripts, and the one in aspell-en uses
aspell, it might be run before aspell's postinstall script runs, so aspell
may be in an inconsistent state.  I don't think this is a problem, but the
maintainers should both be aware of this and coordinate the postinstall
scripts.

BTW, I don't have time to look now, but if setup's topological sort
traverses loops alphabetically, the above may be a red herring anyway
(i.e., aspell will always execute before aspell-en in that case).
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Sleepycat db 4.1?

2003-09-18 Thread Corinna Vinschen
Hi Nicholas, hi Gerrit,

AFAICS, you're the db maintainer.  I would like to ask you, if there's
something in the way of releasing a 4.1.25 version of db.  It would be
nice to have it in the Cygwin release since the differences between
3.1 and 4.1 are so that some packages already require 4.1 to run (e.g.
openldap).

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: Aspell ... (ready?)

2003-09-18 Thread Ronald Landheer-Cieslak
On Thu, Sep 18, 2003 at 11:30:32AM -0400, Igor Pechtchanski wrote:
 On Thu, 18 Sep 2003, Christopher Faylor wrote:
 
  On Thu, Sep 18, 2003 at 11:17:44AM -0400, Christopher Faylor wrote:
  I hate to do this at this late point (and I *really* hate it when people
  do it to me) but I didn't notice the slightly nonstandard practice of
  naming the binary 'aspell-bin'.  I'd like to change that.  Otherwise
  we have a base package which only contains source, which is also
  unusual.  I'd prefer to mv aspell-{bin-,}0.50.3-1.tar.bz2 and
  put it at the top level of the aspell directory and move everything else
  underneath it.
  
  Gareth, do you have a problem with that?
 
  And another point -- I'd like to make aspell depend on aspell-en.
  Otherwise, I suspect that the cygwin mailing list will be constantly
  complaining about aspell not working.
 
  cgf
 
 There's no setup.hint for the aspell-en package (which, I assume, will
 depend on aspell).
OK, OK, it's a long while ago, but there actually was one in
http://www.cygwin.com/ml/cygwin-apps/2003-06/msg00161.html:

@ aspell-en
sdesc: Aspell english dictionary
requires: cygwin aspell
category: Utils

 BTW, beware of circular dependences -- if both aspell
 and aspell-en have postinstall scripts, and the one in aspell-en uses
 aspell, it might be run before aspell's postinstall script runs, so aspell
 may be in an inconsistent state.  I don't think this is a problem, but the
 maintainers should both be aware of this and coordinate the postinstall
 scripts.
Aspell-en doesn't have a post-install script.

rlc

-- 
DeVries' Dilemma:
If you hit two keys on the typewriter, the one you don't want
hits the paper.


Re: Sleepycat db 4.1?

2003-09-18 Thread Gerrit P. Haase
Corinna schrieb:

 Hi Nicholas, hi Gerrit,

 AFAICS, you're the db maintainer.  I would like to ask you, if there's
 something in the way of releasing a 4.1.25 version of db.  It would be
 nice to have it in the Cygwin release since the differences between
 3.1 and 4.1 are so that some packages already require 4.1 to run (e.g.
 openldap).

I have a version running since several months and it acts well.
I can try to set up a source package which compiles out of the
tarball with shared libs if Nicholas hasn't done it yet, Nicholas?


Gerrit
-- 
=^..^=



Re: package download stats?

2003-09-18 Thread Igor Pechtchanski
On Thu, 18 Sep 2003, Christopher Faylor wrote:

 On Thu, Sep 18, 2003 at 11:20:04AM -0400, Igor Pechtchanski wrote:
 On Thu, 18 Sep 2003, Christopher Faylor wrote:
  That's kind of what I was thinking.  I could generate a cgi script to
  run, if necessary but obviously it would need some kind of
  authentication to avoid abuse.
 
 Hmm, I doubt we can prevent a determined user from faking the necessary
 setup HTTP headers from outside setup...  Unless we start requiring
 registration to download Cygwin, which is a whole other can of worms.

 Hmm.  I like your registration idea.  There should be a small fee associated
 with registering, too.  And, monthly dues.  And, we could add some checking
 to the DLL to prevent unlicensed use.  Hmm.  I think I have an account
 where people can even use their credit cards to register.  :-)

http://bitpass.com/ :-p

 But, seriously, I just wanted to make it less than trivial to use.  It
 shouldn't be as easy as opening
 http://cygwin.com/downloadstats.cgi?apache to register an apache download.

Yeah, who needs simple stuff?

Although, actually, you do need a bit more than that -- at least the
version of the package and the mirror it was downloaded from, and it would
also be nice if all the packages were included in one http connection,
rather than 50 separate connections for 50 packages (the POST method comes
to mind).

The passthrough script above is something like what I've mentioned as
having written already (which you so graciously snipped from your reply).
;-)

 That's kind of what I was hinting at when I said every setup run makes an
 http connection to cygwin.com.  The problem with this approach is that it
 won't give any package download statistics, and won't be able to detect
 aborted setup runs.  Depends on what accuracy you want, I guess...

 Actually, after I said that, I realized that we already gather page hit
 statistics.  I'm more interested in seeing what people actually are
 downloading for packages, though.

 cgf

Exactly.
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


[Package Update] HTML Tidy 030901-1

2003-09-18 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I updated HTML Tidy to latest version I found yesterday.
As usual many small bug fixes, but difficult to tell as the site is
lacking a Changelog.
This version in based on the tidylib, which is also installed (both
static and shared).
This version, like the original distribution, contains no more a
man page as it is way too outdated, please use tidy --help.
This releases includes docs dated 2003-06-10 (that are installed) and
tests dates 2003-04-09 (that can be used from the source package to do
./tidy-030201-1.sh check).
File are, as usual, there:
http://www.lapo.it/tmp/tidy-030901-1-src.tar.bz2
http://www.lapo.it/tmp/tidy-030901-1.tar.bz2
MD5:
8c8f462c6b991cf488560d73a89087e0 tidy-030901-1-src.tar.bz2
5f0ac2a84111ba475b46fcdfa9f52368 tidy-030901-1.tar.bz2
Unchanged setup.hint

@ tidy
sdesc: HTML Tidy is a program to clean up and correct messy HTML pages
ldesc: HTML Tidy is a program to clean up and correct messy HTML pages.
Tidy is able to fix up a wide range of problems and to bring to your
attention things that you need to work on yourself.
category: Text Web
requires: cygwin
- --
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP  X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAj9p14sACgkQaJiCLMjyUvuE9gCglYvIppVoLmSEgw2IkqLZadzP
3jYAoL9n+E150u0t1/8KbTAeNBCHWQls
=yOGp
-END PGP SIGNATURE-


Re: package download stats?

2003-09-18 Thread Lapo Luchini
Igor Pechtchanski wrote:

But, seriously, I just wanted to make it less than trivial to use.  It
shouldn't be as easy as opening
http://cygwin.com/downloadstats.cgi?apache to register an apache download.
   

Yeah, who needs simple stuff?

Although, actually, you do need a bit more than that -- at least the
version of the package and the mirror it was downloaded from, and it would
also be nice if all the packages were included in one http connection,
rather than 50 separate connections for 50 packages (the POST method comes
to mind).
The passthrough script above is something like what I've mentioned as
having written already (which you so graciously snipped from your reply).
;-)
Maybe the message with somewhat a signature to complicate things a bit 
and avoid most of the fake hits.

MD5 code, that should be already into setup.exe, comes to my mind...

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP  X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



RE: Aspell ... (ready?)

2003-09-18 Thread Gareth Pearce
 AFAIC, we're ready.
 I'll repeat the URLs for the dictionaries:
 
 04be855c088559b4682b5495510234fe *aspell-en-0.51.0-1-src.tar.bz2
 http://rlc.unsane.co.uk/aspell-en-0.51.0-1-src.tar.bz2
 33fad88cd4d517596ebab42d368ba750 *aspell-en-0.51.0-1.tar.bz2
 http://rlc.unsane.co.uk/aspell-en-0.51.0-1.tar.bz2
 
 Gareth pointed to the following URLs in
 http://www.cygwin.com/ml/cygwin-apps/2003-09/msg00176.html:
 
 http://www.users.on.net/gpearce/aspell-0.50.3-1-src.tar.bz2
 http://www.users.on.net/gpearce/aspell-bin-0.50.3-1.tar.bz2
 http://www.users.on.net/gpearce/aspell-bin.setup.hint
 http://www.users.on.net/gpearce/aspell-dev-0.50.3-1.tar.bz2
 http://www.users.on.net/gpearce/aspell-dev.setup.hint
 http://www.users.on.net/gpearce/aspell-doc-0.50.3-1.tar.bz2
 http://www.users.on.net/gpearce/aspell-doc.setup.hint
 http://www.users.on.net/gpearce/libaspell15-0.50.3-1.tar.bz2
 http://www.users.on.net/gpearce/libaspell15.setup.hint
 
 Gareth says in http://www.cygwin.com/ml/cygwin-apps/2003-09/msg00179.html
 that there's no need to mark them as test, despite the fact that the gcc
 he used is still marked as such. Personally, I'd mark at least aspell-dev
 as test, seeing as that contains the files that won't work with the
 current
 gcc, but it's his call (he's the maintainer, after all :)
 
 I hate to do this at this late point (and I *really* hate it when people
 do it to me) but I didn't notice the slightly nonstandard practice of
 naming the binary 'aspell-bin'.  I'd like to change that.  Otherwise
 we have a base package which only contains source, which is also
 unusual.  I'd prefer to mv aspell-{bin-,}0.50.3-1.tar.bz2 and
 put it at the top level of the aspell directory and move everything else
 underneath it.
 
 Gareth, do you have a problem with that?

I have no problem with either of the above 2 points in theory... both the
rename and the marking of aspell-dev as test. (and adding dependency on
aspell-en - from other email)
In practice there is one niggle, the src package generates
aspell-0.50.3-1.tar.bz2 already - but it's the amalgam of all of the other
binary packages.  It produces aspell-bin.  Fixing this will probably only
take me a couple of minutes (when I get the time say in a couple of days) -
but I don't think that it should be a show stopper for uploading the rest
now.
Renaming the file and changing the hint files are trivial - I'm assuming you
don't need me to upload them again?  If you do want me to do them then I'll
do it whenever I see the reply which will be ... after I sleep probably.

Regards,
Gareth


Re: [Package Update] HTML Tidy 030901-1

2003-09-18 Thread Corinna Vinschen
On Thu, Sep 18, 2003 at 06:04:27PM +0200, Lapo Luchini wrote:
 http://www.lapo.it/tmp/tidy-030901-1-src.tar.bz2
 http://www.lapo.it/tmp/tidy-030901-1.tar.bz2

Uploaded.  I removed tidy-021202-1.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: package download stats?

2003-09-18 Thread Jan Nieuwenhuizen
Christopher Faylor writes:

 Actually, after I said that, I realized that we already gather page hit
 statistics.  I'm more interested in seeing what people actually are
 downloading for packages, though.

What people are actually using may be even more interesting.  Do you
know about Debian's evil popularity contest?

Jan.

-- 
Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org



Re: Aspell ... (ready?)

2003-09-18 Thread Christopher Faylor
On Fri, Sep 19, 2003 at 02:34:26AM +1000, Gareth Pearce wrote:
In practice there is one niggle, the src package generates
aspell-0.50.3-1.tar.bz2 already - but it's the amalgam of all of the other
binary packages.  It produces aspell-bin.  Fixing this will probably only
take me a couple of minutes (when I get the time say in a couple of days) -
but I don't think that it should be a show stopper for uploading the rest
now.
Renaming the file and changing the hint files are trivial - I'm assuming you
don't need me to upload them again?  If you do want me to do them then I'll
do it whenever I see the reply which will be ... after I sleep probably.

I've downloaded everything already.  I'll move the directory now.

(Hmm.  Automatice md5 checksumming of directories in ~ftp seems to be
broken.  Wonderful.)

cgf


Re: new package proposal : CLISP

2003-09-18 Thread Corinna Vinschen
On Sat, Sep 13, 2003 at 11:03:36AM -0400, Sam Steingold wrote:
 built against 1.5.3:
 
 ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-2.tar.bz2
 ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-2-src.tar.bz2
 ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/setup.hint
 
 I think I fixed all concerns with the binary package and most concerns
 with the source one.
 I would greatly appreciate it if someone took over this package
 maintenance.  I am the upstream maintainer and I have quite enough on
 my plate with that.
 
 thanks.

Uploaded.  Please announce on cygwin-announce as described on
http://cygwin.com/setup.html.

Still looking for a maintainer?  Actually it's not that hard.  Just keep
an eye on the cygwin mailing list.  I honestly doubt that you'll get more
than 1 or 2 questions about clisp per week on that list.  Well... except
it has really serious problems in which case you'll be glad to know,
won't you?

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: package download stats?

2003-09-18 Thread Robert Collins
On Fri, 2003-09-19 at 01:11, Christopher Faylor wrote:


 That's kind of what I was thinking.  I could generate a cgi script to
 run, if necessary but obviously it would need some kind of
 authentication to avoid abuse.  Is there something like this out there
 somewhere?

popularity-contest does something similar in the debian world -
anonymous stats on package use...

Rob

-- 
GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt.


signature.asc
Description: This is a digitally signed message part


Re: package download stats?

2003-09-18 Thread Robert Collins
On Fri, 2003-09-19 at 03:18, Christopher Faylor wrote:


 I'm all for adding this to setup but we'll have to wait for Robert to come
 online to see his take on this.

I'm not all that interested, though I will review patches for impact on
setup. Clean design etc etc needed.

It doesn't feel like setup is a good fit:
1) setup isn't the only thing installing cygwin apps's.
2) CD, disconnected installs, rsync copies of mirrors will all throw
this out.

however, the concepts used by popularity contest, - an explicit package
to activate the behaviour, anonymous stats on what packages are
installed (and logging more detail to enhance a hypothetical cygwin
populatiry contest makes a lot of sense for setup).

And there is definately a privacy issue - what about non public
packages. They would show up ...

Rob



-- 
GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt.


signature.asc
Description: This is a digitally signed message part


Re: new package proposal : CLISP

2003-09-18 Thread Sam Steingold
 * Corinna Vinschen [EMAIL PROTECTED] [2003-09-18 21:18:24 +0200]:

 On Sat, Sep 13, 2003 at 11:03:36AM -0400, Sam Steingold wrote:
  built against 1.5.3:
  
  ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-2.tar.bz2
  ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-2-src.tar.bz2
  ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/setup.hint
  
  I think I fixed all concerns with the binary package and most concerns
  with the source one.
  I would greatly appreciate it if someone took over this package
  maintenance.  I am the upstream maintainer and I have quite enough on
  my plate with that.
  
  thanks.
 
 Uploaded.

thanks a lot!

 Please announce on cygwin-announce as described on
 http://cygwin.com/setup.html.

done.

 Still looking for a maintainer?  Actually it's not that hard.  Just
 keep an eye on the cygwin mailing list.  I honestly doubt that you'll
 get more than 1 or 2 questions about clisp per week on that list.

I am always looking for help with CLISP.
Even a little bit, like packaging the sources is welcome.
Even more welcome would be initial bug processing (i.e., identifying
whether the bug is cygwin-specific)
Even more welcome would be fixing all the bugs on the fly.
Even more welcome 

 Well... except it has really serious problems in which case you'll be
 glad to know, won't you?

indeed.


-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://www.camera.org http://www.iris.org.il http://www.memri.org/
http://www.mideasttruth.com/ http://www.honestreporting.com
Don't ascribe to malice what can be adequately explained by stupidity.



X11, Tcl and Tk for Windows

2003-09-18 Thread Mark Horn
I am looking for Tcl/Tk v8.0 and a compatible version of Xlib, for a port 
of an application developed originally for a Unix platform. The application 
is a based transport simulator, and is written in C++ . The Tcl/Tk is there 
to provide the GUI, including a window within which X11 calls provide 
real-time graphics display of the behaviour of simulated objects (eg 
real-time movement of vehicles across a map).

At first sight Cygwin appears to provide what I need:

a. Include files for tcl and tk in usr/include and for X in X11R6/include/X11.
b. The X11 library at usr\X11R6\lib\libX11.a ... And the Tcl/Tk libraries 
tcl80.lib and tk80.lib

But when I link with the libraries mentioned in (b), the following sequence 
of code leads to failure in the X software. For brevity this code omits 
checks on call results, which are OK up to the last line.

  _pint = Tcl_CreateInterp();
  Tcl_Init (_pint);
  _tk_mainwin = Tk_MainWindow (_pint);
  _pdisp= Tk_Display (_tk_mainwin);
  int idc = DefaultColormap (_pdisp, 0); // Failure here, or in subsequent 
call to XParseColor ()

I have also tried linking with libraries tcl84.lib , tk84.lib from the 
Tcl/Tk distribution at http://www.tcl.tk/software/ includes .. but in that 
case I get a failure in the call to Tcl_Init. I would appreciate advice on 
how to obtain a workable collection of the software libraries, or on some 
other way of overcoming these difficulties.

Mark Horn



IPC/SHM is now supported by default in xoncygwin HEAD CVS tree

2003-09-18 Thread Harold L Hunt II
I just checked in changes to the MIT-SHM 
(xc/programs/Xserver/Xext/shm.c) and XFree86Bigfont 
(xc/programs/Xserver/Xext/xf86bigfont.c) extensions that disable SHM 
support when the Cygwin IPC daemon is not running.  This allows IPC/SHM 
support to be enabled by default in Cygwin/XFree86.

I tried to define the functionality of an OS-specific SHM support check 
as best I could, which resulted in adding a new function called 
OsVendorShmCheck ().  This new OsVendorShmCheck function is called from 
shm.c and xf86bigfont.c when DDXOSSHMCHECK is defined.  This system was 
designed to work like DDXOSVERRORF and OsVendorVErrorF (), for example.

I believe that the generalization of the functionality should greatly 
increase the chances of it being included in the XFree86 CVS tree.  I 
will be submitting patches to XFree86 as soon as they commit my other 
waiting patches.

There will be a new Server Test Series release sometime tomorrow that 
includes this new functionality.

Harold



Re: X11, Tcl and Tk for Windows

2003-09-18 Thread Harold L Hunt II
Mark,

   int idc = DefaultColormap (_pdisp, 0); // Failure here, or in
 subsequent call to XParseColor ()
Do these two calls indicate that you are trying to use a PseudoColor 
(e.g. 8 bit palletized color) visual?  If so, then you need to be 
running Windows in 8 bit color mode or you can run in fullscreen mode 
with 8 bit color.  This later one would be done via (XWin.exe 
-fullscreen -depth 8).

PseudoColor is not supported when the underlying display is not a 
pallete-based display.

Please correct me if I am totally off base.

Harold

Mark Horn wrote:

I am looking for Tcl/Tk v8.0 and a compatible version of Xlib, for a 
port of an application developed originally for a Unix platform. The 
application is a based transport simulator, and is written in C++ . The 
Tcl/Tk is there to provide the GUI, including a window within which X11 
calls provide real-time graphics display of the behaviour of simulated 
objects (eg real-time movement of vehicles across a map).

At first sight Cygwin appears to provide what I need:

a. Include files for tcl and tk in usr/include and for X in 
X11R6/include/X11.
b. The X11 library at usr\X11R6\lib\libX11.a ... And the Tcl/Tk 
libraries tcl80.lib and tk80.lib

But when I link with the libraries mentioned in (b), the following 
sequence of code leads to failure in the X software. For brevity this 
code omits checks on call results, which are OK up to the last line.

  _pint = Tcl_CreateInterp();
  Tcl_Init (_pint);
  _tk_mainwin = Tk_MainWindow (_pint);
  _pdisp= Tk_Display (_tk_mainwin);
  int idc = DefaultColormap (_pdisp, 0); // Failure here, or in 
subsequent call to XParseColor ()

I have also tried linking with libraries tcl84.lib , tk84.lib from the 
Tcl/Tk distribution at http://www.tcl.tk/software/ includes .. but in 
that case I get a failure in the call to Tcl_Init. I would appreciate 
advice on how to obtain a workable collection of the software libraries, 
or on some other way of overcoming these difficulties.

Mark Horn




Re: ddxLoad patch?

2003-09-18 Thread Alexander Gottwald
On Wed, 17 Sep 2003, Harold L Hunt II wrote:

 Alexander,
 
 I want to get the following patch that you made to xoncygwin HEAD taken 
 care of:
 
 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xoncygwin/xc/programs/Xserver/xkb/ddxLoad.c.diff?r1=1.1r2=1.2
  

This is the actual change: 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xoncygwin/xc/programs/Xserver/xkb/ddxLoad.c.diff?r1=1.1.1.2r2=1.2

Revision 1.1 is from XFree 4.2. The Import of XFree 4.3 is in the vendor branch
and has the revision 1.1.1.2 assigned.

If you're pulling the diffs from cvs use the command 
cvs diff -r XFREE86_4_3_0

Otherwise you'll get the changes from XFree 4.2 to 4.3 too.

===
RCS file: /cvsroot/xoncygwin/xc/programs/Xserver/xkb/ddxLoad.c,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- xoncygwin/xc/programs/Xserver/xkb/ddxLoad.c 2003/06/03 11:13:19 1.1.1.2
+++ xoncygwin/xc/programs/Xserver/xkb/ddxLoad.c 2003/09/07 18:37:19 1.2
@@ -413,7 +413,7 @@
else if (strlen(xkm_output_dir)+strlen(mapName)+5 = PATH_MAX)
sprintf(buf,%s%s.xkm,xkm_output_dir,mapName);
if (buf[0] != '\0')
-   file= fopen(buf,r);
+   file= fopen(buf,rb);
else file= NULL;
 }
 else file= NULL;

This is far more simple. The b flag to the modes is defined in the 
ANSI C standard.

From the fopen man page:
   The mode string can also include the letter  ``b''  either
   as  a last character or as a character between the charac­
   ters in any of the two-character strings described  above.
   This  is  strictly for compatibility with ANSI X3.159-1989
   (``ANSI C'') and has no effect; the ``b''  is  ignored  on
   all  POSIX  conforming  systems,  including Linux.  (Other
   systems may treat text files and binary files differently,
   and adding the ``b'' may be a good idea if you do I/O to a
   binary file and expect that your program may be ported  to
   non-Unix environments.)

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Bug in /usr/X11R6/bin/startx

2003-09-18 Thread Donald Page
Hi, sorry I couldn't find out how to raise a bug report from the web 
site. There is a small bug in /usr/X11R6/bin/startx when $HOME contains 
a space character which causes problems with the tests on lines 34 and 
43. Wrapping the test in quotes fixes the problem i.e.
if [ -f $userclientrc ]; then
if [ -f $userserverrc ]; then

The version of the file I used (I believe it is the latest) is
# $Xorg: startx.cpp,v 1.3 2000/08/17 19:54:29 cpqbld Exp $


Re: X11, Tcl and Tk for Windows

2003-09-18 Thread Benjamin Riefenstahl
Hi Mark,


Mark Horn [EMAIL PROTECTED] writes:
 I am looking for Tcl/Tk v8.0 and a compatible version of Xlib, for a
 port of an application developed originally for a Unix platform.

You may want to discuss Tcl/Tk issues on comp.lang.tcl.  There are
much more people with specific Tcl/Tk knowledge there.

_pint = Tcl_CreateInterp();
Tcl_Init (_pint);
_tk_mainwin = Tk_MainWindow (_pint);
_pdisp= Tk_Display (_tk_mainwin);
int idc = DefaultColormap (_pdisp, 0); // Failure here, or in
subsequent call to XParseColor ()

 I have also tried linking with libraries tcl84.lib , tk84.lib from
 the Tcl/Tk distribution at http://www.tcl.tk/software/ includes.
 but in that case I get a failure in the call to Tcl_Init.

Which error?  If Tcl_Init() returns an error, that can be a
configuration error in the Tcl/Tk installation or an error in the
calling sequence.  I remember that it is important to call
Tcl_FindExecutable(), especially on Windows.

There have been significant changes in Tcl/Tk from 8.0 to 8.1 (most
importantly the switch to Unicode), so using a more recent version may
complicate matters.  You may instead want to use the version 8.0.5
from http://sourceforge.net/project/showfiles.php?group_id=10894.
That page has source as well as native Windows Tcl versions.

The native Windows version of Tk has some X11 emulation built-in for
it's own use, so you may want to try to use that first.  If that X11
emulation isn't enough for you, you can compile your own 8.0 Cygwin
Tcl/Tk and run that under Cygwin-XFree86, there is no reason that that
couldn't work.


benny



Tight loop in Xwin startup under Win2k

2003-09-18 Thread Jeffrey C Honig
I'm using Windows 2000 on a Dell C-600 laptop.

After upgrading from 1.3 to 1.5 I've stared having my X startup go into
a tight loop.  This loop is so tight that I can not get the attention of
the task manager or really do anything else except power-cycle the
system.  I've tried running a Cygwin bash shell w/o X and can not get
any response out of that either.

I can exit Xwin, but whatever is looping keep running.

I'm using a derivative of the .xinitrc that I use on Linux and BSD which
starts fvwm2 a xterms with tcshs and an emacs and a bunch of programs to
figure out what to start and where.  I've pretty much disabled starting
of any remote programs.

Anyone have any ideas here?

Thanks.

Jeff

-- 
Jeffrey C. Honig [EMAIL PROTECTED]
http://www.honig.net/jch
GnuPG ID:14E29E13 http://www.honig.net/jch/key.shtml


[RFC] lesstif Xft/freetype/fontconfig

2003-09-18 Thread Brian Ford
Should I enable the anti-aliased font capability in the next Cygwin
1.5.x/Xfree86 4.3.x build of lesstif (0.43.91-1)?

The feature is now enabled by default in the vanilla lesstif sources when
the proper libraries are found by configure.  But, AFAIK, the feature is
still considered experimental.

My other concern is the additional link time dependencies this will add.
(Obviously, we would need to add additional setup.hint dependencies too.)
 libtool enabled applications should just get it right via the libXm.la
file, but non libtool aware applications might break at compile time if
their configure scripts or the like are not smart enough.  Since Xm is a
static library, previously compiled apps would be unaffected.  For
reference:

Current Cygwin 1.3.22/Xfree 4.2.x libXm.la (0.93.41):

# Libraries that this one depends upon.
dependency_libs=' -L/usr/X11R6/lib -lSM -lICE -lXt -lXp -lXext -lX11'

Possible new Cygwin 1.5.x/Xfree 4.3.x libXm.la (0.93.91):

# Libraries that this one depends upon.
dependency_libs=' -L/usr/X11R6/lib -lSM -lICE -lXt -lXp -lXext -lX11
-lfreetype -lXft -lXrender -lfontconfig'

Also, I'm not quite sure how:

http://www.cygwin.com/ml/cygwin-xfree/2003-09/msg00317.html

would effect this.

As a side note, is there any reason to enable Motif 1.2 and 2.0 compatible
libraries too?  Right now, we only build the Motif 2.1 version.

Thanks for the input.

Brian
volunteer lesstif maintainer for Cygwin

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


Re: ddxLoad patch?

2003-09-18 Thread Harold L Hunt II
Alexander,

Alexander Gottwald wrote:

On Wed, 17 Sep 2003, Harold L Hunt II wrote:
This is the actual change: 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xoncygwin/xc/programs/Xserver/xkb/ddxLoad.c.diff?r1=1.1.1.2r2=1.2

Oh, I know it was just that one character change on the one line... just 
didn't find the right versions to diff in cvsweb.

This is far more simple. The b flag to the modes is defined in the 
ANSI C standard.

Right.  However, we are going to have to make a claim that this won't 
affect any other platform.  So, do these files effectively get opened in 
b mode on every other platform, including OS/2 and Mac OS X?  If so, 
give me the justification that I can send in to XFree86.

In addition to what you say below, can we say that the files that 
ddxLoad operates on are binary files?  If so, we should be all set.

Harold

From the fopen man page:
   The mode string can also include the letter  ``b''  either
   as  a last character or as a character between the charac­
   ters in any of the two-character strings described  above.
   This  is  strictly for compatibility with ANSI X3.159-1989
   (``ANSI C'') and has no effect; the ``b''  is  ignored  on
   all  POSIX  conforming  systems,  including Linux.  (Other
   systems may treat text files and binary files differently,
   and adding the ``b'' may be a good idea if you do I/O to a
   binary file and expect that your program may be ported  to
   non-Unix environments.)
bye
ago



Re: Bug in /usr/X11R6/bin/startx

2003-09-18 Thread Harold L Hunt II
What is the correction?

Donald Page wrote:

Hi, sorry I couldn't find out how to raise a bug report from the web 
site. There is a small bug in /usr/X11R6/bin/startx when $HOME contains 
a space character which causes problems with the tests on lines 34 and 
43. Wrapping the test in quotes fixes the problem i.e.
if [ -f $userclientrc ]; then
if [ -f $userserverrc ]; then

The version of the file I used (I believe it is the latest) is
# $Xorg: startx.cpp,v 1.3 2000/08/17 19:54:29 cpqbld Exp $



Re: Tight loop in Xwin startup under Win2k

2003-09-18 Thread Harold L Hunt II
Jeff,

Jeffrey C Honig wrote:

I'm using Windows 2000 on a Dell C-600 laptop.

After upgrading from 1.3 to 1.5 I've stared having my X startup go into
a tight loop.  This loop is so tight that I can not get the attention of
the task manager or really do anything else except power-cycle the
system.  I've tried running a Cygwin bash shell w/o X and can not get
any response out of that either.
Wait wait wait... are you saying that after a reboot you can run *only* 
a Cygwin bash shell and get this behavior?  If so, your problem is a 
general Cygwin problem and you need to write to the Cygwin mailing list.

I'm using a derivative of the .xinitrc that I use on Linux and BSD which
starts fvwm2 a xterms with tcshs and an emacs and a bunch of programs to
figure out what to start and where.  I've pretty much disabled starting
of any remote programs.

Anyone have any ideas here?
I think the advice would be to not use .xinitrc and instead try 
startxwin.bat.  If there are no problems with startxwin.bat, then the 
problem is probably with your .xinitrc.

Harold



Re: Tight loop in Xwin startup under Win2k

2003-09-18 Thread Jeffrey C Honig
Jeffrey C Honig [EMAIL PROTECTED] wrote:

 I'm using Windows 2000 on a Dell C-600 laptop.
 
 After upgrading from 1.3 to 1.5 I've stared having my X startup go into
 a tight loop.  This loop is so tight that I can not get the attention of
 the task manager or really do anything else except power-cycle the
 system.  I've tried running a Cygwin bash shell w/o X and can not get
 any response out of that either.

I guess I need to clarify.

If I start a Cygwin bash shell and run top to see what is going on, it
hangs when I start Xwin.

The loop happens about 80% of the time.

I'm not sure if it is Xfree86 related or not.  Considering that I can
kill Xwin (CTL-ALT-Backspace, or right clicking the system tray icon)
and the problem does not clear up it is probably more of a cygwin issue
than an xfree issue.  I plan to post there also.


As to why I use .xinitrc and not startxwin.bat.  I'm sharing my
configuration with multiple Unix machines.  It's a bunch easier to copy
files around than try to do the same thing in both a .xinitrc and a DOS
BAT file.

Thanks.

Jeff

-- 
Jeffrey C. Honig [EMAIL PROTECTED]
http://www.honig.net/jch
GnuPG ID:14E29E13 http://www.honig.net/jch/key.shtml


Updated on sourceware: XFree86-xserv-4.3.0-11

2003-09-18 Thread Harold L Hunt II
The XFree86-xserv-4.3.0-11 package has been updated in the Cygwin
distribution.
Changes:

1) General - Add runtime detection for the Cygwin IPC Daemon.  This 
allows SHM (shared memory) support when the IPC Daemon is running.  SHM 
support is automatically disabled, with no adverse effect, when the IPC 
Daemon is not running.  There is now a dependency on the cygipc package, 
but no additional installation steps are required, unless you want SHM 
support; in which case you need to run ipc-daemon2 (See the cygipc 
documentation for more details).  (Ralf Habacker, Harold L Hunt II)

--
Harold Hunt
To update your installation, click on the Install Cygwin now link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Save it and run setup, answer the questions and pick
up 'XFree86-xserv' from the 'XFree86' category.  You may need to
click the Full button if it doesn't show up.
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.
In the US, ftp://archive.progeny.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually
up-to-date.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please  send questions or comments to the Cygwin/XFree86 mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin/XFree86 in general.
If you want to make a point or ask a question the Cygwin/XFree86 mailing
list is the appropriate place.





















Re: IPC/SHM is now supported by default in xoncygwin HEAD CVS tree

2003-09-18 Thread Harold L Hunt II
I just made a new Server Test Series release and posted an announcement 
for the updated package.  However, the source files will take a little 
while to package up and post to the normal place.  Until then, look at 
the xoncygwin HEAD CVS if you are interested in the source.

Harold

Harold L Hunt II wrote:

I just checked in changes to the MIT-SHM 
(xc/programs/Xserver/Xext/shm.c) and XFree86Bigfont 
(xc/programs/Xserver/Xext/xf86bigfont.c) extensions that disable SHM 
support when the Cygwin IPC daemon is not running.  This allows IPC/SHM 
support to be enabled by default in Cygwin/XFree86.

I tried to define the functionality of an OS-specific SHM support check 
as best I could, which resulted in adding a new function called 
OsVendorShmCheck ().  This new OsVendorShmCheck function is called from 
shm.c and xf86bigfont.c when DDXOSSHMCHECK is defined.  This system was 
designed to work like DDXOSVERRORF and OsVendorVErrorF (), for example.

I believe that the generalization of the functionality should greatly 
increase the chances of it being included in the XFree86 CVS tree.  I 
will be submitting patches to XFree86 as soon as they commit my other 
waiting patches.

There will be a new Server Test Series release sometime tomorrow that 
includes this new functionality.

Harold




Odd XDMCP problems

2003-09-18 Thread Mike Campbell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Here is an odd one for you to try to help me figure out.

I have configured my RedHat Linux 9.0 system to allow XDCMP connections.
When I reboot the server the console comes up with the default kdm login
box.
~From my win2k machine I have installed all of the cygwin Xfree tools. I
used the startxdmcp.bat file (after editing it for the remote_address
parameter) and it successfully connects to the linux box and I see the
login dialog box. So far so good.
Initally when I would log in the cygwin screen would turn light blue and
then after 5 seconds or so the login box would reappear and a message
about my session lasting less than 10 seconds. I found on the linux
machine where I was logging in the following in the .xsession-errors file:
set:  unable to open display :0.0
xsetroot:  unable to open display ':0.0'
xrdb: Connection refused
xrdb: Can't open display ':0.0'
startkde: Starting up...
ksplash: cannot connect to X server :0.0
_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
kded: cannot connect to X server :0.0
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
kcminit: cannot connect to X server :0.0
knotify: cannot connect to X server :0.0
ksmserver: cannot connect to X server :0.0
startkde: Shutting down...
startkde: Running shutdown scripts...
KLauncher: Exiting on signal 1
startkde: Done.
I then edited the /etc/kde/kdm/Xstartup file on the linux machine and
added a line that said 'xhost +' and restart the X server on the linux
machine.
Now when I use startxdmcp.bat file I enter my user/pass and get the
light blue screen on the cygwin side. However, nothing else shows up on
the cygwin side. Oddly though, on the linux console I see that I am
logged into kde as the user I entered on the cygwin side.
Once I log out of kde from the linux console the cygwin xfree session
displays the login dialog box again.
For some odd reason my DISPLAY from the xdmcp session seems incorrect.
It should set DISPLAY to point back to the cygwin xfree server instead
of the linux console. How do I fix this???


- --

___
Mike Campbell
Technical Specialist   Phone: 407.458.5688
Oracle Corporation Email: [EMAIL PROTECTED]
GPG Fingerprint 6C34 6C22 4760 A01F 7C83 11CE C117 CDF1 8241 7C64



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: http://webpages.charter.net/mcampbell17/publickey.asc
iD8DBQE/agj4wRfN8YJBfGQRAi1DAKDqlNrP9joyndlXX8XRv4f0WKu3RwCcCE0y
BJtskfjkspsIEnKDP8kUhLk=
=9RUd
-END PGP SIGNATURE-


Re: a beginners question

2003-09-18 Thread Alexander Gottwald
amr roushi wrote:

 I am new in Xfree86 , I use many Xwin windows with the comman xwin :XX
 -query hostname . It works fine but the window gets a permanent nam
 Xfree86 PORTNUM is there a way to change this to display something
 meaningful such as the host name for example .

I've commited a patch which changes the title to Cygwin/XFree86 - host
if the -query option is supplied. Otherwise it stays Cygwin/XFree86 - 0:0

bye
ago

NP: Diary of Dreams - Freak Perfume (Limited Edition) - Traum:A
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: ddxLoad patch?

2003-09-18 Thread Alexander Gottwald
Harold L Hunt II wrote:

 In addition to what you say below, can we say that the files that
 ddxLoad operates on are binary files?  If so, we should be all set.

The files is binary data. The compiled keymap is divided into several
blocks which start with an integer which contains the length of the block.
This data can contain bytes which are below 0x20 and will be treated
as special characters and may be altered when read in textmode.

bye
ago

NP: Diary of Dreams - Freak Perfume (Limited Edition) - Traum:A
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: static libs in bin?

2003-09-18 Thread Andrew Markebo
/ Harold L Hunt II [EMAIL PROTECTED] wrote:
| Andy,
|
| Andrew Markebo wrote:
|   libX11.a, and some more static libraries, can be found in XFree86-bin,
|   but I mean.. are they really needed here? Isn't the correct placement
|   in XFree86-prog?
|  
|  /Andy
|
| You must be looking at an old version of XFree86-bin.  If not, please
| point out the files to which you are referring in the below package
| listing.

Oops sorry, yep me only checking the first matches, 4.2's (search at
cygwin.com)

/Andy

-- 
  TANSTAFI - There Are No Such Thing As Free Internet



First time installing XFree86

2003-09-18 Thread Frédéric L. W. Meunier
This is the first time I install XFree86 on Cygwin. I'm running
all current packages and for now installed the following:

XFree86-bin-4.3.0-3
XFree86-bin-icons-4.3.0-2
XFree86-etc-4.3.0-3
XFree86-lib-4.3.0-1
XFree86-prog-4.3.0-5
XFree86-startup-scripts-4.2.0-5
XFree86-xserv-4.3.0-11
XFree86-xwinclip-4.3.0-1

I skipped XFree86-fenc-4.2.0-3 and XFree86-fnts-4.2.0-3 since
I'm using the fonts from my Linux partition (mounted with
Ext2fsd 0.10a) to save some space. I don't know if the segfault
I get starting xedit is related. All other applications I tried
work.

/usr/X11R6/lib/X11/fonts is a symlink to
/l/usr/X11R6/lib/X11/fonts, which is read-only (directories
dr-xr-xr-x and files -r--r--r--). Since I'm not going to run
mkfontdir I suppose it should work.

BTW, will XFree86-xwinclip-4.3.0-1 be recompiled ? It currently
depends on XFree86-lib-compat.

-- 
How to contact me - http://www.pervalidus.net/contact.html


Re: Odd XDMCP problems

2003-09-18 Thread Harold L Hunt II
Mike,

Mike Campbell wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Here is an odd one for you to try to help me figure out.

I have configured my RedHat Linux 9.0 system to allow XDCMP connections.
When I reboot the server the console comes up with the default kdm login
box.
~From my win2k machine I have installed all of the cygwin Xfree tools. I
used the startxdmcp.bat file (after editing it for the remote_address
parameter) and it successfully connects to the linux box and I see the
login dialog box. So far so good.
Initally when I would log in the cygwin screen would turn light blue and
then after 5 seconds or so the login box would reappear and a message
about my session lasting less than 10 seconds. I found on the linux
machine where I was logging in the following in the .xsession-errors file:
set:  unable to open display :0.0
xsetroot:  unable to open display ':0.0'
xrdb: Connection refused
xrdb: Can't open display ':0.0'
startkde: Starting up...
ksplash: cannot connect to X server :0.0
_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
kded: cannot connect to X server :0.0
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
kcminit: cannot connect to X server :0.0
knotify: cannot connect to X server :0.0
ksmserver: cannot connect to X server :0.0
startkde: Shutting down...
startkde: Running shutdown scripts...
KLauncher: Exiting on signal 1
startkde: Done.
Looks like you might need the -from MY_IP_ADDRESS command-line parameter 
in startxdmcp.bat for XWin.exe.  Although, this doesn't make a lot of 
sense because you probably wouldn't even get the login screen if the 
from address wasn't being set correctly.

I then edited the /etc/kde/kdm/Xstartup file on the linux machine and
added a line that said 'xhost +' and restart the X server on the linux
machine.
The xhost + is not the answer.  Please remove that line or accept the 
security risks that it has, even though it is providing you with no benefit.

I think the real problem here is that XDM on your linux machine is not 
setting the DISPLAY variable correctly.  The output from the log file 
shows this:

 xsetroot:  unable to open display ':0.0'

:0.0 means to connect to the local machine on display 0, screen 0.  That 
is typically the console.  This is obviously incorrect, since you need 
all X Clients to connect to the X Server running on your Windows machine.

For some odd reason my DISPLAY from the xdmcp session seems incorrect.
It should set DISPLAY to point back to the cygwin xfree server instead
of the linux console. How do I fix this???
I have never, ever, heard of anyone reporting this problem before where 
the DISPLAY is not getting set correctly by the XDM server (again, 
unless you just need the -from parameter as mentioned above).  Can we 
assume that this RedHat 9.0 installation is 100% non-modified or have 
people had their hands on it, customizing it?  If the installation has 
been heavily customized, then I think that someone made a mistake in one 
of those customizations.  If the installation has not been heavily 
customized, then perhaps you could do some searching to find out if this 
a generic problem for RedHat 9.0.

Hey, I have an idea... why don't you try opening an XDMCP session to 
your RedHat 9.0 machine from another *nix machine.  That would help 
determine if Cygwin/XFree86 or the RedHat machine configuration is at fault.

Harold



Re: First time installing XFree86

2003-09-18 Thread Harold L Hunt II
Frédéric,

Frédéric L. W. Meunier wrote:

This is the first time I install XFree86 on Cygwin. I'm running
all current packages and for now installed the following:
XFree86-bin-4.3.0-3
XFree86-bin-icons-4.3.0-2
XFree86-etc-4.3.0-3
XFree86-lib-4.3.0-1
XFree86-prog-4.3.0-5
XFree86-startup-scripts-4.2.0-5
XFree86-xserv-4.3.0-11
XFree86-xwinclip-4.3.0-1
I skipped XFree86-fenc-4.2.0-3 and XFree86-fnts-4.2.0-3 since
I'm using the fonts from my Linux partition (mounted with
Ext2fsd 0.10a) to save some space. I don't know if the segfault
I get starting xedit is related. All other applications I tried
work.
/usr/X11R6/lib/X11/fonts is a symlink to
/l/usr/X11R6/lib/X11/fonts, which is read-only (directories
dr-xr-xr-x and files -r--r--r--). Since I'm not going to run
mkfontdir I suppose it should work.
Are you asking us a question in the above?  I didn't see one...

BTW, will XFree86-xwinclip-4.3.0-1 be recompiled ? It currently
depends on XFree86-lib-compat.
I am not sure if I will recompile xwinclip.  I might.  I might not.

Can I ask why you are not using the internal version of xwinclip, 
accessed via the '-clipboard' parameter for XWin.exe?

Harold



Re: XFree86 goes into stasis when NetMeeting is running

2003-09-18 Thread Jeffrey C Honig
Using -engine 1 solves my problem with NetMeeting.

Thanks.

Jeff

-- 
Jeffrey C. Honig [EMAIL PROTECTED]
http://www.honig.net/jch
GnuPG ID:14E29E13 http://www.honig.net/jch/key.shtml


Re: ddxLoad patch?

2003-09-18 Thread Harold L Hunt II
Thanks Alexander.

I submitted the patch to XFree86's Bugzilla:

http://bugs.xfree86.org/show_bug.cgi?id=705

Harold

Alexander Gottwald wrote:

Harold L Hunt II wrote:


In addition to what you say below, can we say that the files that
ddxLoad operates on are binary files?  If so, we should be all set.


The files is binary data. The compiled keymap is divided into several
blocks which start with an integer which contains the length of the block.
This data can contain bytes which are below 0x20 and will be treated
as special characters and may be altered when read in textmode.
bye
ago
NP: Diary of Dreams - Freak Perfume (Limited Edition) - Traum:A



Re: First time installing XFree86

2003-09-18 Thread Frédéric L. W. Meunier
On Thu, 18 Sep 2003, Harold L Hunt II wrote:

  I don't know if the segfault I get starting xedit is
  related. All other applications I tried work.
 
  /usr/X11R6/lib/X11/fonts is a symlink to
  /l/usr/X11R6/lib/X11/fonts, which is read-only (directories
  dr-xr-xr-x and files -r--r--r--). Since I'm not going to run
  mkfontdir I suppose it should work.

 Are you asking us a question in the above?  I didn't see one...

I think you can interpret is as a question. Does xedit work for
you ? Here it just segfaults at startup. If yes, maybe I should
install the encodings and fonts to see if I can reproduce it.

Yesterday I compared the contents of both packages with my
Linux fonts and didn't see any differences, so the only
difference is the symlink to the XFree86 fonts directory of my
Linux partition and the read-only flags.

  BTW, will XFree86-xwinclip-4.3.0-1 be recompiled ? It currently
  depends on XFree86-lib-compat.

 I am not sure if I will recompile xwinclip.  I might.  I might not.

 Can I ask why you are not using the internal version of xwinclip,
 accessed via the '-clipboard' parameter for XWin.exe?

I didn't know about it. I just read the descriptions and
installed what I thought I'd use. Anyway, I'm not going to
install XFree86-lib-compat just to run it, what I'll consider
if I need other applications.

-- 
How to contact me - http://www.pervalidus.net/contact.html


AW: AW: Enabling SHM support in default build of XWin.exe

2003-09-18 Thread Ralf Habacker
Hi Charles,

  ... if linked to the static ipc-library. Using the cygipc dll
 results in an
  additional runtime dependency, which will produce windows
 runtime linking
  errors if the cygipc package isn't installed, which will produce more
  support noise dealing with this issue. Using the static library
 avoids this
  problem.

 I think that you *should* use the DLL.  And add cygipc to the setup.hint
 requires: of XFree86.  Not because I think that everyone should or will
 'turn on' the daemon, but because:

 you can't use libtool to make a DLL that has static dependencies
 (without heroic effort).
 Now, I know that XFree86 does not use libtool, but maybe I want to build
 gtk or something that (a) does, and (b) links to XFree86 libs.   Since,
 in this scenario, the XFree86 libs will have a link time dependency on
 libcygipc.a -- I won't be able to build a DLL version of gtk (without
 heroic effort).
 What's the support issue you're worried about, Ralf?  One more
 requires: library?  When Harold is busy spinning out expat, fontconfig,
 and freetype -- what's one more?

I forgot that the standard cygwin libtool has this limitation (I`m living on
the kde  [=older libtool release] side of libtool which uses a pass_all
lib filter and you're right that it is easier to maintain one package
(cygipc) as to recompile every package which is linked to the static cygipc
lib on every new cygipc release. Thanks for pointing this out. ;-)

Ralf



AW: IPC/SHM is now supported by default in xoncygwin HEAD CVS tree

2003-09-18 Thread Ralf Habacker
Hi Harold,

 I just checked in changes to the MIT-SHM
 (xc/programs/Xserver/Xext/shm.c) and XFree86Bigfont
 (xc/programs/Xserver/Xext/xf86bigfont.c) extensions that disable SHM
 support when the Cygwin IPC daemon is not running.  This allows IPC/SHM
 support to be enabled by default in Cygwin/XFree86.

 I tried to define the functionality of an OS-specific SHM support check
 as best I could, which resulted in adding a new function called
 OsVendorShmCheck ().  This new OsVendorShmCheck function is called from
 shm.c and xf86bigfont.c when DDXOSSHMCHECK is defined.  This system was
 designed to work like DDXOSVERRORF and OsVendorVErrorF (), for example.

this is obviously the right way, I have seen the related patches for ...BSD,
but doesn't know who to deal with.  Thanks for this efforts.

 There will be a new Server Test Series release sometime tomorrow that
 includes this new functionality.

I assume that the current xlib releases are linked without shm support ?
Then the new features of the Xwin Test server will only be usable if at
least the X11 and Xext libs are compiled with shm support.

Ralf



Re: First time installing XFree86

2003-09-18 Thread Frédéric L. W. Meunier
On Thu, 18 Sep 2003, Frédéric L. W. Meunier wrote:

 On Thu, 18 Sep 2003, Harold L Hunt II wrote:

   I don't know if the segfault I get starting xedit is
   related. All other applications I tried work.
  
   /usr/X11R6/lib/X11/fonts is a symlink to
   /l/usr/X11R6/lib/X11/fonts, which is read-only (directories
   dr-xr-xr-x and files -r--r--r--). Since I'm not going to run
   mkfontdir I suppose it should work.
 
  Are you asking us a question in the above?  I didn't see one...

 I think you can interpret is as a question. Does xedit work for
 you ? Here it just segfaults at startup. If yes, maybe I should
 install the encodings and fonts to see if I can reproduce it.

 Yesterday I compared the contents of both packages with my
 Linux fonts and didn't see any differences, so the only
 difference is the symlink to the XFree86 fonts directory of my
 Linux partition and the read-only flags.

I removed the /usr/X11R6/lib/X11 symlink and installed
XFree86-fenc-4.2.0-3 and XFree86-fnts-4.2.0-3. xedit still
segfaults at startup. It isn't an issue for me because I don't
use it. I was just testing the applications, but it obviously
isn't related to the symlink and read-only.

-- 
How to contact me - http://www.pervalidus.net/contact.html


Re: Tight loop in Xwin startup under Win2k

2003-09-18 Thread David Fraser
Jeffrey C Honig wrote:

No, it does not happen when I use startxwin.bat.  Even if I configure it
for -fullscreen.  But it is only starting one xterm.  I need to do more
testing trying to start multiple xterm.
I'll also post on the cywin list.  I just thought it likely that someone
on this list may have seen it.
Thanks.

Jeff

 

If you are struggling debugging this, you may want to try starting the 
programs with nice so that they don't completely take over the system, 
which may make it easier to see which processes are causing the problem
Or give the top/Task Manager process a higher priority so that it still 
runs when the manic process is trying to take over

David



xedit segfaults (was Re: First time installing XFree86)

2003-09-18 Thread Frédéric L. W. Meunier
On Thu, 18 Sep 2003, Frédéric L. W. Meunier wrote:

 On Thu, 18 Sep 2003, Frédéric L. W. Meunier wrote:

  On Thu, 18 Sep 2003, Harold L Hunt II wrote:
 
I don't know if the segfault I get starting xedit is
related. All other applications I tried work.
   
/usr/X11R6/lib/X11/fonts is a symlink to
/l/usr/X11R6/lib/X11/fonts, which is read-only (directories
dr-xr-xr-x and files -r--r--r--). Since I'm not going to run
mkfontdir I suppose it should work.
  
   Are you asking us a question in the above?  I didn't see one...
 
  I think you can interpret is as a question. Does xedit work for
  you ? Here it just segfaults at startup. If yes, maybe I should
  install the encodings and fonts to see if I can reproduce it.
 
  Yesterday I compared the contents of both packages with my
  Linux fonts and didn't see any differences, so the only
  difference is the symlink to the XFree86 fonts directory of my
  Linux partition and the read-only flags.

 I removed the /usr/X11R6/lib/X11 symlink and installed
 XFree86-fenc-4.2.0-3 and XFree86-fnts-4.2.0-3. xedit still
 segfaults at startup. It isn't an issue for me because I don't
 use it. I was just testing the applications, but it obviously
 isn't related to the symlink and read-only.

Sorry, I see this has been reported before.

Anyway, I tried compiling xedit (only) from CVS xf-4_3-branch
and HEAD. Same problem.

-- 
How to contact me - http://www.pervalidus.net/contact.html


[ANNOUNCEMENT] Cygwin/XFree86 Documentation 0.9.10

2003-09-18 Thread Harold L Hunt II
Links:

I just posted release 0.9.10 to the documentation development page:
http://xfree86.cygwin.com/devel/documentation/
Documentation, formatted, direct links:

Contributor's Guide http://xfree86.cygwin.com/docs/cg
User's Guide http://xfree86.cygwin.com/docs/ug/
FAQ http://xfree86.cygwin.com/docs/faq/
Documentation source releases are now available via the
sources.redhat.com ftp mirror network
(http://cygwin.com/mirrors.html) in the
pub/cygwin/xfree/devel/documentation/ directory.  You may wish to
note the desired filename in the links below, then download from
your closest mirror (http://cygwin.com/mirrors.html).
Documentation source, direct link:
http://www.msu.edu/~huntharo/xwin/docs/cygwin-xfree-doc-0.9.10.tar.gz
(680 KiB)
Changes:

1) CG - Add cygipc and expat to list of required packages for
development.  (Harold L Hunt II)
2) UG - Add new Window Managers section that describes how
Cygwin/XFree86 works with different types of window managers
(e.g. internal, local external, xdmcp, remote).  (Harold L Hunt
II)
3) UG - Add Clipboard Integration section that describes how the
clipboard integration system is used and why it has a certain
deficiency.  (Harold L Hunt II)
4) UG - Add Shared Memory Support (MIT-SHM Extension) section that
describes how to enable shared memory support at run-time.  (Harold L
Hunt II)
5) UG - Update list of command-line parameters.  Add -clipboard,
-clipupdates, -ignoreinput, -multimonitors, -multiwindow, -rootless,
-scrollbars, -[no]trayicon, -xf86config, and -keyboard.  (Harold L
Hunt II)


Enjoy,

Harold






src/winsup/cygwin ChangeLog fhandler_tty.cc te ...

2003-09-18 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2003-09-18 18:54:48

Modified files:
winsup/cygwin  : ChangeLog fhandler_tty.cc termios.cc 

Log message:
* fhandler_tty.cc (fhandler_pty_master::process_slave_output):
Handle buf == NULL as flushing the buffer.
(fhandler_tty_slave::read): Handle ptr == NULL as flushing the buffer.
(fhandler_tty_slave::tcflush): Implement input queue flushing by
calling read with NULL buffer.
(fhandler_pty_master::tcflush): Ditto, calling process_slave_output.
* termios.cc (tcflush): Check for legal `queue' value.  Return
EINVAL otherwise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2080r2=1.2081
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=srcr1=1.105r2=1.106
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/termios.cc.diff?cvsroot=srcr1=1.23r2=1.24



src/winsup/cygwin ChangeLog Makefile.in cygwin ...

2003-09-18 Thread cgf
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x9b
Changes by: [EMAIL PROTECTED]   2003-09-19 01:55:54

Modified files:
winsup/cygwin  : ChangeLog Makefile.in cygwin.din dcrt0.cc 
 exceptions.cc fhandler_disk_file.cc getopt.c 

Log message:
* fhandler_disk_file.cc (path_conv::ndisk_links): Fix potential off-by-one
problem when first file in a directory is a directory.
* Makefile.in: Make malloc_wrapper -fomit-frame-pointer.
* cygwin.din: Remove extraneous mallinfo definition.
* dcrt0.cc (quoted): Use strechr for efficiency.
* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
check for parent state rather than inverted check.
* getopt.c (opterr): Reinstate initialization.
(optind): Ditto.
(optopt): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.2068r2=1.2068.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/Makefile.in.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.136r2=1.136.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.97r2=1.97.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.180r2=1.180.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/exceptions.cc.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.167r2=1.167.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.63r2=1.63.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/getopt.c.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.4r2=1.4.4.1



src/winsup/cygwin ChangeLog fhandler_tty.cc sy ...

2003-09-18 Thread cgf
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x9b
Changes by: [EMAIL PROTECTED]   2003-09-19 03:55:54

Modified files:
winsup/cygwin  : ChangeLog fhandler_tty.cc syscalls.cc 
 termios.cc 

Log message:
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Handle buf ==
NULL as flushing the buffer.
(fhandler_tty_slave::read): Handle ptr == NULL as flushing the buffer.
(fhandler_tty_slave::tcflush): Implement input queue flushing by calling read
with NULL buffer.
(fhandler_pty_master::tcflush): Ditto, calling process_slave_output.
* termios.cc (tcflush): Check for legal `queue' value.  Return EINVAL
otherwise.
* syscalls.cc (gethostid): Add lpFreeBytesAvailable argument to
GetDiskFreeSpaceEx call since NT4 requires it.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.2068.2.1r2=1.2068.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.105r2=1.105.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.287r2=1.287.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/termios.cc.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.23r2=1.23.4.1



src/winsup/cygwin ChangeLog include/cygwin/ver ...

2003-09-18 Thread cgf
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x9b
Changes by: [EMAIL PROTECTED]   2003-09-19 04:11:04

Modified files:
winsup/cygwin  : ChangeLog 
winsup/cygwin/include/cygwin: version.h 

Log message:
* include/cygwin/version.h: Bump DLL minor number to 5.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.2068.2.2r2=1.2068.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=srconly_with_tag=cr-0x9br1=1.133r2=1.133.2.1



Re: MYSQL + CYGWIN

2003-09-18 Thread Gerrit P. Haase
Hallo Marcelo,

Am Donnerstag, 18. September 2003 um 04:20 schriebst du:

 Hi,
 I am trying to compile mysql (mysql-4.0.15) with cygwin, I  run
 ./configure, and make but I receive this error:

 ...
 item_timefunc.o(.text+0x2ca6):item_timefunc.cc: undefined reference to 
 `__static_initialization_and_destruction_0(int, int)'

 Is this a linker error??

You may find in the archives that it should compile if you comment the
#pragma interface
and the
#pragma implementation
in all C files and headers it shows up.

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: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-18 Thread Gerrit P. Haase
Hallo Christopher,

On Mittwoch, 2003-09-17 at 23:32 you wrote:

c-lex.h is missing in the source package.

 It's not available in the CVS repository on gcc.gnu.org, AFAICT.
 Nothing that I build uses it, so this shouldn't be an issue.  Apparently
 objc builds are broken for 3.3.1.

Broken?  I compiled the source package from mingw.org and at least the
'hello world' test in objc works fine.

 If you check out the sources from the gcc repository you will note that
 c-lex.h is not available on the 3.3 branch.

Is there some more information about this somewhere?

 I don't have any information.  Like I said, AFAICT, this file isn't
 necessary for my build.  Maybe Danny has some insight.  Perhaps he added
 c-lex.h into his source package since he builds objective-c.

It is not in the 3.3.1 archive I got from mingw.org but the version of
objc in the 3.3.1-1 source package distributed via the cygwin mirrors
requires c-lex.h which is not included in the original 3.3.1 package
from gnu.org or the CVS as you found. 

Hmmm, I guess objc-parse.c is meant to be regenerated and not to be
fetched readily from CVS, anyway also objc-parse.y in the 3.3.1-1
tarball is dated 01.06.2002 which seems pretty old (my versions date
is 14.05.2003).

I used the latest available MinGw version now again (just the objc
subdirectory) and it builds without problems.  I did a diff on the two
directories and they are different.  Probably your gcc/objc-parse.y
and gcc/objc-parse.c were not updated recently?


Now I wonder if it is broken for you because of this or don't you
build it anyway because it is broken elswhere?  That is why I asked
for more information about the breakage.


HTH,
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: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-18 Thread Corinna Vinschen
On Thu, Sep 18, 2003 at 01:09:58AM +0100, Chris Rodgers wrote:
  Btw., the ssh-host-config already creates the sshd account, that's easy
  from the command line.  But creating a useful sshdproc account as above
  requires to be able to set user privileges like the famous Create a
  token object privilege.  Does anybody know a way how to do this on the
  command line which would allow ssh-host-config to do the above more or
  less automagically?  If such a command line tool doesn't exist as part
  of NT/2K/XP/03, would anybody be willing to create a simple command line
  tool for inclusion in Cygwin?  It would be sufficient if that tool could
  manipulate the above user privileges of an already existing user account.
 
  Anybody?
 
 Me.
 
 I have knocked up a small tool to add/remove/list user rights from the
 command line. How do I go about contributing this?
 
 The current (unpolished) version is at http://rodgers.org.uk/EditRights.zip

Cool!  How you can contribute it depends on the licensing and how much
work you are willing to invest.  Do you want to put it under some GPL or
BSD license?  Or do you want to keep everything together as it is? 
Then create a package as described under http://cygwin.com/setup.html

The somewhat difficult way would be to put editrights into the Cygwin
package itself.  It requires editrights to be buildable as part of the
Cygwin utils subdirectory (you would have to change your tool a bit...)
and especially it requires editrights to be put under the Cygwin license
and you would have to assign the copyright to Red Hat.  See
http://cygwin.com/contrib.html.

Even though I'd love to see it as a Cygwn tool, I guess the first option
is the easier one.  In that case it should become a package in the 'Base'
category.

Oh, is there a chance to get also a -l option to list existing rights
for a user?!?


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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: Why not which 2.16 instead of 1.5?

2003-09-18 Thread Corinna Vinschen
On Wed, Sep 17, 2003 at 11:41:39PM -0400, Yaakov Selkowitz wrote:
 Corinna Vinschen wrote:
 | the which package shipped in the Cygwin distro is not GNU which.
 | Therefore the version number do not correspond.
 
 Is there a particular reason why Cygwin _doesn't_ use GNU which?  Are
 there issues with GNU which on Cygwin that we should know about?
 
 In any case, I found out that there were no man pages for Cygwin which,
 and if I remember correctly, there was no which --help either.  GNU which has both.  
 Either would be nice, and anyway with help2man you don't have to make both manually.

The reason is that this which is my own implementation and the one
I contributed right from the beginning.  If you don't like it, feel
free to take over Cygwin which maintainership.  I have no problem
stepping aside.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Problem with IMAP

2003-09-18 Thread SerpentMage (Christian Gross)
I was going through the mailing list and see if an error was already 
mentioned.

Namely the error is with the UW-IMAP: server crashing header size 
inconsistent.

In the mailing list it was said that there was a problem with UNIX and 
DOS install.  However, now having tested two different installations and 
I know one for sure was installed using UNIX mode the crash still 
occurs.  Additionally release D (previous) worked without problems on on 
the one of the installations.  When I upgraded to E on one of the 
installations the crashes started happening.

Could somebody please tell me what is going on?

Thanks

Christian Gross

--
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: Perl 5.8.0-5 cygwin and threads

2003-09-18 Thread Ferran, Luc
Thanks Gerrit,

Where can I get this version, the last one setup.exe can see is 5.8.0-5 !
Regards,
Luc

-Original Message-
From: Gerrit P. Haase [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 17, 2003 11:04 PM
To: Ferran, Luc
Cc: '[EMAIL PROTECTED]'
Subject: Re: Perl 5.8.0-5 cygwin and threads


Hallo Luc,

Am Mittwoch, 17. September 2003 um 18:49 schriebst du:


 I'd like to use Threads unders perl in cygwin. My perl script starts 
 with
 
 use Thread;
 
 When I launch this script I have the following message :
 
 This Perl has neither ithreads nor 5005threads at 
 /usr/lib/perl5/5.8.0/Carp.pm line 335 BEGIN failed--compilation 
 aborted at /usr/lib/perl5/5.8.0/Thread.pm line 335.
 Compilation failed in require at /home/A0919193/perl/cc_check/lbl_cmp2.pl
 line 3.
 BEGIN failed--compilation aborted at
 /home/A0919193/perl/cc_check/lbl_cmp2.pl line 3
 
 On the mailling list archives it seems that some test are made on perl 
 threads.
 
 Is there anything to do or any pre-requisites in order to have threads 
 activated ?

Please get the perl-5.8.1-1 test release (together with cygwin-1.5.4).


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/



CONT: Problem with IMAP

2003-09-18 Thread SerpentMage (Christian Gross)
Seeing that the old version worked and the new version did not, I rolled 
back to the old version of IMAP.

lo and behold, it seems to get the same errors.  However, I rolled back 
to version d-2.  However, when compiling from d1 I get the same error.  
Now I am beginning to wonder, could it be that cygwin.dll did something 
different that is affecting UW-IMAP?

I certainly do not know...  So any help would be appreciated...

Christian Gross

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


Copying an executable from network drive without .exe extension f ails.

2003-09-18 Thread Steve Fairbairn

Friends,  -- Now there's the start of a spam mail if ever I saw one ;)

I've searched archives and found a couple of potentially related messages,
but none I've found seem to quite match the behaviour I'm seeing.  This
appears to be new behaviour in ?1.5.x? that worked as I expected it to when
still on a 1.3.x version (sorry, can't remember which it was, and don't have
that machine in work today to check).

I have a script which is going through a list of file names and testing they
exist before copying them.  If the file doesn't exist, the script appends
..exe onto the end of the name and tests again (not sure if this is needed
for cygwin, but certainly is for MKS Toolkit).

echo program  ../bins.lst

$P_WINDOWS='//dev2k/d/dev/product/bin'

cat ../bins.lst | while read file
do
if [ -f $P_WINDOWS/$file ]
then
cp $P_WINDOWS/$file WIN/
else
if  [ -f $P_WINDOWS/$file.exe ]
then
cp $P_WINDOWS/$file.exe WIN/
else
echo H:$P_WINDOWS/$file doesn't exist  WIN.res
fi
fi
done

I am actually running the script while I've cd'd onto a network share, so
both source and destination drives are on the network, but two separate
machines.  At the time the above script is executed, the destination
directory does exist and is empty.  The source directory does exist and does
contain an .exe version of the 'program'.  The error produced is as
follows...

cp: `//dev2k/d/dev/product/bin/program' and `WIN/program' are the same file

To get around the problem, I've checked for the .exe version first and then
the non .exe version, but I thought it should be reported.

The potentially related messages I found are...
Re: cp -p fails with .exe files
http://www.cygwin.com/ml/cygwin/2001-06/msg01210.html
ACL or file locking issue?
http://www.cygwin.com/ml/cygwin/2003-07/msg00950.html
cp error -- oh the great sanity of *nix tools?! ...
http://www.cygwin.com/ml/cygwin/2001-06/msg01364.html
RE: 1.3.5 cp/permissions bug
http://www.cygwin.com/ml/cygwin/2001-11/msg01423.html

Cheers,

Steve Fairbairn.
-- 
-- LONG DISCLAIMER --

*** 
This email has originated from Perwill plc (Registration No. 1906964) 
Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK 
Tel: +44 (0)1420 545000 
Fax: +44 (0)1420 545001 
www.perwill.com 
*** 
Privileged, confidential and/or copyright information may be contained 
in this email, and is only for the use of the intended addressee. 
To copy, forward, disclose or otherwise use it in any way if you are not 
the intended recipient or responsible for delivering to him/her is
prohibited.
If you receive this email by mistake, please advise the sender immediately, 
by using the reply facility in your email software.

We may monitor the content of emails sent and received via our network 
for the purposes of ensuring compliance with policies and procedures. 
This message is subject to and does not create or vary any contractual 
relationships between Perwill plc and the recipient. 
*** 
Any opinions expressed in the email are those of the sender and not 
necessarily of Perwill plc.
*** 
This email has been scanned for known viruses using 
McAfee WebShield 4.5 MR1a 
*** 


  



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: Perl 5.8.0-5 cygwin and threads

2003-09-18 Thread Gerrit P. Haase
Luc schrieb:


 Where can I get this version, the last one setup.exe can see is 5.8.0-5 !

Activate the radio button 'Exp' which displays all the test versions in
the setup.exe chooser.  But be careful since currently there are many
test versions older than the current versions available.

I suggest at first upgrading to cygwin-1.5.4 only (this is in the
'Current' listing), then toggle the radio button to 'Exp' and select
perl-5.8.1-1 there.  Eventually you'll need also gcc-3.3.1 (this is also
a test version) and the latest binutils to build modules.


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: MYSQL + CYGWIN

2003-09-18 Thread Marcelo Rezende Módolo
Larry Hall wrote:

At 10:20 PM 9/17/2003, Marcelo Rezende Módolo you wrote:
 

Hi,
I am trying to compile mysql (mysql-4.0.15) with cygwin, I  run
./configure, and make but I receive this error:
...
item_timefunc.o(.text+0x2ca6):item_timefunc.cc: undefined reference to 
`__static_initialization_and_destruction_0(int, int)'
Is this a linker error??
   



Bingo!

--
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/
Esta mensagem foi verificada pelo E-mail Protegido Terra.
Scan engine: VirusScan / Atualizado em 17/09/2003 / Versão: 1.4.0
Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/


 

Larry,
do you know how can I fix it??
thanks,
marcelo


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


CONT: Problem with IMAP

2003-09-18 Thread SerpentMage (Christian Gross)
For verification purposes I removed Cygwin, and then did a fresh 
reinstall using UNIX file encodings.  I made sure that all of the 
binmode settings.

Then to test I created a message and saved in the drafts folder (Using 
Outlook Express).  The saving went fine, but the problem was the 
reading.  Created was a stack trace which I attached as follows:

Stack trace:
Frame Function  Args
0022F3F8  6106EF32  (03E0, 0006, 0022F428, 610B2811)
0022F448  6106F0B0  (03E0, 0006, 0022F498, 6106F665)
0022F458  6106EFFC  (0006, 0006, 0022F498, 0043F7CD)
0022F498  6106F665  (0001, 00443F2A, 0043F7CD, 0676)
0022F4B8  00443F76  (0043F7CD, 0001, 0022F50C, 0008)
0022F558  0043FB71  (100F1C60, , 0022F570, 004AA0D0)
0022F988  0043BB64  (100F1C60, 00401C0B, 0022FEF0, 00404F9C)
0022F998  00459A19  (100F1C60, 0040133E, 004ABBF0, 004ABBF5)
0022FEF0  00404F9C  (0001, 61600C0C, 100F0330, 0022FF24)
0022FF40  61005018  (610CEED0, FFFE, 03B8, 610CEDF4)
0022FF90  610052ED  (, , 8043138F, )
0022FFB0  004A7762  (00401D8F, 037F0009, 0022FFF0, 7C4E87F5)
0022FFC0  0040103C  (0053004C, 004E005C, 7FFDF000, 00740063)
0022FFF0  7C4E87F5  (00401000, , 00C8, 0100)
End of stack trace
Thanks

Christian Gross

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

2003-09-18 Thread sdavy
Hello all,

I'd would like to build and run Squid on a cygwin box. I made my first
tests a few weeks ago and could compile and run Squid 2.5 STABLE3 with the
cygwin1.dll 1.3.20 on a NT machine. I also have an icap patch on squid
source tree.
I recently upgraded my cygwin and then recover a new version of cygwin.dll
(1.5.4). In the same time, I recompiled Squid and it doesn't work anymore:
building is OK, but when I want to lunch it, I've this error message:

C:\squid\sbinsquid -N
FATAL: setrlimit: RLIMIT_NOFILE: (24) Too many open files
Squid Cache (Version 2.5.STABLE3-CVS): Terminated abnormally.
CPU Usage: 0.060 seconds = 0.050 user + 0.010 sys
Maximum Resident Size: 10368 KB
Page faults with physical i/o: 653
 17 [sig] squid 441 open_stackdumpfile: Dumping stack trace to
squid.exe.stackdump

C:\squid\sbinsquid

My compile options in both cases:
../configure --prefix=c:/squid \
  --enable-auth=basic,ntlm \
  --enable-ntlm-auth-helpers=fakeauth
icap is disabled for these tests.

My cygwin1.dll is in the sbin directory.
I recovered an old cygwin distro with 1.3.20 from another machine, build
again squid, and it works. So, I think that my problems come from the
different changes inside the DLL. I've not found any other message related
to RLIMIT_NOFILE.

Any help or suggestion would be greatly appreciated

Thanks a lot for your help

Stéphane




--
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: Tcl/Tk wish shell execution problem under bash

2003-09-18 Thread Jeff Russell
Andrew DeFaria asked:

  The Tcl/Tk wish shell (wish84.exe) does not properly start/execute under
bash. When
  launched, the Tk canvas window appears, but the command prompt window
never opens.
 ...
 
  Any ideas?

 Are you running bash under rxvt?
No, using the standard bash launched with cygwin.bat.

 Have you tried wish from a Windows console running bash?
Same behavior, wish84 seems to hang.  However, running wish84 directly from
the Windows console results in normal execution/behavior.

JEff Russell



--
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 v2.340.2.5: inconsistent error reporting

2003-09-18 Thread Robert Collins
On Thu, 2003-09-18 at 23:05, Patrick Eisenacher wrote:
 Trying to update my packages and not having enough space on my harddisk 
 got me confused yesterday.
 
 Downloading from a mirror via http resulted in download incomplete. try 
 again?, whereas downloading from another mirror via ftp finally 
 revealed what really was the problem.

Did you use the 'direct connection', or 'IE5 settings' method?


Rob
-- 
GPG key available at: http://members.aardvark.net.au/lifeless/keys.txt.


signature.asc
Description: This is a digitally signed message part


Re: setup v2.340.2.5: inconsistent error reporting

2003-09-18 Thread Patrick Eisenacher
Let me see...

Install from Internet and Direct Connection in both cases.

HTH,
Patrick
Robert Collins schrieb:

On Thu, 2003-09-18 at 23:05, Patrick Eisenacher wrote:

Trying to update my packages and not having enough space on my harddisk 
got me confused yesterday.

Downloading from a mirror via http resulted in download incomplete. try 
again?, whereas downloading from another mirror via ftp finally 
revealed what really was the problem.


Did you use the 'direct connection', or 'IE5 settings' method?

Rob


--
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: Tcl/Tk wish shell execution problem under bash

2003-09-18 Thread Igor Pechtchanski
On Thu, 18 Sep 2003, Jeff Russell wrote:

 Andrew DeFaria asked:

   The Tcl/Tk wish shell (wish84.exe) does not properly start/execute
   under bash. When launched, the Tk canvas window appears, but the
   command prompt window never opens.
  ...
  
   Any ideas?
 
  Are you running bash under rxvt?
 No, using the standard bash launched with cygwin.bat.

  Have you tried wish from a Windows console running bash?
 Same behavior, wish84 seems to hang.  However, running wish84 directly from
 the Windows console results in normal execution/behavior.

 JEff Russell

Jeff,

Can you reproduce the hang by running 'bash -c wish84'?  How about 'bash
--login -i -c wish84'?  If so, the problem might be triggered by the
presence of bash.  WAG below.

WAG
It's possible that wish84 uses some signals that aren't correctly
interpreted by bash in 1.5.4.  There were some signal fixes in the latest
Cygwin snapshot -- please try it: http://cygwin.com/snapshots/.  If you
get the same behavior with the snapshot, please run wish84 under strace.
It would help immensely if you tried interpreting the output somehow
(i.e., does it hang or loop?  if it hangs, what are the last actions?  if
it loops, what does it loop through?).  You may need to strace 'bash -c
wish84' instead.
/WAG

Hope this helps,
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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: Suggestion... date format (ISO8601:2000)

2003-09-18 Thread Hannu E K Nevalainen \(garbage mail\)
 From: Christopher Faylor

 On Thu, Sep 18, 2003 at 12:21:56AM +0200, Hannu E K Nevalainen
 (garbage mail) wrote:
 You missed the point here;

 Nope.

 Rigth ;-) I claim the right to disagree ;-)

 Do you mind giving me some more words on _why_ you don't like the idea?

WRT PTC, do you mind pointing me to the relevant sources, so I can have a
look? CVS I presume, I'm all new to that...

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST - UTC+02  --
--END OF MESSAGE--


--
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: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Hannu E K Nevalainen \(garbage mail\)
 From: Olivier ALLART

 Next I guess I'll go look for some tip on how to unlock iisreset so it
 can be used by whatever admin and not just local ..

 Sorry to jump in! Just an idea;
How about runas, is it available in W2K+3? (I'm on W2K)

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01 --


$ echo iisreset.bat -e \
  @echo off\necho This is me, using the Administrators rights\!
$ u2d iisreset.bat
iisreset.bat: done.
$ runas /profile /user:mymachine\administrator cmd /c iisreset.bat

SIGH *I* can't make it work for a simple test like above :-7 (from the
BASH prompt! I have a similar thing running via BAT scripts).
runas seems to think it doesn't get correct arguments.

*IS* it possible? I deem it should be.

F:\runas /?
RUNAS USAGE:

RUNAS [/profile] [/env] [/netonly] /user:UserName program

   /profileif the user's profile needs to be loaded
   /envto use current environment instead of user's.
   /netonlyuse if the credentials specified are for remote access
only.
   /user   UserName should be in form [EMAIL PROTECTED] or DOMAIN\USER
   program command line for EXE.  See below for examples

Examples:
 runas /profile /user:mymachine\administrator cmd
 runas /profile /env /user:mydomain\admin mmc %windir%\system32\dsa.msc
 runas /env /user:[EMAIL PROTECTED] notepad \my file.txt\

NOTE:  Enter user's password only when prompted.
NOTE:  [EMAIL PROTECTED] is not compatible with /netonly.


--END OF MESSAGE--


--
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: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Olivier ALLART
Thanks for the tip.
I decided to get rid of this stupid iisreset and use instead a command like
net start/stop msftpsc/w3svc
works fine whith whatever administrator

Olivier

Hannu E K Nevalainen (garbage mail) wrote:

From: Olivier ALLART
   

 

Next I guess I'll go look for some tip on how to unlock iisreset so it
can be used by whatever admin and not just local ..
   

Sorry to jump in! Just an idea;
How about runas, is it available in W2K+3? (I'm on W2K)
/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01 --
$ echo iisreset.bat -e \
 @echo off\necho This is me, using the Administrators rights\!
$ u2d iisreset.bat
iisreset.bat: done.
$ runas /profile /user:mymachine\administrator cmd /c iisreset.bat
SIGH *I* can't make it work for a simple test like above :-7 (from the
BASH prompt! I have a similar thing running via BAT scripts).
runas seems to think it doesn't get correct arguments.
*IS* it possible? I deem it should be.

F:\runas /?
RUNAS USAGE:
RUNAS [/profile] [/env] [/netonly] /user:UserName program

  /profileif the user's profile needs to be loaded
  /envto use current environment instead of user's.
  /netonlyuse if the credentials specified are for remote access
only.
  /user   UserName should be in form [EMAIL PROTECTED] or DOMAIN\USER
  program command line for EXE.  See below for examples
Examples:
 

runas /profile /user:mymachine\administrator cmd
runas /profile /env /user:mydomain\admin mmc %windir%\system32\dsa.msc
runas /env /user:[EMAIL PROTECTED] notepad \my file.txt\
   

NOTE:  Enter user's password only when prompted.
NOTE:  [EMAIL PROTECTED] is not compatible with /netonly.
--END OF MESSAGE--

--
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: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Karl M
Hi All...

Quite a while ago (12 to 18 months?) before Cygwin OpenSSH could impersonate 
a user, there was some experimental activity in OpenSSH to allow multiple 
authentication methods. There was a patch to add this on the OpenSSH 
archives.

I experimented with this to require public key followed by password 
authentication. This got me the security of a public key authentication and 
also got me a password to change user ID. When Cygwin added the impersonate 
user ability, I dropped this activity.

...Karl


From: Olivier ALLART [EMAIL PROTECTED]
To: Cygwin List [EMAIL PROTECTED]
Subject: Re: SSHD, Cygwin and Windows 2003 : continued with user rights
Date: Thu, 18 Sep 2003 01:22:48 +0200
Larry Hall wrote:

Hm, I thought I was clear.  Let me try again addressing iisreset
specifically.
iisreset doesn't work in the scenario you described because it's a 
Microsoft tool which knows nothing of the Cygwin environment.  Cygwin's 
ssh using pubkey authentication doesn't authenticate the user with 
Windows.  So if
you need certain credentials to perform some operation in Windows, pubkey
authentication won't provide them.

Ok. I tought ssh offered some mechanism trough cygwin to authenticate as if 
under windows ..
That means the 'administrator' account via ssh pubkey is not 
'administrator' then ..

If you need to run iisreset through ssh,
you will need to use password authentication, which takes the password for 
the user 'administrator' and authenticates for Windows with it.  You 
should
then be able to use iisreset (if authentication is really the only thing
getting in the way with pubkey).

yes it is, since it is working with ssh connection (using password on 
login) when sshd runs under 'local system'

I don't know what are the *some commands* you're speaking of, but if 
they are Cygwin utilities, then I think the answer is obvious.  If they 
are not Cygwin utilities, then I would have to say that they don't require 
special privileges to run.  This is actually true for most utilities.  But 
if this is still confusing for you, you'll have to provide specifics.  
However, I think you'll find that it's likely that anything that works for 
you in ssh using pubkey authentication falls into one of the two groups of 
utilities I mentioned.

and you are probably right.
other commands are for example 'wlbs' (or nlb).
My problem is : I want to execute some remote (but encrypted) commands 
using both wlbs and iisreset.
wlbs works fine from remote, but so is not for IISreset.
I thought authentication using ssh and public key would allow me to perform 
the iisreset command..
But from what you explained; it is clear that whatever user logs in with 
pubkey, it won't be considered as 'administrator'
It looks like iisreset can only be performed *locally* by *local 
administrator*, which is dumb in the situation where you are from remote. 
Only other remote control would be 'telnet' but hey, ms telnet can't 
pertform remote commands.

Last question; if I provided a pubkey in the 'administrator' (cygwin) 
environment, who am I for windows ?

Thank you very much.
Next I guess I'll go look for some tip on how to unlock iisreset so it can 
be used by whatever admin and not just local ..

HTH,

Larry

At 02:56 PM 9/17/2003, Olivier ALLART you wrote:



Thank you for the details, but then, why *some commands* work and not 
others ?
And more specifically, how can I make *this command* work ?

Larry Hall wrote:



I think you missed the fact that pubkey authentication does 
impersonation,
not Windows-style authentication.  So Windows apps won't recognize the 
pubkey
authentication as providing permissions to run restricted programs.  
You'll
have to use password authentication if you want Windows to recognize the
user you've become via ssh.  You can find all sorts of discussion on the 
difference between pubkey and password authentication for ssh in the 
email archives if you're interested.



At 12:40 PM 9/17/2003, Olivier ALLART you wrote:



Following Mark J de Jong 's step by step howto (see end of mail for some 
add-ons), I can now effectively log in with pkey method (that is, no 
password) using the 'administrator' user name.
'whoami' returns 'administrator', however asking for a command such as 
IISRESET returns the error 'you are not a local administrator of this 
machine...', which means the rights management has failed somewhere.







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



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

RE: Tcl/Tk wish shell execution problem under bash

2003-09-18 Thread Jeff Russell
Igor Pechtchanski wrote:

 Can you reproduce the hang by running 'bash -c wish84'?  How about 'bash
 --login -i -c wish84'?  If so, the problem might be triggered by the
 presence of bash.

The following attempts produce the same hanging behavior:
  bash -c /bin/wish84 from a DOS command shell and a bash (--login -i)
shell
  bash --login -i -c /bin/wish84 from DOS shell nd a bash (--login -i)
shell
However,
  strace -w /bin/wish84 (from a bash shell) works!  (Also confirmed by
Felix von Hove)

I haven't tried the latest snapshot due to learning curve (in progress).

JEff Russell



--
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: Tcl/Tk wish shell execution problem under bash

2003-09-18 Thread Igor Pechtchanski
On Thu, 18 Sep 2003, Jeff Russell wrote:

 Igor Pechtchanski wrote:
 
  Can you reproduce the hang by running 'bash -c wish84'?  How about 'bash
  --login -i -c wish84'?  If so, the problem might be triggered by the
  presence of bash.
 
 The following attempts produce the same hanging behavior:
   bash -c /bin/wish84 from a DOS command shell and a bash (--login -i)
 shell
   bash --login -i -c /bin/wish84 from DOS shell nd a bash (--login -i)
 shell
 However,
   strace -w /bin/wish84 (from a bash shell) works!  (Also confirmed by
 Felix von Hove)

 I haven't tried the latest snapshot due to learning curve (in progress).

 JEff Russell

This validates my WAG somewhat.  Does strace -o wish.strace bash -c
wish84 reproduce the hang?  The reason is that, IIRC, strace uses Windows
exec mechanisms, rather than Cygwin's, so you need to force Cygwin's exec
by running bash first.
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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: Tcl/Tk wish shell execution problem under bash

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 10:43:53AM -0400, Igor Pechtchanski wrote:
On Thu, 18 Sep 2003, Jeff Russell wrote:

 Igor Pechtchanski wrote:
 
  Can you reproduce the hang by running 'bash -c wish84'?  How about 'bash
  --login -i -c wish84'?  If so, the problem might be triggered by the
  presence of bash.
 
 The following attempts produce the same hanging behavior:
   bash -c /bin/wish84 from a DOS command shell and a bash (--login -i)
 shell
   bash --login -i -c /bin/wish84 from DOS shell nd a bash (--login -i)
 shell
 However,
   strace -w /bin/wish84 (from a bash shell) works!  (Also confirmed by
 Felix von Hove)

 I haven't tried the latest snapshot due to learning curve (in progress).

 JEff Russell

This validates my WAG somewhat.  Does strace -o wish.strace bash -c
wish84 reproduce the hang?  The reason is that, IIRC, strace uses Windows
exec mechanisms, rather than Cygwin's, so you need to force Cygwin's exec
by running bash first.

Also try using a large buffer with strace:

strace -b 100 -o wish.strace bash -c wish84

since the large buffer sometimes helps unmask problems which were fixed
by the slowdown incurred by running strace.

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: Suggestion... date format (ISO8601:2000)

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 04:18:49PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
 From: Christopher Faylor

 On Thu, Sep 18, 2003 at 12:21:56AM +0200, Hannu E K Nevalainen
 (garbage mail) wrote:
 You missed the point here;

 Nope.

 Rigth ;-) I claim the right to disagree ;-)

 Do you mind giving me some more words on _why_ you don't like the idea?

The effort of doing this plus the effort of discussing it are not how
I want to prioritize my time.

WRT PTC, do you mind pointing me to the relevant sources, so I can have a
look? CVS I presume, I'm all new to that...

It's probably something like:

cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login
enter

cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin co htdocs

but, I'm *really* not interested in providing cvs beginner help, so I'm bowing
out now.  Someone else can answer your cvs questions.

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: Tcl/Tk wish shell execution problem under bash

2003-09-18 Thread Jeff Russell

 This validates my WAG somewhat.  Does strace -o wish.strace bash -c
 wish84 reproduce the hang?  The reason is that, IIRC, strace uses Windows
 exec mechanisms, rather than Cygwin's, so you need to force Cygwin's exec
 by running bash first.
I get it...
strace -o wish.strace -w bash -c /bin/wish84 reproduces the hang (after
about 1MB of log file).  My (naive) take on the relevant end of the log file
seems to show that wish84 is busy searching paths for a file without any
interesting error messages. However, about 1/3 through the attached file,
_cygwin_istext_for_stdio seems to report an error.  The last 100 lines of
the strace output are attached.

JEff
  109 10243487 [main] wish84 2512 mount_info::conv_to_win32_path: src_path 
D:/cygwin/usr/share/tclIndex, dst D:\cygwin\usr\share\tclIndex, flags 0x0, rc 0
  541 10244028 [main] wish84 2512 symlink_info::check: GetFileAttributes 
(D:\cygwin\usr\share\tclIndex) failed
  212 10244240 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2
  263 10244503 [main] wish84 2512 symlink_info::check: GetFileAttributes 
(D:\cygwin\usr\share\tclIndex.lnk) failed
  182 10244685 [main] wish84 2512 geterrno_from_win_error: windows error 2 == errno 2
  116 10244801 [main] wish84 2512 symlink_info::check: 0 = symlink.check 
(D:\cygwin\usr\share\tclIndex, 0x22CE10) (0x0)
  119 10244920 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path 
(D:/cygwin/usr/share)
  115 10245035 [main] wish84 2512 normalize_win32_path: D:\cygwin\usr\share = 
normalize_win32_path (D:/cygwin/usr/share)
  110 10245145 [main] wish84 2512 mount_info::conv_to_win32_path: src_path 
D:/cygwin/usr/share, dst D:\cygwin\usr\share, flags 0x0, rc 0
  276 10245421 [main] wish84 2512 symlink_info::check: not a symlink
  382 10245803 [main] wish84 2512 symlink_info::check: 0 = symlink.check 
(D:\cygwin\usr\share, 0x22CE10) (0x0)
  180 10245983 [main] wish84 2512 path_conv::check: root_dir(D:\), 
this-path(D:\cygwin\usr\share\tclIndex), set_has_acls(0)
12334 10258317 [main] wish84 2512 normalize_posix_path: src 
D:/cygwin/usr/share/tcl8.4/tclIndex
  146 10258463 [main] wish84 2512 normalize_win32_path: 
D:\cygwin\usr\share\tcl8.4\tclIndex = normalize_win32_path 
(D:/cygwin/usr/share/tcl8.4/tclIndex)
  117 10258580 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path 
(D:/cygwin/usr/share/tcl8.4/tclIndex)
  122 10258702 [main] wish84 2512 normalize_win32_path: 
D:\cygwin\usr\share\tcl8.4\tclIndex = normalize_win32_path 
(D:/cygwin/usr/share/tcl8.4/tclIndex)
  109 10258811 [main] wish84 2512 mount_info::conv_to_win32_path: src_path 
D:/cygwin/usr/share/tcl8.4/tclIndex, dst D:\cygwin\usr\share\tcl8.4\tclIndex, flags 
0x0, rc 0
  563 10259374 [main] wish84 2512 symlink_info::check: not a symlink
  207 10259581 [main] wish84 2512 symlink_info::check: 0 = symlink.check 
(D:\cygwin\usr\share\tcl8.4\tclIndex, 0x22CF00) (0x0)
  129 10259710 [main] wish84 2512 path_conv::check: root_dir(D:\), 
this-path(D:\cygwin\usr\share\tcl8.4\tclIndex), set_has_acls(0)
 1496 10261206 [main] wish84 2512 normalize_posix_path: src 
D:/cygwin/usr/share/tcl8.4/tclIndex
  155 10261361 [main] wish84 2512 normalize_win32_path: 
D:\cygwin\usr\share\tcl8.4\tclIndex = normalize_win32_path 
(D:/cygwin/usr/share/tcl8.4/tclIndex)
  121 10261482 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path 
(D:/cygwin/usr/share/tcl8.4/tclIndex)
  123 10261605 [main] wish84 2512 normalize_win32_path: 
D:\cygwin\usr\share\tcl8.4\tclIndex = normalize_win32_path 
(D:/cygwin/usr/share/tcl8.4/tclIndex)
  110 10261715 [main] wish84 2512 mount_info::conv_to_win32_path: src_path 
D:/cygwin/usr/share/tcl8.4/tclIndex, dst D:\cygwin\usr\share\tcl8.4\tclIndex, flags 
0x0, rc 0
  517 10262232 [main] wish84 2512 symlink_info::check: not a symlink
  209 10262441 [main] wish84 2512 symlink_info::check: 0 = symlink.check 
(D:\cygwin\usr\share\tcl8.4\tclIndex, 0x22CE10) (0x0)
  132 10262573 [main] wish84 2512 path_conv::check: root_dir(D:\), 
this-path(D:\cygwin\usr\share\tcl8.4\tclIndex), set_has_acls(0)
352830 10615403 [main] wish84 2512 normalize_posix_path: src 
D:/cygwin/usr/share/tk8.4/tearoff.tcl
  148 10615551 [main] wish84 2512 normalize_win32_path: 
D:\cygwin\usr\share\tk8.4\tearoff.tcl = normalize_win32_path 
(D:/cygwin/usr/share/tk8.4/tearoff.tcl)
  126 10615677 [main] wish84 2512 mount_info::conv_to_win32_path: conv_to_win32_path 
(D:/cygwin/usr/share/tk8.4/tearoff.tcl)
  121 10615798 [main] wish84 2512 normalize_win32_path: 
D:\cygwin\usr\share\tk8.4\tearoff.tcl = normalize_win32_path 
(D:/cygwin/usr/share/tk8.4/tearoff.tcl)
  108 10615906 [main] wish84 2512 mount_info::conv_to_win32_path: src_path 
D:/cygwin/usr/share/tk8.4/tearoff.tcl, dst D:\cygwin\usr\share\tk8.4\tearoff.tcl, 
flags 0x0, rc 0
  580 10616486 [main] wish84 2512 symlink_info::check: not a symlink
  230 10616716 [main] wish84 2512 symlink_info::check: 0 = symlink.check 
(D:\cygwin\usr\share\tk8.4\tearoff.tcl, 0x22D150) (0x0)
  

RE: Tcl/Tk wish shell execution problem under bash

2003-09-18 Thread Jeff Russell
Christopher Faylor wrote:

 
 Also try using a large buffer with strace:
 
 strace -b 100 -o wish.strace bash -c wish84
 
 since the large buffer sometimes helps unmask problems which were fixed
 by the slowdown incurred by running strace.
 
Same hang is observed as the regular ol' strace bash -c wish84...

JEff


--
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: Suggestion... date format (ISO8601:2000)

2003-09-18 Thread Igor Pechtchanski
On Thu, 18 Sep 2003, Christopher Faylor wrote:

 On Thu, Sep 18, 2003 at 04:18:49PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
  From: Christopher Faylor
 
  On Thu, Sep 18, 2003 at 12:21:56AM +0200, Hannu E K Nevalainen
  (garbage mail) wrote:
  You missed the point here;
 
  Nope.
 
  Rigth ;-) I claim the right to disagree ;-)
 
  Do you mind giving me some more words on _why_ you don't like the idea?

 The effort of doing this plus the effort of discussing it are not how
 I want to prioritize my time.

 WRT PTC, do you mind pointing me to the relevant sources, so I can have a
 look? CVS I presume, I'm all new to that...

 It's probably something like:

 cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login
 enter

 cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin co htdocs

 but, I'm *really* not interested in providing cvs beginner help, so I'm bowing
 out now.  Someone else can answer your cvs questions.

 cgf

Chris,

I believe Hannu was asking which repository contains the scripts to
generate the snapshots page, the mirrors page, etc?.  They are not,
AFAICS, in the htdocs repository (cgi-bin2/ only contains the
package-{list,grep} scripts).
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
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: Utility to dereference Windows shortcuts?

2003-09-18 Thread Rob S.i.k.l.o.s.
  I understand that Windows shortcuts and symlinks are different and the
  reasons why they are different. However, I want to be able to process
  files pointed to by Windows shortcuts using Cygwin utilities. In order
  to be able to do this, I need a utility that will take a Windows
  shortcut name, xxx.lnk, and return either a Cygwin (preferred) or
  Windows path to the target of the shortcut. I could then do something
  like:
 
  cyg_utility `shortcut_deref win_shortcut.lnk`
 
  Does this utility exist? If not, does anyone have sufficient information
  on the Windows shortcut structure to allow me to write one?
 
  Thanks.

 Take a look at the source of mkshortcut in the cygutils package.  If you
 do write a readshortcut program, please consider submitting it to Chuck
 Wilson for inclusion into the cygutils package (as a complement to
 mkshortcut).
 Igor

FYI, the work on this is all done and submitted (as of a couple weeks ago).
readshortcut (part of the cygutils package) is available in the cygutils cvs
tree, and will be included in the next cygutils release.

Rob.


--
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: Pine 4.58 Cygwin issue

2003-09-18 Thread Eduardo Chappa

[ this message was Bcc'd to the pine-info list ]

*** Victor Stepanov ([EMAIL PROTECTED]) wrote in the pine-info list today:

:) I'm experienced strange behavior of Pine 4.58 under Cygwin environment.
:) Some of fields on index screen is missing... Screenshot attached. Also
:) message display is not working correct. Any ideas?

[ screenshot available at 
http://www.math.washington.edu/~chappa/pine/cygwin/PCygPine4.58.gif]

Dear Victor,

  The place to report bugs in cygwing application is the cygwin mailing
list (cygwin at cygwin punto com). Version 4.58 is *not* a supported
version in cygwin. As you must have noticed, the last release of Pine for
cygwin was 4.55 (under the 1.3.X world), not 4.56, not 4.58. That is
because during that version of Pine, cygwin was in version 1.3.X. Having
said that. None of the supported versions, either, (built under Cygwin
1.5.X) work under Cygwin 1.5.X.

  Please read http://cygwin.com/problems.html, so that you learn how to
report a problem with a cygwin application.

I am trying to look into this issue, and I am afraid that I will have to
build Pine in a 32bit world rather than upgrade it to the 64bit world,
which seems like a lot of work to make (e.g the size of off_t is bigger
than the size of unsigned long in the 64bit world. To adapt this to the
c-client library is non trivial for me).

I do not have a connection to the internet at home still, probably until
next week, so I can't make all tests that I want to make yet.

I still have to research this issue further. When I have understood all
the problems involved I will try to come up with a solution. At this
moment I don't understand much of the problem. Given how much stuff is
going on in my life today, don't hold your breath for it.

Please keep this discussion within the cygwin mailing list. I have Bcc'd
my reply to the pine-info list for courtesy. If you are not subscribed to
the cygwin mailing list, please us the gateway through gmane
(www.gmane.org). You can Cc: me if you want to.

If anyone wants to help to build Pine 4.58 for Cygwin 1.5.X, I would
appreciate that help.

Thanks!

Eduardo
http://www.math.washington.edu/~chappa/pine/

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



How does setup.exe cleanup?

2003-09-18 Thread caj
Hi,

I was just wondering, does setup.exe perform any cleaning up of old
downloaded packages from the local package cache, and if so how?

Also, can I assume that any package file that is on a server will never be
changed, or are sometimes packages updated without changing the name?
(even if it is only for a very short period of time)

Thank you,

Chris

--
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: How does setup.exe cleanup?

2003-09-18 Thread Igor Pechtchanski
On Thu, 18 Sep 2003 [EMAIL PROTECTED] wrote:

 Hi,

 I was just wondering, does setup.exe perform any cleaning up of old
 downloaded packages from the local package cache, and if so how?

It doesn't.  Search the list archives for clean_setup.pl.

 Also, can I assume that any package file that is on a server will never be
 changed, or are sometimes packages updated without changing the name?
 (even if it is only for a very short period of time)

 Thank you,
 Chris

They shouldn't be.  If they are, it's a bug.  This does occasionally
happen, unfortunately, but screws up pretty much everyone's setup
procedure, so is quickly caught and rectified.

The one time packages keep the name across updates is when packages are
still in the process of being approved (on the cygwin-apps list).
However, this shouldn't be of any concern to the general Cygwin community.

Hope this helps,
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!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



ls --color (strange display)

2003-09-18 Thread Philippe Bastiani
Hi,

When i had the --color option to the 'ls c:' command line, i obtain the 2
followings lines:
ls: c:/hiberfil.sys: No such file or directory
ls: c:/pagefile.sys: No such file or directory

Note: c:/hiberfil.sys  c:/pagefile.sys are 2 existing files... displayed
when i remove this option!

a+
-- 
Philippe Bastiani




--
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: Suggestion... date format (ISO8601:2000)

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 11:09:50AM -0400, Igor Pechtchanski wrote:
On Thu, 18 Sep 2003, Christopher Faylor wrote:

 On Thu, Sep 18, 2003 at 04:18:49PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
  From: Christopher Faylor
 
  On Thu, Sep 18, 2003 at 12:21:56AM +0200, Hannu E K Nevalainen
  (garbage mail) wrote:
  You missed the point here;
 
  Nope.
 
  Rigth ;-) I claim the right to disagree ;-)
 
  Do you mind giving me some more words on _why_ you don't like the idea?

 The effort of doing this plus the effort of discussing it are not how
 I want to prioritize my time.

 WRT PTC, do you mind pointing me to the relevant sources, so I can have a
 look? CVS I presume, I'm all new to that...

 It's probably something like:

 cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin login
 enter

 cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin co htdocs

 but, I'm *really* not interested in providing cvs beginner help, so I'm bowing
 out now.  Someone else can answer your cvs questions.

I believe Hannu was asking which repository contains the scripts to
generate the snapshots page, the mirrors page, etc?.  They are not,
AFAICS, in the htdocs repository (cgi-bin2/ only contains the
package-{list,grep} scripts).

snapshot generation code is missing.  The other stuff should be there.

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: ls --color (strange display)

2003-09-18 Thread Andrew DeFaria
Philippe Bastiani wrote:

Hi,

When i had the --color option to the 'ls c:' command line, i obtain the 2
followings lines:
ls: c:/hiberfil.sys: No such file or directory
ls: c:/pagefile.sys: No such file or directory
Note: c:/hiberfil.sys  c:/pagefile.sys are 2 existing files... displayed
when i remove this option!
My WAG is that with --color, ls is opening files to look at the first 
few bytes in an effort to determine what type of file it is. You do not 
have permissions to open C:/hiberfil.sys nor c:/pagefile.sys so it fails.
===
Obligatory witty saying: Enter any 11-digit prime number to continue...



--
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: flushinp on /dev/ptmx

2003-09-18 Thread Corinna Vinschen
On Mon, Sep 15, 2003 at 11:39:16PM +0900, Hiroshi Sainohira wrote:
 Does the pseudo terminal of cygwin( /dev/ptmx ) support
 flushing input buffer?

Not so far.  I had a look into that and implemented flushing input
buffers on pseudo ttys.  Please give it a try.  It will be available
in the next developers snapshot.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Lastest gdb aborts with stack dump

2003-09-18 Thread Bryan Higgins
The latest gdb aborts with a stack dump whenever I use the finish command.
I've reverted to the previous version, which is fine.

Bryan Higgins, Albany, California

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



getopt: ugly linker messages

2003-09-18 Thread Bryan Higgins
How can I suppress the linker messages

Info: resolving _opterr by linking to __imp__opterr (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optopt by linking to __imp__optopt (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)

which now appear?

Bryan Higgins, Albany, California

--
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: getopt: ugly linker messages

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 12:53:22PM -0700, Bryan Higgins wrote:
How can I suppress the linker messages

Info: resolving _opterr by linking to __imp__opterr (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optopt by linking to __imp__optopt (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)

which now appear?

#include getopt.h

and don't define any of the getopt variables yourself.

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



getopt(3) man page missing

2003-09-18 Thread Bryan Higgins
getopt(3) (referred to in getopt(1), by the way) seems to be missing from the
man pages.

Bryan Higgins, Albany, California

--
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: getopt(3) man page missing

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 12:57:23PM -0700, Bryan Higgins wrote:
getopt(3) (referred to in getopt(1), by the way) seems to be missing from the
man pages.

There is no getopt.3 man page.  getopt(1) is wrong.

--
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: getopt: ugly linker messages

2003-09-18 Thread Bryan Higgins
On Thu, 18 Sep 2003 15:56:07 -0400, Christopher Faylor wrote:

On Thu, Sep 18, 2003 at 12:53:22PM -0700, Bryan Higgins wrote:
How can I suppress the linker messages

Info: resolving _opterr by linking to __imp__opterr (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optopt by linking to __imp__optopt (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)

which now appear?

#include getopt.h

and don't define any of the getopt variables yourself.

Since POSIX getopt is handled in unistd.h, shouldn't the magic appear there?

there is no getopt(3)

Maybe there needs to be to document the need for getopt.h?

--
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: getopt: ugly linker messages

2003-09-18 Thread Christopher Faylor
On Thu, Sep 18, 2003 at 01:08:14PM -0700, Bryan Higgins wrote:
On Thu, 18 Sep 2003 15:56:07 -0400, Christopher Faylor wrote:
On Thu, Sep 18, 2003 at 12:53:22PM -0700, Bryan Higgins wrote:
How can I suppress the linker messages

Info: resolving _opterr by linking to __imp__opterr (auto-import)
Info: resolving _optarg by linking to __imp__optarg (auto-import)
Info: resolving _optopt by linking to __imp__optopt (auto-import)
Info: resolving _optind by linking to __imp__optind (auto-import)

which now appear?

#include getopt.h

and don't define any of the getopt variables yourself.

Since POSIX getopt is handled in unistd.h, shouldn't the magic appear there?

You can use unistd.h if you want.  If you knew this already why were you
asking the question?

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