Re: Subversion eol-corrupting jar files on update

2004-07-18 Thread Max Bowsher
Karr, David wrote:
>> I'm having trouble with the svn in Cygwin corrupting jar
>> files on update or checkout.  It's doing an eol translation.
>> I've specified ".jar" in my svn properties, to indicate that
>> it should use the "eol-type" of "native".  My "mount" table
>> shows everything in "textmode".  Do I have to change to
>> binary in order for this to work?  I would have thought the
>> eol-type setting in the subversion config should deal with this.
> If the Cygwin port of subversion is really just using the mount mode to
> determine this, then that seems like a bug to me.  Someone else pointed
> out to me that subversion is able to determine that the "mime-type" of
> ".jar" is "application/octet-stream", and that should imply that it
> should do no file conversion.

Ugh, textmode. Been so long since I've used it, I'd forgotten about it.

/me mentally prepares himself for adding a slew of binary flags.

Max.


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



[cygwin tips&tricks] Shortcut to vim in "Send to" folder

2004-07-18 Thread Tomasz Rojek
Hi all,

I would like to share with this tip with any cygwin newbie (all the cygwin
developers know it for sure :)
I use a few text editors in my daily work, today I finally ;) came to idea
to have a shortcut pointing to vim in my "Send to" right click submenu. I
use this command in a shortcut to run vim in rxvt window:

C:\FOLDER\cygwin\bin\rxvt.exe -display :0 -T vim -vb -sr -sl 1 -bg
black -cr white -fg LightSteelBlue1 -j -fn
"-b&h-lucidatypewriter-medium-r-normal-sans-0-0-14-14-m-0-iso8859-2" -e
/usr/bin/vim

Sending a file to vim works fine, drag&dropping any file on above shortcut
opens the file in vim too.

-- 
Greetings

Tomasz Rojek




--
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: I can't inicializate PostgreSQL

2004-07-18 Thread Carlo Florendo y Flora
Igor Pechtchanski wrote:
On Mon, 19 Jul 2004, Carlo Florendo y Flora wrote:
 

Manuel Tejada wrote:
   

I am using PostgreSQL for Cygwin on Windows ME from
April 2003
[snip]
After reading some answer to various post in the mailing list archive
with similar problem and the
/usr/share/doc/Cygwin/postgres-7.4.3.README file, I decided to follow
the procedure using Cygserver instead ipc-daemon2:
- Set the CYGWIN variable enviroment to "server"
- Install and configure cygserver
- Run cygserver
- Initialize PostgreSQL
But now the cygserver failled to run because the
System says the command is no found, as you can see in
the ouptput I show you bellow:
---
[EMAIL PROTECTED] ~
$ CYGWIN=server
[EMAIL PROTECTED] ~
$ export CYGWIN
[EMAIL PROTECTED] ~
$ cygserver-config
Generating /etc/cygserver.conf file
chown: `system.544': invalid user
 

Check whether  you have correct entries on your /etc/passwd and
/etc/group files.
`system.544' means `SYSTEM:root'.The user `SYSTEM' should appear on
your /etc/passwd file.
The group `root' should be on your /etc/group file.  You should  notice
that the group `root' has a GID (Group ID) of 544.
If you get the above error message, there could be something wrong with
your /etc/passwd or /etc/group file.
Btw, my /etc/passwd and /etc/group files were automatically generated by
cygwin.
   

The point is moot since this is on WinME, and I don't think chown works on
that system.  The fact that it's invoked is probably a bug in the script,
and the above message is harmless (on Win9x/ME).
 

Oops, thanks for pointing out!I always tell myself to read carefully 
before making any assumptions.  I read that but it didn't stick.   Gee, 
it must be my sleepiness :)
Anyway, the indication that it's a bug in cygserver is most probable.  
I've checked the scripts and there is really a line which explicitly 
does a chown system.544.  Yes, it shouldn't matter on Win9x/ME
but the message is generates can be misleading--or terrifying for 
non-experts like me.

Further configuration options are available by editing the
configuration file /etc/cygserver.conf.  Please read the inline
information in that file carefully. The best option for the start is to
just leave it alone.
Please keep in mind, that a client application which wants to use the
services provided by cygserver *must* have the environment variable
CYGWIN set so that it contains the word "server".  So, if you don't
need any other special CYGWIN setting, just set it to "server".
It is advisable to add this setting to the Windows system environment.
Basic Cygserver configuration finished. Have fun!
[EMAIL PROTECTED] ~
$ cygserver &
[1]118735
$bash: cygserver: command not found
[1]+ Exit 127cygserver
 

cygserver is in /usr/sbin/.
   

Yep.  Granted, the cygserver.README should have stated this fact, and
included the full path to use to invoke cygserver.
FWIW, it's still on my backburner to get cygrunsrv working on Win9x/ME
enough to make the setup similar to that of the WinNT-based systems
(unless I upgrade my home machine to XP first :-}).
 

My cygwin installation didn't add /usr/sbin/ in the PATH environment
variable.  I don't know whether this is the default behaviou or not.
   

It is.  This is by design.  See below.
 

That was my suspicion.  :)
 

However, you may want to invoke cygserver by specifying is fully
qualified path name:
/us/sbin/cygserver
   

^r
 

Else, you might want to ad /usr/sbin on your path variable although I
don't know whether this would post some issues. AFAICS, there's none.
However, there might be a reason why /usr/sbin/ was not included by
default.  I don't know since I'm not a cygwin expert but if you ask
someone on the mailing list, he could probably tell you why.
   

There is a reason, and the reason is that cygserver, like most of the
other stuff in /usr/sbin, was intended to run as a service (or be invoked
from a service).  On Unices, things in /sbin (for which /usr/sbin is the
equivalent in Cygwin) are those that shouldn't be accidentally invoked
from the command line, and should mostly be run as root.  Very few of the
Unices I know add /sbin to a normal user's PATH (they do add them to
root's PATH).  It is not a good idea to do this (though, perhaps, on
Win9x/ME it doesn't matter).
 

Nice!  Thanks for the info :)

My questions are:
a) In what I am failling myself?
 

In nothing.  The /usr/sbin thing looks like an omission in the docs.
 

Who's maintating the docs?  I could probably help him out. 

b) Anybody knows how to fix this?
 

Run /usr/sbin/cygserver, as Carlo said.
 

c)Supposing there is no way how to fix this. what must I do to
reinstall the old PostgreSQL (7.4.1-3) that I still have the tar.gz
archive in a directory created by the utility setup.exe.? I tried to
reinstall the old one with the utility setup.exe but I can not see it
in the windows' utility.
 

When you say "windows' utility", I assu

Re: MapViewOfFileEx errors disappeared with cygwin1-20040716 snapshot

2004-07-18 Thread Christopher Faylor
On Sun, Jul 18, 2004 at 03:11:18PM +0200, Dr. Volker Zell wrote:
>I just want to note that all of my MapViewOfFileEx errors which I saw
>with a lot of my gnome1 apps dissapeared after installing the latest
>snapshot.
>
>It must be this change:
>
>2004-07-16  Christopher Faylor  <[EMAIL PROTECTED]>
>
>   * pinfo.cc (pinfo::init): Guard against MapViewOfFileEx failure.
>
>Thanks a lot

No, that would not change anything.  I just added a fatal error message.

The fix must lie elsewhere.

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: I can't inicializate PostgreSQL

2004-07-18 Thread Igor Pechtchanski
On Mon, 19 Jul 2004, Carlo Florendo y Flora wrote:

> Manuel Tejada wrote:
>
> >I am using PostgreSQL for Cygwin on Windows ME from
> >April 2003
> >[snip]
> >
> >After reading some answer to various post in the mailing list archive
> >with similar problem and the
> >/usr/share/doc/Cygwin/postgres-7.4.3.README file, I decided to follow
> >the procedure using Cygserver instead ipc-daemon2:
> >- Set the CYGWIN variable enviroment to "server"
> >- Install and configure cygserver
> >- Run cygserver
> >- Initialize PostgreSQL
> >
> >But now the cygserver failled to run because the
> >System says the command is no found, as you can see in
> >the ouptput I show you bellow:
> >---
> >
> >[EMAIL PROTECTED] ~
> >$ CYGWIN=server
> >
> >[EMAIL PROTECTED] ~
> >$ export CYGWIN
> >
> >[EMAIL PROTECTED] ~
> >$ cygserver-config
> >
> >Generating /etc/cygserver.conf file
> >chown: `system.544': invalid user
>
> Check whether  you have correct entries on your /etc/passwd and
> /etc/group files.
> `system.544' means `SYSTEM:root'.The user `SYSTEM' should appear on
> your /etc/passwd file.
> The group `root' should be on your /etc/group file.  You should  notice
> that the group `root' has a GID (Group ID) of 544.
> If you get the above error message, there could be something wrong with
> your /etc/passwd or /etc/group file.
> Btw, my /etc/passwd and /etc/group files were automatically generated by
> cygwin.

The point is moot since this is on WinME, and I don't think chown works on
that system.  The fact that it's invoked is probably a bug in the script,
and the above message is harmless (on Win9x/ME).

> >Further configuration options are available by editing the
> >configuration file /etc/cygserver.conf.  Please read the inline
> >information in that file carefully. The best option for the start is to
> >just leave it alone.
> >
> >Please keep in mind, that a client application which wants to use the
> >services provided by cygserver *must* have the environment variable
> >CYGWIN set so that it contains the word "server".  So, if you don't
> >need any other special CYGWIN setting, just set it to "server".
> >
> >It is advisable to add this setting to the Windows system environment.
> >
> >Basic Cygserver configuration finished. Have fun!
> >
> >[EMAIL PROTECTED] ~
> >$ cygserver &
> >[1]118735
> >$bash: cygserver: command not found
> > [1]+ Exit 127cygserver
>
> cygserver is in /usr/sbin/.

Yep.  Granted, the cygserver.README should have stated this fact, and
included the full path to use to invoke cygserver.

FWIW, it's still on my backburner to get cygrunsrv working on Win9x/ME
enough to make the setup similar to that of the WinNT-based systems
(unless I upgrade my home machine to XP first :-}).

> My cygwin installation didn't add /usr/sbin/ in the PATH environment
> variable.  I don't know whether this is the default behaviou or not.

It is.  This is by design.  See below.

> However, you may want to invoke cygserver by specifying is fully
> qualified path name:
>
> /us/sbin/cygserver
 ^r

> Else, you might want to ad /usr/sbin on your path variable although I
> don't know whether this would post some issues. AFAICS, there's none.
> However, there might be a reason why /usr/sbin/ was not included by
> default.  I don't know since I'm not a cygwin expert but if you ask
> someone on the mailing list, he could probably tell you why.

There is a reason, and the reason is that cygserver, like most of the
other stuff in /usr/sbin, was intended to run as a service (or be invoked
from a service).  On Unices, things in /sbin (for which /usr/sbin is the
equivalent in Cygwin) are those that shouldn't be accidentally invoked
from the command line, and should mostly be run as root.  Very few of the
Unices I know add /sbin to a normal user's PATH (they do add them to
root's PATH).  It is not a good idea to do this (though, perhaps, on
Win9x/ME it doesn't matter).

> >
> >
> >My questions are:
> >
> >a) In what I am failling myself?

In nothing.  The /usr/sbin thing looks like an omission in the docs.

> >b) Anybody knows how to fix this?

Run /usr/sbin/cygserver, as Carlo said.

> >c)Supposing there is no way how to fix this. what must I do to
> >reinstall the old PostgreSQL (7.4.1-3) that I still have the tar.gz
> >archive in a directory created by the utility setup.exe.? I tried to
> >reinstall the old one with the utility setup.exe but I can not see it
> >in the windows' utility.

When you say "windows' utility", I assume you mean Cygwin's setup.exe.  If
you start setup.exe, go to the package selection screen, and click on the
postgresql package version a few times, you should see the previous
version appear.  Switch to the "Partial" view (click on the "View" button)
to make sure that that's the only think you'll install, and finish the
installation.

> >Maybe I have to install it using ./configure, make, etc.?  Is possible
> >do this?

It should be, but why? 

RE: Subversion eol-corrupting jar files on update

2004-07-18 Thread Karr, David
If the Cygwin port of subversion is really just using the mount mode to
determine this, then that seems like a bug to me.  Someone else pointed
out to me that subversion is able to determine that the "mime-type" of
".jar" is "application/octet-stream", and that should imply that it
should do no file conversion.

> -Original Message-
> From: [EMAIL PROTECTED] 
> 
> I'm having trouble with the svn in Cygwin corrupting jar 
> files on update or checkout.  It's doing an eol translation.  
> I've specified ".jar" in my svn properties, to indicate that 
> it should use the "eol-type" of "native".  My "mount" table 
> shows everything in "textmode".  Do I have to change to 
> binary in order for this to work?  I would have thought the 
> eol-type setting in the subversion config should deal with this.

--
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: I can't inicializate PostgreSQL

2004-07-18 Thread Carlo Florendo y Flora
Manuel Tejada wrote:
I am using PostgreSQL for Cygwin on Windows ME from
April 2003
 


creating directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base...
ok
creating directory
/usr/share/postgresql/data/global... ok
creating directory
/usr/share/postgresql/data/pg_xlog... ok
creating directory
/usr/share/postgresql/data/pg_clog... ok
selecting default max_connections... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
10
selecting default shared_buffers... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in
/usr/share/postgresql/data/base/1... Signal 12
initdb: failed
initdb: removing data directory
"/usr/share/postgresql/data"
[EMAIL PROTECTED] ~
$
--
After reading some answer to various post in the
mailing list archive with similar problem and the
/usr/share/doc/Cygwin/postgres-7.4.3.README file, I
decided to follow the procedure using Cygserver
instead ipc-daemon2:
- Set the CYGWIN variable enviroment to "server"
- Install and configure cygserver
- Run cygserver
- Initialize PostgreSQL
But now the cygserver failled to run because the
System says the command is no found, as you can see in
the ouptput I show you bellow:
---
[EMAIL PROTECTED] ~
$ CYGWIN=server
[EMAIL PROTECTED] ~
$ export CYGWIN
[EMAIL PROTECTED] ~
$ cygserver-config
Generating /etc/cygserver.conf file
chown: `system.544': invalid user
 


Check whether  you have correct entries on your /etc/passwd and 
/etc/group files.
`system.544' means `SYSTEM:root'.The user `SYSTEM' should appear on 
your /etc/passwd file. 
The group `root' should be on your /etc/group file.  You should  notice 
that the group `root' has a GID (Group ID) of 544.
If you get the above error message, there could be something wrong with 
your /etc/passwd or /etc/group file.
Btw, my /etc/passwd and /etc/group files were automatically generated by 
cygwin.


Further configuration options are available by editing
the configuration
file /etc/cygserver.conf.  Please read the inline
information in that
file carefully. The best option for the start is to
just leave it alone.
Please keep in mind, that a client application which
wants to use
the services provided by cygserver *must* have the
environment variable
CYGWIN set so that it contains the word "server".  So,
if you don't
need any other special CYGWIN setting, just set it to
"server".
It is advisable to add this setting to the Windows
system environment.
Basic Cygserver configuration finished. Have fun!
[EMAIL PROTECTED] ~
$ cygserver &
[1]118735
$bash: cygserver: command not found
[1]+ Exit 127cygserver
 

cygserver is in /usr/sbin/.  My cygwin installation didn't add 
/usr/sbin/ in the PATH  environment variable.  I don't know whether this 
is the default behaviou or not.  However, you may want to invoke 
cygserver by specifying is fully qualified path name:

/us/sbin/cygserver
Else, you might want to ad /usr/sbin on your path variable although I 
don't know whether this would post some issues. AFAICS, there's none.  
However, there might be a reason why /usr/sbin/ was not included by 
default.  I don't know since I'm not a cygwin expert but if you ask 
someone on the mailing list, he could probably tell you why. 


My questions are:
a) In what I am failling myself?
b) Anybody knows how to fix this?
c)Supposing there is no way how to fix this. what must
I do to reinstall the old PostgreSQL (7.4.1-3) that I
still have the tar.gz archive in a directory created
by the utility setup.exe.? I tried to reinstall the
old one with the utility setup.exe but I can not see
it in the windows'utility. Maybe I have to  install it
using ./configure, make, etc.? Is possible do this?
 

I've written a tutorial on how to install PostgreSQL on cygwin.  It's 
largely copied from the cygwin docs but I've added a few explanations.  
You might find it helpful.  Check it out if you want:
http://home.ripway.com/2004-3/81387/postgresql-cygwin.html

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/


Subversion eol-corrupting jar files on update

2004-07-18 Thread Karr, David
I'm having trouble with the svn in Cygwin corrupting jar files on update
or checkout.  It's doing an eol translation.  I've specified ".jar" in
my svn properties, to indicate that it should use the "eol-type" of
"native".  My "mount" table shows everything in "textmode".  Do I have
to change to binary in order for this to work?  I would have thought the
eol-type setting in the subversion config should deal with this.

--
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: Man Pages for System calls and library functions

2004-07-18 Thread Joshua Daniel Franklin
On Sat, 17 Jul 2004 15:42:30 + (UTC), Yue Teng wrote:
> Where can I download complete man pages for section 2 (system calls) and section
> 3 (library functions) for cygwin? I have installed all the packages and yet in
> section 3 I can only find the man pages for basic calls (such as printf),
> whereas calls like kill(), fork(), bind() etc. are all missing.

I'm afraid they don't all exist. The next best thing is the SUS:



--
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: coredump on kill

2004-07-18 Thread Carlo Florendo y Flora
Christopher Faylor wrote:
On Fri, Jul 16, 2004 at 02:37:23PM -0800, Carlo Florendo y Flora wrote:
 

Hello,
Upon invoking the following command, I get a coredump:
/usr/bin/kill --list
By the way, "kill -l" (bash built-in) works.
Attached is cygcheck's output and the dump itself.
Does anyone know of a workaround?
   

Use kill.exe from a snapshot.  This bug was fixed on 2004-05-27 and the fix will
be in the next version of cygwin.
http://cygwin.com/snapshots/
cgf
 

Whew!  Brian, Dave & cgf, thanks for the response!   This is what's 
truly amazing with you guys and open-source in general--you post a 
question and you get a fix! 
Thanks for the good work.   Each day, the cygwin list becomes more and 
more my favorite mailing list!

Best Regards,
Carlo
--
Carlo Flora 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: [BUG] mprotect() on Windows NT 5+

2004-07-18 Thread Igor Pechtchanski
On Sun, 18 Jul 2004, Xavier Joubert wrote:

> Hello all,
>
> Selon Xavier Joubert <[EMAIL PROTECTED]>:
> > I'll try Cygwin snapshot tomorrow and let you know how it goes with
> > the real stuff.
>
> That's perfect ! Thanks again Corinna.
>
> I thought a daily Cygwin snapshot was automatically generated (when I
> looked at the page, I saw one from the previous day...). I see that's
> not the way it's done. I hope you didn't generate one only because of
> me...

She did.  Don't you feel special? ;-)

In all seriousness, though, whenever a reported bug gets fixed, a snapshot
is generated so that the original reporter (and anyone else who might be
experiencing the bug) can try it out and report that it's fixed (the way
you have done).  That's the whole purpose of snapshots.
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/



I can't inicializate PostgreSQL

2004-07-18 Thread Manuel Tejada

I am using PostgreSQL for Cygwin on Windows ME from
April 2003

I was working with PostgreSQL 7.4.1-3 very well.
Recently I decided to make an upgrade from PostgreSQL
7.4.1-3 to PostgreSQL 7.4.3-1 (the newest for cygwin).
After installing the PostgreSQL 7.4.3-1 from Internet
with the utility setup.exe, I followed the normal
procedure that I was accustomed to use to inicializate
the PostgreSQL,  but the initdb failed. 

The following is what I got:



[EMAIL PROTECTED] ~
$ ipc-daemon2 &
[1] 867359

[EMAIL PROTECTED] ~
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be
owned by user "admin".
This user must also own the server process.

The database cluster will be initialized with locale
C.

creating directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base...
ok
creating directory
/usr/share/postgresql/data/global... ok
creating directory
/usr/share/postgresql/data/pg_xlog... ok
creating directory
/usr/share/postgresql/data/pg_clog... ok
selecting default max_connections... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
10
selecting default shared_buffers... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in
/usr/share/postgresql/data/base/1... Signal 12

initdb: failed
initdb: removing data directory
"/usr/share/postgresql/data"


[EMAIL PROTECTED] ~
$

--


After reading some answer to various post in the
mailing list archive with similar problem and the
/usr/share/doc/Cygwin/postgres-7.4.3.README file, I
decided to follow the procedure using Cygserver
instead ipc-daemon2:
- Set the CYGWIN variable enviroment to "server"
- Install and configure cygserver
- Run cygserver
- Initialize PostgreSQL

But now the cygserver failled to run because the
System says the command is no found, as you can see in
the ouptput I show you bellow:

---

[EMAIL PROTECTED] ~
$ CYGWIN=server

[EMAIL PROTECTED] ~
$ export CYGWIN

[EMAIL PROTECTED] ~
$ cygserver-config

Generating /etc/cygserver.conf file
chown: `system.544': invalid user

Further configuration options are available by editing
the configuration
file /etc/cygserver.conf.  Please read the inline
information in that
file carefully. The best option for the start is to
just leave it alone.

Please keep in mind, that a client application which
wants to use
the services provided by cygserver *must* have the
environment variable
CYGWIN set so that it contains the word "server".  So,
if you don't
need any other special CYGWIN setting, just set it to
"server".

It is advisable to add this setting to the Windows
system environment.

Basic Cygserver configuration finished. Have fun!

[EMAIL PROTECTED] ~
$ cygserver &
[1]118735
$bash: cygserver: command not found
 [1]+ Exit 127cygserver



My questions are:

a) In what I am failling myself?

b) Anybody knows how to fix this?

c)Supposing there is no way how to fix this. what must
I do to reinstall the old PostgreSQL (7.4.1-3) that I
still have the tar.gz archive in a directory created
by the utility setup.exe.? I tried to reinstall the
old one with the utility setup.exe but I can not see
it in the windows'utility. Maybe I have to  install it
using ./configure, make, etc.? Is possible do this?


I'll appreciate any answer

=
Manuel TEJADA M.

_
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx

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



Re: [BUG] mprotect() on Windows NT 5+

2004-07-18 Thread Xavier Joubert
Hello all,


Selon Xavier Joubert <[EMAIL PROTECTED]>:
> I'll try Cygwin snapshot tomorrow and let you know how it goes with the real
> stuff.

That's perfect ! Thanks again Corinna.

I thought a daily Cygwin snapshot was automatically generated (when I looked at 
the page, I saw one from the previous day...). I see that's not the way it's 
done. I hope you didn't generate one only because of me...


Best regards,


Xavier

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



FOR YOUR KIND ATTENTION.

2004-07-18 Thread JOHNSON ROSHDY
Cygwin
I am Johnson Roshdy, son to Mr.Hatem Roshdy, On the
31st of October 1999, my father was involved in a
plane crash(EGYPTIAN AIRLINE 990) with other
passengers aboard as you may confirm through
this website:
http://www.cnn.com/US/9911/02/egyptair990.list/
index.html

However after the death of my father my mother has
been hopitalised and now she is paralysed because
of the shock of her husbands death.
Resently the Attorney to my late father informed me
that my father left the sum of USD$34,800(thirty
four million eight hundred thousand United States
Dollars) with a security/finance company in United
Arab Emirate.This fund according to the Attorney
was kept in three trunk boxes and deposited with
the security/finance company as personal effects.
Now because of the state of my mother and also my
family background and my age,I decided to seek for
your help and assistance to safeguard and invest
this fund in your country and also assist us to
come over to your country so that my mother can as
well receive adequate treatment and two other of my
siblings will go to better schools in your country.
I have collected the documents from the lawyer for
the deposit which my father made and upon the
receipt of your response to assist my family,I will
send them to you so that you can go and claim this
fund on our behalf.
I am writing you because I saw your name and email
address in my late father's file so I believed that
you must have been doing business with him before
he died and will be willing to assist us especially
at this point of our need.
I will wait here till I hear from you.
Regards,
Johnson Roshdy.  
--
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: ssmtp man page (Was: Re: sending email from Cygwin)

2004-07-18 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Larry Hall
> Sent: 18 July 2004 18:13

> At 10:51 AM 7/18/2004, you wrote:
> >[EMAIL PROTECTED] wrote:
> >(= Dave K, I believe)
> >>   Another possibility would be for the very last dialog in 
> setup.exe,
> >> the one that says "download/install complete", to also say in very
> >> big letters "For Cygwin-specific documentation, see
> >> /usr/share/doc/Cygwin".  It could maybe even have a tickbox to
> >> automatically open that window in explorer... 
> >
> >I spell it out: THIS IS IRONIC, not personal agression;
> >
> >Oohh, Heaven forbid - THAT would be too easy to see!
> >
> >NOT in line with "WJM".
> 
> 
> Good point.  With this in mind, let's just remove the dialog 
> from setup
> that says "download/install complete". ;-)


  I've had an even better idea!  Let's change the font in the package
chooser to white on a white background and make everyone *guess* what
they're installing!


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: ssmtp man page (Was: Re: sending email from Cygwin)

2004-07-18 Thread Larry Hall
At 10:51 AM 7/18/2004, you wrote:
>[EMAIL PROTECTED] wrote:
>(= Dave K, I believe)
>>   Another possibility would be for the very last dialog in setup.exe,
>> the one that says "download/install complete", to also say in very
>> big letters "For Cygwin-specific documentation, see
>> /usr/share/doc/Cygwin".  It could maybe even have a tickbox to
>> automatically open that window in explorer... 
>
>I spell it out: THIS IS IRONIC, not personal agression;
>
>Oohh, Heaven forbid - THAT would be too easy to see!
>
>NOT in line with "WJM".


Good point.  With this in mind, let's just remove the dialog from setup
that says "download/install complete". ;-)


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



Perl 5.8.2 Term::Readline problems

2004-07-18 Thread bse2000
Hi again,

after my upgrade to Perl 5.8.2 on Cygwin and having run 'rebaseall' I still
have problems.

For some reason the Term::Readline module doesn't work anymore as it should:

The symptom is that with my interpreter script I can't use the arrow keys
anymore to scroll backward previous commands. Instead the up/down keys lead
to an up/down movement of the cursor in the xterm window. Perl 5.8.0 works
still fine.

Any hints what is wrong?

Thanks a lot in advance!!

Best regards
Ralf

 


--
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: FAQ update suggestion for "I'm having basic problems with find. Why?"

2004-07-18 Thread Larry Hall
At 02:34 PM 7/17/2004, you wrote:
>On Tue, 13 Jul 2004 13:08:15 -0400, Larry Hall <[EMAIL PROTECTED]> wrote:
>> At 07:54 AM 7/13/2004, you wrote:
>> >> >Whilst this is not an issue with Cygwin per se, the nature of Cygwin
>> >> >means that this issue will tend to arise commonly with Cygwin, and tend
>> >> >not to arise under traditional unixes.
>> >>
>> OK, so your reference to "this issue" was not the find/-noleaf stuff you
>> found but rather the more general issue regarding functionality and stability
>> of features in Cygwin, given the differences in maturity.  Sure, I guess
>> you could make that argument.  I thought you were implying that the
>> find/-noleaf problem you ran into was the norm for ISO/UDF media with Windows
>> and Cygwin yet not for Linux/UNIX.
>
>Well, after spending a ridiculous amount of time playing around with
>this (it was fun!),
>I decided to add it to the "I'm having basic problems with find. Why?"
>FAQ after all. It appears that Linux works around the '.' '..' UDF
>problem at the filesystem driver level (that's kinda a guess, I only
>have commercial DVDs to test), which of course Windows doesn't do. As
>for other *nixes...well, they should read our FAQ. :)


Thanks Joshua.  That answers quite clearly my original question on this 
subject.  Great work!




--
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: Permission Problem while installing Cygwin as admin

2004-07-18 Thread Larry Hall
At 11:31 AM 7/17/2004, you wrote:
>Hello *
>
>Problem: Cygwin is installed with very restrictive Permissions
> / and directories below have only access rights for the installing user
>no one else ...
> Selected was a "shared" install, not user specific
>
>Q:
>
>- is there any script or workaround to get correct permissiens for cygwin tree ?
>
>-remark: i installed as a privileged user with adminprivs
> but the user is a user configured on a domain controller
> not as local admin. 
> I have all admin privileges on install host !
>
>This seems have led to two problems: 
>
>all group perms are shown as mkgroup
>all files / dirs belong to my account and have complete restrictive perms
>
>
>In list mails i found as workaround: create e.g. c:cygwin before install and give 
>permissions to users, then install. Is there any other solution to avoid reinstall
>or how can i understand the reasons ...


Sure.  Make sure your '/etc/passwd' and '/etc/group' files contain the 
local and domain groups and users you need (see 'man mkpasswd' and 'man
mkgroup' for details on the '-l' and '-d' flags).  Then use the '-R' 
flag to 'chmod' and/or 'chgrp' on '/' to set your permissions and/or
ownerships the way you want them.  You'll need to do this as the privileged
user.


--
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: Performance: g++ Cygwin vs. other compilers (copying char[] to vector)

2004-07-18 Thread Tim Prince
At 08:48 AM 7/18/2004, Alex Vinokur wrote:

"Tim Prince" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> At 05:00 AM 7/18/2004, Alex Vinokur wrote:
>
> >Hi,
> >
> >How to explain so considerable difference in performance: g++ Cygwin vs.
> >other compilers in tests below?
[snip]

> I don't find your compile options, or whether you have profiled.  For g++
> under cygwin,
[snip]
g++ *.cpp -o cps_cyg.exe   // g++ Cygwin
g++ -mno-cygwin *.cpp -o cps_mgw.exe  // g++ Mingw
gpp *.cpp -o cps_dj.exe  // g++ Djgpp
cl /EHsc *.cpp -o cps_ms.exe   // C++ Microsoft
dmc -I. -IC:/dm/stlport/stlport -Ae *.cpp -o cps_dm.exe  // C++ Digital Mars
Microsoft C default is a good compromise between compilation speed and 
performance.  g++ Cygwin aims for compilation speed and no transformations 
which inhibit debugging.  Performance simply is not comparable without 
normal optimization:
g++ -O3 -Drestrict=__restrict__ -funroll-loops -march=pentium4 -mfpmath=sse 
*.cpp
CL /EHsc /Ox /arch:SSE2 *.cpp
I have no idea about Digital Mars, but STLport does have more optimization 
than MS.
Nor do I know if any of your versions of g++ tinker with default optimization.
I believe clock() is implemented differently between cygwin and msvcrt, and 
you may have additional variations represented here.

Tim Prince 

--
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: PLEASE HELP: Perl 5.8.2 fork() does not work

2004-07-18 Thread bse2000
Hi Igor,

That was fast !!!
Thanks a lot for your hint. It works fine now!!

Best regards and have a nice Sunday
BSE

> On Sun, 18 Jul 2004, bse2000 wrote:
> 
> > Hi,
> >
> > I'm having problems to start a script using the fork() command under
> Perl
> > 5.8.2-1. The same script runs under Perl 5.8.0 without problems.
> >
> > Here is what I get at standard output
> >
> > C:\cygwin\bin\perl.exe (3440): *** unable to remap
> >
>
C:\cygwin\lib\perl5\site_perl\5.8.2\cygwin-thread-multi-64int\auto\Win32\IPC\IPC.dll
to same address as parent(0xC8) != 0x11B
> >   3 [main] perl 304 sync_with_child: child 3440(0x6AC) died before
> initialization with status code 0x1
> >7789 [main] perl 304 sync_with_child: *** child state child loading
> dlls
> >
> > Any ideas what has changed in the IPC lib of Perl 5.8.2 that originates
> > this message?
> >
> > Your help is very much appreciated!!
> > Thanks a lot in advance!!!
> 
> Do you Google: ?
> HTH,
>   Igor
> -- 
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "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: Performance: g++ Cygwin vs. other compilers (copying char[] to vector)

2004-07-18 Thread Alex Vinokur

"Tim Prince" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> At 05:00 AM 7/18/2004, Alex Vinokur wrote:
>
> >Hi,
> >
> >How to explain so considerable difference in performance: g++ Cygwin vs.
> >other compilers in tests below?
[snip]

> I don't find your compile options, or whether you have profiled.  For g++
> under cygwin,
[snip]

g++ *.cpp -o cps_cyg.exe   // g++ Cygwin
g++ -mno-cygwin *.cpp -o cps_mgw.exe  // g++ Mingw
gpp *.cpp -o cps_dj.exe  // g++ Djgpp
cl /EHsc *.cpp -o cps_ms.exe   // C++ Microsoft
dmc -I. -IC:/dm/stlport/stlport -Ae *.cpp -o cps_dm.exe  // C++ Digital Mars

[snip]


-- 
   Alex Vinokur
 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: PLEASE HELP: Perl 5.8.2 fork() does not work

2004-07-18 Thread Igor Pechtchanski
On Sun, 18 Jul 2004, bse2000 wrote:

> Hi,
>
> I'm having problems to start a script using the fork() command under Perl
> 5.8.2-1. The same script runs under Perl 5.8.0 without problems.
>
> Here is what I get at standard output
>
> C:\cygwin\bin\perl.exe (3440): *** unable to remap
> C:\cygwin\lib\perl5\site_perl\5.8.2\cygwin-thread-multi-64int\auto\Win32\IPC\IPC.dll 
> to same address as parent(0xC8) != 0x11B
>   3 [main] perl 304 sync_with_child: child 3440(0x6AC) died before 
> initialization with status code 0x1
>7789 [main] perl 304 sync_with_child: *** child state child loading dlls
>
> Any ideas what has changed in the IPC lib of Perl 5.8.2 that originates
> this message?
>
> Your help is very much appreciated!!
> Thanks a lot in advance!!!

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

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



PLEASE HELP: Perl 5.8.2 fork() does not work

2004-07-18 Thread bse2000
Hi,

I'm having problems to start a script using the fork() command under Perl
5.8.2-1. The same script runs under Perl 5.8.0 without problems.

Here is what I get at standard output

C:\cygwin\bin\perl.exe (3440): *** unable to remap
C:\cygwin\lib\perl5\site_perl\5.8.2\cygwin-thread-multi-64int\auto\Win32\IPC\IPC.dll
to same address as parent(0xC8) != 0x11B
  3 [main] perl 304 sync_with_child: child 3440(0x6AC) died before
initialization with status code 0x1
   7789 [main] perl 304 sync_with_child: *** child state child loading dlls


Any ideas what has changed in the IPC lib of Perl 5.8.2 that originates this
message?

Your help is very much appreciated!!
Thanks a lot in advance!!!

Best regards
BSE


--
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: ssmtp man page (Was: Re: sending email from Cygwin)

2004-07-18 Thread Hannu E K Nevalainen
[EMAIL PROTECTED] wrote:
(= Dave K, I believe)
>   Another possibility would be for the very last dialog in setup.exe,
> the one that says "download/install complete", to also say in very
> big letters "For Cygwin-specific documentation, see
> /usr/share/doc/Cygwin".  It could maybe even have a tickbox to
> automatically open that window in explorer... 

I spell it out: THIS IS IRONIC, not personal agression;

Oohh, Heaven forbid - THAT would be too easy to see!

NOT in line with "WJM".

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --72--> 

** mailing list preference; please keep replies on list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--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: Error: /bin/bash: bad interpreter: No such file or directory

2004-07-18 Thread Igor Pechtchanski
David,

This is very puzzling.  Your mounts are present in the registry, but
for some reason the Cygwin DLL can't see them.  Does your registry have
any special permissions?  Could you please post the results of

cd /cygdrive/c/cygwin/bin
./ls "/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2"
./regtool list "/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2"

as run from a bash shell?  Also, could you please run

.\strace -o ls_etc.strace ./ls /etc

from your c:\cygwin\bin directory, and e-mail me ls_etc.strace privately?
I'd like to see if the strace shows anything.  If it does, I'll post a
summary to the list.

FWIW, your user mounts seem to be visible, so *after you do the above*, as
a short-term workaround, you can try this:

mount -f -u -b "c:/cygwin" "/"
mount -f -u -b "c:/cygwin/bin" "/usr/bin"
mount -f -u -b "c:/cygwin/lib" "/usr/lib"

but be aware that this will give you a limited-use Cygwin (e.g., Cygwin
services, like sshd, still won't work).
HTH,
Igor

On Sun, 18 Jul 2004, David J Jones wrote:

> This time, I double checked I followed the uninstall instructions and
> wiped it all out, every file downloaded and everything within the
> registry, just to be sure.  When installed, I tried something I read
> about permissions and created the directory by hand and gave full access
> to the directory to everyone.  Then downloaded a complete new set of
> files and installed.
> All the files seem to install fine according to the logs however the
> scripts once again fail and this message is produced.
>
> 2004/07/18 05:36:58 running: c:\cygwin\bin\sh.exe -c
> /etc/postinstall/apache.sh
> /etc/postinstall/apache.sh: not found
>
> When I run './ls /' it gives me the output of my C drive at it's root, if I
> understand correctly my root should be "c:/cygwin/" and not "c:/" as this
> reflects.
> Also "./ls /etc" reflects no such file or directory, which is expected given
> it points to the wrong place.
> I ran the mount command you gave and it does not change my mounts.  After
> running my mount output is this..
> bash-2.05b$ mount
> c: on /cygdrive/c type user (binmode,noumount)
> d: on /cygdrive/d type user (binmode,noumount)
> e: on /cygdrive/e type user (binmode,noumount)
> f: on /cygdrive/f type user (binmode,noumount)
> g: on /cygdrive/g type user (binmode,noumount)
> h: on /cygdrive/h type user (binmode,noumount)
> bash-2.05b$
>
> If I am starting to understand my exact problem (yes I could be wrong), I
> need to get my root changed and then run all the install scripts to get my
> system working?  Of course.. how is a good question to..
>
> Thank you for your assistance.
>
>
>
> -Original Message-
>
>
> You still have weird flags in your mounts.  Did you follow the directions
> in the FAQ link to completely wipe Cygwin off your machine before you
> reinstalled?
>
> If so, what do '.\ls.exe /' and '.\ls.exe /etc' print when started from
> c:\cyg1\bin?  Try also "mount -s -b -c /cygdrive", and see if it helps.
> Otherwise, I'm stumped.
>   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: Performance: g++ Cygwin vs. other compilers (copying char[] to vector)

2004-07-18 Thread Tim Prince
At 05:00 AM 7/18/2004, Alex Vinokur wrote:
Hi,
How to explain so considerable difference in performance: g++ Cygwin vs. 
other compilers in tests below?
I can't figure out at a glance what you are doing.  I find that loop 
lengths of 1000 or less (32-bit data types) require the cpu cycle timer 
(rdtsc) to get repeatable results.  I have no significant difference in 
timings between g++ STL templates running in linux or in cygwin, not even 
between 32-bit cygwin under WOW64 and 64-bit linux.  The Microsoft builds 
are generally slower.  I haven't tried -mno-cygwin, I've used only standard 
gcc/g++ 3.4.x.  My tests call a dummy() function before running back 
through the same test data, so that there is no software optimization 
performed by recognizing do-nothing loops.  The data are initialized to 
normal stuff of the correct data type, so that no exceptions occur, same 
initial values for each compiler.

Much of this comes ready-made in the Levine-Callahan-Dongarra vector 
benchmark from netlib.org.  Where possible, I have made C, C++, and Fortran 
90 versions, so I can get quite picky about effectiveness of compiler 
optimizations.

I don't find your compile options, or whether you have profiled.  For g++ 
under cygwin, I use
-O3 -funroll-loops -march=pentium4 -mfpmath=sse
No doubt, some of the compilers have entirely different defaults.  Are you 
one of those who considers the only fair comparison to be among defaults, 
even though those vary from no optimization to more than what is permitted 
by the language standards?

Microsoft STL doesn't implement copy() as memmove(), as libstdc++, STLport, 
and Dinkumware do, nor do the Microsoft compilers perform any consolidation 
of moves into 64- or 128- bit moves.  If there is a memmove() replacement, 
you should tell us which one is used.  Newlib is likely to be slow; even 
glibc or MS RT are not likely to be optimized for a particular style of CPU.


Tim Prince 

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


MapViewOfFileEx errors disappeared with cygwin1-20040716 snapshot

2004-07-18 Thread Dr. Volker Zell
Hi Chris

I just want to note that all of my MapViewOfFileEx errors which I saw
with a lot of my gnome1 apps dissapeared after installing the latest
snapshot.

It must be this change:

2004-07-16  Christopher Faylor  <[EMAIL PROTECTED]>

* pinfo.cc (pinfo::init): Guard against MapViewOfFileEx failure.



Thanks a lot

Ciao
  Volker


--
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: ssmtp man page (Was: Re: sending email from Cygwin)

2004-07-18 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Igor Pechtchanski
> Sent: 16 July 2004 20:12

> > > This is a usability issue.  It's hard enough to teach 
> people to type:
> > >
> > >   man 
> > >
> > > teaching them to type:
> > >
> > >   more /usr/share/doc/Cygwin/ssmtp-0.x.y/README.ssmtp-0.x.y
> >
> > Don't make it overly complicated.  `less 
> /usr/share/doc/Cygwin/ssmtp*'
> > is enough.  And telling people that /usr/share/doc/Cygwin contains
> > Cygwin specific README files isn't that hard, really.
> >
> > Corinna
> 
> Yep, nice choice of words here. *Telling* them is definitely not hard.
> Getting them to do it before sending questions to the list is. :-)
> 
> Actually, there's an interesting point in this thread.  Would 
> it be a good
> idea to have a reference to the Cygwin-specific README in the 
> manpages for
> every Cygwin package that has one (say, in the SEE ALSO 
> section)? 

> Another possible place to mention the Cygwin-specific READMEs 
> is in the "man cygwin" page. :-)

  Another possibility would be for the very last dialog in setup.exe, the
one that says "download/install complete", to also say in very big letters
"For Cygwin-specific documentation, see /usr/share/doc/Cygwin".  It could
maybe even have a tickbox to automatically open that window in explorer...


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: Whack-a-Mole: Purging Cygnus from Registry

2004-07-18 Thread Thorsten Kampe
* Dave Korn (2004-07-16 19:26 +0200)
>> Thanks!  There were 26 instances of cygwin1.dll on the machine.  
> 
>   A new cygwin-list world record!

"Which Cygwin do you want to run 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/



Performance: g++ Cygwin vs. other compilers (copying char[] to vector)

2004-07-18 Thread Alex Vinokur
Hi,

How to explain so considerable difference in performance: g++ Cygwin vs. other 
compilers in tests below?


Simple C/C++ Perfometer : Copying char[] to vector (Version CS-1.0)
* func_memcpy
* func_copy
* func_copy_with_reserve
* func_transform
* func_ctor

* The whole program at http://thread.gmane.org/gmane.comp.lang.c++.perfometer/58
  contains the following files :
  - copystr.h // Header file: 
http://article.gmane.org/gmane.comp.lang.c++.perfometer/58/
  - info.cpp  // Information about compiler : 
http://article.gmane.org/gmane.comp.lang.c++.perfometer/59/
  - cps_test.cpp  // Function tested: 
http://article.gmane.org/gmane.comp.lang.c++.perfometer/60/
  - cps_main.cpp  // Main program   : 
http://article.gmane.org/gmane.comp.lang.c++.perfometer/61/

Payload code  : cps_test.cpp.
Housekeeping code : copystr.h, info.cpp, cps_main.cpp.


## C++ Code Tested : BEGIN ##
// Code from http://article.gmane.org/gmane.comp.lang.c++.perfometer/60


#define STR_LEN 100

char cstr[STR_LEN];
struct char_identity
{
  char operator()(char ch) const { return ch; }
};


// == Function tested using Simple C++ Perfometer ==
void func_memcpy()
{
vector vect (STR_LEN);
  memcpy(&vect[0], cstr, STR_LEN);
}

void func_copy()
{
vector vect;
  copy(cstr, cstr + STR_LEN, back_inserter(vect));
}


void func_copy_with_reserve()
{
vector vect;
  vect.reserve(STR_LEN);
  copy(cstr, cstr + STR_LEN, back_inserter(vect));
}


void func_transform()
{
vector vect (STR_LEN);
  transform(cstr, cstr + STR_LEN, vect.begin(), char_identity());
}


void func_ctor()
{
vector vect (cstr, cstr + STR_LEN);
}


// =


## C++ Code Tested : END 




## Run Log (Fragments) : BEGIN 
>From http://article.gmane.org/gmane.comp.lang.c++.perfometer/62/




Simple C/C++ Perfometer : Copying String
Version CS-1.0


C/C++ Performance Tests
===
Using Simple C/C++ Perfometer (Copying char[] to vector), Version CS-1.0
http://thread.gmane.org/gmane.comp.lang.c++.perfometer/58/  (The whole program)
http://article.gmane.org/gmane.comp.lang.c++.perfometer/60/ (Functions tested 
only)




Environment
---
Windows 2000 Professional
Intel(R) Celeron(R) CPU 1.70 GHz


 
 ### Compilation with no optimization
 


 ### char[] size   : 100
 ### Number of repetitions : 10


--
GNU gcc 3.3.1 (CYGWIN)
--

 ### CLOCKS_PER_SEC: 1000

func_memcpy:   2937 units (2.937 secs)
func_copy  :  14487 units (14.487 secs)
func_copy_with_reserve :   4098 units (4.098 secs)
func_transform :   3428 units (3.428 secs)
func_ctor  :   2944 units (2.944 secs)



-
GNU gcc 3.3.1 (MINGW)
-

 ### CLOCKS_PER_SEC: 1000

func_memcpy: 74 units (0.074 secs)
func_copy  :   1117 units (1.117 secs)
func_copy_with_reserve :584 units (0.584 secs)
func_transform :303 units (0.303 secs)
func_ctor  : 57 units (0.057 secs)



-
GNU gcc 3.3.4 (DGGPP 2.3)
-

 ### CLOCKS_PER_SEC: 91

func_memcpy: 11 units (0.121 secs)
func_copy  :243 units (2.670 secs)
func_copy_with_reserve :121 units (1.330 secs)
func_transform : 65 units (0.714 secs)
func_ctor  : 10 units (0.110 secs)



---
Microsoft C++ 13.00 (Unmanaged)
---

 ### CLOCKS_PER_SEC: 1000
func_memcpy:   1465 units (1.465 secs)
func_copy  :  13202 units (13.202 secs)
func_copy_with_reserve :   4609 units (4.609 secs)
func_transform :   1963 units (1.963 secs)
func_ctor  :   1378 units (1.378 secs)



-
Digital Mars C/C++ 8.40.2
-

 ### CLOCKS_PER_SEC: 1000

func_memcpy: 63 units (0.063 secs)
func_copy  :574 units (0.574 secs)
func_copy_with_reserve :220 units (0.220 secs)
func_transform :130 units (0.130 secs)
func_ctor  : 60 units (0.060 secs)



## Run Log (Fragments) : END ##


List of the functions sorted according to performance:
* func_ctor  (the fastest)
* func_memcpy
* func_transform
* func_copy_with_reserve
* func_copy





-- 
   Alex Vinokur
 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:  

RE: UNC Pathname Handling within Applications

2004-07-18 Thread Hannu E K Nevalainen
[EMAIL PROTECTED] wrote:
> Hi,
>
> * Christopher Faylor wrote (2004-07-17 03:50):
>> I don't understand why it matters that the first message would be
>> deleted since you can't predict if the message would be directly to
>> you or to the cygwin list.  However, please don't enlighten me since
>> I can live with not knowing.  More importantly, your personal email
>> preferences and my ignorance of same are really off-topic here.
>
> I explained that point before, but since you also seem to deprecate
> personal communication (and even make this point clear), I won't
> follow up on that.
>
>
> Thorsten

Wow, I'm impressed over the level of squabbling -

In general:
I would be very much IMPRESSED if ANY/ALL posters stopped attempting
anything else than having cygwin@.com in the To: field and clearing
the other related fields.

"Peronal replies" is mentioned in old netiquette docs, look up the docs and
have a read - then please follow the recommendations.


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E
--76-->

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--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/



[ANNOUNCEMENT] Updated: ImageMagick-6.0.3-1 libMagick6-6.0.3-1 libMagick-devel-6.0.3-1

2004-07-18 Thread Harold L Hunt II
The following packages have been updated in the Cygwin distribution:

*** ImageMagick-6.0.3-1
*** libMagick6-6.0.3-1
*** libMagick-devel-6.0.3-1

Changes
===
1) Resync with upstream release.

2) Remove dependency on cygipc, use cygserver by default.

--
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.  Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .

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

***


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