Re: whois package

2002-01-11 Thread Gerrit P. Haase

Hallo Mark,

Am 2002-01-11 um 02:00 schriebst du:

 I'm sorry to keep putting you guys through this, but could someone check
 over the new packages.  I've updated from 4.5.15 to 4.5.17, which included
 an update to the .edu name servers.  

 http://www.networksimplicity.com/whois

Yep, ok with me now;)


Gerrit
-- 
=^..^=mailto:[EMAIL PROTECTED]




new policy for packages

2002-01-11 Thread Robert Collins

I want to suggest that the following become policy:

No new packages are accepted that require non-packaged prerequisites.

i.e. using rpm which was raised on cygwin@ recently,
until db 3.2 is packaged and maintained by 'someone', rpm is not
acceptable as a package.

Thoughts?

Rob




RE: new policy for packages

2002-01-11 Thread Gary R. Van Sickle

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Collins
 
 I want to suggest that the following become policy:
 
 No new packages are accepted that require non-packaged prerequisites.
 
 i.e. using rpm which was raised on cygwin@ recently,
 until db 3.2 is packaged and maintained by 'someone', rpm is not
 acceptable as a package.
 
 Thoughts?

I don't know how things could work any other way, in cases such as this anyway.

-- 
Gary R. Van Sickle
Brewer.  Patriot. 



Re: new policy for packages

2002-01-11 Thread Corinna Vinschen

On Fri, Jan 11, 2002 at 04:43:28AM -0600, Gary R. Van Sickle wrote:
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Collins
  
  I want to suggest that the following become policy:
  
  No new packages are accepted that require non-packaged prerequisites.
  
  i.e. using rpm which was raised on cygwin@ recently,
  until db 3.2 is packaged and maintained by 'someone', rpm is not
  acceptable as a package.
  
  Thoughts?
 
 I don't know how things could work any other way, in cases such as this anyway.

postgreSQL needs cygipc.

Luckily it's not a *new* packahge :)

Corinna

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



Re: new policy for packages

2002-01-11 Thread Gerrit P. Haase

 Robert,

2002-01-11 11:35:51, du schriebst:

 I want to suggest that the following become policy:

 No new packages are accepted that require non-packaged prerequisites.
[...]
 Thoughts?

Runtime only prerequisites?

e.g. in rpm-4 there are db sources included in the source package which
are statically linked in.

I think this is really obvious.  If I want to include a package which
needs a dynamic version of db and the people are not able to fetch an
official port then I will go on and build this needed db too.

But to avoid discussions it should be mentioned at the guidelines.


Gerrit
-- 
=^..^=




Re: new policy for packages

2002-01-11 Thread Robert Collins


===
- Original Message -
From: Corinna Vinschen [EMAIL PROTECTED]

 postgreSQL needs cygipc.

 Luckily it's not a *new* packahge :)

Yes! Actually it's postgreSQL and similar that concern me:

postgreSQL needs ipc, but ipc is not a package, and won't be unless the
cygwin IPC  looks waaay to far off (the thought being that having cygipc
in will reduce motivation to 'do the right thing'). But on the other
hand, we can't delay all packages that require IPC can we?

So I'm mainly prompting discussion, hoping we can take what is 'common
sense' now, and provide a reasonable guideline on setup.html, that most
folk here will agree with.

This will give a more solid answer when folk do request things - like
kde/rpm/postgreSQL that have significant requirements.

Rob




Re: new policy for packages

2002-01-11 Thread Robert Collins


===
- Original Message -
From: Gareth Pearce [EMAIL PROTECTED]

 This makes sense to me - however I was wondering to what extent.
 1. no packages which have run-time dependencies on non-packaged.

Yes.

 2. no packages which have Build time dependencies on non-packaged
during
 'standard' compile.
 3. as 2 but even if the code distributes an 'internal' copy.

Hmm, less concerned about these while setup doesn't support
build-depends. Once it does, perhaps a case by case approach. While
Chuck goes to heroic efforts (and I'm leveraging off those :}) to make
building trivial, the key for binary distro's is to remove the need for
users to build - thus making building a significantly lower priority.

 4. no packages which can have build time dependencies on non-packaged
with
 an additional configure flag or similar.

This one is insane :}. Most packages have configure options for
different platforms, and this would exclude them - including many of our
current packages.

 Another requirement consideration - which I am unsure if would be
wanted -
 but thought I might put it up for discussion.
 All 'library' style packages must provide dynamic link libraries (if
 possible?).

No. I think it's preferred, but certainly not a requirement. bfd for
instance isn't available on win32 as a .dll. It would be nice if it was
though :].

 I was considering looking at packaging up slang or a few other
things - but
 thought that not providing dynamic libs would be the wrong move to
take, and
 due to lack of experience in making 'good' dynamic libraries on my
behalf -
 decided I would put it off, (prehaps hoping someone else would do it)

Start with static libraries, and as you get more experienced start with
the easy ones then to the harder ones, making them dynamic. I'm happy to
provide tips, as (I think) Chuck is on .dllizing libraries. libtool
libraries are easy, and my -shared and --auto-export hack to libtool has
been accepted, so we should have offical support soon for that.

Rob




Re: new policy for packages

2002-01-11 Thread Robert Collins

- Original Message -
From: Gerrit P. Haase [EMAIL PROTECTED]

 Runtime only prerequisites?

Essentially. Complex build time would be a concern, but not as much of
one (depending on the reputation of the packager). (i.e. long time
contributor, low risk. New contributor, might package and run :}).

 e.g. in rpm-4 there are db sources included in the source package
which
 are statically linked in.

 I think this is really obvious.  If I want to include a package which
 needs a dynamic version of db and the people are not able to fetch an
 official port then I will go on and build this needed db too.

Build and contribute as a package I presume? Yes, in fact that is the
intent - to make it obvious that such will be *expected* if someone
wants to contribute a package.

 But to avoid discussions it should be mentioned at the guidelines.

Exactly.

Rob




Re: [ANN] apache_1.3.22-2

2002-01-11 Thread Gerrit P. Haase

 Stipe,

2002-01-11 14:45:15, du schriebst:

   * changed $sysconfdir from /etc/httpd/conf to /etc/httpd,
 as proposed by Geritt.
   * changed $libexecdir from /usr/libexec to /usr/lib/apache,
 as proposed by Chuck, Ernie and Corinna.

httpd  apache ?

I would prefer to have it all the same name:

`apache' like this:
#   Cygwin 1.3.x layout
Layout Cygwin
...
libexecdir:$prefix/lib/apache
...
sysconfdir:/etc/apache
...
includedir:$prefix/include/apache
...
logfiledir:$localstatedir/log/apache
proxycachedir: $localstatedir/cache/apache
/Layout 

or `httpd' like this:
Layout Cygwin
...
libexecdir:$prefix/lib/httpd
...
sysconfdir:/etc/httpd
...
includedir:$prefix/include/httpd
...
logfiledir:$localstatedir/log/httpd
proxycachedir: $localstatedir/cache/httpd
/Layout 

Since `httpd' is more general I would prefer `apache'
from these two layouts.

Gerrit
-- 
=^..^=




Re: [ANN] apache_1.3.22-2

2002-01-11 Thread Stipe Tolj

* changed $sysconfdir from /etc/httpd/conf to /etc/httpd,
  as proposed by Geritt.
* changed $libexecdir from /usr/libexec to /usr/lib/apache,
  as proposed by Chuck, Ernie and Corinna.
 
 httpd  apache ?
 
 I would prefer to have it all the same name:
 
 `apache' like this:
 #   Cygwin 1.3.x layout
 Layout Cygwin
 ...
 libexecdir:$prefix/lib/apache
 ...
 sysconfdir:/etc/apache
 ...
 includedir:$prefix/include/apache
 ...
 logfiledir:$localstatedir/log/apache
 proxycachedir: $localstatedir/cache/apache
 /Layout
 
 or `httpd' like this:
 Layout Cygwin
 ...
 libexecdir:$prefix/lib/httpd
 ...
 sysconfdir:/etc/httpd
 ...
 includedir:$prefix/include/httpd
 ...
 logfiledir:$localstatedir/log/httpd
 proxycachedir: $localstatedir/cache/httpd
 /Layout
 
 Since `httpd' is more general I would prefer `apache'
 from these two layouts.

I disagree here! It's common style to have the protocoll name for /etc
and /var sub-directories.

BTW, RedHat and SuSE layout look pretty similar.

Any other opinions from the list?


Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



Re: [ANN] apache_1.3.22-2

2002-01-11 Thread Robert Collins

- Original Message -
From: Stipe Tolj [EMAIL PROTECTED]
  Since `httpd' is more general I would prefer `apache'
  from these two layouts.

 I disagree here! It's common style to have the protocoll name for /etc
 and /var sub-directories.

httpd is not the protocol name. It's a hangover from the CERN httpd that
started it all.

 BTW, RedHat and SuSE layout look pretty similar.

 Any other opinions from the list?

yes, /etc/apache please. Otherwise tinyhttpd or other www servers will
conflict with apache.

Rob




Quick question on setup.exe

2002-01-11 Thread Vincent Arnoux

Hello,
Does this download application for cygwin takes in account the OS on
which it is running (i.e. are there different packages to download
whether you are running it on Windows 95 or Windows NT) ?

Regards,
Vincent Arnoux



Re: problem with using xsetroot without window manager

2002-01-11 Thread Alexander Gottwald

On Fri, 11 Jan 2002, Ralf Habacker wrote:

 Hi,
 
 I'm using the latest Xserver Test Release and have recognized a problem, 
 when starting some apps without any window manager.
 
 For starting kde/kde2 I'm using setxroot to choose another background at 
 the start of the launching process, which needs some time. At this time no 
 window manager is running. With this configuration the color isn't set, 
 but the xserver seems to be restarted. (The window seems to be closed for 
 a little while and comes back) After startung twm, kwm or kwin color 
 setting works. The same effect occurs, when I'm starting for example 
 xdpyinfo without any window manager. When the end of the listing is 
 reached the server restarts.

This is the normal behavior. After the last client disconnected, the 
Xserver resets. Normally xinit is the first process that connects to the 
Xserver, exec the .xinitrc scripts and exits after the last program from 
xinitrc (normally the windowmanger) has ended.

You can switch the Xserver to not resetting by adding the switch -noreset 
to the XWin commandline. This is not recommend if you use the Xserver for
terminals, since all settings that are made in a session are not reset until 
the next session starts.
 
bye
ago 
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723
 phone: +49 3725 349 80 80  mobile: +49 172 7854017




Newbie needs help opening browser window.

2002-01-11 Thread Raber Chris

Reposting, I don't need a direct email response. I
found the WEB UI to the list archive...

First, thanks for Xfree/cygwin. Just what I needed to
do some remote Linux work from my PC.

I have cygwin/xfree and can start remote xterms from a
linux server just fine. I'd like to be able to run a
netscape or other browser from my remote linux
machine, but trying to run netscape doesn't seem to
work.

I am using the twm. Do I have to run kde or gnome to
pull this off? What is the simplest way to use some
other window manager? I'd prefer not to have to
install another wm on my pc if I don't have to.

Suggestions are much appreciated.

TIA,

-Chris.


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



Re: remote xterm hangs when commands produce lots of stdout output

2002-01-11 Thread Andrew Markebo

An alternative might be to try a rxvt from the remote host and see
what happens.. 

/Andy

/ Raber Chris [EMAIL PROTECTED] wrote:
| If I do a command the produces lots of fast output to
| stdout (like ls -l for a directory with lots of
| entries), my remote xterms hang.
| 
| Local xterms that telnet into the remote site work
| fine.
| 
| Are there some parameters I should be setting on XWin
| to help with this?
| 
| TIA,
| 
| -Chris.
| 
| __
| Do You Yahoo!?
| Send FREE video emails in Yahoo! Mail!
| http://promo.yahoo.com/videomail/
| 

-- 
 The eye of the beholder rests on the beauty!



Re: Newbie needs help opening browser window.

2002-01-11 Thread Brian Genisio

Well, running a browser should be as easy as running it with a display set :

netscape -display winmachine:0

Or setting the display variable, and running netscape :

setenv DISPLAY winmachine:0
netscape

To run XDMCP, if you have it enabled in the linux box (I think most
distributions have it on by default), simply use the following command line
variables when starting the X server (This is in the user's manual):

-query linuxIP -from windowsIP

Brian


--- Raber Chris [EMAIL PROTECTED] wrote:
 Brian,
 
 You are a bit confused by my question because I am
 confused and propagating confusion!
 
 I am not sure if I want to run a different window
 manager or not. What I want is to be able to run a
 browser window from the remote Linux machine on my
 XWin client on cygwin. The reason is that I am going
 to be doing some installs via that browser and it
 makes my life easier (i.e. easier than using lynx that
 is).
 
 If I need to run a different window manager, then so
 be it. I have been reading about XDMCP but I don't
 fully get it. Can you point me to the best place to
 learn how to set up XDMCP for the Linux box? Is this a
 good reference:
 http://www.linuxdoc.org/HOWTO/XDMCP-HOWTO/
 
 Thanks again,
 
 -Chris.
 
 --- Brian Genisio [EMAIL PROTECTED] wrote:
  Well, I am a bit confused about your question.  If
  you are looking to run
  annother window manager, but not run it from the
  Windows box, then run it from
  the the linux box...
  
  Get the XFree/Cygwin server up
  From the Linux box, run the windows manager... (ex.
  fvwm -display windows:0)
  
  I like using the XDMCP feature, documented on the
  website.  XDMCP allows you to
  log in remotely, and ship your desktop to the
  XFree/Cygwin server.  It works
  well.  
  
  Brian
  
  
  --- Raber Chris [EMAIL PROTECTED] wrote:
   Reposting, I don't need a direct email response. I
   found the WEB UI to the list archive...
   
   First, thanks for Xfree/cygwin. Just what I needed
  to
   do some remote Linux work from my PC.
   
   I have cygwin/xfree and can start remote xterms
  from a
   linux server just fine. I'd like to be able to run
  a
   netscape or other browser from my remote linux
   machine, but trying to run netscape doesn't seem
  to
   work.
   
   I am using the twm. Do I have to run kde or gnome
  to
   pull this off? What is the simplest way to use
  some
   other window manager? I'd prefer not to have to
   install another wm on my pc if I don't have to.
   
   Suggestions are much appreciated.
   
   TIA,
   
   -Chris.
   
   
   __
   Do You Yahoo!?
   Send FREE video emails in Yahoo! Mail!
   http://promo.yahoo.com/videomail/
  
  
  __
  Do You Yahoo!?
  Send FREE video emails in Yahoo! Mail!
  http://promo.yahoo.com/videomail/
 
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



RE: problem with using xsetroot without window manager

2002-01-11 Thread Dawson, David W

As a matter of fact, that is how it works.

It is a design feature of XFree86 (and most other X-Servers) to perform a
reset when the number of client connections goes to zero.  In your case (and
as discussed before) the xsetroot program is the only client connected, so
after it set's the root background, it disconnects and XWin resets.  AFIK
this behavior is not optional.  You need to re-order the sequence of client
starts, so that there is a persistent client (like an xterm or the window
manager, or...) 

-D
-
David Dawson
[EMAIL PROTECTED]
703-367-3885


 -Original Message-
 From: Ralf Habacker [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, January 11, 2002 2:34 AM
 To:   Cygwin-Xfree
 Subject:  problem with using xsetroot without window manager
 
 Hi,
 
 I'm using the latest Xserver Test Release and have recognized a problem,
 when starting some
 apps without any window manager.
 
 For starting kde/kde2 I'm using setxroot to choose another background at
 the start of the
 launching process, which needs some time. At this time no window manager
 is running. With
 this configuration the color isn't set, but the xserver seems to be
 restarted. (The window
 seems to be closed for a little while and comes back)
 After startung twm, kwm or kwin color setting works.
 The same effect occurs, when I'm starting for example xdpyinfo without any
 window manager.
 When the end of the listing is reached the server restarts.
 
 Any ideas ?
 
 Regards
 Ralf



RE: problem with using xsetroot without window manager

2002-01-11 Thread Dawson, David W

Pardon my earlier mistake (re: ability to turn off XWin reset).  The
-noreset command line option appears to be undocumented(?)
-D.
-
David Dawson
[EMAIL PROTECTED]
703-367-3885


 -Original Message-
 From: Alexander Gottwald
 [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, January 11, 2002 4:19 AM
 Cc:   Cygwin-Xfree
 Subject:  Re: problem with using xsetroot without window manager
 
 On Fri, 11 Jan 2002, Ralf Habacker wrote:
 
  Hi,
  
  I'm using the latest Xserver Test Release and have recognized a problem,
 
  when starting some apps without any window manager.
  
  For starting kde/kde2 I'm using setxroot to choose another background at
 
  the start of the launching process, which needs some time. At this time
 no 
  window manager is running. With this configuration the color isn't set, 
  but the xserver seems to be restarted. (The window seems to be closed
 for 
  a little while and comes back) After startung twm, kwm or kwin color 
  setting works. The same effect occurs, when I'm starting for example 
  xdpyinfo without any window manager. When the end of the listing is 
  reached the server restarts.
 
 This is the normal behavior. After the last client disconnected, the 
 Xserver resets. Normally xinit is the first process that connects to the 
 Xserver, exec the .xinitrc scripts and exits after the last program from 
 xinitrc (normally the windowmanger) has ended.
 
 You can switch the Xserver to not resetting by adding the switch -noreset 
 to the XWin commandline. This is not recommend if you use the Xserver for
 terminals, since all settings that are made in a session are not reset
 until 
 the next session starts.
  
 bye
   ago 
 -- 
  [EMAIL PROTECTED] 
  http://www.gotti.org   ICQ: 126018723
  phone: +49 3725 349 80 80mobile: +49 172 7854017



RE: problem with using xsetroot without window manager

2002-01-11 Thread Ralf Habacker


 On Fri, 11 Jan 2002, Ralf Habacker wrote:

  Hi,
 
  I'm using the latest Xserver Test Release and have recognized a problem,
  when starting some apps without any window manager.
 
  For starting kde/kde2 I'm using setxroot to choose another background at
  the start of the launching process, which needs some time. At this time no
  window manager is running. With this configuration the color isn't set,
  but the xserver seems to be restarted. (The window seems to be closed for
  a little while and comes back) After startung twm, kwm or kwin color
  setting works. The same effect occurs, when I'm starting for example
  xdpyinfo without any window manager. When the end of the listing is
  reached the server restarts.

 This is the normal behavior. After the last client disconnected, the
 Xserver resets. Normally xinit is the first process that connects to the
 Xserver, exec the .xinitrc scripts and exits after the last program from
 xinitrc (normally the windowmanger) has ended.

 You can switch the Xserver to not resetting by adding the switch -noreset
 to the XWin commandline. This is not recommend if you use the Xserver for
 terminals, since all settings that are made in a session are not reset until
 the next session starts.

Thats sounds good.
...

 It is a design feature of XFree86 (and most other X-Servers) to perform a
 reset when the number of client connections goes to zero.  In your case (and
 as discussed before) the xsetroot program is the only client connected, so
 after it set's the root background, it disconnects and XWin resets.  AFIK
 this behavior is not optional.  You need to re-order the sequence of client
 starts, so that there is a persistent client (like an xterm or the window
 manager, or...)
 bye

The reason is, I don't like the default background while kde2 starts and this need a 
while.

Thanks for this hints.
Ralf




Re: Newbie needs help opening browser window.

2002-01-11 Thread Raber Chris

Brian,

 
 Well, running a browser should be as easy as running
it with 
 a display set :
 
 netscape -display winmachine:0

Tried this, does not work. No window ever is
displayed.

 
 Or setting the display variable, and running
netscape :
 
 setenv DISPLAY winmachine:0
 netscape

Same problem.

 
 To run XDMCP, if you have it enabled in the linux
box (I think most
 distributions have it on by default), simply use the

 following command line
 variables when starting the X server (This is in the
user's manual):
 
 -query linuxIP -from windowsIP
 
 Brian


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



RE: Newbie needs help opening browser window.

2002-01-11 Thread Suhaib Siddiqi

You can read more about XDMPC at Cygwin/Xfree website.

What is your remote shell?  CSH or BASH.  If it is bash 
then you need 

export DISPLAY=your_windows_ip_address:0.0

Suhaib

 -Original Message-
 From: Brian Genisio [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, January 11, 2002 10:34 AM
 To: Raber Chris; [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Newbie needs help opening browser window.
 
 
 So did you try running an XDMCP desktop with the command line 
 interface that I mentioned in the last mail?
 
 Brian
 
 
 --- Raber Chris [EMAIL PROTECTED] wrote:
  Brian,
  
   
   Well, running a browser should be as easy as running
  it with
   a display set :
   
   netscape -display winmachine:0
  
  Tried this, does not work. No window ever is
  displayed.
  
   
   Or setting the display variable, and running
  netscape :
   
   setenv DISPLAY winmachine:0
   netscape
  
  Same problem.
  
   
   To run XDMCP, if you have it enabled in the linux
  box (I think most
   distributions have it on by default), simply use the
  
   following command line
   variables when starting the X server (This is in the
  user's manual):
   
   -query linuxIP -from windowsIP
   
   Brian
  
  
  __
  Do You Yahoo!?
  Send FREE video emails in Yahoo! Mail! 
  http://promo.yahoo.com/videomail/
 
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail! 
 http://promo.yahoo.com/videomail/
 



RE: Newbie needs help opening browser window.

2002-01-11 Thread Raber Chris

 
 So did you try running an XDMCP desktop with the
command line 
 interface that I
 mentioned in the last mail?

Unfortunately the machine is physically remote from me
and I am not root, so I haven't been able to try this
yet. I do intend to try this, but it's going to take a
little while...

The documentation on XDMCP present on the cygwin site
shows how to use XDMCP, but not how to set it up...

 
 Brian


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



RE: Newbie needs help opening browser window.

2002-01-11 Thread Raber Chris

You can read more about XDMPC at Cygwin/Xfree
website.

That document shows how to use XDMPC, but not how to
set it up.

What is your remote shell?  CSH or BASH.  If it is
bash then you need 

export DISPLAY=your_windows_ip_address:0.0

I am using bash and this is exactly how I am setting
the DISPLAY variable. It's not working. Netscape sits
there as a background job but never comes up on my
XWin? Very wierd.


Suhaib



__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



RE: Newbie needs help opening browser window.

2002-01-11 Thread Suhaib Siddiqi



 -Original Message-
 From: Raber Chris [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, January 11, 2002 11:02 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Newbie needs help opening browser window.
 
 
 You can read more about XDMPC at Cygwin/Xfree
 website.
 
 That document shows how to use XDMPC, but not how to
 set it up.
 

It is because you setup XDMCP at UNIX box and most UNIX boxes do this by
default when you install OS.  From Cygwin/Xfree you only use to connect.

 What is your remote shell?  CSH or BASH.  If it is
 bash then you need
 
 export DISPLAY=your_windows_ip_address:0.0
 
 I am using bash and this is exactly how I am setting
 the DISPLAY variable. It's not working. Netscape sits
 there as a background job but never comes up on my
 XWin? Very wierd.
 


Are you at a remote machine which is behind the firewall or maybe on another
premisses?  That might explain the hangs and lags.

Suhaib

 
 Suhaib
 
 
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail! 
 http://promo.yahoo.com/videomail/
 



RE: Newbie needs help opening browser window.

2002-01-11 Thread Brian Genisio

Yes, but did you try it anyways?  Most Linux distributions set XDMCP up as
default when it sets up X.  I would simply try it, before you worry about
setting it up on the Linux system.

Another thought about the Netscape problem you are having... How much time are
you giving it to come up?  How far away is the remote machine?  (What is the
ping rate?)  If you have a ping rate of 70ms or so, Netscape will be dog slow,
and could take as long as 10 minutes to come up X programs dont work too
well over networks with latency (ie cable modem).

The other thought, if you think your window manager is the problem... kill off
twm, and run a window manager from the remote machine, and try it again.

Brian



--- Raber Chris [EMAIL PROTECTED] wrote:
  
  So did you try running an XDMCP desktop with the
 command line 
  interface that I
  mentioned in the last mail?
 
 Unfortunately the machine is physically remote from me
 and I am not root, so I haven't been able to try this
 yet. I do intend to try this, but it's going to take a
 little while...
 
 The documentation on XDMCP present on the cygwin site
 shows how to use XDMCP, but not how to set it up...
 
  
  Brian
 
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



Asian Delights Await

2002-01-11 Thread asian_dreams


ILLICIT ASIAN WOMEN ROCK ANY HARDCORE SEX PARTY 

== http://www.illicitasian.com/?settc1089

Seductive orinetal models got this site in the Top 3 Asian Hardcore Sites on the 
internet in 2001.

Come on in and see why - thousands of pics, streaming full length vids and live Asian 
sex shows.

Filled with teen delights, hardcore fucking, celebrities, Asian schoolgirl princesses 
and hot porn stars.

Illicit Asian specializes in only the best premium Asian erotica for your viewing 
pleasure.

GO THERE NOW AND CHECK IT OUT
== http://www.illicitasian.com/?settc1089

Over 35 handpicked photos of the prettiest, horniest and dirtiest Asian babes.

The hottest models captured by the best photographers and video producers available.

Illicit Asian oozes quality - in more pictures and videos than you will believe.

YOU MUST SEE THIS ONE TODAY
== http://www.illicitasian.com/?settc1089
== http://www.illicitasian.com/?settc1089
== http://www.illicitasian.com/?settc1089


REMOVE INSTRUCTIONS
You received this mail because your email is on one of our opt-in lists.
Click below to remove your address from our future mailings.
Due to our automated mailing system, please allow 7-14 days for this to take effect.
http://www.barelylegallesbians.com/db/



Asian Delights Await

2002-01-11 Thread asian_dreams


ILLICIT ASIAN WOMEN ROCK ANY HARDCORE SEX PARTY 

== http://www.illicitasian.com/?settc1089

Seductive orinetal models got this site in the Top 3 Asian Hardcore Sites on the 
internet in 2001.

Come on in and see why - thousands of pics, streaming full length vids and live Asian 
sex shows.

Filled with teen delights, hardcore fucking, celebrities, Asian schoolgirl princesses 
and hot porn stars.

Illicit Asian specializes in only the best premium Asian erotica for your viewing 
pleasure.

GO THERE NOW AND CHECK IT OUT
== http://www.illicitasian.com/?settc1089

Over 35 handpicked photos of the prettiest, horniest and dirtiest Asian babes.

The hottest models captured by the best photographers and video producers available.

Illicit Asian oozes quality - in more pictures and videos than you will believe.

YOU MUST SEE THIS ONE TODAY
== http://www.illicitasian.com/?settc1089
== http://www.illicitasian.com/?settc1089
== http://www.illicitasian.com/?settc1089


REMOVE INSTRUCTIONS
You received this mail because your email is on one of our opt-in lists.
Click below to remove your address from our future mailings.
Due to our automated mailing system, please allow 7-14 days for this to take effect.
http://www.barelylegallesbians.com/db/



Re: briangenisio@yahoo.com

2002-01-11 Thread Brian Genisio

Yeah, with 100ms - 350ms, I know for a fact that Netscape is very slow.  I am
not sure if you know much about the X protocol, but a simple X program, such as
xterm will send about 20 protocol messages out... Many of the X protocol
messages are roundtrip and serial... Because of this, if you have (pseudo)code
that does something like this :

OpenDisplay
CreateWindow
GetGC
GetFont

Then you have AT_LEAST 4 round trip messages, assuming 1 message per call.
(This is very often not the case)  With low latency, this is not a problem, but
let's assume a latency of 250ms.  4 round-trip messages will take 1 second!!! 
This is huge.

Netscape, unfortuanately, is nowhere near a simple application.  I have done
some playing (using xmond), and found that Netscape makes tens of thousands of
X protocol calls.  Of course, not all of them are round trip, but the ones that
are will hurt :(  You can do the math... It could take close to forever for
Netscape to come up... and when it does, it will be so painful to use, that it
wont be worth it.

You might find a more efficient browser... lnyx, (like you mentioned) would be
one.  You might also try dillo (dillo.sourceforge.net)  It is a very simple
browser that will be much more effiecient to use over a latency such as that.  

If dillo is not enough for you (It might not be), I know that Opera (Opera.com)
boasts to be the fastest Web browser on earth... so we would hope that it has
some more streamlined X communication, but I cant say for sure.

Good luck,
Brian


--- Raber Chris [EMAIL PROTECTED] wrote:
  
  Yes, but did you try it anyways?  Most Linux
 distributions 
  set XDMCP up as
  default when it sets up X.  I would simply try it,
 before you 
  worry about
  setting it up on the Linux system.
 
 I did try it. I got too many retransmissions errors.
 
  
  Another thought about the Netscape problem you are
 having... 
  How much time are
  you giving it to come up?  How far away is the
 remote 
  machine?  (What is the
  ping rate?)  If you have a ping rate of 70ms or so,
 Netscape 
  will be dog slow,
  and could take as long as 10 minutes to come up
 X 
  programs dont work too
  well over networks with latency (ie cable modem).
 
 This is probably the issue. My ping latency is between
 100 and 350 ms! I am over DSL and through a VPN to the
 server I am connecting too.
 
 Sounds like my expectations were not in line with
 reality on this. Now where is that lynx browser... ;-)
 
  
  The other thought, if you think your window manager
 is the 
  problem... kill off
  twm, and run a window manager from the remote
 machine, and 
  try it again.
  
  Brian
 
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



Re: briangenisio@yahoo.com

2002-01-11 Thread Brian Genisio

Yeah... I didnt know for sure which ones did, and which ones didnt cause round
trip... I was simply giving examples Regardless, there are PLENTY of
round-trip messages in Netscape.  (xmond will show them.)

Pixmaps cause high net traffic, but arent effected as much by latency as they
are bandwidth.  A DSL Cable modem usually doesnt have a problem with the pixmap
transfer...  Unless there is a lot of pixmap transfer, such as annimation. 
Still, it is a straight push, and latency matters much less in these cases.

I have written applications that were able to load large pixmaps quickly across
DSL or Cablemodem, but have also written programs with too many XSync calls
(roundtrip wrapper that uses GetInputFocus), causing them to be unusable over
Cable or DSL... It all depends if the designer cared about round-trip or not.

Almost all Motif widgets use XSync calls, as well as calls that are not
streamlined for latency.  I would make a gross assumption that Netscape uses
Motif, or other widget sets that are probably not extremely efficient.

A possible help to the problem might be ssh X compression.  It does a bit for
pixmap transfer.  LBX also can help a little on latency... There is a plain old
X compressor out there as well... but I cant remember the name.

Brian


--- Alexander Gottwald [EMAIL PROTECTED] wrote:
 On Fri, 11 Jan 2002, Brian Genisio wrote:
 
  OpenDisplay
  CreateWindow
 
 CreateWindow does not need Serverresponse. But the pixmap's needed for 
 Netscape cause the high traffic 
  GetGC
  GetFont
 
 bye
   ago
 -- 
  [EMAIL PROTECTED] 
  http://www.gotti.org   ICQ: 126018723
  phone: +49 3725 349 80 80mobile: +49 172 7854017
 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



Kylix Installation???

2002-01-11 Thread Marcus Vinicius Eiffle Duarte

Hi, folks!

has anybody installed Kylix under Cygwin/XFree?
I tried running the installer, but it doesn't seem to like Cygwin, and it
fails to run complaining of the versions of gcc and a few libraries.
If anybody knows the way to get it running, I would like to know.

Thanks,

Marcus Vinicius Eiffle Duarte, M.Sc.

Escola de Química/UFRJ
Centro de Tecnologia, Bloco E, Lab. 113
Cidade Universitária, Rio de Janeiro, RJ, CEP 20949-900
Brasil
Tel: +55 21 2562-7622
[EMAIL PROTECTED]
[EMAIL PROTECTED]
ICQ # 20259520





Re: Kylix Installation???

2002-01-11 Thread Pavel Tsekov

Whoa - you're trying to run a linux application on windows!
Maybe you need to visit http://cygwin.com and see what's the
aim of the project...

Marcus Vinicius Eiffle Duarte wrote:

 Hi, folks!
 
 has anybody installed Kylix under Cygwin/XFree?
 I tried running the installer, but it doesn't seem to like Cygwin, and it
 fails to run complaining of the versions of gcc and a few libraries.
 If anybody knows the way to get it running, I would like to know.





Did you get your check ?

2002-01-11 Thread Mike

 Dear Friends  Future Millionaires:
 
 Invest in technology that will make you money.
 
 AS SEEN ON NATIONAL TV:
 Making over half million dollars every 4 to 5 months from 
 your home?  A one-time investment of only $25 U.S. Dollars 
 let's get you on the road to financial success.
 ALL THANK'S TO THE COMPUTER AGE AND THE 
 INTERNET !
  
 
 ===
 BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!!
 
 Before you say ''Bull'', please read the following. This is the 
 letter you have been hearing about on the news lately. Due to 
 the popularity of this letter on the Internet, a national weekly 
 news program recently devoted an entire show to the 
 investigation of this program described below, to see if it 
 really can make people money. The show also investigated 
 whether or not the program was legal.
 
 Their findings proved once and for all that there are 
 ''absolutely NO Laws prohibiting the participation in the 
 program and if people can follow the simple instructions, they 
 are bound to make some mega bucks with only$25 out of 
 pocket cost''. DUE TO THE RECENT INCREASE OF 
 POPULARITY  RESPECT THIS PROGRAM
 HAS ATTAINED, IT IS CURRENTLY WORKING
 BETTER THAN EVER.
 
 This is what one had to say: ''Thanks to this profitable 
 opportunity. I was approached many times before but each 
 time I passed on it. I am so glad I finally joined just to see 
 what one could expect in return for the minimal effort and 
 money required. To my astonishment, I received a total of 
 $610,470.00 in 21 weeks, with money still coming in.
 Pam Hedland, Fort Lee, New Jersey.
 
 
 
 Here is another testimonial: This program has been around 
 for a long time but I never believed in it. But one day when I 
 received this again in the mail I decided to gamble my $25 on 
 it. I followed the simple instructions and walaa . 3 weeks 
 later the money started to come in. First month I only made 
 $240.00 but the next 2 months after that I made a total of 
 $290,000.00. So far, in the past 8 months by re-entering the
 program, I have made over $710,000.00 and I am playing it 
 again. The key to success in this program is to follow the 
 simple steps and NOT change anything.'' More testimonials 
 later but first,
 
 =PRINT THIS NOW FOR YOUR FUTUREREFERENCE=
 
 $$
 
 If you would like to make at least $500,000 every 4 to 5 
 months easily and comfortably, please read the 
 following...THEN READ IT AGAIN and AGAIN!!!
 $$
 
 FOLLOW THE SIMPLE INSTRUCTION BELOW AND 
 YOUR FINANCIAL DREAMS WILL COME TRUE, 
 GUARANTEED! INSTRUCTIONS:
 
 =Order all 5 reports shown on the list below =
 
 For each report, send $5 CASH, THE NAME  NUMBER 
 OF THE REPORT YOU ARE ORDERING and YOUR E-
 MAIL ADDRESS to the person whose
 name appears ON THAT LIST next to the report. MAKE 
 SURE YOUR RETURN ADDRESS IS ON YOUR 
 ENVELOPE TOP LEFT CORNER in case of any mail
 problems.
 
 === When you place your order, make sure you order each of 
 the 5 reports.  You will need all 5 reports so that you can save 
 them on your  computer and RESELL them. YOUR TOTAL 
 COST $5 X 5=$25.00.
 
 Within a few days you will receive, vie e-mail, each of the 5 
 reports from these 5 different individuals. Save them on your 
 computer so they  will be accessible for you to send to the 
 1,000's of people who will order them from you. Also make a 
 floppy of these reports and keep them on your desk in case 
 something happens to your computer.
 
 IMPORTANT - DO NOT alter the names of the people who 
 are listed next to each report, or their sequence on the list, in 
 any way other than what is instructed below in step '' 1 
 through 6 '' or you will loose out on majority of your profits. 
 Once you understand the way this works, you will also see 
 how it does not work if you change it. Remember, this 
 method has been tested, and if you alter, it will NOT work !!! 
 People have tried to put their friends/relatives names on all 
 five thinking they could get all the money. But it does not 
 work this way. Believe us, we all have tried to be greedy and 
 then nothing happened. So Do Not try to change anything
 other than what is instructed. Because if you do, it will not 
 work for you.
  
 Remember, honesty reaps the reward!!!
 
 1 After you have ordered all 5 reports, take this 
 advertisement and REMOVE the name  address of the 
 person in REPORT # 5. This person has made it through the 
 cycle and is no doubt counting their fortune.
 2 Move the name  address in REPORT # 4 down TO 
 REPORT # 5.
 3 Move the name  address in REPORT # 3 down TO 
 REPORT # 4.
 4 Move the name  address in REPORT # 2 down TO 
 REPORT # 3.
 5 Move the name  address in REPORT # 1 down TO 
 REPORT # 2
 6 Insert YOUR name  address in the REPORT # 1 
 Position. PLEASE MAKE SURE you copy every name  

err from xwin.exe

2002-01-11 Thread cdutzz

 I installed CygWin(2.125.2.10)+xFree 4.1.0 on Win2000(with sp2).
 When I run xwin.exe under Cygwin,I was told that the application fail to normal 
initialize at 0xc142 from a windows dialog box.
 What shall I do? 

 


»¶Ó­Ê¹ÓÃ263ÌìÏÂÓÊÃâ·ÑÐÅÏä http://freemail.x263.net
welcome to enjoy 263 Freemail http://freemail.x263.net
_
263ÔÚÏß_ÖйúÈ˵ÄÍøÉϼÒÔ°
Tel:010-64240315 Fax:010-64240295 ?1998-2001°æȨËùÓÐ
263·þÎñÈÈÏß   010-64262631  [EMAIL PROTECTED]  





[Fwd: src/winsup/w32api ChangeLog include/ntsecapi.h ...]

2002-01-11 Thread Earnie Boyd

I've asked Danny Smith to review these patches.

Earnie.
---BeginMessage---

CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]2002-01-11 02:23:21

Modified files:
winsup/w32api  : ChangeLog 
winsup/w32api/include: ntsecapi.h objbase.h rapi.h rpc.h 
   rpcdce.h rpcdcep.h rpcndr.h rpcnsip.h 
   rpcproxy.h windef.h 

Log message:
2002-01-11 Ralf Habacker  [EMAIL PROTECTED]

* include/ntsecapi.h:  Fixed missing void parameter type in some prototypes.
* include/objbase.h: Ditto.
* include/rapi.h: Ditto.
* include/rpc.h: Ditto.
* include/rpcdce.h: Ditto.
* include/rpcdcep.h: Ditto.
* include/rpcndr.h: Ditto.
* include/rpcnsip.h: Ditto.
* include/rpcproxy.h: Ditto.
* include/windef.h: Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=srcr1=1.137r2=1.138
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/ntsecapi.h.diff?cvsroot=srcr1=1.6r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/objbase.h.diff?cvsroot=srcr1=1.3r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/rapi.h.diff?cvsroot=srcr1=1.2r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/rpc.h.diff?cvsroot=srcr1=1.1.1.1r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/rpcdce.h.diff?cvsroot=srcr1=1.3r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/rpcdcep.h.diff?cvsroot=srcr1=1.3r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/rpcndr.h.diff?cvsroot=srcr1=1.3r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/rpcnsip.h.diff?cvsroot=srcr1=1.1.1.1r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/rpcproxy.h.diff?cvsroot=srcr1=1.2r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/windef.h.diff?cvsroot=srcr1=1.6r2=1.7

---End Message---


RE: Problem with winsup/cinstall compilation

2002-01-11 Thread Ralf Habacker


 Ralf, I've checked this in.

 However: Your changelog was atrocious.

 The changes are meant to be 'proper' sentences. That means
 capitalisation is important, as is spelling.

 Next time I'll reject the patch and get you to fix it up. That wastes
 time (yours) though, so I'd really prefer it if the changelog is
 acceptable first time round.

I have looked in the cygwin ChangeLog for making a proper ChangeLog, but don't 
recognized
this details. Sorry

Ralf




Re: Problem with winsup/cinstall compilation

2002-01-11 Thread Christopher Faylor

On Fri, Jan 11, 2002 at 03:45:06PM +0100, Ralf Habacker wrote:

 Ralf, I've checked this in.

 However: Your changelog was atrocious.

 The changes are meant to be 'proper' sentences. That means
 capitalisation is important, as is spelling.

 Next time I'll reject the patch and get you to fix it up. That wastes
 time (yours) though, so I'd really prefer it if the changelog is
 acceptable first time round.

I have looked in the cygwin ChangeLog for making a proper ChangeLog, but don't 
recognized
this details. Sorry

http://cygwin.com/contrib.html

cgf



Re: Setting up user mode cron

2002-01-11 Thread Corinna Vinschen

On Thu, Jan 10, 2002 at 10:45:27AM -0800, Andrew DeFaria wrote:
 limits to cron. IOW I guess what I'm saying is that *something* should 
 be done (I know you can see this as whining and perhaps it is. But it's 
 whining for a good cause! :-)

So, why aren't you going to roll up your sleeves and create a
really useful patch?  That's better than whining, I think.

 This cron seems to support setting a MAILTO environment variable to tell 
 cron where to mail output in case of errors. Could it not simply 
 additionally support USERNAME and PASSWD environment variables that, if 
 present in the crontab would cause cron to change user context with 
 asking for logon credentials? Of course of concern would be the possibly 
 cleartext PASSWD. Perhaps PASSWD could be required to be encrypted like 
 that usually in bona fide Unix /etc/passwd (/etc/shadow) files. It's 
 just a thought of a possible workaround to a possibly bad situation.

You can't encrypt the passwd as in UNIX.  These are asymmetrically
encryptions.  You can't get the original passwd back.  Your proposition
would need a symmetrically encrypted password which means, the
encryption key is either hardcoded in cron (URGH) or it's evaluated
by some deterministical function (urgh).  And you would of course
need an extra tool to create the encrypted from the cleartext password
to allow a user to type it into his/her crontab file.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE:Cygwin on a CD

2002-01-11 Thread Jorge Goncalvez

Hi, I use Cygwin and I wonder if it would be possible to run Cygwin environment 
without installing it in hard disk, by running it from a CD for exemple, I know 
that some Linux distribution can be run without installing them(no special 
partition needed) in hard disk and running them from a CD.
Thanks. 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: telnet cannot see mount drive - another method

2002-01-11 Thread Corinna Vinschen

On Fri, Jan 11, 2002 at 06:36:22AM +, Tiffany Chan wrote:
 I have try another method to cd to another server
 rather than using mount or net use. 
 In my case, I want to get/put files from w2k advanced
 server to/from HP-Unix Server.
 
 ---   
 Cygwin in w2k HP-Unix
  --User Mapping by SFU --
 /home/UserA   /upload/UserA 
 Owner=UserA:GroupAOwner=UserA:GroupA Mode:755
   
   Under /upload/UserA,
   755 UserA:GroupA FileOne
   755 UserA:GroupA DirOne
 ---   
 
 I installed a software Service For Unix 2.0 (SFU)
 which is used to map userid and group between w2k and
 Unix. 
 
 The Unix Server acts as NFS server. I telnet to w2k
 using Cygwin, logon as UserA and type
 $cd \\\UnixServer\\upload\\UserA
 $ls -l
 rw-r--r-- UserA:GroupA FileOne
 rwxr-xr-x UserA:GroupA DirOne
 
 The ownership is correct, but the mode go wrong. When
 I type
 $chmod 755 FileOne
 The mode of FileOne also 644 shown in Cygwin. 755
 shown in Unix.
 
 UserA can delete FileOne in Cygwin. Thus I think the
 ownership is mapped between w2k and Unix correctly. 
 
 What's wrong with the mode ? Did it related to
 mapping leak ? 
 How to shown 755 in Cygwin when I type `chown 755
 FileOne` in `\\UnixServer\upload\UserA` ?

I can think of three possible causes:

- SFU has fixed settings for ACE permission bits - UNIX permissions
  which do not correspond cleanly (in which case you would be out of
  luck).
- SFU has configurable settings for that.
- The NFS share's mapping disallows setting the x-bit.

In either way it could help to debug that problem.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Quick question on setup.exe

2002-01-11 Thread Pavel Tsekov

Hey, Vincent! :)

First of all - this is _NOT_ a download application. This
is an installer.

Now to answer you question - No! The package selection is not
based on the OS, on which setup.exe is currently running.

Vincent Arnoux wrote:

 Hello,
 Does this download application for cygwin takes in account the OS on
 which it is running (i.e. are there different packages to download
 whether you are running it on Windows 95 or Windows NT) ?



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RPM installer needed for my PHP project

2002-01-11 Thread Jean-Michel POURE

Le Mercredi 9 Janvier 2002 17:08, vous avez écrit :
 Jean-Michel,
 On Wed, Jan 09, 2002 at 09:12:22AM +0100, Jean-Michel POURE wrote:
 See the following for my 4.0.2 experiences and patch:
 http://sources.redhat.com/ml/cygwin/2001-07/msg00949.html
 Jason

Dear Jason,

Are there technical problems for not including RPM in the standard Cygwin 
packages? Again, I will not be using Cygwin for Cygwin installation itself. 
But it will be of great help for other projects, including mine.

This would be so fine to just type rpm --rebuild package_name.src.rpm to 
compile under Cygwin. Or rpm -ba spec_name to generate packages after 
modifying the specs.

Best regards,
Jean-Michel POURE

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RPM installer needed for my PHP project

2002-01-11 Thread Robert Collins

No one has offered to be a package maintainer for Bezerkly db (a
pre-requisite) or rpm.

Rob


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




win32 api

2002-01-11 Thread Jean le Roux

Hi all

Does anyone know where I can find some references to API calls such
as those exported with /usr/include/w32api/winreg.h ? I'm rather
curious as to what the parameters are intended for... not all of them
are obvious.

Thanx

-- 
Jean le Roux
Binary Entropy Catalyst

Fairy Tale, n.:
A horror story to prepare children for the newspapers.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: win32 api

2002-01-11 Thread Robert Collins

Microsoft's MSDN is available online at msdn.microsoft.com.

Probably someone should setup a specific project to work on free
documentation for w32api  which can be distributed with w32api like the
glibc info pages and man pages are distributed with glibc. ReactOS is
doing such documentation, but as they have a kernel to work on too, it's
quite a task :}.

Rob
===
- Original Message -
From: Jean le Roux [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:20 PM
Subject: win32 api


 Hi all

 Does anyone know where I can find some references to API calls such
 as those exported with /usr/include/w32api/winreg.h ? I'm rather
 curious as to what the parameters are intended for... not all of them
 are obvious.

 Thanx

 --
 Jean le Roux
 Binary Entropy Catalyst

 Fairy Tale, n.:
 A horror story to prepare children for the newspapers.

 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Bug reporting: http://cygwin.com/bugs.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ksh on cygwin

2002-01-11 Thread Robert Collins

- Original Message -
From: Corinna Vinschen [EMAIL PROTECTED]

 mmap (MapViewOfFile resp.) alwaus map whole pages.  A page is 4096
 bytes long.

 If a file is, say, 8190 bytes, then we have a two page map, size 8192.
 So we have two trailing 0 bytes.  If getpagesize() returns 4096, gcc
can
 count that correctly, if getpagesize returns 65536, gcc assumes 57346
 trailing bytes.  No problem, gcc only accesses exactly one trailing 0
byte.

 If the file is 8192 bytes long, mmap maps exactly 8192 bytes, no
 trailing bytes left.  If getpagesize() returns 4096, gcc knows that,
 if getpagesize returns 65536, gcc assumes 57344 trailing bytes.
 Now it is a problem, since the one trailing 0 byte doesn't exist.
 Segmentation fault.

Ok. Lets see if I understand:

Let m be the size reported by getpagesize.
Let f be the size of a file gcc is mmaping.

1) Gcc can't handle a remainder of m divided by f that is greater than
some number between  2 and 57346.

2) If the remainfer of m divided by f is 0, gcc behaves correctly.

3) If f  m, then gcc assumes that f is m bytes long?

Sounds to me like gcc is badly broken.
i.e. in your prior example:
where m = 4096
if the file is 2048 bytes long, mmap maps exactly 2048 bytes. if m is
4096, gcc assumes there is  2048 trailing bytes. Now it is a problem,
since the one trailing 0 byte doesn't exist. Segmentation fault.

IOW, I don't see how the 4K vs 64K thing affects this scenario, it seems
to be driven purely by the fact the m != 1.

Rob


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Quick question on setup.exe

2002-01-11 Thread Gary R. Van Sickle

Just to clarify a bit:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
 Of Pavel Tsekov

 Hey, Vincent! :)

 First of all - this is _NOT_ a download application. This
 is an installer.


Well, it's really both a floor wax AND a dessert topping*, but I digress.

*For those outside the US, or with more years ahead than behind, that's from a
Saturday Night Live skit.  I suppose knowing that doesn't make it any funnier
though.

 Now to answer you question - No! The package selection is not
 based on the OS, on which setup.exe is currently running.


True, and the reason that is is because the same exes get installed regardless
of OS.  Any differences are taken into account (primarily by the cygwin1 and
other DLLs) at runtime.

--
Gary R. Van Sickle
Brewer.  Patriot.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ksh on cygwin

2002-01-11 Thread Corinna Vinschen

On Fri, Jan 11, 2002 at 09:32:57PM +1100, Robert Collins wrote:
 - Original Message -
 From: Corinna Vinschen [EMAIL PROTECTED]
 
  mmap (MapViewOfFile resp.) alwaus map whole pages.  A page is 4096
  bytes long.
 
  If a file is, say, 8190 bytes, then we have a two page map, size 8192.
  So we have two trailing 0 bytes.  If getpagesize() returns 4096, gcc
 can
  count that correctly, if getpagesize returns 65536, gcc assumes 57346
  trailing bytes.  No problem, gcc only accesses exactly one trailing 0
 byte.
 
  If the file is 8192 bytes long, mmap maps exactly 8192 bytes, no
  trailing bytes left.  If getpagesize() returns 4096, gcc knows that,
  if getpagesize returns 65536, gcc assumes 57344 trailing bytes.
  Now it is a problem, since the one trailing 0 byte doesn't exist.
  Segmentation fault.
 
 Ok. Lets see if I understand:
 
 Let m be the size reported by getpagesize.
 Let f be the size of a file gcc is mmaping.
 
 1) Gcc can't handle a remainder of m divided by f that is greater than
 some number between  2 and 57346.
 
 2) If the remainfer of m divided by f is 0, gcc behaves correctly.
 
 3) If f  m, then gcc assumes that f is m bytes long?
 
 Sounds to me like gcc is badly broken.
 i.e. in your prior example:
 where m = 4096
 if the file is 2048 bytes long, mmap maps exactly 2048 bytes.

No, it maps 4096 bytes since memory maps always use chunks of
the pagesize which is 4096 on Win32.

if m is
 4096, gcc assumes there is  2048 trailing bytes. Now it is a problem,
 since the one trailing 0 byte doesn't exist. Segmentation fault.
 
 IOW, I don't see how the 4K vs 64K thing affects this scenario, it seems
 to be driven purely by the fact the m != 1.

Sorry but you didn't understand or I don't understand your
above reasoning which is likely.

GCC isn't broken (from the gcc's engineers point of view) but it's
using a property of mmap: mmap always maps whole pages and the
trailing unused bytes in a mmap'd page are always zeroed out.

This fact is used for some sort of speed up when reading header
files.  IMO that's ugly but...
Anyway, gcc reads a C header file just as a string with trailing 0.

For that reason gcc has to know the pagesize of the system, returned
by getpagesize().

If the file size is not exactly a multiple of the pagesize, you
always have a trailing zero so gcc can use the above method.  If
a file has no trailing 0 byte (which would happen very seldom)
gcc would have to fallback to another method (I do know nothing
about).

Now, the pagesize on Windows is 4K.  If the file size is coincidentally
4096 or 8192 or any other multiple of 4K, gcc knows that it has to
fallback to it's slow method since getpagesize() has returned the
correct value.  If we change getpagesize() to return the granularity
(64K) instead of the pagesize, gcc would wrongly assume that the
file doesn't exactly match the pagesize so it would assume that
it can use the fast method and would expect a trailing 0 byte.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ksh on cygwin

2002-01-11 Thread Robert Collins


===
- Original Message -
From: Corinna Vinschen [EMAIL PROTECTED]

 Now, the pagesize on Windows is 4K.  If the file size is
coincidentally
 4096 or 8192 or any other multiple of 4K, gcc knows that it has to
 fallback to it's slow method since getpagesize() has returned the
 correct value.  If we change getpagesize() to return the granularity
 (64K) instead of the pagesize, gcc would wrongly assume that the
 file doesn't exactly match the pagesize so it would assume that
 it can use the fast method and would expect a trailing 0 byte.

Now I get it! Thanks.

Rob


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




chown problem

2002-01-11 Thread Tiffany Chan

Cygwin 1.3.3 installed in d:\
UserA and UserB in same group GroupAB
UserA's home is in e:\home\UserA;
ownership=UserA:GroupAB; mode=755

In e:\home\UserA,
rwxrwxrwx UserA:GroupAB DirOne

In w2k security tabs, I saw :
Owner of DirOne = UserA
Mode= Everyone rwx
= UserArxw
= GroupAB  rwx  

When UserA change owner,
$ chown UserB:GroupAB DirOne
chown: changing ownership DirOne: permission denied

But in w2k security tabs, I saw
Owner of DirOne = UserA
Mode= Everyone rwx
= UserBrxw
= GroupAB  rwx  

Why ownership cannot be changed by UserA ? I tried use
chmod by administrator, it work very well. Is it
related to local policy in w2k ( I tried to add
UserA and UserB for taking ownership, but it also not
works) ?

Thanks for your kindly help.

 


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Again Undefined Reference to WinMain

2002-01-11 Thread Prashant Kharche

Hello everybody.
   I read almost all the solution for undefined reference of WinMain@16
and I trying all those flags for linking with gcc.  still I am getting
same error. Can any body help me for this. My makefile prints following
lines while linking. Please suggest a solution for this problem 


bash-2.02$ make
rm -f .././ntexe/bin/ecd
gcc../vgui/lm/ntlib/lm_new.obj -o  .././ntexe/bin/ecd   
-L//h/temp/XDK/lib
-L//H/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib -L.././linlib
-L../vgu
i/lm/ntlib -Wl,-u,_WinMain@16 -Xlinker  -lcomctl32 -mwindows -D__win32
-DWin32 -
D_Win32 -DWinnt -D_CONSOLE -DCONSOLE -mno-cygwin   -llinkerr -lPlot 
-lScript -l
System -lVJpeg -lVGif -lGrip -lImpLsdyna -lImpMsc67 -lImpPC -lImpMadymo
-lMadRes
ult -lEcNasResult -lPostGuiNew -lEcPlot -lPlotGen -lResult -lEcResult
-lPamRslt
-lAnim -lTable -lFeSect -lEcmFeSect -lMpr -lMprMain -lMprImp -lMprDisp
-lMprDbs
-lMprSave -lMprUtl -lEmcFunc -lMprSet -lCrossSection -lAsmLib -lGmShape
-lFeImpM
ech -lMath -lCrModel -lDynaEcMain -lFileGui -lAsmGui -lFeMat -lUtl
-lFeEos -lFeC
heck -lFeHg -lFeSect -lPartSprSht -lFeModel -lCrashDB -lModelGui -lPoint
-lCurve
Gui -lSurfGui -lSolidGui -lGuiLinelm -lRestraPamTmpGui -lNewVectorGui
-lVectorGu
i -lMshCntrl -lMapMesh -lPave -lAfmMesh -lShell -lMassGui -lModelGui
-lPave -lAf
mMesh -lTransGui -lClnupGui -lEditGui -lCoordGui -lPickUtl -lHandle
-lShowGui -l
SetGui -lVSolGui -lPickUtl -lMeshGui -lSprsht -lCardImg -lFeMatDb
-lGeModel-
lCurve -lBdry -lVsBdry  -lPdgs -lDynaOutConGui -lDynaOthersGui
-lChecksGui  -lAs
mLib   -lCardUtl -lSolver -lFePostRes -lIges -lFeImpExp -lVsgenutl
-lPix  -lVspa
nel -lVistaSpr -lHcp -lUtlObj -lFeImpExpFeOthers -lFeImpExpCrOthers
-lVglobj -lS
cript -lVglobj -lRBAirbag -lRBBlock -lRBContact -lRBCoupling -lRBFem
-lRBForcMdl
 -lRBModel -lRBOrient -lRBOthers -lRBOutPut -lRBConvert -lGmShape
-lRBShapes -lR
BSystem  -lAnim -lEpvar -lEpExeGui -lMpr -lPartGui -lPartLsd -lPartNas
-lPartRad
 -lPartPam -lPartMad -lValidGui -lFeMatGui -lSpectEdit -lCntctGui
-lCrPenetrGui
-lVgl -lShapeGui -lPamAdvbgGui -lPamAlnRevGui -lVistgui -lVistapi
-lVistgui -lVb
Utl -lFastener -lFastenerGui -lRespGuiNew  -lAirbagFold -lABFolder
-lDispSpr -lP
artSprSht -lFastDispGui -lAssociate -lRbPtGui -lChecksGui -lToolsGui
-lXyPlotGui
New -lXyPlotNew -lGrip -lHandle -lMiscGui -lGenericGui -lTreegui
-lRespGuiNew -l
Vglobj -lEpvar -lEpExeGui -lVglobj -lImpRAD31 -lDynaCrLoadsGui
-lDynaJointGui -l
DynaCrConstrGui -lDynaCrBounGui -lNewCplGui -lSysPosGui -lOrientGui
-lRbSysDefGu
i -lVGif -lUsgTrkr -lDynaCrVelGui //h/temp/XDK/lib/HCLMrm.lib
//h/temp/XDK/lib/H
CLXm.lib //h/temp/XDK/lib/HCLUil.lib //h/temp/XDK/lib/HCLXaw.lib
//h/temp/XDK/li
b/HCLSM.lib //h/temp/XDK/lib/xlib.lib //h/temp/XDK/lib/Hclice.lib
//h/temp/XDK/l
ib/HCLXmu.lib //h/temp/XDK/lib/HCLXt.lib //h/temp/XDK/lib/HCLXp.lib
//h/temp/XDK
/lib/xlibcon.lib //h/temp/XDK/lib/HCLXtst.lib
//h/temp/XDK/lib/HCLXieRt.lib //h/
temp/XDK/lib/hclshm.lib //h/temp/XDK/lib/HCLXI.lib
//h/temp/XDK/lib/MrmStat.lib
//h/temp/XDK/lib/XmStatXt.lib -lkernel32 //h/temp/XDK/lib/HCLGLX.lib
//h/temp/XD
K/lib/HCLGLU.lib //h/temp/XDK/lib/HCLNURBS.lib
//h/temp/XDK/lib/HCLAUX.lib //h/t
emp/XDK/lib/HCLGLUT.lib //h/temp/XDK/lib/GLWSTATI.lib -lopengl32 -lglu32
//c/jdk
1.2.2/lib/jvm.lib //C/Program Files/flexlm/v7.2/i86_n3/lmgr327b.lib 
-lm
//h/cygnus/CYGWIN~1/H-I586~1/i586-cygwin32/bin/ld:
../vgui/lm/ntlib/lm_new.obj:
warning: ignoring duplicate section `.text'
//h/cygnus/CYGWIN~1/H-I586~1/i586-cygwin32/bin/ld: //C/Program
Files/flexlm/v7.2
/i86_n3/lmgr327b.lib(LMGR327B.dll): warning: ignoring duplicate section
`.text'
//H/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib/libmingw32.a(main.o):
In
 function `main':
/home/noer/src/b20/comp-tools/devo/winsup/mingw/main.c:89: undefined
reference t
o `WinMain@16'
collect2: ld returned 1 exit status
make: *** [.././ntexe/bin/ecd] Error 1
bash-2.02$

Prashant

begin:vcard 
n:Kharche;Prashant
x-mozilla-html:FALSE
org:EASi Technologies;IT
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:Prashant Kharche
end:vcard



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: chown problem

2002-01-11 Thread Corinna Vinschen

On Fri, Jan 11, 2002 at 10:56:07AM +, Tiffany Chan wrote:
 Cygwin 1.3.3 installed in d:\
 UserA and UserB in same group GroupAB
 UserA's home is in e:\home\UserA;
 ownership=UserA:GroupAB; mode=755
 
 In e:\home\UserA,
 rwxrwxrwx UserA:GroupAB DirOne
 
 In w2k security tabs, I saw :
   Owner of DirOne = UserA
   Mode= Everyone rwx
   = UserArxw
   = GroupAB  rwx  
 
 When UserA change owner,
 $ chown UserB:GroupAB DirOne
 chown: changing ownership DirOne: permission denied
 
 But in w2k security tabs, I saw
   Owner of DirOne = UserA
   Mode= Everyone rwx
   = UserBrxw
   = GroupAB  rwx  
 
 Why ownership cannot be changed by UserA ? I tried use
 chmod by administrator, it work very well. Is it
 related to local policy in w2k ( I tried to add
 UserA and UserB for taking ownership, but it also not
 works) ?

Try that on Linux:

UserA chown UserB foo
chown: changing ownership of `foo': Operation not permitted

Only Admins may do that and that's better so.  I don't
know exactly if Take ownership policy is sufficient
to change that behaviour on NT but I would try to reboot.

Otherwise search MSDN.  Perhaps you can find a hint.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Again Undefined Reference to WinMain

2002-01-11 Thread Robert Collins

AFAIK Cygwin B20.1 is not supported anymore.

Rob


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[ANNOUNCEMENT] Updated: rsync-2.5.1-1

2002-01-11 Thread Lapo Luchini

I have uploaded version 2.5.1.-1 of the open source utility that
provides
fast incremental file transfer.

ChangeLog as in http://rsync.samba.org :

BUG FIXES: 
* Fix for segfault in --daemon mode configuration parser.  (Paul
  Mackerras)
* Correct string-address parsing for both IPv4 and 6.
  (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro itojun
  Hagino)
* Various fixes for IPv6 support.  (Dave Dykstra)
* rsync.1 typo fix.  (Matt Kraai)
* Test suite typo fixes.  (Tom Schmidt)
* rsync.1 grammar and clarity improvements.  (Edward Welbourne)
* Correction to ./configure tests for inet_ntop.  (Jeff Garzik)

ENHANCEMENTS:
* --progress and -P now show estimated data transfer rate (in a
multiple of bytes/s) and estimated time to completion.  (Rik
Faith)
* --no-detach option, required to run as a W32 service and also
useful when running on Unix under daemontools, AIX's SRC, or a
debugger.  (Max Bowsher, Jos Backus)
* Clearer error messages for some conditions.

If you have questions or comments, please send them to the Cygwin
mailing list at:  [EMAIL PROTECTED] .  I would appreciate if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe to 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]

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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Again Undefined Reference to WinMain

2002-01-11 Thread Don Sharp

Recently, while trying to compile bcpp, I had exactly that message. My
hair was becoming scarcer by the minute until I saw that I had a missing
module. Adding the missing module to the link and lo and behold
everything was fine!

Hope that helps

Don Sharp


Prashant Kharche wrote:
 
 Hello everybody.
I read almost all the solution for undefined reference of WinMain@16
 and I trying all those flags for linking with gcc.  still I am getting
 same error. Can any body help me for this. My makefile prints following
 lines while linking. Please suggest a solution for this problem
 
 bash-2.02$ make
 rm -f .././ntexe/bin/ecd
 gcc../vgui/lm/ntlib/lm_new.obj -o  .././ntexe/bin/ecd
 -L//h/temp/XDK/lib
 -L//H/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib -L.././linlib
 -L../vgu
 i/lm/ntlib -Wl,-u,_WinMain@16 -Xlinker  -lcomctl32 -mwindows -D__win32
 -DWin32 -
 D_Win32 -DWinnt -D_CONSOLE -DCONSOLE -mno-cygwin   -llinkerr -lPlot
 -lScript -l
 System -lVJpeg -lVGif -lGrip -lImpLsdyna -lImpMsc67 -lImpPC -lImpMadymo
 -lMadRes
 ult -lEcNasResult -lPostGuiNew -lEcPlot -lPlotGen -lResult -lEcResult
 -lPamRslt
 -lAnim -lTable -lFeSect -lEcmFeSect -lMpr -lMprMain -lMprImp -lMprDisp
 -lMprDbs
 -lMprSave -lMprUtl -lEmcFunc -lMprSet -lCrossSection -lAsmLib -lGmShape
 -lFeImpM
 ech -lMath -lCrModel -lDynaEcMain -lFileGui -lAsmGui -lFeMat -lUtl
 -lFeEos -lFeC
 heck -lFeHg -lFeSect -lPartSprSht -lFeModel -lCrashDB -lModelGui -lPoint
 -lCurve
 Gui -lSurfGui -lSolidGui -lGuiLinelm -lRestraPamTmpGui -lNewVectorGui
 -lVectorGu
 i -lMshCntrl -lMapMesh -lPave -lAfmMesh -lShell -lMassGui -lModelGui
 -lPave -lAf
 mMesh -lTransGui -lClnupGui -lEditGui -lCoordGui -lPickUtl -lHandle
 -lShowGui -l
 SetGui -lVSolGui -lPickUtl -lMeshGui -lSprsht -lCardImg -lFeMatDb
 -lGeModel-
 lCurve -lBdry -lVsBdry  -lPdgs -lDynaOutConGui -lDynaOthersGui
 -lChecksGui  -lAs
 mLib   -lCardUtl -lSolver -lFePostRes -lIges -lFeImpExp -lVsgenutl
 -lPix  -lVspa
 nel -lVistaSpr -lHcp -lUtlObj -lFeImpExpFeOthers -lFeImpExpCrOthers
 -lVglobj -lS
 cript -lVglobj -lRBAirbag -lRBBlock -lRBContact -lRBCoupling -lRBFem
 -lRBForcMdl
  -lRBModel -lRBOrient -lRBOthers -lRBOutPut -lRBConvert -lGmShape
 -lRBShapes -lR
 BSystem  -lAnim -lEpvar -lEpExeGui -lMpr -lPartGui -lPartLsd -lPartNas
 -lPartRad
  -lPartPam -lPartMad -lValidGui -lFeMatGui -lSpectEdit -lCntctGui
 -lCrPenetrGui
 -lVgl -lShapeGui -lPamAdvbgGui -lPamAlnRevGui -lVistgui -lVistapi
 -lVistgui -lVb
 Utl -lFastener -lFastenerGui -lRespGuiNew  -lAirbagFold -lABFolder
 -lDispSpr -lP
 artSprSht -lFastDispGui -lAssociate -lRbPtGui -lChecksGui -lToolsGui
 -lXyPlotGui
 New -lXyPlotNew -lGrip -lHandle -lMiscGui -lGenericGui -lTreegui
 -lRespGuiNew -l
 Vglobj -lEpvar -lEpExeGui -lVglobj -lImpRAD31 -lDynaCrLoadsGui
 -lDynaJointGui -l
 DynaCrConstrGui -lDynaCrBounGui -lNewCplGui -lSysPosGui -lOrientGui
 -lRbSysDefGu
 i -lVGif -lUsgTrkr -lDynaCrVelGui //h/temp/XDK/lib/HCLMrm.lib
 //h/temp/XDK/lib/H
 CLXm.lib //h/temp/XDK/lib/HCLUil.lib //h/temp/XDK/lib/HCLXaw.lib
 //h/temp/XDK/li
 b/HCLSM.lib //h/temp/XDK/lib/xlib.lib //h/temp/XDK/lib/Hclice.lib
 //h/temp/XDK/l
 ib/HCLXmu.lib //h/temp/XDK/lib/HCLXt.lib //h/temp/XDK/lib/HCLXp.lib
 //h/temp/XDK
 /lib/xlibcon.lib //h/temp/XDK/lib/HCLXtst.lib
 //h/temp/XDK/lib/HCLXieRt.lib //h/
 temp/XDK/lib/hclshm.lib //h/temp/XDK/lib/HCLXI.lib
 //h/temp/XDK/lib/MrmStat.lib
 //h/temp/XDK/lib/XmStatXt.lib -lkernel32 //h/temp/XDK/lib/HCLGLX.lib
 //h/temp/XD
 K/lib/HCLGLU.lib //h/temp/XDK/lib/HCLNURBS.lib
 //h/temp/XDK/lib/HCLAUX.lib //h/t
 emp/XDK/lib/HCLGLUT.lib //h/temp/XDK/lib/GLWSTATI.lib -lopengl32 -lglu32
 //c/jdk
 1.2.2/lib/jvm.lib //C/Program Files/flexlm/v7.2/i86_n3/lmgr327b.lib
 -lm
 //h/cygnus/CYGWIN~1/H-I586~1/i586-cygwin32/bin/ld:
 ../vgui/lm/ntlib/lm_new.obj:
 warning: ignoring duplicate section `.text'
 //h/cygnus/CYGWIN~1/H-I586~1/i586-cygwin32/bin/ld: //C/Program
 Files/flexlm/v7.2
 /i86_n3/lmgr327b.lib(LMGR327B.dll): warning: ignoring duplicate section
 `.text'
 //H/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib/libmingw32.a(main.o):
 In
  function `main':
 /home/noer/src/b20/comp-tools/devo/winsup/mingw/main.c:89: undefined
 reference t
 o `WinMain@16'
 collect2: ld returned 1 exit status
 make: *** [.././ntexe/bin/ecd] Error 1
 bash-2.02$
 
 Prashant
 
   
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Bug reporting: http://cygwin.com/bugs.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: bash/cmd CTRL-C problem...

2002-01-11 Thread Andy Piper

Chris Faylor wrote:

There is a snapshot up there now which seems to work ok.

Again, many thanks to Robert Collins for tracking this down.

Although I said I wasn't overly interested in tracking this down
myself, I was interested in seeing the lessening in email traffic that I
hope this fix engenders.

I do expect that, when this cygwin DLL is released, there could be a
reaction from another, previously silent camp who relied on the old
CTRL-C behavior.  I guess it will be interesting to see if that is the
case.

Many thanks for looking at this. While the iron is hot - this problem is 
still outstanding and I don't know whether you would expect this to be 
fixed also:

Interactive bash shell starts:
 - shell script using ash starts:
 - java program

^C-ing the script does not have any visible effect (i.e. the java program 
is not killed). As noted previously this problem is resolved if you make 
/bin/sh be bash rather than ash.

Thanks

andy


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Compiling apps to Mingw32 with cygwin

2002-01-11 Thread Earnie Boyd

Jon Leichter wrote:
 
  -Original Message-
  From: Earnie Boyd [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, January 10, 2002 2:31 PM
  To: Jon Leichter
  Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject: Re: Compiling apps to Mingw32 with cygwin
 
  Using `gcc -mno-cygwin' is switching the build environment to MinGW.  It
  says use the headers in /usr/include/mingw instead of /usr/include and
  to use the libraries in /usr/lib/mingw instead of the ones in /usr/lib.
  Thus you're switching the build environment to MinGW.
 
 I already understand the implications of using the -mno-cygwin switch. To be
 more precise, -mno-cygwin does NOT tell GCC to use /usr/lib/mingw INSTEAD of
 the ones in /usr/lib. GCC, by generic default, will ALWAYS look in /usr/lib
 if it doesn't find the libraries it's looking for elsewhere. I recently
 posted a topic about this.
 
 The key to our lack of agreement is terminology, perhaps due to me. I
 understand that the -mno-cygwin switch causes Cygwin-GCC to generate MinGW
 binaries, but the switch is actually driven by the specs file. Cygwin-GCC is
 still a Cygwin binary. All other tools are still Cygwin binaries. I am not
 so sure that warrants the phrase MinGW build environment. It seems to me
 that I'm still using a Cygwin build environment to generate MinGW binaries.

Not in the sense of what the build environment means to
AC_CANONICAL_SYSTEM, in those terms you are switching the build
environment.  If you were using a true cross build system for MinGW
then, yes you would be correct.  Since `gcc -mno-cygwin' isn't a true
cross build system then you're not correct.  The -mno-cygwin switch
changes the build environment from Cygwin to MinGW.

 In his last email on this topic, Robert Collins confirmed for me that it
 would be appropriate to specify --build=i686-pc-cygwin
 and --host=i686-pc-mingw32. (I've intentionally left --target out since it's
 not pertinent to this part of the discussion).
 

And if `gcc -mno-cygwin' where a true cross build system then yes it
apples.  However, it's not and the -mno-cygwin changes the build
environment to mingw32.

   The symlink approach (i.e. i386-pc-mingw32-gcc) might be appropriate for
 
  No, the poster has a wrapper script he named mgcc.  The symlink was for
  binutils binaries.
 
 Actually, it was me (not the poster) that has an mgcc wrapper script. I
 was the one who suggested it.
 
 I still don't understand why I'd want to symlink the binutils binaries. I
 WANT the Cygwin binutils. They don't generate object code; they operate on
 it. The Cygwin binutils do a fine job (as Cygwin binaries) operating on
 MinGW binaries. I've never had a problem.
 

To emulate the cross build system.  Then you could safely use the
switches as you desire.

   latter versions of autoconf, but it does not work for earlier
  versions. I
   contribute to the OpenLDAP project, specifically its MinGW
  support. To build
   MinGW OpenLDAP, I've also got to build regex-0.12, gdbm-1.8.0, and
   libtool-1.4.2. As far as I can tell, none of the configure
  scripts in these
   projects conform to the notion of looking for ${host}-gcc or any other
   ${host}-tool. In these projects, the solution I pointed out works
   flawlessly:
  
   CC=mgcc ./configure --host=i686-pc-mingw32
  
 
  Not all configure.in contains AC_CANONICAL_SYSTEM.  Try ones that do.
  E.G.: binutils, gcc.
 
 I understand that configure.in scripts written properly or in a standard
 manner will make proper use of --host, --build, and --target. My point is
 that not all projects do use it properly. It still requires that the project
 builder be aware. Without awareness, more and more people will post to
 mailing lists stating: Hey, I used these switches as documented in
 Autoconf, and it didn't work right.
 

Which should mean that the maintainer of the package at least get a bug
fix report with patch so that the next release has it corrected.

Earnie.

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Ash spawning win32 programs (was Re: bash/cmd CTRL-C problem...)

2002-01-11 Thread Robert Collins

- Original Message -
From: Andy Piper [EMAIL PROTECTED]


 Many thanks for looking at this. While the iron is hot - this problem
is
 still outstanding and I don't know whether you would expect this to be
 fixed also:

Can I suggest you start a new thread when the topic changes, it helps
prevent confusion - particulary if the original thread hangs around.

 Interactive bash shell starts:
  - shell script using ash starts:
  - java program

 ^C-ing the script does not have any visible effect (i.e. the java
program
 is not killed). As noted previously this problem is resolved if you
make
 /bin/sh be bash rather than ash.

Hmm. I'll look into this is you will :}.

I suspect that ash uses vfork rather than fork+exec to start it's child
process's. That may result in no cygwin stub existing.

here's what you need to do:

write an ash script that prints out it's pid, and (if you can get it)
the cygwin pid of the java program.

Start the ash script in the background, and then use ps. See if the java
program appears in ps. If it does - check via task manager or process
explorer to see if the reported cygwin pid is the same as the actual
java.exe pid.

If it doesn't appear, then no cygwin stub exists, and quite some work
may be needed to *efficiently* create such a virtual process. (it would
be quite trivial via the daemon :})

If it does appear, and the shown cygwin pid is the same as the java.exe
pid, then no stub exists, but the bulk of the code to have a 'virtual'
process is there, but signals aren't working correctly.

If it does appear, and the shown cygwin pid is different than the actual
java.exe pid, then there is a stub, and things should be working
correctly - I'll take a direct look at this point.

Rob


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




status access violation

2002-01-11 Thread Enrico Bernardini

Hi,
my program hav a strange beaviour:
It is like this example:
main
{
...
setuid(client_uid);
...

switch(fork())
case default:
...
break;

case 0: /* child */
...
execle(...);
break;
}

well, it works but when I remove a stupid unrelated piece of code
(setuid(client_uid);) 
in the main, the process crashes with:

Exception: STATUS_ACCESS_VIOLATION at eip=61008D0E
eax=0070FB38 ebx=03090309 ecx= edx=03090309 esi=00E90AD8
edi=
ebp=0070FB0C esp=0070FAF4
program=C:\CYGWIN\USR\LOCAL\LIBEXEC\AMANDAD.EXE
cs=0167 ds=016F es=016F fs=408F gs=37A6 ss=016F
Stack trace:
Frame Function  Args
0070FB0C  61008D0E  (03090309, 0070FB38, 00408004, 0004)
0070FB3C  61008D86  (03090309, 00405AAA, 0004, 6105B8DD)
0070FB7C  00405B02  (0004, 61099368, 0001, )
0074FD2C  00401C6E  (0001, 61552998, 00E90278, )
0074FD88  61003FA2  (, , 4D088DCE, 0002)
0074FDB8  610041B9  (00401448, , 81640760, )
0074FDD8  610041F9  (, , , 0001)
0074FE08  004073AB  (00401448, 0074FC8C, BFFC9490, 0074FF68)
0074FE38  0040103D  (, 81676734, , 6E616D41)
0074FF78  BFF8B560  (8164071C, 0008, 81676734, )
  0 [main] amandad 258517 handle_exceptions: Error while dumping
state (prob
ably corrupted stack)

The process forks but it crashes during the execle call.

Can anybody please help me?

Thanks a lot
Enrico
-- 

Enrico Bernardini
System Administrator

Servizio Sistema Bibliotecario
Universita' di Pisa

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RPM installer needed for my PHP project

2002-01-11 Thread Jason Tishler

Jean-Michel,

On Fri, Jan 11, 2002 at 10:51:38AM +0100, Jean-Michel POURE wrote:
 Le Mercredi 9 Janvier 2002 17:08, vous avez écrit :
  On Wed, Jan 09, 2002 at 09:12:22AM +0100, Jean-Michel POURE wrote:
  See the following for my 4.0.2 experiences and patch:
  http://sources.redhat.com/ml/cygwin/2001-07/msg00949.html
 
 Are there technical problems for not including RPM in the standard Cygwin 
 packages?

No, as Rob has already indicated, someone just has to do the work for db
and rpm.  Sorry, I don't have that itch -- do you?

Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




start up directory

2002-01-11 Thread Rob

Howdy all!

How do I change my start up directory?

And is usr/bin the right place for me to put scripts I want to be able to
run from anywhere?

Rob

:-)
;-
:-]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Compiling apps to Mingw32 with cygwin

2002-01-11 Thread Earnie Boyd

 Subject: Re: Compiling apps to Mingw32 with cygwin
 Date: Fri, 11 Jan 2002 13:25:17 +1100
 From: Robert Collins [EMAIL PROTECTED]
 To: Jon Leichter [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 
 - Original Message -
 From: Jon Leichter [EMAIL PROTECTED]
   See above why it doesn't. mingw != cygwin :}.
 
  If 'build' WERE to be tested automatically, independent to 'host', it
 would
  come up with 'i686-pc-cygwin'. Thus, we'd effectively end up with the
 same
  line you specified above. So that does work, right? Or are you trying
 to
  confuse me again??? :)
 
 What doesn't kill us makes us stronger. IF build were tested correctly
 yes. But it's not currently tested - it defaults to host IFF host is
 defined.
 

This rule is changed for 2.50 and greater.  Build no longer takes on the
value of host and you're warned about this when specifying --host
without specifying --build.  IIRC, if you specify build without host
then host takes on the value of build but I may be wrong on this point.

Earnie.

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Compiling apps to Mingw32 with cygwin

2002-01-11 Thread Robert Collins


===
- Original Message -
From: Earnie Boyd [EMAIL PROTECTED]

 This rule is changed for 2.50 and greater.  Build no longer takes on
the
 value of host and you're warned about this when specifying --host
 without specifying --build.  IIRC, if you specify build without host
 then host takes on the value of build but I may be wrong on this
point.

The autoconf 2.5 manual specifies that build takes on the value of host
AND that a warning is generated. I've also checked the generated macros,
and that is the behaviour.

I too thought that the build was checked if --host was specified but
build omited in 2.5 which is why I investigated.

Rob


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Error after ./configure

2002-01-11 Thread Frank Wagner

Hello,

I tried to build insight5.1 on a WinNT 4.0 maschine.
After the command ./configure I got the following messages:

Configuring for a i686-pc-cygwin host.
Created Makefile in /home/WagnerF/insight using mf-frag
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: 
cannot find -luser32
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -02   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

I looked for the file user32 and found a user32.def in
/usr/src/w32api-1.1-1/lib

So what should I do that the user32.def will be found?
What happens with the environment variable CC this variable is not set after
installation.

Thanks in advance

Frank

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Ash spawning win32 programs (was Re: bash/cmd CTRL-C problem...)

2002-01-11 Thread Andy Piper

At 11:11 PM 1/11/2002 +1100, Robert Collins wrote:
Start the ash script in the background, and then use ps. See if the java
program appears in ps. If it does - check via task manager or process
explorer to see if the reported cygwin pid is the same as the actual
java.exe pid.

If it doesn't appear, then no cygwin stub exists, and quite some work
may be needed to *efficiently* create such a virtual process. (it would
be quite trivial via the daemon :})

If it does appear, and the shown cygwin pid is the same as the java.exe
pid, then no stub exists, but the bulk of the code to have a 'virtual'
process is there, but signals aren't working correctly.

If it does appear, and the shown cygwin pid is different than the actual
java.exe pid, then there is a stub, and things should be working
correctly - I'll take a direct look at this point.

ash script pid reported by shell:   828
ash script pid in task manager: 856
java pid reported by ps 1640PPID 828
java pid reported by task mnager1640
bash pid1248

BTW with the script started in the background (or indeed fg and ^Z) kill %1 
does not work (it used to) it is reported as terminated but is still running.

andy


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




gcc/ld problem

2002-01-11 Thread Gerrit P. Haase

Hallo Cygwinners,

I'm trying to link a library with gcc -shared plus some ld options:

gcc -shared -o Zlib.dll -Wl,--out-implib=libZlib.dll.a -Wl,--output-def libZlib.def 
-Wl,--export-all-symbols -Wl,--enable-auto-import \
-L/usr/local/lib Zlib.o  
/usr/local/lib/perl5/5.7.2/cygwin-multi-64int/CORE/libperl.dll.a -L/usr/local/lib -lz
gcc: libZlib.def: No such file or directory

Now I'm getting this error.
I thought -Wl,--output-def name.def is the option to tell ld that it
should create this .def file, now I'm confused, why does it tell me
No such file or directory?

From the ld --help output:
...
  --out-implib fileGenerate import library
  --output-def fileGenerate a .DEF file for the built DLL
...

And the .info says:
`--output-def FILE'
  The linker will create the file FILE which will contain a DEF file
  corresponding to the DLL the linker is generating.  This DEF file
  (which should be called `*.def') may be used to create an import
  library with `dlltool' or may be used as a reference to
  automatically or implicitly exported symbols.

  
It works well if I skip this flag.
It works well if I do a:
$ touch libZlib.def
before running gcc -shared.

Is this the expected way?
Do I have to create an empty .def file before linking?
Or is something with my setup broken?

Do I need .def files?


Gerrit
-- 
=^..^=


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Error after ./configure

2002-01-11 Thread Pavel Tsekov

You have installed the source bundle of the
w32api package. Run setup.exe again and install
the missing package.

Btw when you're missing a file, you can always
go to http://cygwin.com/packages/ and use the
search engine to find out which package contains
the missing file.


Frank Wagner wrote:

 Hello,
 
 I tried to build insight5.1 on a WinNT 4.0 maschine.
 After the command ./configure I got the following messages:
 
 Configuring for a i686-pc-cygwin host.
 Created Makefile in /home/WagnerF/insight using mf-frag
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: 
 cannot find -luser32
 collect2: ld returned 1 exit status
 *** The command 'gcc -o conftest -g -02   conftest.c' failed.
 *** You must set the environment variable CC to a working compiler.
 
 I looked for the file user32 and found a user32.def in
 /usr/src/w32api-1.1-1/lib
 
 So what should I do that the user32.def will be found?
 What happens with the environment variable CC this variable is not set after
 installation.
 
 Thanks in advance
 
 Frank
 
 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Error after ./configure

2002-01-11 Thread Gerrit P. Haase

 Frank,

2002-01-11 14:35:58, du schriebst:

 I tried to build insight5.1 on a WinNT 4.0 maschine.
 After the command ./configure I got the following messages:

 Configuring for a i686-pc-cygwin host.
 Created Makefile in /home/WagnerF/insight using mf-frag
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: 
 cannot find -luser32
 collect2: ld returned 1 exit status
 *** The command 'gcc -o conftest -g -02   conftest.c' failed.
 *** You must set the environment variable CC to a working compiler.

 I looked for the file user32 and found a user32.def in
 /usr/src/w32api-1.1-1/lib

That is just the source of w32api, seems you havn't installed
the w32api package, just w32api-src.


Gerrit
-- 
=^..^=


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Edit file

2002-01-11 Thread Rob

Howdy!

I would like to make a script that can change a line in a file.. commenting
out a line in a java source file to be precise.

I would like to look for this line:
  import visualiser.HostIDVPatcher;
and edit it to this:
  // import visualiser.HostIDVPatcher;

Can I do this?

I tried using sed with this line:

cat visualiser/PositionData.java | s/import
visualiser.HostIDVPatcher;/\/\/import visualiser.HostIDVPatcher;/ | out.txt

and this was what I got:

r;/\/\/import visualiser.HostIDVPatcher;/ | out.txt
BASH: s/import: No such file or directory
BASH: ///import: No such file or directory
BASH: /: is a directory
BASH: out.txt: command not found

Thanks for any help!

Rob



:-)
;-
:-]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: ksh on cygwin

2002-01-11 Thread Fleischer, Karsten (K.)

 And, I'm sorry but it really looks to me like you'd need a 
 release from
 ATT indicating that any patches you provided to us are 
 unemcumbered by
 this license.  I don't see how you can sign away the rights to any
 patches that you make if you have been working on code that is covered
 by this license.

Actually, having reviewed my patches, it's only patch based on AST - the $SHELL patch.
I'm imitating the AST function pathshell() there.
Now, since Corinna has made clear to me that there's no real super user on Cygwin, 
half of the patch is nonsense anyway and can be removed.

Two other patches mimic UWIN behavior. That can not be a problem, since Cygwin also 
has adopted the UWIN symbolics links.

I found something interesting in the archives, see 
http://www.cygwin.com/ml/cygwin/2001-02/msg00417.html. He didn't need a release from 
ATT, did he?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Edit file

2002-01-11 Thread Ebrey, Carl

This is rather off topic since it's not a cygwin problem, IMO, but I'll help
you anyway because I'm nice like that :P

What you probably want is:

bash$ cat visualiser/PositionData.java | sed s!import
visualiser.HostIDVPatcher;!//import visualiser.HostIDVPatcher;!  out.txt

I've used ! instead of / because it saves you having to escape the // and
sed lets you use almost any delimiter that you want.  I haven't actually
tested this and so I can't vouch 100% that it'll work, however it should.
If you carry on having problems then email me privately and I'll see what I
can do to help you out.

HTH,

Carl

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 1:48 PM
To: Cygwin
Subject: Edit file


Howdy!

I would like to make a script that can change a line in a file.. commenting
out a line in a java source file to be precise.

I would like to look for this line:
  import visualiser.HostIDVPatcher;
and edit it to this:
  // import visualiser.HostIDVPatcher;

Can I do this?

I tried using sed with this line:

cat visualiser/PositionData.java | s/import
visualiser.HostIDVPatcher;/\/\/import visualiser.HostIDVPatcher;/ | out.txt

and this was what I got:

r;/\/\/import visualiser.HostIDVPatcher;/ | out.txt
BASH: s/import: No such file or directory
BASH: ///import: No such file or directory
BASH: /: is a directory
BASH: out.txt: command not found

Thanks for any help!

Rob



:-)
;-
:-]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Solved: Re: gcc/ld problem

2002-01-11 Thread Gerrit P. Haase

 Gerrit,

2002-01-11 14:51:38, du schriebst:

Argh, after reading my own mail I saw the mistake:

 gcc -shared -o Zlib.dll -Wl,--out-implib=libZlib.dll.a
 -Wl,--output-def libZlib.def -Wl,--export-all-symbols
^ = is missing!!!
[...]
  
This question remains:

 Do I need .def files?


Gerrit
-- 
=^..^=


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Edit file

2002-01-11 Thread Gerrit P. Haase

 Rob,

2002-01-11 15:07:14, du schriebst:

 I would like to make a script that can change a line in a file.. commenting
 out a line in a java source file to be precise.
[...]
 I tried using sed with this line:

Hey, we have perl for cygwin!  Perl offers much more than sed does:-)

perl -i.bak -p -e \
 's#import visualiser.HostIDVPatcher;#// import visualiser.HostIDVPatcher;#;' \
 /your/path/to/javasourcefile


relaxedGerrit
-- 
=^..^=


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: ksh on cygwin

2002-01-11 Thread Fleischer, Karsten (K.)

 If we just left out that patch we won't have a problem.

OK.

  Two other patches mimic UWIN behavior. That can not be a 
 problem, since Cygwin also has adopted the UWIN symbolics links.
 
 Mimicing isn't a problem as long as you didn't look into the
 sources and get the idea from there.  If you just looked how
 it works from examining the behaviour of the binaries, that's
 ok.

Again, I cannot have had a look into the sources. They are not available to the public.
I got the ideas
a) from the UWIN mailing list (the add .exe on close patch, see 
http://www.research.att.com/lists/uwin-users/2001/08/msg00043.html)
b) from playing with the binaries (rename() and link() logic)

Glenn and David commented a bit on those on request. Their comments were something 
like: Don't add the .exe extension to b on rename(a.exe, b)! Specifying an .exe 
extension indicates that the users knows what he's doing. [I had first added .exe to 
b, because I thought UWIN was wrong in this case.]
Again, no code and not even implementation details.
I believe that wouldn't have helped me either, as I don't know their underlying data 
structures and they do not know Cygwin's.
I've invented my own implementations.
There are no other UWIN related patches than those.
All other patches are bug fixes or small corrections to make Cygwin behave more 
consistent.

  I found something interesting in the archives, see 
 http://www.cygwin.com/ml/cygwin/2001-02/msg00417.html. He 
 didn't need a release from ATT, did he?
  
 
 There's a difference.  He didn't contribute to Cygwin beyond
 May 2000 and his contributions weren't AST or U/Win related
 at all.

I was just trying to be picky :-)

 Licensing issues are really a big *@#$ but we have to be careful.
 We may not even take any code which smells GPL.  It would infect
 the Cygwin Library License.  For that reason we're most happy
 about completely self-written code or copies/ports of BSD licensed
 source.

Are the issues cleared now?

Karsten

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Ash spawning win32 programs (was Re: bash/cmd CTRL-C problem...)

2002-01-11 Thread Andy Piper

At 01:22 AM 1/12/2002 +1100, Robert Collins wrote:
- Original Message -
From: Andy Piper [EMAIL PROTECTED]

  ash script pid reported by shell:   828
  ash script pid in task manager: 856
  java pid reported by ps 1640PPID 828
  java pid reported by task mnager1640
  bash pid1248

Right, so we've got a win32 process, _with no cygwin stub_. This is a
lot harder to solve than the one Chris and I just solved. The
fundamental difference being that when you CTRL-C in the console window,
every attached program recieves a win32 CTRLC interrupt. Your java
program - by virtue of not quitting - is either deliberately ignoring
those interrupts, or is a gui program with a hidden window. (are you
running javaw or javac?).

Its a console app that happily responds to ^C. If you run it directly from 
within bash then ^C works, so I assume from what you say above that this is 
a bug of some description.

For console programs, the CTRL-C in the window should work fine. kill
(script) won't work (because no keyboard interrupt is generated).

  BTW with the script started in the background (or indeed fg and ^Z)
kill %1
  does not work (it used to) it is reported as terminated but is still
running.

The script dies quite happily for me. The win32 process doesn't though
(as expected).

I guess I don't understand why this is expected. It always used to work 
(i.e. the subprocess would get killed also).

The key question here is : what semantics should apply to a _non signal
aware program_ when cygwin detects a signal is generated for it?

I.e., to pick a couple, for SIGINT and SIGKILL.

One is obvious, we call (IIRC) TerminateProcess and *boom* it's gone.
Hope your work was saved.

Er, why isn't it signal aware. It is AFAIK.

andy


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ksh on cygwin

2002-01-11 Thread Corinna Vinschen

On Fri, Jan 11, 2002 at 09:50:50AM -0500, Fleischer, Karsten (K.) wrote:
  If we just left out that patch we won't have a problem.
 
 OK.
 
   Two other patches mimic UWIN behavior. That can not be a 
  problem, since Cygwin also has adopted the UWIN symbolics links.
  
  Mimicing isn't a problem as long as you didn't look into the
  sources and get the idea from there.  If you just looked how
  it works from examining the behaviour of the binaries, that's
  ok.
 
 Again, I cannot have had a look into the sources. They are not available to the 
public.
 [...]
 All other patches are bug fixes or small corrections to make Cygwin behave more 
consistent.

Yeah, I was talking only about AST related stuff.  If a patch
has nothing to do with AST, go ahead.  But be aware that we will
discuss it and it still could be rejected, of course.  That's
one of the most frustrating situations when contributing to an
OSS project for the first time but we all had to go through it.

  Licensing issues are really a big *@#$ but we have to be careful.
  We may not even take any code which smells GPL.  It would infect
  the Cygwin Library License.  For that reason we're most happy
  about completely self-written code or copies/ports of BSD licensed
  source.
 
 Are the issues cleared now?

It would be good if *you* are thinking they are cleared.  If you're
feeling to move on thin ice with one of your patches, just hold this
part back.  Please understand, we *want* to trust our contributors.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: CVS 1.11: More info about my problem (i'm sorry about the demanding tone...)

2002-01-11 Thread Randall R Schulz

Alexei,

Two things:

1) What's in your CYGWIN environment variable.

2) Did you copy and paste that diagnostic, or re-type it manually into the 
message? Assuming the former, did you notice that it refers to mypoj not 
myproj? Perhaps there's some corruption in you CVS repository in the form 
of that error in a file or directory name.

Otherwise, I can see nothing obvious amiss.

Perhaps someone else with a sharper eye or more subtle insights will notice 
something.

Randall Schulz
Mountain View, CA USA


At 23:16 2002-01-10, Alexei Lioubimov wrote:
I'm so sorry about the demanding tone of my cry for help, but i'm really
very upset and confused.

Here are the details of the problem:

1) The task:
 -
i want to checkout a tagged snapshot of myproject, so
i try a  cvs co -r mytag myproj and receive the following:

cvs [checkout aborted]: cannot open directory .../CVS/mypoj/Attic: Not a
directory

2) cygwin1.dll: 1.3.6-cygwin-1-3-6-6 (APIVersion: 0.47,
BuildDate: 2001-12-08 17:02);

3) $ echo $CVSROOT

:local:/cygdrive/c/usr/local/CVS

4) There are no .cvsrc files;

5)  $ type -a cvs

cvs is /usr/bin/cvs
cvs is /bin/cvs

6) $ cvs --version

Concurrent Versions System  (CVS) 1.11 (client/server)
...

7) $ cygcheck cvs

Found: C:\cygwin\bin\cvs.exe
C:\cygwin\bin\cvs.exe
 C:\cygwin\bin\cygwin1.dll
 C:\WINDOWS\SYSTEM\KERNEL32.dll
 C:\cygwin\bin\cyggdbm.dll

8) $ cygcheck -s

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Jan 11 09:53:06 2002

Windows 98 SE Ver 4.10 Build 

Path: C:\cygwin\usr\local\bin
  C:\cygwin\bin
  c:\WINDOWS
  c:\WINDOWS\COMMAND
  c:\USR\BIN
  c:\USR\LOCAL\RCS
  c:\usr\local\sdcc\bin

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `d:\home\alexei'
MAKE_MODE = `unix'
PWD = `/cygdrive/d/home/alexei/src/0'
USER = `celeron366'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  FAT32   2043Mb  62% CPUN
d:  hd  FAT32   2066Mb  56% CPUN
f:  cd   N/AN/A

.  /cygdrive  userbinmode,noumount
C:/cygwin  /  system  binmode
C:/cygwin/bin  /usr/bin   system  binmode
C:/cygwin/lib  /usr/lib   system  binmode

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: c:\USR\BIN\make.exe
Found: C:\cygwin\bin\sh.exe

...
   720k 2001/12/08 C:\cygwin\bin\cygwin1.dll
 Cygwin DLL version info:
 DLL version: 1.3.6
 DLL epoch: 19
 DLL bad signal mask: 19005
 DLL old termios: 5
 DLL malloc env: 28
 API major: 0
 API minor: 47
 Shared data: 3
 DLL identifier: cygwin1
 Mount registry: 2
 Cygnus registry name: Cygnus Solutions
 Cygwin registry name: Cygwin
 Program options name: Program Options
 Cygwin mount registry name: mounts v2
 Cygdrive flags: cygdrive flags
 Cygdrive prefix: cygdrive prefix
 Cygdrive default prefix:
 Build date: Sat Dec 8 17:02:30 EST 2001
 CVS tag: cygwin-1-3-6-6
 Shared id: cygwin1S3


Cygwin Package Information
Package Version
...
cvs 1.11.0-1
cygwin  1.3.6-6
...

Thank you,
Alexei Lioubimov


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RPM installer needed for my PHP project

2002-01-11 Thread Charles Wilson

Please search the mailing list archives (cygwin and cygwin-apps) where 
the RPM issue has been ENDLESSLY discussed.  You will discover, among 
other things, that we have repeatedly said somebody needs to 
port/maintain/contribute the package and (ditto) db.

Then we ask Do you want to volunteer?

Then we get silence.

--Chuck

Jean-Michel POURE wrote:

 Le Mercredi 9 Janvier 2002 17:08, vous avez écrit :
 
Jean-Michel,
On Wed, Jan 09, 2002 at 09:12:22AM +0100, Jean-Michel POURE wrote:
See the following for my 4.0.2 experiences and patch:
http://sources.redhat.com/ml/cygwin/2001-07/msg00949.html
Jason

 
 Dear Jason,
 
 Are there technical problems for not including RPM in the standard Cygwin 
 packages? Again, I will not be using Cygwin for Cygwin installation itself. 
 But it will be of great help for other projects, including mine.
 
 This would be so fine to just type rpm --rebuild package_name.src.rpm to 
 compile under Cygwin. Or rpm -ba spec_name to generate packages after 
 modifying the specs.
 
 Best regards,
 Jean-Michel POURE
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Bug reporting: http://cygwin.com/bugs.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE:Cygwin on a CD

2002-01-11 Thread Larry Hall (RFK Partners, Inc)

At 04:27 AM 1/11/2002, Jorge Goncalvez wrote:
Hi, I use Cygwin and I wonder if it would be possible to run Cygwin environment 
without installing it in hard disk, by running it from a CD for exemple, I know 
that some Linux distribution can be run without installing them(no special 
partition needed) in hard disk and running them from a CD.



Should be possible but I don't know of anyone who's made it work (or at 
least reported it).  The biggest issue is handling config files
(profiles, passwd, group, various rc files, etc).  I'm sure one can work
out the details of it but it might take a little effort.  I toyed with it
for a b19 installation I had (a long time ago) but I didn't put any real 
effort into handling all the config files so I didn't get too far.



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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Proposed Mailing List Page Reorg (was: RE: No stderr output)

2002-01-11 Thread Joshua Franklin

A while ago I was helping students that were new 
to bash and UNIX and I wrote a little guide in HTML.
Late I put together Cygwin-Lite (Cygwin on a floppy)
and added the guide. This was before the setup.exe
changes that made a minimal install easy. I've 
stopped updating Cygwin-Lite but I think the webpage
is useful:

http://cygwin-lite.sourceforge.net/html/begin.html

At the bottom there are lots of links to other useful
information. Anybody want to take a look and try to
guess what I was smoking at the time?

 Date: Thu, 10 Jan 2002 20:55:54 -0600
 
  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf
  Of Christopher Faylor
 
 
 [snip]
 
  For Bourne style shells I use
  
  runme  filename 21
  
  This redirects stdout first and then stderr to
 whereever stdout is
  pointing.
 
  If this doesn't do it, then I think the best plan
 is to find help from
  another mailing list.  Basic shell questions are
 not really appropriate
  here -- especially given the recent volume we've
 been experiencing.
 
 I've been cogitating for a while that it could be
 mutually beneficial to
 inexperienced users and regulars' blood pressures
 alike if the Cygwin mailing
 list page listed a few concrete URLs to such
 newbie lists/newsgroups/FAQs etc,
 and at the same time reworked the wording on the
 description of this particular
 list.  Currently it says, If you have questions
 about how to use Cygwin, or any
 of its tools (bash, gcc, make, etc.), this is the
 list for you.  That means:
 If you have any question whatsoever regarding
 anything you can associate
 somehow with Cygwin, post it here.  That's simply
 not the intention of the list
 (at least since I've been around), nor should it be,
 but the description simply
 gives no indication of the true intent, i.e.
 Cygwin-specific questions only
 need apply.
 
 Now as for where best to send people, I have no idea
 (maybe some can just point
 into the appropriate section of the FAQ).  But
 here's a rough outline of what
 I'm thinking:
 
 
 Help With The Tools Packaged With Cygwin
 
 
 Can't figure out the bash command line syntax? 
 Don't know what a HOME is?
 What-ular expressions?  These are general Unix sorts
 of questions , and you'll
 have the best luck getting help at one of these many
 fine resources:
 
 Unix basics: http://wherever/
 Bash up the wazoo: news://bash.whatever/
 Regular Expressions Revealed: mailinglist://heretoo/
 
 Cygwin Specific Mailing Lists
 =
 
 cygwin-xfree: (same description, note the clever
 inversion of these two, thus
 guaranteeing that no xfree questions get into the
 main list).
 
 cygwin: A high volume list solely for the discussion
 of Cygwin-specific
 issues/problems/etc.  If you have questions
 specifically related to the Cygwin
 ports of the tools, *not* regarding the tools
 themselves, post here.
 
 Cygwin Developers Mailing Lists
 ===
 
 Heaven help you if you post something off topic to
 one of these:
 
 cygwin-apps: blah blah blah
 etc
 etc
 
 
 Comments?  Questions other than what are you
 smoking? ;-)
 
 --
 Gary R. Van Sickle
 Brewer.  Patriot.


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RPM installer needed for my PHP project

2002-01-11 Thread Pavel Tsekov

Well, I just want to know - what's the thing that prevented the db
package from being ported so long ? Is it extremly difficulk or it's
just a matter of no one having the time/interest of doing it ?

I may be interested in maintaing this package but what some details
first :)

Charles Wilson wrote:

 Please search the mailing list archives (cygwin and cygwin-apps) where 
 the RPM issue has been ENDLESSLY discussed.  You will discover, among 
 other things, that we have repeatedly said somebody needs to 
 port/maintain/contribute the package and (ditto) db.
 
 Then we ask Do you want to volunteer?
 
 Then we get silence.
 
 --Chuck
 
 Jean-Michel POURE wrote:
 
 Le Mercredi 9 Janvier 2002 17:08, vous avez écrit :

 Jean-Michel,
 On Wed, Jan 09, 2002 at 09:12:22AM +0100, Jean-Michel POURE wrote:
 See the following for my 4.0.2 experiences and patch:
 http://sources.redhat.com/ml/cygwin/2001-07/msg00949.html
 Jason


 Dear Jason,

 Are there technical problems for not including RPM in the standard 
 Cygwin packages? Again, I will not be using Cygwin for Cygwin 
 installation itself. But it will be of great help for other projects, 
 including mine.

 This would be so fine to just type rpm --rebuild package_name.src.rpm 
 to compile under Cygwin. Or rpm -ba spec_name to generate packages 
 after modifying the specs.

 Best regards,
 Jean-Michel POURE

 -- 
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Bug reporting: http://cygwin.com/bugs.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/


 
 
 
 -- 
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Bug reporting: http://cygwin.com/bugs.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Proposed Mailing List Page Reorg (was: RE: No stderr output)

2002-01-11 Thread Larry Hall (RFK Partners, Inc)

At 09:55 PM 1/10/2002, Gary R. Van Sickle wrote:
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
  Of Christopher Faylor
 

[snip]

  For Bourne style shells I use
  
  runme  filename 21
  
  This redirects stdout first and then stderr to whereever stdout is
  pointing.
 
  If this doesn't do it, then I think the best plan is to find help from
  another mailing list.  Basic shell questions are not really appropriate
  here -- especially given the recent volume we've been experiencing.

I've been cogitating for a while that it could be mutually beneficial to
inexperienced users and regulars' blood pressures alike if the Cygwin mailing
list page listed a few concrete URLs to such newbie lists/newsgroups/FAQs etc,
and at the same time reworked the wording on the description of this particular
list.  Currently it says, If you have questions about how to use Cygwin, or any
of its tools (bash, gcc, make, etc.), this is the list for you.  That means:
If you have any question whatsoever regarding anything you can associate
somehow with Cygwin, post it here.  That's simply not the intention of the list
(at least since I've been around), nor should it be, but the description simply
gives no indication of the true intent, i.e. Cygwin-specific questions only
need apply.

Now as for where best to send people, I have no idea (maybe some can just point
into the appropriate section of the FAQ).  But here's a rough outline of what
I'm thinking:


Help With The Tools Packaged With Cygwin


Can't figure out the bash command line syntax?  Don't know what a HOME is?
What-ular expressions?  These are general Unix sorts of questions , and you'll
have the best luck getting help at one of these many fine resources:

Unix basics: http://wherever/
Bash up the wazoo: news://bash.whatever/
Regular Expressions Revealed: mailinglist://heretoo/

Cygwin Specific Mailing Lists
=

cygwin-xfree: (same description, note the clever inversion of these two, thus
guaranteeing that no xfree questions get into the main list).

cygwin: A high volume list solely for the discussion of Cygwin-specific
issues/problems/etc.  If you have questions specifically related to the Cygwin
ports of the tools, *not* regarding the tools themselves, post here.

Cygwin Developers Mailing Lists
===

Heaven help you if you post something off topic to one of these:

cygwin-apps: blah blah blah
etc
etc


Comments?  Questions other than what are you smoking? ;-)



Great!  Want to suggest a patch for this page?



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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Solved: Re: gcc/ld problem

2002-01-11 Thread Charles Wilson

Gerrit P. Haase wrote:


 This question remains:
 
 
Do I need .def files?


No.

BTW, why are you building a libz dll?  (Just for practice?)  There is 
already a cygz.dll provided by the libz package...

--Chuck


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




possible patch for cygwin.bat

2002-01-11 Thread Joshua Franklin

Here's a possible patch to include a couple rxvt 
lines REMed out. No changelog yet since I figure it
needs comments. Anyone?

--- desktop.cc-orig Fri Jan 11 10:38:12 2002
+++ desktop.cc  Fri Jan 11 10:46:18 2002
@@ -199,6 +199,9 @@ make_cygwin_bat ()
   backslash (concat (get_root_dir () + 2,
/bin, 0)));
 
   fprintf (bat, bash --login -i\n);
+  fprintf (bat, REM If rxvt is installed, use this
to use it.\n);
+  fprintf (bat, REM SEE ALSO man rxvt for more
information on options.\n);
+  fprintf (bat, REM rxvt -fn \Fixedsys\ -e
/bin/bash --login -i \n);
 
   fclose (bat);
 }



__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: possible patch for cygwin.bat

2002-01-11 Thread Pavel Tsekov

Hey, Joshua :)

Joshua Franklin wrote:

 Here's a possible patch to include a couple rxvt 
 lines REMed out. No changelog yet since I figure it
 needs comments. Anyone?
 
 --- desktop.cc-orig Fri Jan 11 10:38:12 2002
 +++ desktop.cc  Fri Jan 11 10:46:18 2002
 @@ -199,6 +199,9 @@ make_cygwin_bat ()
backslash (concat (get_root_dir () + 2,
 /bin, 0)));
  
fprintf (bat, bash --login -i\n);


What about the following text: if rxvt is installed, uncomment the line 
below to use it.


 +  fprintf (bat, REM If rxvt is installed, use this
 to use it.\n);
 +  fprintf (bat, REM SEE ALSO man rxvt for more
 information on options.\n);
 +  fprintf (bat, REM rxvt -fn \Fixedsys\ -e
 /bin/bash --login -i \n);
  
fclose (bat);
  }



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RPM installer needed for my PHP project

2002-01-11 Thread Charles Wilson

Jean-Michel POURE wrote:

 Le Vendredi 11 Janvier 2002 17:10, Charles Wilson a écrit :
 
Please search the mailing list archives (cygwin and cygwin-apps) where
the RPM issue has been ENDLESSLY discussed.  You will discover, among
other things, that we have repeatedly said somebody needs to
port/maintain/contribute the package and (ditto) db.
Then we ask Do you want to volunteer?

 
 I see your point.
 
 The problem is that I am already working on two projects :
 - converting PHP classes and applications to an integrated 
 framework of RPM ready-to-use files. I need help on the RPM side at $W. 
 - building an open source global Home Location Registry
 (HLR) and VLR databases for future i802.11a applications. This has nothing to 
 do with RPM.
 
 I am too busy to maintain RPM under $W. 


Yep, that's pretty much what I expected.

 Can anyone help? I feel like Windows 
 has no future...


Overly dramatic much?

I mean, long term, of course you are correct.  In 4B years, our sun will 
explode and cook everything on earth -- and by then even MS will be extinct.

db mostly builds -- as a static lib -- OOB.  I've already ported 
db-2.7.7 and 3.1.x so that it builds as a DLL and made that available on 
my website and to the various people who get excited about RPM...who 
then dissappear.

I'm not too keen on supporting something -- when even the excited 
users aren't motivated enough to take a PRE-EXISTING port and just 
maintain the damn thing.

Geez -- I even ported rpm and provided it on my website.

Dunno anything about db-4.x.  (Oh, and given the lack of testing, there 
may be unresolved binary/text mount issues with my ports of db and/or rpm)

It's not windows that has no future -- it's the level of participation 
of people who want rpm that will trend to zero.  Cynical theory:  Anyone 
who wants a cygwin port of rpm will not ever become an active 
contributor nor participate in cygwin development.  Anyone who complains 
about setup.exe reinventing the wheel by using .tar.bz2 distribution 
formats instead of rpm/dpkg will whine bitterly for a week, and then 
dissappear -- and perhaps pop up with a new sourceforge project that 
will purport to provide cygwin with rpm that is an incomplete version 
of our platform.  Further this cygwin-rpm-sourceforge project will die 
in less than six months -- but will lead to endless questions on our 
mailing list about this deviant and unsupported distribution.  (Yes, 
it's happened at least twice already).

Sorry if that seems bitter -- but I've observed the pattern : new 
poster, rpm -- WAY too many times to just shrug it off.

--Chuck


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: ksh on cygwin

2002-01-11 Thread Christopher Faylor

On Fri, Jan 11, 2002 at 08:53:07AM -0500, Fleischer, Karsten (K.) wrote:
 And, I'm sorry but it really looks to me like you'd need a 
 release from
 ATT indicating that any patches you provided to us are 
 unemcumbered by
 this license.  I don't see how you can sign away the rights to any
 patches that you make if you have been working on code that is covered
 by this license.

Actually, having reviewed my patches, it's only patch based on AST -
the $SHELL patch.  I'm imitating the AST function pathshell() there.
Now, since Corinna has made clear to me that there's no real super user
on Cygwin, half of the patch is nonsense anyway and can be removed.

So, we've all agreed that we don't want those patches.

I also am not interested in any of the automatically add .exe patches.
We've been over this ground many times in the past.

Sorry.

Two other patches mimic UWIN behavior.  That can not be a problem,
since Cygwin also has adopted the UWIN symbolics links.

I found something interesting in the archives, see
http://www.cygwin.com/ml/cygwin/2001-02/msg00417.html.  He didn't need
a release from ATT, did he?

You know, I was waiting for that.  The patterns are so predictable it's
scary.  I think this whole free will thing that is so much bally hooed is
really just a crock.

The cygwin mailing list is replete with Pavlovian responses.  Person has
problem installing.  Person immediately fires off standard email to
[EMAIL PROTECTED]

cgf says blah, person responds blech.  There is never any variation.

In this case, I'm trying to be careful about licensing, so scurry,
scurry, scurry, Aha! Here's a potential case (maybe) where cgf *wasn't*
careful.  I'll trip him up now!

I don't know why you found this exercise useful or what your expected
response was other than to irritate.  If that was the expected response,
you succeeded.

Anyway, if you don't think that your patches are encumbered then, that's
ok with me.  Send in a release to Red Hat.  Make sure that you also have
a release from your employer if you are not self-employed.  I would *really*
like to get something official from ATT if you were actually working for
them, too.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




ssh w/ntsec and password auth

2002-01-11 Thread Richard Campbell

The story so far:

nt 4.0, sshd running, inetd running, CYGWIN=ntsec.

I can telnet to my machine and login successfully.

I can ssh to my machine using a generated identity 
(ssh-usr-config) successfully.

id shows uid=11340(campbe_r) gid=10513(Domain Users)
groups=0(Everyone),10513(Domain User
s),12109(Exchange Outlook Web Access) which seems 
reasonable.

If I remove the generated identity and attempt to 
ssh to my machine using password authentication, the 
login fails (relevant output from sshd -d -d):

Failed password for campbe_r from 192.168.102.74 port 3223 ssh2

What should I try at this point?  I checked the mailing list
archives (and ntsec and sshd both have massive hits but nothing
that seemed relevant), looked at /usr/docs/Cygwin/(login, openssh, 
inetutils), and checked the users guide.

cygcheck -s -v -r output is included below.

-Richard Campbell.


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Jan 11 12:22:27 2002

Windows NT Ver 4.0 Build 1381 Service Pack 6

Path:   d:\emacs-20.7\bin
d:\cygwin\bin
d:\cygwin\usr\X11R6\bin
D:\Perl\bin\
C:\WINNT\system32
C:\WINNT
d:\jdk1.3\bin
d:\emacs-20.7\gnuserv
c:\Program Files\TeXLive\ImageMagick
c:\Program Files\TeXLive\netpbm\bin
c:\Program Files\TeXLive\bin\win32
C:\texmf\miktex\bin
D:\Oracle\Ora81\bin


SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntsec'
HOME = `d:\cygwin\home\campbe_r'
Path =
`d:\emacs-20.7\bin;d:\cygwin\bin;d:\cygwin\usr\X11R6\bin;D:\Perl\bin\;C:\WIN
NT\system32;C:\WINNT;d:\jdk1.3\bin;d:\emacs-20.7\gnuserv;c:\Program
Files\TeXLive\ImageMagick;c:\Program Files\TeXLive\netpbm\bin;c:\Program
Files\TeXLive\bin\win32;C:\texmf\miktex\bin;D:\Oracle\Ora81\bin;'

BLASTER = `A220 I5 D3 T4'
CLASSPATH = `.;'
COMPUTERNAME = `OREGON'
ComSpec = `C:\WINNT\system32\cmd.exe'
CVSREAD = `1'
CVSROOT = `:pserver:[EMAIL PROTECTED]:/u01/cvsroot'
EDITOR = `d:\emacs-20.7\bin\emacs.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
JAVAHOME = `d:\jdk1.3'
JAVA_HOME = `d:\jdk1.3'
LOGONSERVER = `\\ATLANTA'
MAGICK_DELEGATE_PATH = `c:\Program Files\TeXLive\ImageMagick'
MAGICK_MODULES_PATH = `c:\Program Files\TeXLive\ImageMagick'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
Os2LibPath = `C:\WINNT\system32\os2\dll;'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0801'
PROMPT = `$P$G'
QTJAVA = `d:\jdk1.2.2\QTJava.zip'
SystemDrive = `C:'
SystemRoot = `C:\WINNT'
TEMP = `C:\TEMP'
TEXMFCNF = `c:\Program Files\TeXLive\texmf-var\web2c'
TEXMFTEMP = `c:\Program Files\TeXLive\temp'
TMP = `C:\TEMP'
USERDOMAIN = `AIR2WEB'
USERNAME = `campbe_r'
USERPROFILE = `C:\WINNT\Profiles\campbe_r.000'
windir = `C:\WINNT'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `d:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts
v2\/air2web/platform
  (default) = `d:\air2web\platform'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/bin
  (default) = `d:\cygwin\bin'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `c:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d
  (default) = `d:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/etc
  (default) = `d:\cygwin\etc'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/tmp
  (default) = `d:\tmp'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr
  (default) = `d:\cygwin\usr'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `d:\cygwin\bin'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/etc
  (default) = `d:\cygwin\etc'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/var
  (default) = `d:\cygwin\var'
  flags = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/var
  (default) = `d:\cygwin\var'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS4094Mb  76% CP CS UN PA FC Root
d:  hd  NTFS5663Mb  76% CP CS UN PA FC DATA
e:  cd   N/AN/A
f:  net NTFS  

Re: 1.3.6 ssh Write failed: The descriptor is a file, not a socket

2002-01-11 Thread Christopher Faylor

On Fri, Jan 11, 2002 at 06:33:04PM +0100, Pavel Tsekov wrote:
I thought me toos are not welcomed on this list :P

That's what I thought, too!

HTH,
cgf

Christopher Faylor wrote:
On Fri, Jan 11, 2002 at 10:02:24AM +0100, Corinna Vinschen wrote:
On Thu, Jan 10, 2002 at 09:50:53AM -0800, Daryl Spartz wrote:
The subject line problem, reported back in November, 2001 was stated to
be fixed in message archive post
http://www.cygwin.com/ml/cygwin/2001-11/msg00694.html by Jeff Mincy.  I
am running 1.3.6 and STILL have the problem (running on win2k)

I don't have that problem and others neither.  You should debug that on
your machine.


I don't have the problem either.

HTH!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[ANNOUNCEMENT] New on sourceware: Whois

2002-01-11 Thread Mark Bradshaw

The most recent version of GNU Whois (4.5.17) has been uploaded to
sourceware.

The whois client allows you to query a whois db (RFC-812).  Using whois you
can get information on a domain name (whois redhat.com), IP addresses (whois
1.2.3.4), and more.  This tool is commonly used to determine the owner of a
domain or block of addresses, as well as get their contact information.

You can also get partial matches.  See what happens when you ask for
microsoft.com (whois microsoft.com).


SOURCE
==
The latest stable version of GNU Whois can be found at:
http://www.gnu.org/directory/whois.html

The latest non-stable version can be found at:
http://www.linux.it/~md/software/


INSTALLATION

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.  To select the whois
package click on the Net category and click on the skip field until
4.5.17-1 is displayed.

Note that downloads aren't allowed from sources.redhat.com (aka cygwin.com)
due to bandwidth limitations.  This means that you will need to find a
mirror which has this update.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is
usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package then you
can either wait for the site to be updated or find another mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin mailing
list at: [EMAIL PROTECTED] .  I would appreciate it if you would use this
mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question, the Cygwin mailing list is
the appropriate place.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Setting up user mode cron

2002-01-11 Thread Andrew DeFaria



On Thu, Jan 10, 2002 at 10:45:27AM -0800, Andrew DeFaria wrote:

limits to cron. IOW I guess what I'm saying is that *something* should be done (I 
know you can see this as whining and perhaps it is. But it's whining for a good 
cause! :-)

So, why aren't you going to roll up your sleeves and create a really useful patch?  

As soon as I can receive compensation for it! I'm sorry but I don't work 
for free or at least I do not have the time, resources nor inclination 
to work for free at this time. You can classify this as whining if  you 
like :-).

This cron seems to support setting a MAILTO environment variable to tell cron where 
to mail output in case of errors. Could it not simply 
additionally support USERNAME and PASSWD environment variables that, if present in 
the crontab would cause cron to change user context with asking for logon 
credentials? Of course of concern would be the possibly cleartext PASSWD. Perhaps 
PASSWD could be required to be encrypted like that usually in bona fide Unix 
/etc/passwd (/etc/shadow) files. It's just a thought of a possible workaround to a 
possibly bad situation.

You can't encrypt the passwd as in UNIX.  These are asymmetrically
encryptions.  You can't get the original passwd back.  Your proposition
would need a symmetrically encrypted password which means, the
encryption key is either hardcoded in cron (URGH) or it's evaluated
by some deterministical function (urgh).  And you would of course
need an extra tool to create the encrypted from the cleartext password
to allow a user to type it into his/her crontab file.

OK, let's look at this another way. When one uses POP or IMAP to 
retrieve email one must authenticate one's username and password to the 
server to retrieve the email. Therefore somewhere the username and 
password is stored. For example, when using POP with Netscape to 
retrieve email from a mail server, Netscape stores the username and 
password somewhere (a configuration file or the registry). For security, 
Netscape encrypts the password in some fashion before storing it. When 
needed Netscape retrieves this information, unencrypts it and sends it 
along to the mail server so that the user is authenticated and the email 
is retrieved. Why then can't Cygwin's cron do something similar?



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[OT] Re: CVS 1.11: (reposted many times!) Will anybody answer me about cvs co -r bug under cygwin, finally???

2002-01-11 Thread Christopher Faylor

On Fri, Jan 11, 2002 at 06:24:49PM +0100, Bernard Dautrevaux wrote:
Why do I keep thinking about hen's teeth?

Perhaps because after nearly 100 million years, Kollar, E.  J.  and
Fisher were able in 1980 to grw some?  see
http://zygote.swarthmore.edu/prox1.html for description and even of
photography of it...  :-)

Interesting!  Thanks for the link.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




setup.ini for custom distrobution

2002-01-11 Thread Michael Adler


I'm putting together a modified distrobution of CYGWIN so that I can
easily install just the packages that I want, including some custom
packages. I wrote a script to create the setup.ini, but I'm not yet
satisfied because when I execute setup.exe most of the packages are set
for 'skip'. The setup.exe and setup.ini files are both on a CD and the
packages that I want are in the contrib/latest subdirectories. This is on
the first install, not a reinstall.

How can I write a setup.ini so that it will install everything without
having to click on 40 packages?

If this is a RTFM situation, please show me the Fine Manual.

If it goes well, I might write a doc 'how to create your own cygwin
distro'.

Thanks!

Mike Adler


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: CVS 1.11: More info about my problem (i'm sorry about the demanding tone...)

2002-01-11 Thread Alexei Lioubimov

Randall,

- Original Message -
From: Randall R Schulz [EMAIL PROTECTED]
To: Alexei Lioubimov [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 6:40 PM
Subject: Re: CVS 1.11: More info about my problem (i'm sorry about the
demanding tone...)


 Alexei,

 Two things:

 1) What's in your CYGWIN environment variable.


CYGWIN is empty:

$ echo $CYGWIN


$

 2) Did you copy and paste that diagnostic, or re-type it manually into the
 message? Assuming the former, did you notice that it refers to mypoj not
 myproj? Perhaps there's some corruption in you CVS repository in the
form
 of that error in a file or directory name.


I typed it manually and it is misspelled in my message, it should be
...
cvs [checkout aborted]: cannot open directory .../CVS/myproj/Attic: Not a
directory
...

 Otherwise, I can see nothing obvious amiss.


I'm using cygwin on two different boxes (at home and at work) and on
both have the same thing: cvs co -r wants Attic directory exist in the
repository module. Only if i manually create Attic in the repository module
(just cd .../CVS/myproj and mkdir Attic) then cvs co -r mytag myproj
works right. The same happens with all my local projects, even with
newly created dummy project for testing this exact situation.

Best regards,
Alexei



 Perhaps someone else with a sharper eye or more subtle insights will
notice
 something.

 Randall Schulz
 Mountain View, CA USA


 At 23:16 2002-01-10, Alexei Lioubimov wrote:
 I'm so sorry about the demanding tone of my cry for help, but i'm
really
 very upset and confused.
 
 Here are the details of the problem:
 
 1) The task:
  -
 i want to checkout a tagged snapshot of myproject, so
 i try a  cvs co -r mytag myproj and receive the following:
 
 cvs [checkout aborted]: cannot open directory .../CVS/mypoj/Attic: Not a
 directory
 
 2) cygwin1.dll: 1.3.6-cygwin-1-3-6-6 (APIVersion: 0.47,
 BuildDate: 2001-12-08 17:02);
 
 3) $ echo $CVSROOT
 
 :local:/cygdrive/c/usr/local/CVS
 
 4) There are no .cvsrc files;
 
 5)  $ type -a cvs
 
 cvs is /usr/bin/cvs
 cvs is /bin/cvs
 
 6) $ cvs --version
 
 Concurrent Versions System  (CVS) 1.11 (client/server)
 ...
 
 7) $ cygcheck cvs
 
 Found: C:\cygwin\bin\cvs.exe
 C:\cygwin\bin\cvs.exe
  C:\cygwin\bin\cygwin1.dll
  C:\WINDOWS\SYSTEM\KERNEL32.dll
  C:\cygwin\bin\cyggdbm.dll
 
 8) $ cygcheck -s
 
 Cygnus Win95/NT Configuration Diagnostics
 Current System Time: Fri Jan 11 09:53:06 2002
 
 Windows 98 SE Ver 4.10 Build 
 
 Path: C:\cygwin\usr\local\bin
   C:\cygwin\bin
   c:\WINDOWS
   c:\WINDOWS\COMMAND
   c:\USR\BIN
   c:\USR\LOCAL\RCS
   c:\usr\local\sdcc\bin
 
 SysDir: C:\WINDOWS\SYSTEM
 WinDir: C:\WINDOWS
 
 HOME = `d:\home\alexei'
 MAKE_MODE = `unix'
 PWD = `/cygdrive/d/home/alexei/src/0'
 USER = `celeron366'
 
 Use `-r' to scan registry
 
 a:  fd   N/AN/A
 c:  hd  FAT32   2043Mb  62% CPUN
 d:  hd  FAT32   2066Mb  56% CPUN
 f:  cd   N/AN/A
 
 .  /cygdrive  userbinmode,noumount
 C:/cygwin  /  system  binmode
 C:/cygwin/bin  /usr/bin   system  binmode
 C:/cygwin/lib  /usr/lib   system  binmode
 
 Found: C:\cygwin\bin\bash.exe
 Found: C:\cygwin\bin\cat.exe
 Found: C:\cygwin\bin\cpp.exe
 Found: C:\cygwin\bin\find.exe
 Found: c:\WINDOWS\COMMAND\find.exe
 Found: C:\cygwin\bin\gcc.exe
 Found: C:\cygwin\bin\gdb.exe
 Found: C:\cygwin\bin\ld.exe
 Found: C:\cygwin\bin\ls.exe
 Found: C:\cygwin\bin\make.exe
 Found: c:\USR\BIN\make.exe
 Found: C:\cygwin\bin\sh.exe
 
 ...
720k 2001/12/08 C:\cygwin\bin\cygwin1.dll
  Cygwin DLL version info:
  DLL version: 1.3.6
  DLL epoch: 19
  DLL bad signal mask: 19005
  DLL old termios: 5
  DLL malloc env: 28
  API major: 0
  API minor: 47
  Shared data: 3
  DLL identifier: cygwin1
  Mount registry: 2
  Cygnus registry name: Cygnus Solutions
  Cygwin registry name: Cygwin
  Program options name: Program Options
  Cygwin mount registry name: mounts v2
  Cygdrive flags: cygdrive flags
  Cygdrive prefix: cygdrive prefix
  Cygdrive default prefix:
  Build date: Sat Dec 8 17:02:30 EST 2001
  CVS tag: cygwin-1-3-6-6
  Shared id: cygwin1S3
 
 
 Cygwin Package Information
 Package Version
 ...
 cvs 1.11.0-1
 cygwin  1.3.6-6
 ...
 
 Thank you,
 Alexei Lioubimov




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Setting up user mode cron

2002-01-11 Thread Corinna Vinschen

On Fri, Jan 11, 2002 at 10:19:57AM -0800, Andrew DeFaria wrote:
 
 
 On Thu, Jan 10, 2002 at 10:45:27AM -0800, Andrew DeFaria wrote:
 
 limits to cron. IOW I guess what I'm saying is that *something* should be 
 done (I know you can see this as whining and perhaps it is. But it's 
 whining for a good cause! :-)
 
 So, why aren't you going to roll up your sleeves and create a really useful 
 patch?  
 As soon as I can receive compensation for it! I'm sorry but I don't work 
 for free or at least I do not have the time, resources nor inclination 
 to work for free at this time. You can classify this as whining if  you 
 like :-).
 
 This cron seems to support setting a MAILTO environment variable to tell 
 cron where to mail output in case of errors. Could it not simply 
 additionally support USERNAME and PASSWD environment variables that, if 
 present in the crontab would cause cron to change user context with asking 
 for logon credentials? Of course of concern would be the possibly 
 cleartext PASSWD. Perhaps PASSWD could be required to be encrypted like 
 that usually in bona fide Unix /etc/passwd (/etc/shadow) files. It's just 
 a thought of a possible workaround to a possibly bad situation.
 
 You can't encrypt the passwd as in UNIX.  These are asymmetrically
 encryptions.  You can't get the original passwd back.  Your proposition
 would need a symmetrically encrypted password which means, the
 encryption key is either hardcoded in cron (URGH) or it's evaluated
 by some deterministical function (urgh).  And you would of course
 need an extra tool to create the encrypted from the cleartext password
 to allow a user to type it into his/her crontab file.
 
 OK, let's look at this another way. When one uses POP or IMAP to 
 retrieve email one must authenticate one's username and password to the 
 server to retrieve the email. Therefore somewhere the username and 
 password is stored. For example, when using POP with Netscape to 
 retrieve email from a mail server, Netscape stores the username and 
 password somewhere (a configuration file or the registry). For security, 
 Netscape encrypts the password in some fashion before storing it. When 
 needed Netscape retrieves this information, unencrypts it and sends it 
 along to the mail server so that the user is authenticated and the email 
 is retrieved. Why then can't Cygwin's cron do something similar?

Perhaps because I don't get compensation for it.  I *am* working
on Cygwin as a volunteer as everyone else and I'm sorry to say
that, I'm actually not interested in your problem with cron.
It works for me.  Either someone else is going to contribute
something like that or you can simply forget it.  Full stop.

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Kylix Installation???

2002-01-11 Thread Marcus Vinicius Eiffle Duarte

Hi, folks!

has anybody installed Kylix under Cygwin/XFree?
I tried running the installer, but it doesn't seem to like Cygwin, and it
fails to run complaining of the versions of gcc and a few libraries.
If anybody knows the way to get it running, I would like to know.

Thanks,

Marcus Vinicius Eiffle Duarte, M.Sc.

Escola de Química/UFRJ
Centro de Tecnologia, Bloco E, Lab. 113
Cidade Universitária, Rio de Janeiro, RJ, CEP 20949-900
Brasil
Tel: +55 21 2562-7622
[EMAIL PROTECTED]
[EMAIL PROTECTED]
ICQ # 20259520



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: CVS 1.11: cvs co -r works Ok with cygwin-20020110 snapshot -- Thanks to everybody!!!

2002-01-11 Thread Alexei Lioubimov

Yes!!!
I got it:
I've downloaded the cygwin-20020110.dll snapshot and cvs co -r
works right now!

Two things:
1) Excuse me kindly for the tone of my messages -- i was really upset
and did not know what to do;

2) I'm sorry, i did not understand the answer from Chris Faylor correctly:
i never downloaded the cygwin snapshots directly before -- i always use
setup.exe for upgrading. So every day after i read Chris's answer i tried
setup.exe, but got no new release of cygwin (or cvs), and i thought that
something continues to be wrong...

Thank you very, very much

Best regards,
Alexei Lioubimov
[EMAIL PROTECTED]


- Original Message -
From: Robinow, David [EMAIL PROTECTED]
To: 'Alexei Lioubimov' [EMAIL PROTECTED]
Cc: Cygwin [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 7:48 PM
Subject: RE: CVS 1.11: (reposted many times!) Will anybody answer me about
cvs co -r bug under cygwin, finally???


 You are using:
 2) cygwin1.dll: 1.3.6-cygwin-1-3-6-6 (APIVersion: 0.47,
 BuildDate: 2001-12-08 17:02);

  Although you may not have been asking about cygwin's internals, the
answer,
 as has been pointed out to you before, involves cygwin's internals.  Chris
 Faylor mentioned on 4-Jan-2002 that he thinks he has fixed your problem.
 You need to download a snapshot from some time after that date.  Please do
 that and tell us if it works.

 -Original Message-
 From: Alexei Lioubimov [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 11, 2002 2:21 AM
 To: John Marshall; Matthew Smith
 Cc: Cygwin
 Subject: Re: CVS 1.11: (reposted many times!) Will anybody answer me
 about cvs co -r bug under cygwin, finally???


 Of course i've read every response for my message,
 but none of them are useful at the moment, because
 i was not asking about cygwin's internals, but about
 the workaround for cvs co -r command itself (that
 doesn't work without Attic directory presence)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




How do I use expect to read and write to the serial port

2002-01-11 Thread Craig Hackney


Does anyone know how to use expect to read and write to a
serial port on a windows machine running cygwin?

Thanks,

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Webmin on Cygwin

2002-01-11 Thread Corinna Vinschen

On Fri, Jan 11, 2002 at 05:47:20PM +0100, Lapo Luchini wrote:
 I only wanted to know if that inode number changing is normal
 behaviour for CygWin, something that will be fixed or.. what? ^_^

You should debug it.  It can be normal in Cygwin due to the way
inode numbers are emulated.  Neither FAT nor NTFS actually
have inode numbers so we're using a funny guessing method (nah,
actually a hashvalue generated from the pathname).

Look into the implementation of fhandler_disk_file::fstat().

Corinna

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: RPM installer needed for my PHP project

2002-01-11 Thread Gerrit P. Haase

Hallo Gerrit,

Am 2002-01-11 um 18:59 schriebst du:

  Pavel,

 2002-01-11 18:39:43, du schriebst:

 Well, I just want to know - what's the thing that prevented the db
 package from being ported so long ? Is it extremly difficulk or it's
 just a matter of no one having the time/interest of doing it ?

 I may be interested in maintaing this package but what some details
 first :)

 Great, there are existing ports to start with, or start with 4.x series,
 I have it up and running here with shared libs, no problems so far (but
 I use only binmode mounts on NT).  The problems are with textmode
 mounts, FAT filesystems which needs investigation and a lots of testing.

 db-4.0 builds OOB with static libs and it is no issue to create a .dll
 from a shared lib with:
   ^
Nonono, from a static lib, to create a shared lib you need the static lib
or at least the object files.

 gcc -shared -o cyg${module}.dll -Wl,--out-implib=lib${module}.dll.a 
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive $old_lib 
-Wl,--no-whole-archive ${dependency_libs}

 I use it every day.  Instead of -Wl,--whole-archive $old_lib you can
 also take the single objects list to build a .dll.

 What will last a 'little' longer is testing and debugging and patching
 to get it run on Win98 with the FAT fs and to make it useable on
 textmode mounts.


 Take a look at an existing port and what was done there:
 
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Wilson_Charles_S/michael-ring/

 Gerrit



-- 
=^..^=mailto:[EMAIL PROTECTED]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Ash spawning win32 programs (was Re: bash/cmd CTRL-C problem...)

2002-01-11 Thread Robert Collins

- Original Message -
From: Andy Piper [EMAIL PROTECTED]

 Its a console app that happily responds to ^C. If you run it directly
from
 within bash then ^C works, so I assume from what you say above that
this is
 a bug of some description.

Have you tried the latest snapshot and confirmed that this still occurs?
If you have not done this then you are _not_ seeing ^C get handled by
the application. You are seeing cygwin terminate the process incorrectly
(as though Ctrl-Break was hit).

 I guess I don't understand why this is expected. It always used to
work
 (i.e. the subprocess would get killed also).

It's expected because win32 programs don't understand cygwin signals.
Console programs that appear to understand signals actually get told by
the OS when CTRL-C is hit on the console.

 The key question here is : what semantics should apply to a _non
signal
 aware program_ when cygwin detects a signal is generated for it?
 
 I.e., to pick a couple, for SIGINT and SIGKILL.
 
 One is obvious, we call (IIRC) TerminateProcess and *boom* it's gone.
 Hope your work was saved.

 Er, why isn't it signal aware. It is AFAIK.

I thought this was obvious. Is it linked against cygwin1.dll? No? Then
it's not signal aware.

Signals are one of the cygwin additions to the win32 platform.

Rob


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




  1   2   >