RFC: [ITP] Installation Profiles packages

2005-11-08 Thread Igor Pechtchanski
As the latest installment in the recent series of major D'oh!s, I
realized that the installation profiles I previously proposed for setup
could be initially implemented as special packages with the right
dependences.  This still doesn't absolve us from adding some more
sophisticated support for these in setup (e.g., communicating the user
prerefence about creating desktop icons to them), but it's a start, and
it'll cut down on the I installed Cygwin, so how come gcc doesn't work
(and the much more annoying just install everything, it's only 2 gigs
answers to those).

IMO, these packages should be in a special new category (I propose the
name @Profiles to make setup put this at the top, but I don't know if
setup will parse this correctly).  I've attached a few sample profile
packages for commonly requested configurations with the corresponding
setup.hints.  We could probably concentrate them all in one directory
(thus the '@ ...' lines at the top of the hint files).  All the .tar.bz2
files are the same empty tarball -- it's the setup.hints that are
important.

Comments and other suggestions welcome.  Note that the attached packages
are an initial cut at defining those profiles -- I'm bound to have missed
something.  Also, I'm not proposing to maintain *all* of the profiles,
though I could maintain the ones I've attached, as there isn't too much
work involved.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

XWindows.tar.bz2
Description: Binary data
@ XWindows
category: @Profiles
requires: cygwin xorg-x11-base X-start-menu-icons
sdesc:Includes packages needed to set up an X server
ldesc:Profile for SSH server deployment.  The packages included in this
profile allow setting up and starting an X server on your machine.  In the
future this could include a postinstall script for creating a desktop icon,
etc.


WebServer.tar.bz2
Description: Binary data
@ WebServer
category: @Profiles
requires: cygwin apache2
sdesc:Includes packages needed to set up a web server
ldesc:Profile for SSH server deployment.  The packages included in this
profile allow setting up and starting a web server on your machine.


SSHServer.tar.bz2
Description: Binary data
@ SSHServer
category: @Profiles
requires: cygwin openssh
sdesc:Includes packages needed to set up an SSH server
ldesc:Profile for SSH server deployment.  The packages included in this
profile allow setting up and starting an SSH server on your machine.


LatexDevelopment.tar.bz2
Description: Binary data
@ LatexDevelopment
category: @Profiles
requires: cygwin tetex tetex-extra ghostscript ImageMagick
sdesc:Includes packages needed to build documents with LaTeX
ldesc:Profile for LaTeX document development.  The packages included in
this profile allow building documents using TeX/LaTeX, limited image
conversion, as well as PostScript to PDF conversion.


GCCDevelopment.tar.bz2
Description: Binary data
@ GCCDevelopment
category: @Profiles
requires: cygwin bash gcc make autoconf automake gdb upx
sdesc:Includes packages needed to build programs with GCC
ldesc:Profile for GCC development.  The packages included in this profile
allow compiling programs using GCC, running 'make', debugging programs using
'gdb', and running autotools.


RE: [ITP] Installation Profiles packages

2005-11-08 Thread Robb, Sam
 IMO, these packages should be in a special new category (I propose the
 name @Profiles to make setup put this at the top, but I 
 don't know if
 setup will parse this correctly).  I've attached a few sample profile
 packages for commonly requested configurations with the corresponding
 setup.hints.  We could probably concentrate them all in one directory
 (thus the '@ ...' lines at the top of the hint files).  All 
 the .tar.bz2
 files are the same empty tarball -- it's the setup.hints that are
 important.

Wow.  This sounds neat.

This would be particularly nice if setup.exe were modified so that on
an initial installation, it showed a profile selection page first,
instead of the package selection page.

The profile selection page would let the user choose one or more
profiles to install; the packages selected would be a union of the
dependencies from the profiles.  There could be a check box for
advanced package selection that the user could select if they
wanted to go to the regular package selection page.

Re-running setup.exe (for updates, as opposed to an installation)
would skip the profile selection page and go straight to the package
selection page.

-Samrobb





RE: [ITP] Installation Profiles packages

2005-11-08 Thread Igor Pechtchanski
On Tue, 8 Nov 2005, Robb, Sam wrote:

  IMO, these packages should be in a special new category (I propose the
  name @Profiles to make setup put this at the top, but I don't know
  if setup will parse this correctly).  I've attached a few sample
  profile packages for commonly requested configurations with the
  corresponding setup.hints.  We could probably concentrate them all in
  one directory (thus the '@ ...' lines at the top of the hint files).
  All the .tar.bz2 files are the same empty tarball -- it's the
  setup.hints that are important.

 Wow.  This sounds neat.

Yeah, I was surprised myself at how well it works out...

 This would be particularly nice if setup.exe were modified so that on an
 initial installation, it showed a profile selection page first,
 instead of the package selection page.

 The profile selection page would let the user choose one or more
 profiles to install; the packages selected would be a union of the
 dependencies from the profiles.  There could be a check box for
 advanced package selection that the user could select if they wanted
 to go to the regular package selection page.

 Re-running setup.exe (for updates, as opposed to an installation)
 would skip the profile selection page and go straight to the package
 selection page.

This sounds like the kind of support we might eventually have, but for
now, placing the @Profiles category first (which ought to happen
automatically anyway), and maybe having setup auto-expand it, should be
enough.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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


Re: RFC: [ITP] Installation Profiles packages

2005-11-08 Thread Christopher Faylor
On Tue, Nov 08, 2005 at 01:52:20PM -0500, Igor Pechtchanski wrote:
As the latest installment in the recent series of major D'oh!s, I
realized that the installation profiles I previously proposed for setup
could be initially implemented as special packages with the right
dependences.  This still doesn't absolve us from adding some more
sophisticated support for these in setup (e.g., communicating the user
prerefence about creating desktop icons to them), but it's a start, and
it'll cut down on the I installed Cygwin, so how come gcc doesn't work
(and the much more annoying just install everything, it's only 2 gigs
answers to those).

IMO, these packages should be in a special new category (I propose the
name @Profiles to make setup put this at the top, but I don't know if
setup will parse this correctly).  I've attached a few sample profile
packages for commonly requested configurations with the corresponding
setup.hints.  We could probably concentrate them all in one directory
(thus the '@ ...' lines at the top of the hint files).  All the .tar.bz2
files are the same empty tarball -- it's the setup.hints that are
important.

Comments and other suggestions welcome.  Note that the attached packages
are an initial cut at defining those profiles -- I'm bound to have missed
something.  Also, I'm not proposing to maintain *all* of the profiles,
though I could maintain the ones I've attached, as there isn't too much
work involved.

Assuming that Corinna agrees, I'm willing to put these in a directory in
release.

I'd like to get some consensus on the name Profiles, though.  Is that
adequately intuitive?

cgf


Re: [Patch] Setup: Warn about dropped mirrors.

2005-11-08 Thread Bas van Gompel
Op Wed,  2 Nov 2005 22:29:10 +0100 (MET) schreef Bas van Gompel
in n2m-g.dkbctp.3vv3gvj.1atbuzzy-box.bavag:
:  Op Wed, 19 Oct 2005 17:17:15 -0400 (EDT) schreef Igor Pechtchanski
[Using cached mirror-list]

:  I didn't add the info to last-mirror, because that would make for more
:  needlesly complicated code (IMO). I do add a comment to the newly
:  written mirrors-lst file, though.

[...]
:  --- setup/site.cc14 Oct 2005 04:23:14 -  2.40
:  +++ setup/site.cc2 Nov 2005 20:11:16 -
[...]
:  @@ -393,8 +575,16 @@ long
:   SitePage::OnNext ()
:   {
: HWND h = GetHWND ();
:  +  int cache_action;

Ouch, I missed a path through there which might leave cache_action
uninitialized. Therefore please apply following patch after this one.


--- setup/site.cc   2 Nov 2005 20:11:16 -
+++ setup/site.cc   8 Nov 2005 20:11:00 -
@@ -575,7 +575,7 @@ long
 SitePage::OnNext ()
 {
   HWND h = GetHWND ();
-  int cache_action;
+  int cache_action = CACHE_ACCEPT_NOWARN;
 
   save_dialog (h);


L8r,

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


Re: [ITP] libidn-0.5.20

2005-11-08 Thread Gerrit P. Haase

Dr. Volker Zell wrote:

Gerrit P Haase writes:



 Hmm, you may use --disable-gtk-doc, the docs are included and usable
 anyway.  I'll take a look later, though I need to rebuild because I have
 no logs and the build finished without hang, the script uses set -e /
 set -x, so it would have stopped if there was an error.

I've done that now and it compiles OK. But your script installs directly
in the system directories. I HATE THAT.



Yes, I'm sorry, I did so because I wanted to run the testsuite
automatically, since libtool is broken in this regard.  Another, better
option would be to add the build directories to the PATH before running
the testsuite.



Why don't you use the g-b-s for libidn ?


I used the two scripts for about two years now to update my local libidn
build, it works for me...  But I will switch using the g-b-s now.



And in libidn_doc-0.5.20-1.tar.bz2 I would rename

/usr/share/doc/libidn-0.5.20-1

to

/usr/share/doc/libidn-0.5.20


Ok, will do.


Gerrit
--
=^..^=


{Patch} Setup: Tell where we're downloading from.

2005-11-08 Thread Bas van Gompel
Hi,

Here is a patch to make setup tell where files are actually being
downloaded from.


ChangeLog-entry: (Please fix the at.)


2005-11-08  Bas van Gompel  patch-cygsup.buzzatbavag.tmfweb.nl

* geturl.cc (init_dialog): Tell where file is downloaded from.


--- setup/geturl.cc 5 May 2005 22:48:35 -   2.25
+++ setup/geturl.cc 8 Nov 2005 20:10:35 -
@@ -66,16 +66,29 @@ init_dialog (String const url, int leng
   if (is_local_install)
 return;
 
+  int n = 0;
+  char *buf;
+  char *first_component = buf = new_cstr_char_array (url);
+  for (char *ch = first_component; *ch  n  3 ; ch++)
+if (*ch == '/')
+  {
+   if (++n == 2)
+ first_component = ch + 1;
+   if (n == 3)
+ *ch = 0;
+  }
   char const *last_component = url.c_str();
   for (const char *ch = last_component; *ch; ch++)
 if (*ch == '/' || *ch == '\\' || *ch == ':')
   last_component = ch + 1;
   max_bytes = length;
   Progress.SetText1(Downloading...);
-  Progress.SetText2(last_component);
+  Progress.SetText2((String (last_component) +  from  + 
first_component).c_str());
   Progress.SetText3(Connecting...);
   Progress.SetBar1(0);
   start_tics = GetTickCount ();
+
+  delete [] buf;
 }
 
 
L8r,

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


Re: RFC: [ITP] Installation Profiles packages

2005-11-08 Thread Igor Pechtchanski
On Tue, 8 Nov 2005, Christopher Faylor wrote:

 On Tue, Nov 08, 2005 at 01:52:20PM -0500, Igor Pechtchanski wrote:
 As the latest installment in the recent series of major D'oh!s, I
 realized that the installation profiles I previously proposed for setup
 could be initially implemented as special packages with the right
 dependences.  This still doesn't absolve us from adding some more
 sophisticated support for these in setup (e.g., communicating the user
 prerefence about creating desktop icons to them), but it's a start, and
 it'll cut down on the I installed Cygwin, so how come gcc doesn't work
 (and the much more annoying just install everything, it's only 2 gigs
 answers to those).
 
 IMO, these packages should be in a special new category (I propose the
 name @Profiles to make setup put this at the top, but I don't know if
 setup will parse this correctly).  I've attached a few sample profile
 packages for commonly requested configurations with the corresponding
 setup.hints.  We could probably concentrate them all in one directory
 (thus the '@ ...' lines at the top of the hint files).  All the .tar.bz2
 files are the same empty tarball -- it's the setup.hints that are
 important.
 
 Comments and other suggestions welcome.  Note that the attached packages
 are an initial cut at defining those profiles -- I'm bound to have missed
 something.  Also, I'm not proposing to maintain *all* of the profiles,
 though I could maintain the ones I've attached, as there isn't too much
 work involved.

 Assuming that Corinna agrees, I'm willing to put these in a directory in
 release.

 I'd like to get some consensus on the name Profiles, though.  Is that
 adequately intuitive?

That's one of the things I wanted suggestions on.

BTW, I just noticed that the setup.hints as sent won't parse, since setup
treats @ at the start of a word as a separate character.  I'll need to
quote the categories (in which case we might as well put a space there and
call it @Installation Profiles, or even  Installation Profiles, to
ensure that they appear before the rest of the categories in the category
view).  Will upset parse quoted strings properly?

Other comments?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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


Wrong icons

2005-11-08 Thread Rodrigo Medina
HI,
In X-start-menu-icons-1.0.4 the X-icon has been replaced by an icon of VIM.
bye,
R.M.



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



documentation of run.exe

2005-11-08 Thread Rodrigo Medina
Hi,
Where can be found the documentation of run?
R.M.



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



Re: documentation of run.exe

2005-11-08 Thread Alexander Gottwald
On Tue, 2005-11-08 at 09:44 -0400, Rodrigo Medina wrote:
 Hi,
 Where can be found the documentation of run?

No one has written one so far. Lets try with this one:

RUN(1)  User Commands RUN(1)

NAME
run - start programs with hidden console

SYNOPSIS
run [-p path] command [-wait] arguments

runcommand [-p path] [-wait] argument

DESCRIPTION
Windows programs are either GUI programs or console programs. 
When  started, console  programs  will  either  attach  to an
existing console or create a new one. GUI programs can  never
attach to an exiting console. There is no way to attach to an
existing console but hide it if started as GUI program.

run will do this for you. It works  as intermediate and starts
a program but makes the console window hidden.

With -p path you can add path to the PATH environment variable.

Issuing -wait as first program  argument will make run wait for
program completition, otherwise it returns immediately.

The second variant is for  creating wrappers. If the executable
is named  runcommand (eg runemacs), run  will try  to start the
program (eg emacs).

EXAMPLES
run -p /usr/X11R6/bin xterm

run emacs -wait
runemacs -wait

run make -wait 

bye
ago


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


Re: Wrong icons

2005-11-08 Thread Alexander Gottwald
On Tue, 2005-11-08 at 09:30 -0400, Rodrigo Medina wrote:
 HI,
 In X-start-menu-icons-1.0.4 the X-icon has been replaced by an icon of VIM.

I can't reproduce this. 

With the last update I indeed added some icons (gvim, rxvt, emacs) to
match with the last upstream source. However, reinstalling
x-start-menu-icons creates shortcuts with X as icon. Maybe the gvim icon
was selected as run icon because it matched the display depth best. 



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


Re: Wrong icons

2005-11-08 Thread Tony Richardson
Alexander Gottwald alexander.gottwald at s1999.tu-chemnitz.de writes:

 
 On Tue, 2005-11-08 at 09:30 -0400, Rodrigo Medina wrote:
  HI,
  In X-start-menu-icons-1.0.4 the X-icon has been replaced by an icon of VIM.
 
 I can't reproduce this. 
 
 With the last update I indeed added some icons (gvim, rxvt, emacs) to
 match with the last upstream source. However, reinstalling
 x-start-menu-icons creates shortcuts with X as icon. Maybe the gvim icon
 was selected as run icon because it matched the display depth best. 

I had the same problem, perhaps the icon offsets were changed?

Changing the default icon offset from 2 to 4 (line 39)
of the script X-start-menu-icons.sh in /usr/X11R6/bin and then
rerunning the script restored the X icons.

Tony Richardson






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



winsup/cygwin ChangeLog Makefile.in cygwin.din ...

2005-11-08 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-11-08 22:08:39

Modified files:
cygwin : ChangeLog Makefile.in cygwin.din 
cygwin/include/cygwin: version.h 
Added files:
cygwin : memmem.cc 

Log message:
* memmem.cc: New file.
* include/cygwin/version.h: Bump API version number to 142.
* cygwin.din: Export memmem.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/memmem.cc.diff?cvsroot=uberbaumr1=NONEr2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.3190r2=1.3191
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/Makefile.in.diff?cvsroot=uberbaumr1=1.183r2=1.184
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/cygwin.din.diff?cvsroot=uberbaumr1=1.148r2=1.149
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=uberbaumr1=1.210r2=1.211



winsup/cygwin ChangeLog

2005-11-08 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-11-08 22:08:59

Modified files:
cygwin : ChangeLog 

Log message:
fix entry

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.3191r2=1.3192



winsup/cygwin ChangeLog fhandler.cc

2005-11-08 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]   2005-11-08 23:25:55

Modified files:
cygwin : ChangeLog fhandler.cc 

Log message:
* fhandler_base.cc (fhandler_base::readv): Free buf, not a pointer into 
the
middle of buf.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.3192r2=1.3193
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaumr1=1.244r2=1.245



qtparted unter Cygwin (font problem)

2005-11-08 Thread Sebastian Schuberth

Hi,

I'm trying to run qtparted on a remote Gentoo Linux machine and forward 
X11 via SSH to my local Windows / Cygwin machine. It basically works, 
but in qtparted's GUI I only see squares instead of a nice font.


I guess I'm missing a font in my local Cygwin X-server installation, but 
I already have installed all X11 / Qt related font stuff I was able to find.


Any clue which font I would need? Thanks in advance!

--
Sebastian Schuberth
(remove NOSP and M from my e-mail address)


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



audit log\'s

2005-11-08 Thread degrem03
Hi,

We want to know the audit logs with CYGWIN. We use the WIndows 2000 audit, but 
we need more information. In the sshd.log we can't see anything. What we must 
do?

Thanks you in advanced,

CLaudia


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



Automatic (Silent) Installation with specific packages ?

2005-11-08 Thread Harakiri
Hello,

is it possible to do a silent install of cygwin with
some additional libs ? I would like to bundle cygwin
with some already downloaded libs into another
application and distribute it using a custom windows
setup.exe

Is it possible to use a command line installer where
you specify a list of packages ?

thanks



__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

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



opendir,readdir

2005-11-08 Thread Fry, Chuck \(GE Trans\)
I'm new to Cygwin, and I'm trying to port some applications that run under HPUX 
10.20.
When recompiling under Cygwin one of the applications won't link because the 
linker
can't resolve getdirentries which is a HPUX function.  HP is obsolescing this 
function
and recommends that you rewrite this function using opendir and readdir 
functions.

My question is does Cygwin support these functions and if so  what library are 
they
located in.  They don't show up in the man pages, but the do show up in the man 
pages
on a pc running RedHat Linux.

Any help would be greatly appreciated.

Thanks

Chuck

Lead Specialist 
Assembly  Test Facility Design
Phone: (513) 243-3388
Dial Comm: 8 332-3388
Email: [EMAIL PROTECTED]

--
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: Wikipedia info about cygwin

2005-11-08 Thread Larry Hall (Cygwin)

Chan Kar Heng wrote:
This page should have all the authorative information that should be in 
that wiki page:


http://cygwin.com/faq/faq.html#faq.about

.. and especially this:

http://cygwin.com/history.html

Both the above word things in much better way  in more proper 
perspectives, as well as giving proper credit to people involved.



Or, better yet, just point to these Cygwin site pages from the wiki pages.
That way, the information is always valid, supported, and hopefully
useful.  As has been mentioned in the past, the Cygwin project can't be
responsible for maintaining documents about Cygwin if they aren't on the
Cygwin site or part of the distribution.  So the best place to go for good
information on Cygwin is the Cygwin site and it's associated docs.

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

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



Re: opendir,readdir

2005-11-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Fry, Chuck (GE Trans) on 11/8/2005 7:25 AM:
 I'm new to Cygwin, and I'm trying to port some applications that run under 
 HPUX 10.20.
 When recompiling under Cygwin one of the applications won't link because the 
 linker
 can't resolve getdirentries which is a HPUX function.  HP is obsolescing this 
 function
 and recommends that you rewrite this function using opendir and readdir 
 functions.

That is because opendir and readdir are specified by POSIX.

 
 My question is does Cygwin support these functions and if so  what library 
 are they
 located in.  They don't show up in the man pages, but the do show up in the 
 man pages
 on a pc running RedHat Linux.

The cygwin man pages are known to be incomplete.  The only portable way to
know for sure if a function is provided on a given platform is the method
that autoconf uses - try compiling an actual program that uses the
function and see if you get a link error (in this case, you won't, because
cygwin provides these two functions).  Less portably, you can download the
source code, and inspect winsup/cygwin/cygwin.din to see all functions
that are available in the standard link libraries (ie. you don't even need
a -l option to gcc).  Or grep the headers in /usr/include to see if it is
defined.

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

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

iD8DBQFDcLgK84KuGfSFAYARArlWAJ0T4xyykOhO6jUHh45QdxyZDKRFEQCfVpj2
SST1dgU+gtiZ+CnmMo4cBA4=
=lN42
-END PGP SIGNATURE-

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



Re: Wikipedia info about cygwin

2005-11-08 Thread Christopher Faylor
On Tue, Nov 08, 2005 at 09:30:20AM -0500, Larry Hall (Cygwin) wrote:
Chan Kar Heng wrote:
This page should have all the authorative information that should be in
that wiki page:

http://cygwin.com/faq/faq.html#faq.about

..  and especially this:

http://cygwin.com/history.html

Both the above word things in much better way  in more proper
perspectives, as well as giving proper credit to people involved.

Or, better yet, just point to these Cygwin site pages from the wiki
pages.  That way, the information is always valid, supported, and
hopefully useful.  As has been mentioned in the past, the Cygwin
project can't be responsible for maintaining documents about Cygwin if
they aren't on the Cygwin site or part of the distribution.  So the
best place to go for good information on Cygwin is the Cygwin site and
it's associated docs.

Does someone want to make that an action item?

And, anyone interested in moving the Cygwin history beyond the
aggrandizing of Steve Chamberlain and the first few years of
development?

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: running gdb and attaching back: why doesn't this work?

2005-11-08 Thread Christopher Faylor
On Mon, Nov 07, 2005 at 11:13:17PM -0800, mario rossi wrote:
Hi, 
I've been trying to run gdb from a thread to get a
stack trace of such thread...but it doesn't seem to
work as expected under cygwin. The code I tried is
attached below.

The output I get from the code is:

[Switching to thread 3420.0xab0]
* 4 thread 3420.0xab0  0x77f75a59 in
ntdll!DbgUiConnectToDbg () from
/c/WINDOWS/System32/ntdll.dll
  3 thread 3420.0xe24  0x7ffe0304 in ?? ()
  2 thread 3420.0xfa4  0x7ffe0304 in ?? ()
  1 thread 3420.0xffc  0x7ffe0304 in ?? ()
[Switching to thread 1 (thread 3420.0xffc)]#0 
0x7ffe0304 in ?? ()
#0  0x7ffe0304 in ?? ()
#1  0x77f5c524 in ntdll!ZwWaitForMultipleObjects ()
from
/c/WINDOWS/System32/ntdll.dll
#2  0x77e75f0b in WaitForMultipleObjectsEx () from
/c/WINDOWS/system32/kernel32.dll
#3  0x0002 in ?? ()
#4  0x0022dc1c in ?? ()
#5  0x0001 in ?? ()
#6  0x in ?? () from

Now, thread 1 is in fact the one running main() and
the called functions, but it doesn't show the proper
stack trace. I can verifty that thread 1 is the right
one by attaching one more gdb started manually to the
very same app. If I do that and type info threads I
get:
* 4 thread 3420.0xfc0  0x77f75a59 in
ntdll!DbgUiConnectToDbg () from
/c/WINDOWS/System32/ntdll.dll
  3 thread 3420.0xe24  0x7ffe0304 in ?? ()
  2 thread 3420.0xfa4  0x7ffe0304 in ?? ()
  1 thread 3420.0xffc  f () at test.c:31

Any Idea what might be wrong, and how to solve it?

If you are inspecting a stack trace from a thread that is running in a
kernel function, then unfortunately, there is no stack frame information
available and the trace will be either wrong or incomplete.

It's an annoyance, I know.

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: Wikipedia info about cygwin

2005-11-08 Thread Jörg Schaible
Christopher Faylor wrote on Tuesday, November 08, 2005 3:56 PM:

[snip]
 Does someone want to make that an action item?
 
 And, anyone interested in moving the Cygwin history beyond
 the aggrandizing of Steve Chamberlain and the first few years
 of development?

Why? Has there ever been a better version as B20?



- Jörg

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



cygpath fails with snapshot 20051106

2005-11-08 Thread Rodrigo Medina
Hi,
With cygwin1.ddl-1.5.18:

$ cygpath -H
/cygdrive/c/Documents and Settings

With cygwin1-20051106.dll:

$ cygpath -H
%SystemDrive%/Documents and Settings

bye,
R.M.



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



nfs problems

2005-11-08 Thread Rodrigo Amestica
I have a w2k box running cygwin and in particular the nfs-server. Then I 
have serge debian box with the standard stuff.


It seems that nfs-server is not able to actually make available stuff 
outside the cygwin root. Is this a hard fact or is there space for a 
misconfiguration?


in the w2k box I have installed cygwin under c:\Optional\cygwin and I 
have used --change-cygdrive-prefix for changing the prefix to '/'.


c: and d: are local hard drives in the w2k machine.

My output is shown below. Trying to mount /c gives a catastrophic error 
output, trying to mount /d seems to be less serious but a failure 
anyhow. Mounting / works great.


cygwin is great stuff and nfs-server is valuable. I would like to know 
whether I'm doing something wrong or whether I'm just hitting the limits.


thanks,
 Rodrigo

# mount -t nfs remote:/c /mnt/remote
mount: wrong fs type, bad option, bad superblock on
remote:/c,
   missing codepage or other error
   In some cases useful info is found in syslog -
try


   dmesg | tail  or so

# dmesg -c
nfs_get_root: getattr error = 116
nfs_read_super: get root inode failed
nfs warning: mount version older than kernel
nfs_get_root: getattr error = 116
nfs_read_super: get root inode failed


# mount -t nfs remote:/d /mnt/remote
mount: remote:/d failed, reason given by server: No
such file or directory
# dmesg -c
# mount -t nfs remote:/ /mnt/remote
# ls
/mnt/remote
/
bin  cygwin.bat  cygwin.ico  etc  home  lib  tmp  usr
var

--
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: Wikipedia info about cygwin

2005-11-08 Thread Christopher Faylor
On Tue, Nov 08, 2005 at 04:21:45PM +0100, J?rg Schaible wrote:
Christopher Faylor wrote on Tuesday, November 08, 2005 3:56 PM:

[snip]
 Does someone want to make that an action item?
 
 And, anyone interested in moving the Cygwin history beyond
 the aggrandizing of Steve Chamberlain and the first few years
 of development?

Why? Has there ever been a better version as B20?

Steve Chamberlain was completely out of the picture by that point.  In
fact, that was the second version in which I was directly involved, IIRC.
I think by that point it was me, DJ Delorie, and Geoff Noer.

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/



[ANNOUNCEMENT] Updated: CMake-2.2.2-1

2005-11-08 Thread William A. Hoffman
CMake 2.2.2-1 is now available on Cygwin mirrors.

There has been a new release of the official cmake (2.2.2-1).
This is a major release from 2.0.6 to 2.2.2.

Changes in CMake 2.2.2:
- Fix a memory overrun in EXEC_PROGRAM on windows
- Use GetFileAttributesEx for windows stat
- Remove -fpic flags for gnu c++ on windows
- Link targets with relative paths to the .o files
- Add a RELATIVE_PATH option to the FILE command.
- Add a SUBSTRING/LENGTH commands to the STRING command.
- Move the .SILENT to the top of the makefile to get nmake to be quite.
- Fix performance problem in check build system stage with make/nmake
- Remove the -lgcc that was automatically added by cmake to gcc shared libs.
- Look for java 1.5
- Fix custom targets and depend target
- Fix in parser to allow double quoted strings to correctly pass into 
TRY_COMPILE.
- Fix GET_TEST_PROPERTY command.
- Fix CTEST_MEMCHECK command so that it does memory checking instead of testing.
- Fix output of expected failed tests to test passed.
- Fix documentation for cmake -P, and -C.
- Fix -P with relative paths, and fix error messages.
- Fix problems with quotes in definition values and visual studio 7.x
- Fix install problem with missing mfc dlls

Changes in CMake 2.2.1:
- 2.2.1 is a new beta and was merged with CVS on 9/06/05.
- fix infinite loop problem in enable language/trycompile
- The makefile generator was redone to create fewer files.
- Xcode 2.1 support added.
- better support for add custom command with relative files as arguments
- provided default update options if none are provided to ctest
- For file removal if the file is a symlink treat it like a file and not a 
directory.
- Better install directory for windows.
- AIX compiler flag defaults.
- Objc++ test has the correct case.
- Language NONE fixed.
- Java 1.5 searched now.
- FindCurses cleaned up.
- FindQt/FindQt3/FindQT4 enhanced.
- UseSwig supports CMAKE_SWIG_OUTDIR
- Modules/ProjectCompatibility.cmake file supported.
- Modules/VTKCompatibility.cmake file added for Darwin builds
- optimized is now the default library used if CMAKE_BUILD_TYPE is not set.
- many bug fixes from 2.2.0.

Changes in CMake 2.2.0:

- CTest Improved coverage code
- Improved CTest -S scripts, new commands, and access to individual testing 
handlers
- CTest test handler now supports arbitrary CMake syntax in DartTestfile.txt
- CTest now supports both DartTestfile.txt and CTestTestfile.cmake
- CTest now supports both DartConfiguration.tcl and CTestConfiguration.cmake
- CTest now supports configuration from Source tree in file CTestConfig.cmake
- CTest supports logging output into a file
- CTest supports compressed submission files
- Speed improvements
- new makefile generator
- no longer re-read cmakelist files only get parent cmakelist file
- out of source source
- ADD_SUBDIRECTORY
- new parser variables in variables
- support for dart2
- Xcode 1.5 support 
- fortran support
- not compatible with cmake 1.2
- FOREACH uses variables 
- Kdevelop3 generator
- WHILE command
- lower case commands now supported
- parallel build support better, jump problem fixed
- lots of bug fixes and new bugs

See www.cmake.org for more information.

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.



Bill Hoffman 
Cygwin CMake maintainer 


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



Inetd running slow

2005-11-08 Thread Stephen Patterson
Hi all

I've installed inetutils  uw-imapd on cygwin, registered inet as a
windows XP service (which starts OK) and I'm running uw-imapd through
inetd. Inetd  uw-imap are slow to respond when I connect to them
locally.

Info from event viewer, application log on starting inetd
The description for Event ID ( 0 ) in Source ( inetd ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: inetd : PID 4060 : `inetd' service
started.

Info from event viewer, application log on connecting to uw-imap
The description for Event ID ( 0 ) in Source ( uw-imapd ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: uw-imapd : PID 4052 : imap service
init from 127.0.0.1.

Does anyone know what could be causing these messages?  I've added
cygwin's /usr/sbin and /bin to the system PATH (as mentioned on an
earlier post).

--
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: Inetd running slow

2005-11-08 Thread Larry Hall (Cygwin)

Stephen Patterson wrote:

Hi all

I've installed inetutils  uw-imapd on cygwin, registered inet as a
windows XP service (which starts OK) and I'm running uw-imapd through
inetd. Inetd  uw-imap are slow to respond when I connect to them
locally.

Info from event viewer, application log on starting inetd
The description for Event ID ( 0 ) in Source ( inetd ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: inetd : PID 4060 : `inetd' service
started.

Info from event viewer, application log on connecting to uw-imap
The description for Event ID ( 0 ) in Source ( uw-imapd ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: uw-imapd : PID 4052 : imap service
init from 127.0.0.1.

Does anyone know what could be causing these messages?  



Yes, they are generated by 'inetd' starting and the initialization of
the 'imap' service.  These are informational messages.  You don't need
to be concerned about them.


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

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



RE: Inetd running slow

2005-11-08 Thread Dave Korn
Larry Hall (Cygwin) wrote:
 Stephen Patterson wrote:
 Hi all
 
 I've installed inetutils  uw-imapd on cygwin, registered inet as a
 windows XP service (which starts OK) and I'm running uw-imapd through
 inetd. Inetd  uw-imap are slow to respond when I connect to them
 locally. 

 Does anyone know what could be causing these messages?
 
 
 Yes, they are generated by 'inetd' starting and the initialization of
 the 'imap' service.  These are informational messages.  You don't need
 to be concerned about them.


  Which leaves us still with the slow to respond problem to understand.

  How slow to respond actually are they?  Is your PFW or AV software
interfering perhaps?  Or is uw-imap equally slow to respond when fired up from
the command line?


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


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



php5 on cygwin

2005-11-08 Thread [EMAIL PROTECTED]

Hello,

I had a brief communication with Tod on this mailing of his -

http://sources.redhat.com/ml/cygwin/2005-10/msg00077.html

I managed to compile Apache 1.3.34 and php 5.1 RC4 on cygwin and Tod 
suggested that I post it to the list for reference.


Here are the steps -

1. Get latest cygwin and the following packages -

bison, cvs, flex, gcc, gd, grep, keychain, libtool1.5, libxml, libxml2, 
libxml2-devel, make, openssh, perl, readline, rsync, unzip, vim, whois, zip


These are all packages I have and use. Some of them I had to install 
because Apache or php needed them, but I did not keep track which were 
for what. You can experiment by removing some that seem unneeded and see 
where it will stop working.


For sure you will need bison, flex, gcc, some of the libxml packages, 
make and readline.


2. Unzip the Apache source

In the Apache source directory type -

./configure

And press Enter.

3. Unzip the php source

In the php source directory type -

./configure --with-apache=[PATH TO APACHE SOURCE DIRECTORY FROM POINT 
1.] --with-pgsql


I use PostgreSQL so I quote it literally. Perhaps it would work with 
another database too and perhaps it will work without. Note that I did a 
default compile of PostgreSQL 8.0.4 from sources. I am _not_ sure if you 
get it as cygwin package that this way it will work, as I suspect that 
the cygwin PostgreSQL package is not installed in the same locations as 
if you compile PostgreSQL from source.


4. Still in the php source directory

make
make install

5. Go back to the Apache source directory

./configure --activate-module=src/modules/php5/libphp5.a
make
make install

Then configure httpd.conf by adding index.php to the indexes and -

AddType application/x-httpd-php .php

somewhere else.

This way of installing makes Apache to compile with php so that php is 
somehow embedded into Apache.


That's all. Start apache and you should have it.

If somebody has questions, I'll be glad to answer.

All best,
Iv


--
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: php5 on cygwin

2005-11-08 Thread Reini Urban
2005/11/8, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 ./configure --with-apache=[PATH TO APACHE SOURCE DIRECTORY FROM POINT
 1.] --with-pgsql

 I use PostgreSQL so I quote it literally. Perhaps it would work with
 another database too and perhaps it will work without. Note that I did a
 default compile of PostgreSQL 8.0.4 from sources. I am _not_ sure if you
 get it as cygwin package that this way it will work, as I suspect that
 the cygwin PostgreSQL package is not installed in the same locations as
 if you compile PostgreSQL from source.

There are the binary cygwin packages for postgresql, just in test.
built yesterday
  (8.0.4 and 8.1.0)
  http://xarch.tu-graz.ac.at/publ/cygwin/release/postgresql/

In README is the binary layout. It should work OOTB.
--
Reini Urban

--
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: Automatic (Silent) Installation with specific packages ?

2005-11-08 Thread Roy Wiseman

Hi,

I would also love an answer to this question. Please
upgrade setup.exe to allow this ? I would very very
much like to be able to do this as having to manually
select the packages every time is quite ime consuming
when you install on multiple systems. Having a list
that setup.exe looks at and gets the mirror to use and
the packages to install and then just installs what
you want silently would make the process so much
easier (and also mean that you know you get your
carefully selected packages every time !)

Thanks,

Roy.


--- Harakiri [EMAIL PROTECTED] wrote:

 Hello,
 
 is it possible to do a silent install of cygwin with
 some additional libs ? I would like to bundle cygwin
 with some already downloaded libs into another
 application and distribute it using a custom windows
 setup.exe
 
 Is it possible to use a command line installer where
 you specify a list of packages ?
 
 thanks
 
 
   
 __ 
 Start your day with Yahoo! - Make it your home page!
 
 http://www.yahoo.com/r/hs
 
 --
 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 much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

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



Re: Automatic (Silent) Installation with specific packages ?

2005-11-08 Thread Igor Pechtchanski
Ugh, top-posting...  Reformatted.

On Tue, 8 Nov 2005, Roy Wiseman wrote:

 --- Harakiri [EMAIL PROTECTED] wrote:

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

  is it possible to do a silent install of cygwin with
  some additional libs ? I would like to bundle cygwin
  with some already downloaded libs into another
  application and distribute it using a custom windows
  setup.exe
 
  Is it possible to use a command line installer where
  you specify a list of packages ?

 I would also love an answer to this question. Please
 upgrade setup.exe to allow this ? I would very very
 much like to be able to do this as having to manually
 select the packages every time is quite ime consuming
 when you install on multiple systems. Having a list
 that setup.exe looks at and gets the mirror to use and
 the packages to install and then just installs what
 you want silently would make the process so much
 easier (and also mean that you know you get your
 carefully selected packages every time !)

The OP was asking two separate questions: (a) is it possible to specify a
list of packages that setup would automatically install, and (b) is there
a command-line installer available.  The answer to (b) is no.  The
answer to (a) (which is what you seem to be asking as well) is most
definitely yes.

I've posted this recipe a few times already: create an empty package on
your own server, put it in the Base category (which is what setup.exe
selects by default on new installs), and make that package depend on the
packages you want installed.  You'll need to create a custom setup.ini
file (see http://sourceware.org/cygwin-apps/package-server.html), but
don't need to create a full-fledged mirror (i.e., having the users select
both your mirror and some other mirror will also work).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



RE: How to run cygwin sshd as a domain user?

2005-11-08 Thread Dave Korn
Xing Qiu wrote:

 No, I tried that, and it didn't work.  As far as I understand, cygrunsrv
 is just a wrapper to run some daemon in the background. I simply can't
 start sshd with my own user.  Below are the error messages:
 
 $ /usr/sbin/sshd.exe -d
 debug1: sshd version OpenSSH_4.1p1
 Could not load host key: /etc/ssh_host_key
 Could not load host key: /etc/ssh_host_rsa_key
 Could not load host key: /etc/ssh_host_dsa_key
 Disabling protocol version 1. Could not load host key
 Disabling protocol version 2. Could not load host key
 sshd: no hostkeys available -- exiting.
 
 Here is the result of ls -lh /etc/ssh* :
 
 $ ls -lh /etc/ssh*
 -rwx--  1 SYSTEM SYSTEM  1.3K Nov  4 15:03 /etc/ssh_config
 -rw---  1 SYSTEM SYSTEM   668 Oct 30 19:37 /etc/ssh_host_dsa_key
 -rw-r--r--  1 SYSTEM SYSTEM   600 Oct 30 19:37
 /etc/ssh_host_dsa_key.pub 
 -rw---  1 SYSTEM SYSTEM   525 Oct 30 19:37 /etc/ssh_host_key
 -rw-r--r--  1 SYSTEM SYSTEM   329 Oct 30 19:37 /etc/ssh_host_key.pub
 -rw---  1 SYSTEM SYSTEM   883 Oct 30 19:37 /etc/ssh_host_rsa_key
 -rw-r--r--  1 SYSTEM SYSTEM   220 Oct 30 19:37
 /etc/ssh_host_rsa_key.pub 
 -rw-r--r--  1 xqiu   mkgroup-l-d 2.8K Nov  4 15:03 /etc/sshd_config

 Should I go ahead change the ownership of /etc/ssh* ?



  How about re-running ssh-host-config, which contains code to set the
perms/ownership correctly?


  (If you insist on doing it manually, SYSTEM is fine for owner, but you
want Domain Users for the group).

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


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



Re: To continue file name

2005-11-08 Thread Alex Vinokur

Dave Korn wrote in message news:[EMAIL PROTECTED]
 Alex Vinokur wrote:
  Dave Korn wrote in message
  news:[EMAIL PROTECTED]
  Alex Vinokur wrote:
  Hi,
 
  For instance, directory contains files abcd, xyz, f123.
  For instance, I print 'a' and don't want to print 'bcd'.
  How can Cygwin continue file name automatically.
 
In bash shell, you just press TAB to complete the filename. [snip]
 
  I tried to do that. Doesn't work.

   It does.

Yes, it works fine with TAB.

[snip]

Thanks.

-- 
 Alex Vinokur
 email: alex DOT vinokur AT gmail DOT com
 http://mathforum.org/library/view/10978.html
 http://sourceforge.net/users/alexvn






--
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: Old versions of setup.exe

2005-11-08 Thread Peter A. Castro

On Sun, 6 Nov 2005, Igor Pechtchanski wrote:


On Sun, 6 Nov 2005, Scott Cegielski wrote:


Are older versions of setup.exe kept around?  Last time I installed
cygwin, I also installed cygnome and it would crash setup using the
current version at the time.  I had to finad version 2.340.2.5 of setup
and use that.


Well, it stands to reason, then, to try the newest version of setup, not
embark on quests for older ones.  Why not try the latest snapshot[*] and,
only if that fails too, report this as a bug and grab an older version?


So far, setup has been backwards compatable with older versions of
the Cygwin distribution.  Trying the latest setup.exe is always advisable.


Is there an archive of these versions somewhere?


If the newest snapshot doesn't work for you, you can try grabbing the one
you want from the Cygwin Time Machine (Google for it).  Note that
anything you get from there is unsupported on this list.


Unfortunately, the Cygwin Time Machine hasn't been archiving setup.exe
(at least not consistently).  The top of /pub/cygwin/ always has the
latest setup.exe (and setup.ini), but the Time Machine hasn't been
archiving it because there's no automatic way to extract the version
number from it.

There is a setup-snapshots dir that has a smattering of older setup
versions, but keeping it up to date with the latest  versioning it
appropriately isn't something I've automated (yet).  Even
http://cygwin.com/setup-snapshots/ doesn't have the latest setup.exe.

I'd also like to point out that the setup source is not being distributed
anymore as part of the cygwin release.  The last source dist was
setup-2.427-1-src.tar.bz2 (back on 2004-04-25).  It would really be nice
if setup was treated as just another package and distributed as such, but
I understand the work involved and so I haven't actively pushed for this
until now.

Brian,
  How hard would it be to generate a source  binary dist each time a
release of setup is made?  Or, at the lease, could the version number
be stored as a string with some eye-catcher tag so that it can easily be
extracted?  Pretty please?


HTH,
Igor
[*] The snapshots are usually at http://cygwin.com/setup-snapshots/.
However, in this case, the snapshot is temporarily residing at
http://cs.nyu.edu/~pechtcha/cygwin/setup-2.513-1-alpha.exe.  I've Cc'd
the cygwin-apps list for the following request to the setup maintainer:
Brian, all the patches in that version are already in CVS.  Can we get
a new setup snapshot out, please?


--
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

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



1.5.18 readv segmentation fault

2005-11-08 Thread Hirsch, Matthew

Hi list,

I have an application that depends on readv.  I updated cygwin in the
last couple of months, and the program stopped working. 

I had previously found a problem with readv
(http://sourceware.org/ml/cygwin/2003-07/msg01626.html).  The simple
test case submitted with that previous inquiry produces a segmentation
fault in cygwin1.dll version 1.5.18 on the readv call.

Unfortunately I do not know the most recent working cygwin1.dll version
number.  The patch that cgf provided after my 2003 email solved that
problem, at the time.

Thanks for any help you can offer!
Matt



The information transmitted in this message is confidential and may be 
privileged.  Any review, retransmission, dissemination, or other use of this 
information by persons or entities other than the intended recipient is 
prohibited.  If you are not the intended recipient, please notify Analogic 
Corporation immediately - by replying to this message or by sending an email to 
[EMAIL PROTECTED] - and destroy all copies of this information, including any 
attachments, without reading or disclosing them.

Thank you.

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

RE: Old versions of setup.exe

2005-11-08 Thread Dave Korn
Peter A. Castro wrote:

 Unfortunately, the Cygwin Time Machine hasn't been archiving setup.exe
 (at least not consistently).  The top of /pub/cygwin/ always has the
 latest setup.exe (and setup.ini), but the Time Machine hasn't been
 archiving it because there's no automatic way to extract the version
 number from it.


  Well, ...

[EMAIL PROTECTED] /tmp strings setup.exe | grep setup-version | cut -d ' ' -f 3
2.521
[EMAIL PROTECTED] /tmp


 ... will work on every version as far back as

2000-09-07  DJ Delorie  [EMAIL PROTECTED]

* splash.cc: use version.h, not local decl
* res.rc: add old version message
* resource.h: ditto
* version.h: new
* fromcwd.cc (canonicalize_version): make global
* iniparse.y: add setup-version support, fix bug in blank line
handling

* inilex.l: add [exp] as alias for [test], add setup-version
* Makefile.in (version.c): add setup-version tag

* desktop.cc (do_desktop): remove 1.1 version number
(do_desktop_setup): ditto

* ini.cc (do_ini): zero out package list just in case we redo it.


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


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



Re: php5 on cygwin

2005-11-08 Thread [EMAIL PROTECTED]

There are the binary cygwin packages for postgresql, just in test.
built yesterday
  (8.0.4 and 8.1.0)
  http://xarch.tu-graz.ac.at/publ/cygwin/release/postgresql/

In README is the binary layout. It should work OOTB.
--
Reini Urban


My experience is that the cygwin packaged PostgreSQL is placed in 
different places than if compiled from sources. This leads to 
difficulties compiling Apache w/ php without specifying where PostgreSQL 
is. That's why I compiled PostgreSQL, so that it can go to its default 
location.


But could be that I am completely wrong. Did not test extensively - just 
until what I needed started to work.



--
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: futimes fails on file open for read

2005-11-08 Thread Yitzchak Scott-Thoennes
On Mon, Nov 07, 2005 at 06:08:40PM +0100, Corinna Vinschen wrote:
 On Nov  6 23:34, Yitzchak Scott-Thoennes wrote:
  The following gives:
  
  futimes returned: -1 (Permission denied)
  
  I'm told it succeeds on linux; is it even possible for it to work on
  cygwin or am I SOL?
 
 I've created a patch for this.  It will show up in the next snapshot.

All is well with 20051108, thanks.

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



unexpected failure of cygwin32_winpid_to_pid

2005-11-08 Thread Yitzchak Scott-Thoennes
Using 20051108, I just saw failures twice in tests of the perl binding
for cygwin32_winpid_to_pid, but no failure on every try since.  The
test looks like:

my $catpid = open my $cat, |cat or die Couldn't cat: $!;
open my $ps, ps| or die Couldn't do ps: $!;
my ($catwinpid) = map /^.\s+$catpid\s+\d+\s+\d+\s+(\d+)/, $ps;
close($ps);

is(Cygwin::winpid_to_pid($catwinpid), $catpid, winpid to pid);
is(Cygwin::pid_to_winpid($catpid), $catwinpid, pid to winpid);
close($cat);

in perl, where Cygwin::winpid_to_pid internally just calls
cygwin32_winpid_to_pid.  I'm not able to think of any way in which
system load or a race could cause this failure.  Any suggestions?

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



ln, ls or readline problem?

2005-11-08 Thread Carlo Florendo

Hello,

In my home directory named /home/Carlo, I have a directory named  foo 
and under foo is the directory bar:


$ ls -ld foo
drwxr-xr-x  3 Carlo None 0 Nov  9 08:46 foo

$ ls -ld foo/bar
drwxr-xr-x  2 Carlo None 0 Nov  9 08:46 foo/bar

I also have a symbolic link to foo/bar on my home directory named bar2:

$ ls -ld bar2
lrwxrwxrwx  1 Carlo None 7 Nov  9 08:47 bar2 - foo/bar

Here's the problem:

When I  do a `cd bar2' and do an `ls -l ../', here's what I get:

$ pwd
/home/Carlo

$ cd bar2

$ pwd
/home/Carlo/bar2

$ ls -l ../
total 0
drwxr-xr-x  2 Carlo None 0 Nov  9 08:46 bar

As you can see, it shows only `bar' (since ls obviously looks under 
/home/Carlo/foo)


However, when I go inside bar2, and press the  TAB after `ls -l ../', 
I get the contents of  /home/Carlo:


$ cd /home/Carlo

$ pwd
/home/Carlo

$ cd bar2

$ pwd
/home/Carlo/bar2

$ ls -l ../PRESSED THE  TAB KEY HERE
.addressbook   desktop/
.addressbook.ludicom.txt.bak
.aspell.en.prepl   dicom_capture
.bash_history  foo/
.bash_profile  fop-0.20.5-bin.tar.gz
.bashrcidentity
.cvspass   index.html
.ddd/  index.php

In other words, the output of `ls -l ../ shows the contents of the 
directory relative to the target path of the symbolic link while `ls -l 
../PRESSED TAB' shows the contents of the directory above the symbolic 
link.


Which is incorrect, the output of `ls -l ../', or the output of `ls -l 
../PRESSED TAB'?


Thanks!

Best Regards,

Carlo

--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


--
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: ln, ls or readline problem?

2005-11-08 Thread Eric Blake
 $ ls -ld bar2
 lrwxrwxrwx  1 Carlo None 7 Nov  9 08:47 bar2 - foo/bar
 
 Here's the problem:
 
 When I  do a `cd bar2' and do an `ls -l ../', here's what I get:

Known problem.  Cygwin takes a shortcut and treats name/.. as
though it were a single ., which unfortunately is counter to posix
when name was a symlink.  The problem is that patching cygwin
is likely to slow down the common case, so the cygwin developers
have chosen speed over correctness for the moment on this issue.

--
Eric Blake



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



Re: ln, ls or readline problem?

2005-11-08 Thread Larry Hall (Cygwin)

Eric Blake wrote:

$ ls -ld bar2
lrwxrwxrwx  1 Carlo None 7 Nov  9 08:47 bar2 - foo/bar

Here's the problem:

When I  do a `cd bar2' and do an `ls -l ../', here's what I get:



Known problem.  Cygwin takes a shortcut and treats name/.. as
though it were a single ., which unfortunately is counter to posix
when name was a symlink.  The problem is that patching cygwin
is likely to slow down the common case, so the cygwin developers
have chosen speed over correctness for the moment on this issue.



And I can't remember if this came up in that original thread but I see
the same behavior as described by the OP on Linux (FC4).


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

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



Re: ln, ls or readline problem?

2005-11-08 Thread Eric Blake
  
  Known problem.  Cygwin takes a shortcut and treats name/.. as
  though it were a single ., which unfortunately is counter to posix
  when name was a symlink.  The problem is that patching cygwin
  is likely to slow down the common case, so the cygwin developers
  have chosen speed over correctness for the moment on this issue.
 
 
 And I can't remember if this came up in that original thread but I see
 the same behavior as described by the OP on Linux (FC4).

Then maybe my initial evaluation was a bit hasty - it looks like the OP
is calling ls without any name before .., so it does not actually tickle
the cygwin bug.  To actually see the cygwin bug, note that on
cygwin, ls bar2/.. does the same as ls ., whereas on Linux,
it is the same as ls foo/bar/.. or ls foo.

One other thing to remember - POSIX specifies that cd takes an
optional argument -P or -L, but by default it uses -L.  When you
do cd -L bar2, the shell remembers that bar2 is a symlink on
as part of the current logical directory name, and since readline
is built into the shell, it treats an unqualified .. as relative to the
logical directory during TAB completion.  But ls is not allowed by
POSIX to use logical directories, so ls .. behaves the same
whether you did cd -L bar2 or cd -P bar2.  Meanwhile, if
you do cd -P bar2, then the shell will know that your physical
location really is foo/bar, so that readline would then treat .. as
relative to the physical directory just as ls does.

So, I retract my earlier statement that this is a bug in cygwin,
because in this particular case, you are seeing everything
working as designed.

--
Eric Blake



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



Re: Winzip Zip

2005-11-08 Thread nidhog
On 11/7/05, zzapper [EMAIL PROTECTED] wrote:
 Hi,
 Everyone knows the very useful Winzip, however some pretty clever automatic 
 stuff can be done
 using CygWins zip


 # zip a webroot but only html or php files
 zip.exe  -r web.zip c:/intranet/web/ -i *.php *.htm*

 # zip a list of files where  list.txt contains one file name per line
 zip all.zip -@  list.txt

 find . -name *.[ch] -print | zip source -@

 Now you can start using the above for a regular backup if you link them to a 
 cron

nice tips!

used to use zip for backups a long time ago... then tar.gz... now i use rsync.

best,
--
/nh

--
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: unexpected failure of cygwin32_winpid_to_pid

2005-11-08 Thread Yitzchak Scott-Thoennes
On Tue, Nov 08, 2005 at 04:17:41PM -0800, Yitzchak Scott-Thoennes wrote:
 Using 20051108, I just saw failures twice in tests of the perl binding
 for cygwin32_winpid_to_pid, but no failure on every try since.  The
 test looks like:
 
 my $catpid = open my $cat, |cat or die Couldn't cat: $!;
 open my $ps, ps| or die Couldn't do ps: $!;
 my ($catwinpid) = map /^.\s+$catpid\s+\d+\s+\d+\s+(\d+)/, $ps;
 close($ps);
 
 is(Cygwin::winpid_to_pid($catwinpid), $catpid, winpid to pid);
 is(Cygwin::pid_to_winpid($catpid), $catwinpid, pid to winpid);
 close($cat);
 
 in perl, where Cygwin::winpid_to_pid internally just calls
 cygwin32_winpid_to_pid.  I'm not able to think of any way in which
 system load or a race could cause this failure.  Any suggestions?

Hmm, I thought I had ruled out exec() of cat failing, but now I don't 
think so; probably that's what it is, so please disregard this 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: 1.5.18 readv segmentation fault

2005-11-08 Thread Christopher Faylor
On Tue, Nov 08, 2005 at 02:20:19PM -0500, Hirsch, Matthew wrote:

Hi list,

I have an application that depends on readv.  I updated cygwin in the
last couple of months, and the program stopped working. 


I had previously found a problem with readv
(http://sourceware.org/ml/cygwin/2003-07/msg01626.html).  The simple
test case submitted with that previous inquiry produces a segmentation
fault in cygwin1.dll version 1.5.18 on the readv call.

Unfortunately I do not know the most recent working cygwin1.dll version
number.  The patch that cgf provided after my 2003 email solved that
problem, at the time.

Thanks for any help you can offer!

This should be fixed in the latest snapshot: http://cygwin.com/snapshots/

cgf

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



Re: cygpath fails with snapshot 20051106

2005-11-08 Thread Christopher Faylor
On Tue, Nov 08, 2005 at 11:22:04AM -0400, Rodrigo Medina wrote:
Hi,
With cygwin1.ddl-1.5.18:

$ cygpath -H
/cygdrive/c/Documents and Settings

With cygwin1-20051106.dll:

$ cygpath -H
%SystemDrive%/Documents and Settings

This should be fixed in the latest snapshot.

http://cygwin.com/snapshots/

cgf

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



RE: Old versions of setup.exe

2005-11-08 Thread Peter A. Castro

On Tue, 8 Nov 2005, Dave Korn wrote:


Peter A. Castro wrote:


Unfortunately, the Cygwin Time Machine hasn't been archiving setup.exe
(at least not consistently).  The top of /pub/cygwin/ always has the
latest setup.exe (and setup.ini), but the Time Machine hasn't been
archiving it because there's no automatic way to extract the version
number from it.


 Well, ...

[EMAIL PROTECTED] /tmp strings setup.exe | grep setup-version | cut -d ' ' -f 3
2.521
[EMAIL PROTECTED] /tmp


Hmmm... that doesn't seem to work for me on linux :(
And, it doesn't work for me on Cygwin either?!
This is what I get:

% strings -a w:/webserver/ftp/pub/cygwin/setup.exe | grep -i setup
 name=RedHat.Cygwin.Setup

This is the latest setup.exe from the cygwin website too.  I'm at a loss
as to why it works for you and not me.


... will work on every version as far back as
2000-09-07  DJ Delorie  [EMAIL PROTECTED]

* splash.cc: use version.h, not local decl
* res.rc: add old version message
* resource.h: ditto
* version.h: new
* fromcwd.cc (canonicalize_version): make global
* iniparse.y: add setup-version support, fix bug in blank line
handling

* inilex.l: add [exp] as alias for [test], add setup-version
* Makefile.in (version.c): add setup-version tag

* desktop.cc (do_desktop): remove 1.1 version number
(do_desktop_setup): ditto

* ini.cc (do_ini): zero out package list just in case we redo it.

   cheers,
 DaveK


--
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

--
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: Inetd running slow

2005-11-08 Thread Danilo Turina
I had a problem of slowness with inetd and telnetd: when connecting with 
telnet to my machine (even locally) it took much time to prompt for the 
user name.
I discovered that it was due to the SYSTEM user missing a home in 
/etc/passwd, i.e. when I had the problem the line in /etc/passwd was:


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

then I fixed it this way:

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

and the slowness went away (but don't ask me why: I don't know).

Ciao,

Danilo

Stephen Patterson wrote:

Hi all

I've installed inetutils  uw-imapd on cygwin, registered inet as a
windows XP service (which starts OK) and I'm running uw-imapd through
inetd. Inetd  uw-imap are slow to respond when I connect to them
locally.

Info from event viewer, application log on starting inetd
The description for Event ID ( 0 ) in Source ( inetd ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: inetd : PID 4060 : `inetd' service
started.

Info from event viewer, application log on connecting to uw-imap
The description for Event ID ( 0 ) in Source ( uw-imapd ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: uw-imapd : PID 4052 : imap service
init from 127.0.0.1.

Does anyone know what could be causing these messages?  I've added
cygwin's /usr/sbin and /bin to the system PATH (as mentioned on an
earlier post).




--
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: Winzip Zip

2005-11-08 Thread zzapper
On Wed, 9 Nov 2005 11:02:12 +0800,  wrote:

On 11/7/05, zzapper [EMAIL PROTECTED] wrote:
 Hi,
 Everyone knows the very useful Winzip, however some pretty clever 
 automatic stuff can be done
 using CygWins zip


 # zip a webroot but only html or php files
 zip.exe  -r web.zip c:/intranet/web/ -i *.php *.htm*

 # zip a list of files where  list.txt contains one file name per line
 zip all.zip -@  list.txt

 find . -name *.[ch] -print | zip source -@

 Now you can start using the above for a regular backup if you link them to a 
 cron

nice tips!

used to use zip for backups a long time ago... then tar.gz... now i use rsync.

best,
Some examples please

-- 
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/


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



Updated: CMake-2.2.2-1

2005-11-08 Thread William A. Hoffman
CMake 2.2.2-1 is now available on Cygwin mirrors.

There has been a new release of the official cmake (2.2.2-1).
This is a major release from 2.0.6 to 2.2.2.

Changes in CMake 2.2.2:
- Fix a memory overrun in EXEC_PROGRAM on windows
- Use GetFileAttributesEx for windows stat
- Remove -fpic flags for gnu c++ on windows
- Link targets with relative paths to the .o files
- Add a RELATIVE_PATH option to the FILE command.
- Add a SUBSTRING/LENGTH commands to the STRING command.
- Move the .SILENT to the top of the makefile to get nmake to be quite.
- Fix performance problem in check build system stage with make/nmake
- Remove the -lgcc that was automatically added by cmake to gcc shared libs.
- Look for java 1.5
- Fix custom targets and depend target
- Fix in parser to allow double quoted strings to correctly pass into 
TRY_COMPILE.
- Fix GET_TEST_PROPERTY command.
- Fix CTEST_MEMCHECK command so that it does memory checking instead of testing.
- Fix output of expected failed tests to test passed.
- Fix documentation for cmake -P, and -C.
- Fix -P with relative paths, and fix error messages.
- Fix problems with quotes in definition values and visual studio 7.x
- Fix install problem with missing mfc dlls

Changes in CMake 2.2.1:
- 2.2.1 is a new beta and was merged with CVS on 9/06/05.
- fix infinite loop problem in enable language/trycompile
- The makefile generator was redone to create fewer files.
- Xcode 2.1 support added.
- better support for add custom command with relative files as arguments
- provided default update options if none are provided to ctest
- For file removal if the file is a symlink treat it like a file and not a 
directory.
- Better install directory for windows.
- AIX compiler flag defaults.
- Objc++ test has the correct case.
- Language NONE fixed.
- Java 1.5 searched now.
- FindCurses cleaned up.
- FindQt/FindQt3/FindQT4 enhanced.
- UseSwig supports CMAKE_SWIG_OUTDIR
- Modules/ProjectCompatibility.cmake file supported.
- Modules/VTKCompatibility.cmake file added for Darwin builds
- optimized is now the default library used if CMAKE_BUILD_TYPE is not set.
- many bug fixes from 2.2.0.

Changes in CMake 2.2.0:

- CTest Improved coverage code
- Improved CTest -S scripts, new commands, and access to individual testing 
handlers
- CTest test handler now supports arbitrary CMake syntax in DartTestfile.txt
- CTest now supports both DartTestfile.txt and CTestTestfile.cmake
- CTest now supports both DartConfiguration.tcl and CTestConfiguration.cmake
- CTest now supports configuration from Source tree in file CTestConfig.cmake
- CTest supports logging output into a file
- CTest supports compressed submission files
- Speed improvements
- new makefile generator
- no longer re-read cmakelist files only get parent cmakelist file
- out of source source
- ADD_SUBDIRECTORY
- new parser variables in variables
- support for dart2
- Xcode 1.5 support 
- fortran support
- not compatible with cmake 1.2
- FOREACH uses variables 
- Kdevelop3 generator
- WHILE command
- lower case commands now supported
- parallel build support better, jump problem fixed
- lots of bug fixes and new bugs

See www.cmake.org for more information.

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.



Bill Hoffman 
Cygwin CMake maintainer