problem with apache

2002-12-06 Thread Dmitry Suhodoev
hi, cygwin-apps

i have the apache-1.3.24-5 under cygwin-1.3.12-3 and one big trouble with it.
if i try download big static file from my web server (bigger than 32768
bytes), then data in downloaded file after byte 0x8000 replaced by trash. but
script output with any size are downloaded normally. whats wrong? how i can
fix it? please help!

-- 
raVen, http://raven.elk.ru/, icq#550428




Re: problem with apache

2002-12-06 Thread Stipe Tolj
Dmitry Suhodoev wrote:
 
 hi, cygwin-apps
 
 i have the apache-1.3.24-5 under cygwin-1.3.12-3 and one big trouble with it.
 if i try download big static file from my web server (bigger than 32768
 bytes), then data in downloaded file after byte 0x8000 replaced by trash. but
 script output with any size are downloaded normally. whats wrong? how i can
 fix it? please help!

I haven't seen this. I do run it on several machines offering big
static files. Can you provide a link to that big file to see what is
downloaded?!

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
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: nasm-0.98.35-1

2002-12-06 Thread Gerrit P. Haase
Hallo Dean,

Am Freitag, 6. Dezember 2002 um 05:10 schriebst du:

 Just to be clear, you are now volunteering to *maintain* this package,
 correct?

 Yes, I would be happy to maintain the package.  I just wasn't sure whether
 Gerrit was still active as a maintainer for nasm or not.

I just built some versions, but didn't kept it up to date.
I'm pleased to see someone picking up the work.

*** I vote pro this package ***


Gerrit
-- 
=^..^=




Re: nasm-0.98.35-1

2002-12-06 Thread Lapo Luchini


I just built some versions, but didn't kept it up to date.
I'm pleased to see someone picking up the work.


nasm is definitely useful for much projects, PRO also from me.

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





[Package Update] HTML Tidy 021202

2002-12-06 Thread Lapo Luchini
I updated HTML Tidy to latest version I found yesterday.
As usual many small bug fixes, but difficult to tell as the site is
lacking a Changelog.

This version in based on the tidylib, which is also installed (only static).
This version, like the original distribution, contains no more a
man page as it is way too outdated, please use tidy --help.

File are, as usual, there:
http://www.lapo.it/tmp/tidy-021202-1-src.tar.bz2
http://www.lapo.it/tmp/tidy-021202-1.tar.bz2
http://www.lapo.it/tmp/setup.hint

@ tidy
sdesc: HTML Tidy is a program to clean up and correct messy HTML pages
ldesc: HTML Tidy is a program to clean up and correct messy HTML pages.
Tidy is able to fix up a wide range of problems and to bring to your 
attention things that you need to work on yourself.
curr: 021202-1
category: Text Web

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





smime.p7s
Description: S/MIME Cryptographic Signature


Building /etc/passwd from setup.exe

2002-12-06 Thread Pierre A. Humblet
Domain users have had recurrent troubles with /etc/passwd.
Here is why, and a proposed remedy.

TODAY
The currently released setup.exe verifies if /etc/passwd exists.
If it doesn't, setup creates the file /etc/postinstall/passwd-grp.bat
which contains

bin\mkpasswd -l  etc\passwd

That file gets executed during postinstall, creating a passwd file
with only local users.

There is also a package base-passwd with one file,
/etc/postinstall/passwd-grp.sh

#!/bin/sh

type=-l

# if USERDOMAIN isn't empty and
#USERDOMAIN isn't the hostname then we are in a domain
if [ ! -z $USERDOMAIN ]  [ $USERDOMAIN != `hostname` ] ; then
  # domain user
  type=-d
fi

# Should we append rather than replace?
if [ ! -e /etc/passwd ] ; then
  /bin/mkpasswd ${type}  /etc/passwd
fi
if [ ! -e /etc/group ] ; then
  /bin/mkgroup ${type}  /etc/group
fi
**
That file has no effect if it runs after passwd-grp.bat, because
then the passwd file already exists. I have observed that order, 
I don't know if it's deterministic.

So that's why domain users are not included, and why they are included
if they delete /etc/passwd and rerun /etc/postinstall/passwd-grp.sh.done
after setup, as has been suggested on the list.

SOON
On 2002-11-26, setup has been modified and doesn't create passwd-grp.bat
anymore. Consequently passwd-grp.sh will have an effect if passwd doesn't
exist initially. However that will create another set of problems:

1) If the cases of $USERDOMAIN and `hostname` differ, local users will 
   execute mkpasswd -d
2) Domain users will not execute mkgroup -l nor mkpasswd -l, so they will
   be missing the local groups (Users, ...) and future logins of local
   users will see HOME = / .
3) mkpasswd -d will contact the PDC, which may or may not succeed, and which
   has been reported to take hours to complete. That's dangerous in a 
   postinstall script.

SUGGESTION
It seems desirable to 
- have local users and groups always appear in /etc/passwd and /etc/group
- avoid contacting the PDC in postinstall scripts
- insure that the user running setup.exe is always included in /etc/passwd
  
Thus I suggest adding a switch --current (-c) to mkpasswd and to change
passwd-grp.sh to
***
#!/bin/sh
if [ ! -e /etc/passwd ] ; then
  /bin/mkpasswd -l -c  /etc/passwd
fi
if [ ! -e /etc/group ] ; then
  /bin/mkgroup -l  /etc/group
fi
***
The -c switch would produce a line about the current user if he is a 
domain user, without contacting the PDC (using only internal info).

That arrangement will guarantee that the user installing Cygwin will always
have a sane passwd file. Domain users may have group unknown, but this has
no negative side effects. This will cover most cases.

Of course, to perfect the environment, domain users should also run 
mkgroup -l -d while they are connected to the PDC, and run 
mkpasswd -l -d if they need to know about other domain users. 
They can do that at their leisure.

Comments? Suggestions? I volunteer to add -c.

Pierre



Re: Building /etc/passwd from setup.exe

2002-12-06 Thread Earnie Boyd
Pierre A. Humblet wrote:


# if USERDOMAIN isn't empty and
#USERDOMAIN isn't the hostname then we are in a domain
if [ ! -z $USERDOMAIN ]  [ $USERDOMAIN != `hostname` ] ; then
  # domain user
  type=-d
fi

# Should we append rather than replace?
if [ ! -e /etc/passwd ] ; then
  /bin/mkpasswd ${type}  /etc/passwd
fi
if [ ! -e /etc/group ] ; then
  /bin/mkgroup ${type}  /etc/group
fi
**
That file has no effect if it runs after passwd-grp.bat, because
then the passwd file already exists. I have observed that order, 
I don't know if it's deterministic.

So that's why domain users are not included, and why they are included
if they delete /etc/passwd and rerun /etc/postinstall/passwd-grp.sh.done
after setup, as has been suggested on the list.


This ``$type'' should only poll for the current user in the domain.  I 
and my company would be very upset if I polled for 10's of thousands of 
users.

Earnie.



RE: Duplicate keystrokes

2002-12-06 Thread Pille Geert (bizvdm)
Yes, I still have it, happens a couple of times per day, but there are worse
things in life.

-Original Message-
From: Virgilio, Vincent [mailto:[EMAIL PROTECTED]]
Sent: donderdag 5 december 2002 15:23
To: '[EMAIL PROTECTED]'
Subject: Duplicate keystrokes


Hello,

I have noticed that my keystrokes are sometimes duplicated, invisibly.  It
happens in remote xterms, using ssh, usually when I am in gdb.

1. I run XWin in rootless mode on my desktop, with the ssh-agent in
/usr/X11R6/bin/startxwin.sh enabled.

2. Then I ssh(-add) into a remote Linux node, where I run gdb in an xterm on
another Linux node.

3. I get duplicate commands/keystrokes in the above xterm/gdb session.

Does anyone have similar experience?

This message http://sources.redhat.com/ml/cygwin-xfree/2002-02/msg00195.html
seems to discuss a similar problem in a different context.

Regards,

Vince Virgilio

 
If this email is not intended for you, or you are not responsible for the
delivery of this message to the addressee, please note that this message may
contain ITT Privileged/Proprietary Information.  In such a case, you may not
copy or deliver this message to anyone.  You should destroy this message and
kindly notify the sender by reply email.  Information contained in this
message that does not relate to the business of ITT is neither endorsed by
nor attributable to ITT. 
 



===
This email is confidential and intended solely for the use of the individual to whom 
it is addressed. 
If you are not the intended recipient, be advised that you have received this email in 
error and that any use, dissemination, forwarding, printing, or copying of this email 
is strictly prohibited.
You are explicitly requested to notify the sender of this email that the intended 
recipient was not reached.




Re: xwinclip and dtsession

2002-12-06 Thread J S
J S wrote:

 Are there any other ways to do copying and pasting in XFree86 other than
 using XWinclip?

If you only want to cut-and-paste only within X11 (not transferring the 
text
to windows) the you don't need xwinclip. If you want to transfer the text 
to
windows but can't use xwinclip, you can start an xterm from cygwin and do
$ cat /dev/clipboard
an then paste the text to the xterm. End it with Ctrl-D (^D) on a new line
the other way is
$ cat /dev/clipboard
and then select the text. Or you can write the text directly to 
/dev/clipboard
Maybe you'll have to change the lineendings. Then use
$ recode ../CRLF /dev/clipboard
or
$ recode /CRLF.. /dev/clipboard

NP: Terminal Choice - i don´t believe
--
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723

Thanks for you answer Alex. Unfortunately I expect my users will want 
something more like Exceed where they just use their mouse.

Does xwinclip work with xdm on your machine? If I do:

xwin -query host -fp host:7100 -from mypc 
xhost + (in the xdm window)
xwinclip

It stops me being able to highlight text. Is there something wrong I'm doing 
in the above?






_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



Re: xwinclip and dtsession

2002-12-06 Thread Alexander Gottwald
On Fri, 6 Dec 2002, J S wrote:
 Thanks for you answer Alex. Unfortunately I expect my users will want 
 something more like Exceed where they just use their mouse.
 
 Does xwinclip work with xdm on your machine? If I do:

I just tested xwinclip for the first time and it works with xdm too.

 xwin -query host -fp host:7100 -from mypc 
 xhost + (in the xdm window)
 xwinclip
 
 It stops me being able to highlight text. Is there something wrong I'm doing 
 in the above?

I don't know. I've never used xwinclip before and am not familar with the 
selection and cat-n-paste with X11. 

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




xwinclip - setlocale error

2002-12-06 Thread J S
I downloaded the latest xwinclip but when I try to run it I get:

$ xwinclip
UnicodeSupport - Windows NT/2000/XP
setlocale() error

The corresponding code is:

 /* Set the current locale?  What does this do? */
 if (fUnicodeSupport)
   {
#ifdef X_LOCALE
 if (!_Xsetlocale (LC_ALL, ))
#else
   if (!setlocale (LC_ALL, ))
#endif
 {
   printf (setlocale() error\n);
   exit (1);
 }

Can anyone explain to me what's happening here? I tried setting the LC_ALL 
variable but didn't get anywhere.

Thanks,

JS.






_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



Re: XDMCP on Windows 95

2002-12-06 Thread J S

I just found out that if I do:

xwin -fullscreen -depth 32

on the win95 machine, XFree fails to start. It only works when I set the 
depth to 8. Could this explain why I couldn't get xdmcp to work on my 
windows 95 machine?


Yup, you can specify the port number.  From the ``man Xserver'' page:
XDMCP OPTIONS
   X servers that support XDMCP have the  following  options.
   See  the  X Display Manager Control Protocol specification
   for more information.

   -query host-name
   Enable XDMCP and send Query packets to the  speci-
   fied host.

   -broadcast
   Enable  XDMCP and broadcast BroadcastQuery packets
   to the network.  The first responding display man-
   ager will be chosen for the session.

   -indirect host-name
   Enable XDMCP and send IndirectQuery packets to the
   specified host.

   -port port-num
   Use an alternate port number  for  XDMCP  packets.
   Must be specified before any -query, -broadcast or
   -indirect options.


Thus, you would do something like:
XWin -query smpd9 -port 6556 -fp tcp/smpd9:7100 -from a217447


Harold

J S wrote:







Okay, okay, but I didn't want to be that hard on Sylvain as he is a good 
contributor to our discussions... I just wanted to put up a friendly 
reminder that everyone, I more so than others, should sometimes tone down 
our messages.  That's all.

Harold

Christopher Faylor wrote:

On Tue, Dec 03, 2002 at 04:33:26PM -0500, Harold L Hunt II wrote:


I am not understanding why your response was appropriate.  The default 
port for XDM has nothing to do with Microsoft, unless Microsoft has 
decided to use port 177 for one of their products.  If that was the 
case, then a simple mention that ``Product Foo'' uses port 177 would 
have been sufficient, right?



AFAICT, it's the standard Cygwin response #13, issued when someone is
confused about the process and wants to make a point by letting everyone
know how bad Microsoft is and exhorting all of us not to be that way.

In other words, it was a value-free message.  Alexander's response was
perfectly clear and he didn't need to be taken to task for some imagined
attitude.

cgf




Hi Everyone,

Thanks for all the interest! Just to get things back into perspective... 
The reason for choosing some random port number for debugging xdm was 
because I couldn't kill the daemon on port 177 as this machine is being 
used by other people .

I was able to fire off a solaris desktop session on my windows 95 machine 
from the xdm on the server, but wasn't sure how to do it the other way 
round i.e. run the XWin -query command and get it to connect to my xdm 
debug instance running on the different port. Is this possible?

Thanks for the help,

JS.

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



Re: XDMCP on Windows 95

2002-12-06 Thread Harold L Hunt II
JS,

That depends, were you passing those parameters to XWin.exe when trying 
to use XDMCP?  If you were, then yes, they are likely the reason that 
XDMCP was failing, as XWin.exe was failing to start.  If you were not 
passing those parameters, then it really does not matter that XWin.exe 
fails with those parameters, as long as XWin.exe starts when you do not 
use those parameters.

Harold

J S wrote:


I just found out that if I do:

xwin -fullscreen -depth 32

on the win95 machine, XFree fails to start. It only works when I set 
the depth to 8. Could this explain why I couldn't get xdmcp to work on 
my windows 95 machine?


Yup, you can specify the port number.  From the ``man Xserver'' page:
XDMCP OPTIONS
   X servers that support XDMCP have the  following  options.
   See  the  X Display Manager Control Protocol specification
   for more information.

   -query host-name
   Enable XDMCP and send Query packets to the  speci-
   fied host.

   -broadcast
   Enable  XDMCP and broadcast BroadcastQuery packets
   to the network.  The first responding display man-
   ager will be chosen for the session.

   -indirect host-name
   Enable XDMCP and send IndirectQuery packets to the
   specified host.

   -port port-num
   Use an alternate port number  for  XDMCP  packets.
   Must be specified before any -query, -broadcast or
   -indirect options.


Thus, you would do something like:
XWin -query smpd9 -port 6556 -fp tcp/smpd9:7100 -from a217447


Harold

J S wrote:








Okay, okay, but I didn't want to be that hard on Sylvain as he is a 
good contributor to our discussions... I just wanted to put up a 
friendly reminder that everyone, I more so than others, should 
sometimes tone down our messages.  That's all.

Harold

Christopher Faylor wrote:

On Tue, Dec 03, 2002 at 04:33:26PM -0500, Harold L Hunt II wrote:


I am not understanding why your response was appropriate.  The 
default port for XDM has nothing to do with Microsoft, unless 
Microsoft has decided to use port 177 for one of their products.  
If that was the case, then a simple mention that ``Product Foo'' 
uses port 177 would have been sufficient, right?




AFAICT, it's the standard Cygwin response #13, issued when someone is
confused about the process and wants to make a point by letting 
everyone
know how bad Microsoft is and exhorting all of us not to be that way.

In other words, it was a value-free message.  Alexander's response 
was
perfectly clear and he didn't need to be taken to task for some 
imagined
attitude.

cgf




Hi Everyone,

Thanks for all the interest! Just to get things back into 
perspective... The reason for choosing some random port number for 
debugging xdm was because I couldn't kill the daemon on port 177 as 
this machine is being used by other people .

I was able to fire off a solaris desktop session on my windows 95 
machine from the xdm on the server, but wasn't sure how to do it the 
other way round i.e. run the XWin -query command and get it to 
connect to my xdm debug instance running on the different port. Is 
this possible?

Thanks for the help,

JS.

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





Re: XDMCP on Windows 95

2002-12-06 Thread J S
All  i did was :

xwin -query host -fp host:7100 -from mypc

I didn't pass the extra parms so I guess there was a flaw in that theory! 
I'm clutching at straws a bit now though 'cos I'm desperate to sort this 
out. I would have a look at the source code but I can imagine it's going to 
be huge and I haven't got much time left to sort this out. Would I be right 
in saying though that the most likely cause has got to be something windows 
95-network related since the original message said invalid address and this 
only occurs on win 95?


JS,

That depends, were you passing those parameters to XWin.exe when trying to 
use XDMCP?  If you were, then yes, they are likely the reason that XDMCP 
was failing, as XWin.exe was failing to start.  If you were not passing 
those parameters, then it really does not matter that XWin.exe fails with 
those parameters, as long as XWin.exe starts when you do not use those 
parameters.

Harold

J S wrote:


I just found out that if I do:

xwin -fullscreen -depth 32

on the win95 machine, XFree fails to start. It only works when I set the 
depth to 8. Could this explain why I couldn't get xdmcp to work on my 
windows 95 machine?


Yup, you can specify the port number.  From the ``man Xserver'' page:
XDMCP OPTIONS
   X servers that support XDMCP have the  following  options.
   See  the  X Display Manager Control Protocol specification
   for more information.

   -query host-name
   Enable XDMCP and send Query packets to the  speci-
   fied host.

   -broadcast
   Enable  XDMCP and broadcast BroadcastQuery packets
   to the network.  The first responding display man-
   ager will be chosen for the session.

   -indirect host-name
   Enable XDMCP and send IndirectQuery packets to the
   specified host.

   -port port-num
   Use an alternate port number  for  XDMCP  packets.
   Must be specified before any -query, -broadcast or
   -indirect options.


Thus, you would do something like:
XWin -query smpd9 -port 6556 -fp tcp/smpd9:7100 -from a217447


Harold

J S wrote:








Okay, okay, but I didn't want to be that hard on Sylvain as he is a 
good contributor to our discussions... I just wanted to put up a 
friendly reminder that everyone, I more so than others, should 
sometimes tone down our messages.  That's all.

Harold

Christopher Faylor wrote:

On Tue, Dec 03, 2002 at 04:33:26PM -0500, Harold L Hunt II wrote:


I am not understanding why your response was appropriate.  The 
default port for XDM has nothing to do with Microsoft, unless 
Microsoft has decided to use port 177 for one of their products.  If 
that was the case, then a simple mention that ``Product Foo'' uses 
port 177 would have been sufficient, right?




AFAICT, it's the standard Cygwin response #13, issued when someone is
confused about the process and wants to make a point by letting 
everyone
know how bad Microsoft is and exhorting all of us not to be that way.

In other words, it was a value-free message.  Alexander's response was
perfectly clear and he didn't need to be taken to task for some 
imagined
attitude.

cgf




Hi Everyone,

Thanks for all the interest! Just to get things back into perspective... 
The reason for choosing some random port number for debugging xdm was 
because I couldn't kill the daemon on port 177 as this machine is being 
used by other people .

I was able to fire off a solaris desktop session on my windows 95 
machine from the xdm on the server, but wasn't sure how to do it the 
other way round i.e. run the XWin -query command and get it to connect 
to my xdm debug instance running on the different port. Is this 
possible?

Thanks for the help,

JS.

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



Re: Rootless mode

2002-12-06 Thread J S



Kensuke,

The new patch is an architectual improvement.

However, when I run it, if I move a window it gets moved, then it jumps 
back to its original position and retraces the move path that I took it on, 
over and over again until I feel like I will throw up.  :)

I am not sure what is causing this problem, but obviously the queue of 
messages is not being cleared and is instead being looped through 
repeatedly.

My log file from this session is on the web:
http://www.msu.edu/~huntharo/xwin/XWinrl.log.bz2 (33 KiB)

The unpacked log file is 800+ KiB.

Harold

Kensuke Matsuzaki wrote:

Harold,

It remains only for debugging.




Am I correct that the root window is still being drawn, even thought it 
is
not really usable?  Is that something that remains to be fixed, or did I
have something go wrong with my patching?



By the way, this is new patch that integrates XWin and the window manager.

Kensuke Matsuzaki





How does this patch change what Rootless mode already does? I thought that 
rootless mode already integrated the window manager? I have windowmaker 
running, and when I'm in rootless mode the xterms come up with windowmaker 
frames. Can you integrate with the Windows windows manager?

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail



Re: XDMCP on Windows 95

2002-12-06 Thread Harold L Hunt II
Well, do you have any VPN software installed on the Windows 95 machine, 
or have you previously had some VPN software installed on that machine? 
A lot of the VPN programs replace many of the networking files and they 
are usually incompatible with Cygwin/XFree86.  Some of those programs 
cause problems with Cygwin/XFree86 even when they are not running.  A 
smaller number of these programs do not remove their networking files 
that they replaced when they are uninstalled, so they permanently make 
the machine incompatible with Cygwin/XFree86.

There is no inherent reason why XDMCP would not work with Windows 95, so 
I think there is something going on with the software that has been 
installed on that machine.

Harold

J S wrote:

All  i did was :

xwin -query host -fp host:7100 -from mypc

I didn't pass the extra parms so I guess there was a flaw in that 
theory! I'm clutching at straws a bit now though 'cos I'm desperate to 
sort this out. I would have a look at the source code but I can 
imagine it's going to be huge and I haven't got much time left to sort 
this out. Would I be right in saying though that the most likely cause 
has got to be something windows 95-network related since the original 
message said invalid address and this only occurs on win 95?


JS,

That depends, were you passing those parameters to XWin.exe when 
trying to use XDMCP?  If you were, then yes, they are likely the 
reason that XDMCP was failing, as XWin.exe was failing to start.  If 
you were not passing those parameters, then it really does not matter 
that XWin.exe fails with those parameters, as long as XWin.exe starts 
when you do not use those parameters.

Harold

J S wrote:


I just found out that if I do:

xwin -fullscreen -depth 32

on the win95 machine, XFree fails to start. It only works when I set 
the depth to 8. Could this explain why I couldn't get xdmcp to work 
on my windows 95 machine?


Yup, you can specify the port number.  From the ``man Xserver'' page:
XDMCP OPTIONS
   X servers that support XDMCP have the  following  options.
   See  the  X Display Manager Control Protocol specification
   for more information.

   -query host-name
   Enable XDMCP and send Query packets to the  speci-
   fied host.

   -broadcast
   Enable  XDMCP and broadcast BroadcastQuery packets
   to the network.  The first responding display man-
   ager will be chosen for the session.

   -indirect host-name
   Enable XDMCP and send IndirectQuery packets to the
   specified host.

   -port port-num
   Use an alternate port number  for  XDMCP  packets.
   Must be specified before any -query, -broadcast or
   -indirect options.


Thus, you would do something like:
XWin -query smpd9 -port 6556 -fp tcp/smpd9:7100 -from a217447


Harold

J S wrote:








Okay, okay, but I didn't want to be that hard on Sylvain as he is 
a good contributor to our discussions... I just wanted to put up 
a friendly reminder that everyone, I more so than others, should 
sometimes tone down our messages.  That's all.

Harold

Christopher Faylor wrote:

On Tue, Dec 03, 2002 at 04:33:26PM -0500, Harold L Hunt II wrote:


I am not understanding why your response was appropriate.  The 
default port for XDM has nothing to do with Microsoft, unless 
Microsoft has decided to use port 177 for one of their 
products.  If that was the case, then a simple mention that 
``Product Foo'' uses port 177 would have been sufficient, right?





AFAICT, it's the standard Cygwin response #13, issued when 
someone is
confused about the process and wants to make a point by letting 
everyone
know how bad Microsoft is and exhorting all of us not to be that 
way.

In other words, it was a value-free message.  Alexander's 
response was
perfectly clear and he didn't need to be taken to task for some 
imagined
attitude.

cgf





Hi Everyone,

Thanks for all the interest! Just to get things back into 
perspective... The reason for choosing some random port number for 
debugging xdm was because I couldn't kill the daemon on port 177 
as this machine is being used by other people .

I was able to fire off a solaris desktop session on my windows 95 
machine from the xdm on the server, but wasn't sure how to do it 
the other way round i.e. run the XWin -query command and get it to 
connect to my xdm debug instance running on the different port. Is 
this possible?

Thanks for the help,

JS.

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



_
STOP MORE SPAM with the new MSN 

Re: Rootless mode

2002-12-06 Thread Harold L Hunt II
JS,

Kensuke titled his message ``rootless mode'' when it should really have 
been titled ``multi-window mode''.  The goal of multi-window mode is to 
create a Windows-window for each top-level X Window, rather than 
creating one huge window for your entire X desktop.

Harold

J S wrote:




Kensuke,

The new patch is an architectual improvement.

However, when I run it, if I move a window it gets moved, then it 
jumps back to its original position and retraces the move path that I 
took it on, over and over again until I feel like I will throw up.  :)

I am not sure what is causing this problem, but obviously the queue 
of messages is not being cleared and is instead being looped through 
repeatedly.

My log file from this session is on the web:
http://www.msu.edu/~huntharo/xwin/XWinrl.log.bz2 (33 KiB)

The unpacked log file is 800+ KiB.

Harold

Kensuke Matsuzaki wrote:

Harold,

It remains only for debugging.




Am I correct that the root window is still being drawn, even 
thought it is
not really usable?  Is that something that remains to be fixed, or 
did I
have something go wrong with my patching?



By the way, this is new patch that integrates XWin and the window 
manager.

Kensuke Matsuzaki




How does this patch change what Rootless mode already does? I thought 
that rootless mode already integrated the window manager? I have 
windowmaker running, and when I'm in rootless mode the xterms come up 
with windowmaker frames. Can you integrate with the Windows windows 
manager?

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail





8 bit PseudoColor problem

2002-12-06 Thread Allott, Stephen
I have just run across this problem using Cadence and wondered if it ever got solved?

Steve Allott



Re: 8 bit PseudoColor problem

2002-12-06 Thread Harold L Hunt II
Wow, with all of that information that you gave, we will be sure to 
answer your question very quickly!

Harold

Allott, Stephen wrote:

I have just run across this problem using Cadence and wondered if it ever got solved?

Steve Allott
 





Re: Host Chooser Program?

2002-12-06 Thread Tim Thomson
Yep, There are lots of them :)

I even wrote one :)
http://xlauncher.sf.net

It's written in Delphi though, so can't be included in the cygwin
distribution :(

Hopefully someone will start writing one in straight C/C++ calling the Win32
API, so it could go in cygwin, so people will stop writing their own in
non-free languages every month ;-)

Tim.

On Fri, Nov 29, 2002 at 02:48:49PM -, Vince Hoffman wrote:
 I seem to remember post about something similar, try searching the archives
 for 'connection tool'
 
  -Original Message-
  From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
  Sent: 29 November 2002 14:26
  To: Cygwin XWin Mailingliste
  Subject: Host Chooser Program?
  
  
  Hi!
  
  Now that I've (kinda) got XWin running, I'm looking for a 
  program which 
  will let me type in the name of the host that I want to connect to.
  
  What I'm trying to do, is to have a shell script, which will 
  run some sort
  of Windows GUI program where the user can enter something.  
  This something
  should then be used as the parameter to the -query option.  
  Kinda like this:
  
 XWin.exe -query $(user_prompter)
  
  Any ideas?
  
  Thanks,
  
  Alexander Skwar
  -- 
  How to quote: http://learn.to/quote (german) http://quote.6x.to (en)
  Homepage: http://www.iso-top.biz  |  Jabber: [EMAIL PROTECTED]
 iso-top.biz - Die g?nstige Art an Linux Distributionen zu kommen
  -- 
  -
  This mail sent through IMP: http://horde.org/imp/
  
 



OT: W32 programming with Cygwin

2002-12-06 Thread Rashid Winter
Hi all

I've got Cygwin installed on my W2k system and would like to start
programming GUI applications using GNU C/C++. I'm well experience in the
language, it's just the Windows part of it I know nothing about. I'm pretty
skint so ?30 for a book on programming is not possible at the moment. Has
anyone seen any good programming references on the web? I've made a quick
search but only seemed to find references to more books on the subject.
Can't believe there are no programming tutorials specifically for W32 out
there so I must be looking in the wrong place...

Thanks,

Rashid



--
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: setup troubles: Download incomplete

2002-12-06 Thread Kris Thielemans
Thanks Larry,


 Disk space could still be the problem.  Depends on what you still need to
 download and how big it is.



ok. I'll try to clean up more.
A funny error message though.

Here's another funny error message:
After answering the question Download incomplete: do you want to try
again? with no, setup starts to install the packages that it already got. I
then get the occasional dialog box
Can't open (null) for reading: No such file

Needless to say, I've never seen that before, so it's probably because a
file wasn't downloaded correctly because of my lack of disk space. Looks to
me that a 0 pointer is passed to sprintf though...

 On the disk space front, can anyone tell me why setup stores copies of
 files
 in subdirectories named after the mirror. This means that I end up with
 several copies of the same .tar.bz2 files, as I often have to switch
 mirrors
 (they seem to be very busy once in a while).


 If you're really looking for details, check the email archives on this.
 The reason for the differing directories, what they contain, and even
 utilities for cleaning them up have been discussed before.  However,
 you should not be ending up with the exact same files from each mirror,
 at least if you keep your set of mirrors constant.

well, I did have multiple copies of the same file. I've been using 3
mirrors. I don't think I've been doing something special, but who knows (is
aborting an installation special? It might be). I can't give you any
details, as this happened over the years, and I never checked before. Also,
I deleted all of the mirror files except one to save disk space...

Thanks a lot

Kris Thielemans
(kris.thielemans at ic.ac.uk)
Imaging Research Solutions Ltd
Cyclotron Building
Hammersmith Hospital
Du Cane Road
London W12 ONN, United Kingdom

web site address: http://www.irsl.org/~kris


--
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: setup troubles: Download incomplete

2002-12-06 Thread Max Bowsher
Kris Thielemans [EMAIL PROTECTED] wrote:


 well, I did have multiple copies of the same file. I've been using 3
 mirrors. I don't think I've been doing something special, but who
 knows (is aborting an installation special? It might be). I can't
 give you any details, as this happened over the years, and I never
 checked before. Also, I deleted all of the mirror files except one to
 save disk space...

clean_setup.pl from: http://home.ix.netcom.com/~mchase/zip/ may help you
keep your files organized.

I use it all the time.

Max.


--
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: 1.3.15 on W2K: return codes, bash, cmd.exe

2002-12-06 Thread Stephen Powell
On Wed, 04 Dec 2002, [EMAIL PROTECTED] wrote:


[...]

 The .bat scripts do some minimal error checking and exit with
 exit /b 1 on error.

Try it without the /b, just exit 1.


With /b:
$ cat a.bat
exit /b 2
$ cmd /c a.bat ; echo rc=$?
C:\winnt\tempexit /b 2 
rc=0

Without /b:
$ cat b.bat
exit 2
$ cmd /c b.bat ; echo rc=$?
C:\winnt\tempexit 2 
rc=2

$ cmd /ver
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

-- 
Stephen Powell
[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: setup troubles: Download incomplete

2002-12-06 Thread Robert Collins
On Fri, 2002-12-06 at 20:57, Kris Thielemans wrote:


 well, I did have multiple copies of the same file. I've been using 3
 mirrors.


In the list of mirrors, did you ctrl-click to select the 3, or did you
single click, thus choosing a single, different mirror.

Setup only prevents duplicates when it knows all the mirrors you are
using.

Rob
-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---



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


RE: Is it possible to use centralized passwords with cygwin inetd?

2002-12-06 Thread Vince Hoffman
Cygwin fully supports domain users. just run `mkpasswd -d domain name 
/etc/passwd` on each box.
(setup may run this automaticly these days i'm not sure so check if you
already have a list of domain users in your passwd file.)


 -Original Message-
 From: Bruce P. Osler [mailto:[EMAIL PROTECTED]]
 Sent: 05 December 2002 22:04
 To: [EMAIL PROTECTED]
 Cc: Bruce Osler
 Subject: Is it possible to use centralized passwords with 
 cygwin inetd?
 
 
 For starters - I'd like to contribute to the Cygwin love-fest going
 on.  I think Cygwin is an awesome environment with huge benefits
 for folks working under windows.
 
 Today I'm interested in finding out wether I can use networked
 password services with the cygwin inetd.  At work I would like to
 setup a series of computers with Cygwin tools all of which are
 running the Cygwin inetd.  As there are a couple of hundred engineers
 in this environment the option of maintaining multiple /etc/passwd
 files is a bit onerous (if not unreasonable).  All of these computers
 are already hooked into an environment where the user passwords are
 provided and managed centrally to an NT domain.  Is there any way
 I can have Cygwin/inetd use the central domain password service
 for authentication?
 
 - Bruce
 
 
 --
 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: setup troubles: Download incomplete

2002-12-06 Thread Kris Thielemans

 In the list of mirrors, did you ctrl-click to select the 3, or did you
 single click, thus choosing a single, different mirror.

 Setup only prevents duplicates when it knows all the mirrors you are
 using.


ah. sorry. didn't know that. I single click another mirror whenever I have
trouble with the current one.

Thanks!

Kris


--
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: UNC paths are not supported. Defaulting to Windows directory.

2002-12-06 Thread troy . holly
Adrian C. Brown wrote:

Why would I get this error when trying to start cygwin from the
shortcut placed on the desktop?

CMD.EXE was started with '\\coruscant\users\adrianb\Desktop' as the
current dire ctory path.  UNC paths are not supported.  Defaulting to
Windows directory.

NT-Shells only except working directories that are on a mapped directory
drive. 


I am using Windows 2000 professional in a Windows 2000 domain with
folder redirection.

What can I do to solve this?

Here's my solution:

--- bash.bat -

@echo off
rem
rem  Bash.Bat
rem
rem  Add this registry entry to get a bash menu item in
rem  in your context menu (right mouse button) in the
rem  windows explorer.
rem
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Bash\command\Bash.Bat %L
rem

if %1%xxx == xxx goto usage

set CYGWIN=tty
set _NT_SHELL_DIR=%1
cd %_NT_SHELL_DIR%
shift
set _BASH_ARGS=%1 %2 %3 %4 %5 %6 %7 %8

bash.exe --norc -noprofile --login ~/.dosLogin
goto ende

:usage
echo usage: Bash.bat working_directory [bash args]
pause

:ende

 .dosLogin -

_BASH_SHELL_DIR=$(cygpath -u $_NT_SHELL_DIR)
exec bash --norc -noprofile -c \
cd $_BASH_SHELL_DIR 2/dev/null; \
if [ $? = 0 ] ; then exec bash $_BASH_ARGS; fi

- end 

Now put Bash.Bat on your PATH and .dosLogin in you HOME directory. You may
now use a UNC working directory to start bash from the explorer context menu
(right mouse button) or via redirection. You still get an error message from
windows, that UNC Paths are unsupported. Bash will, however, have the UNC
directory as the working directory.

Hope this helps.

- Troy Holly 

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




Cannot dlsym() some symbols from a DLL built with Cygwin

2002-12-06 Thread fabrizio_ge-wolit
I am having a strange problem with a DLL built with Cygwin (gcc 3.2 200290927
and ld 2.13.90 20021118).

I downloaded a package from the Net and built it as a DLL. Then, I wrote
to programs, one which linked implicitly with the DLL, and one which linked
explicitly (dlopen()ed the DLL, and then dlsym()ed the symbols). No problem
with the implicit link. But, with the explicit link, weird things happen:
dlopen() succeeds, but most dlsym() fail. The strangest thing is, some dlsym()
actually succeed (they return the correct pointer) but most don't (they
return NULL)!

I tried to build the same DLL with the Micro$oft tools (cl.exe and link.exe),
and both programs, unmodified, work! That is, all dlsym() succeed.

It seems a bug in Cygwin's ld, the dynamic linker.

If you request me, I can send the test programs by e-mail.

__
Tiscali ADSL. Scopri la fantastica promozione di Natale: tutto Gratis fino
al 9 gennaio!
Abbonati ora: prima ti abboni, più risparmi!
http://point.tiscali.it/adsl/index.shtml




--
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: .dll.a, .dll files and other questions

2002-12-06 Thread Scott A. Smith

 On Thu, Dec 05, 2002 at 05:19:27PM -0800, Hans Horn wrote:
those links on (http://cygwin.com/docs.html) describing how to build dlls
seem to be utterly outdated.
cgf wrote:
 Nope.  Recently updated.

After reading the above, I had a look hoping to find more (updated)
information on this DLL business. Am I looking at the same links?
The one for relocatable DLLs
http://cygwin.com/building-reloc-dlls.txt
is dated 1997, the one for helpful hints references Cygwin b17
http://cygwin.com/dll-hints.txt
and the one for more information doesn't work at all at the moment
http://www.cs.mu.oz.au/. I was told months ago on this list that 
use of dlltool was deprecated and no longer necessary at all, yet
that is commonly invoked in the above references. As
I recall, the latest dllhelpers does not even use dlltool? So I
am confused. Although I have muddled my way through building DLLs
with Cygwin, I cannot find the updated dox mentioned. Sorry, I simply
don't understand DLL's well enough myself to submit anything...
but I can say that dllhelpers did allow me to figure how to build
DLLs using what I believe to be the most modern means of doing so
with Cygwin/GCC.

Regards,
Scott 


--
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: GCC compiler cannot create executables.

2002-12-06 Thread Larry Hall (RFK Partners, Inc)
At 02:28 AM 12/6/2002, Ryan Budge wrote:

Hello list.
  
Im having some trouble getting gcc working.  I am trying to compile the
CVS for coldsync but it doesn't work.  I have done the same procedures
on my BSD 4.7 box and all works fine.
  
I have :- 
  
Windows XP Pro.
Cygwin 1.3.15-2
Gcc 3.2-3
  
And others..
  
In my cvs directory I run :- 
  
%autoconf
%./configure
  
And I get : -
  
Configure : error : installation or configuration problem : c compiler
cannot create executables.
  
I did google but I could not find any real answers.
  
Any ideas.

Im attaching the output of cygcheck -c and config.log. 


Why not attach all the information asked for at 
http://www.cygwin.com/bugs.html?

It looks like the Cygwin gcc package and dependencies are installed.  
My guess you had some other compiler package installed already and/or
some environment variables for the compiler are set in your environment
that are getting in the way.  That's just a guess of course, since I 
don't have the output of cygcheck -s -r -v to verify that.  If that's
not the problem, you might try reinstalling.  But now I'm just grasping 
at straws for ideas.  You need to check out your environment/installation.
That's definitely where the problem is.



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: GCC compiler cannot create executables.

2002-12-06 Thread Tim Prince
On Thursday 05 December 2002 23:28, Ryan Budge wrote:

 In my cvs directory I run :-

 %autoconf
 %./configure

 And I get : -

 Configure : error : installation or configuration problem : c compiler
 cannot create executables.


 Im attaching the output of cygcheck -c and config.log.


Your config.log appears to say that the test gcc command wants to link 
against libuser32, and it doesn't find that library.  Does gcc -v work for 
you from the command line?  Do you have such a library?
-- 
Tim Prince

--
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: setup troubles: Download incomplete

2002-12-06 Thread Larry Hall (RFK Partners, Inc)
At 04:57 AM 12/6/2002, Kris Thielemans wrote:
Thanks Larry,

 
  Disk space could still be the problem.  Depends on what you still need to
  download and how big it is.
 
 

ok. I'll try to clean up more.
A funny error message though.

Here's another funny error message:
After answering the question Download incomplete: do you want to try
again? with no, setup starts to install the packages that it already got. I
then get the occasional dialog box
Can't open (null) for reading: No such file

Needless to say, I've never seen that before, so it's probably because a
file wasn't downloaded correctly because of my lack of disk space. Looks to
me that a 0 pointer is passed to sprintf though...


Right.  The download incomplete message indicates that not everything you
requested could be downloaded.  Generally, you just want to try again but
if you say you don't, setup just switches to the installation mode to 
install what it did download.

Are you using the current setup.exe from www.cygwin.com?  I thought all the
messages about Can't open (null) for reading: No such file were gone now.
Perhaps I'm wrong.


  On the disk space front, can anyone tell me why setup stores copies of
  files
  in subdirectories named after the mirror. This means that I end up with
  several copies of the same .tar.bz2 files, as I often have to switch
  mirrors
  (they seem to be very busy once in a while).
 
 
  If you're really looking for details, check the email archives on this.
  The reason for the differing directories, what they contain, and even
  utilities for cleaning them up have been discussed before.  However,
  you should not be ending up with the exact same files from each mirror,
  at least if you keep your set of mirrors constant.

well, I did have multiple copies of the same file. I've been using 3
mirrors. I don't think I've been doing something special, but who knows (is
aborting an installation special? It might be). I can't give you any
details, as this happened over the years, and I never checked before. Also,
I deleted all of the mirror files except one to save disk space...


Right.  I think Rob got this point across to you.  You need to pick multiple
mirrors at the same time in order for setup to understand that it should
only download a package if it doesn't exist in another mirror's 
directory already.



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: GCC compiler cannot create executables.

2002-12-06 Thread Larry Hall (RFK Partners, Inc)
At 08:54 AM 12/6/2002, Tim Prince wrote:
On Thursday 05 December 2002 23:28, Ryan Budge wrote:
 
  In my cvs directory I run :-
 
  %autoconf
  %./configure
 
  And I get : -
 
  Configure : error : installation or configuration problem : c compiler
  cannot create executables.
 

  Im attaching the output of cygcheck -c and config.log.
 
 
Your config.log appears to say that the test gcc command wants to link 
against libuser32, and it doesn't find that library.  Does gcc -v work for 
you from the command line?  Do you have such a library?



Ugh!  I should've looked closer at the configure log!  Tim's right.  You 
don't have the user32 library.  That means you didn't install the w32api 
package.  Your limited cygcheck.out shows this to be the case.  Install
it.



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: GCC compiler cannot create executables.

2002-12-06 Thread Ryan Budge
Hi Tim.

 Your config.log appears to say that the test gcc command wants to link

 gainst libuser32, and it doesn't find that library.  Does gcc -v work
for 
 you from the command line?  Do you have such a library?
 -- 
 Tim Prince

gcc -v does work from the command line.

Ive attached a screen cap of the window.  Sorry... I don't have script
like I do in BSD to give the output in text.  Or am I being silly...

 
Hi Larry

It looks like the Cygwin gcc package and dependencies are installed.  
My guess you had some other compiler package installed already and/or
some environment variables for the compiler are set in your environment
that are getting in the way.  That's just a guess of course, since I 
don't have the output of cygcheck -s -r -v to verify that.  If that's
not the problem, you might try reinstalling.  But now I'm just grasping

at straws for ideas.  You need to check out your
environment/installation.
That's definitely where the problem is.

I have attached the output of cygcheck -s -r -v 

Thanks for reading.

Ryan

attachment: gcc-v.png

cygcheck-s-r-v.out
Description: Binary data
--
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: Is it possible to use centralized passwords with cygwin inetd ?

2002-12-06 Thread Bruce P. Osler
I guess I was looking for something a bit more dynamic.  I understand
that I can create entries on my local machine which contain the domain
users password.  The issue for me is one of centralization.  Is there
a way I can bypass the local /etc/passwd file in order that cygwin
directly queries the network resource.  To do this I would imagine an
exchange similar to the following would have to be seen:

brosler@WHEREVER-NT ~
$ telnet brosler-nt
Trying 172.27.57.214...
Connected to brosler-nt.foobar.com.
Escape character is '^]'.

CYGWIN_NT-4.0 1.3.15(0.63/3/2) (brosler-nt) (tty0)

login: FOOBAR_ENG\brosler
password:

brosler-nt@BROSLER-nt ~
$



In this instance the /etc/passwd file would NOT contain an entry for
this specific user, but rather it would contain an entry for something
like U-FOOBAR_ENG\everyone or some such thing which would cause the
passwd agent to direct the query to the network instead of at the local
passwd file.

I mean, inside cisco there's something on the order of 4 employees.
In my imediate group there's over 400.  The idea that all of them are
never going to change their password is ludicrous as well as the nature
of having to pull down 400 passwords on a periodic basis (NT reboots are
not an unknown :-)  As all this password stuff is already accounted for
on a network server somewhere in the ether, why not take advantage of it.

- Bruce




At 10:41 AM 12/6/2002 +, Vince Hoffman wrote:

Cygwin fully supports domain users. just run `mkpasswd -d domain name 
/etc/passwd` on each box.
(setup may run this automaticly these days i'm not sure so check if you
already have a list of domain users in your passwd file.)


 -Original Message-
 From: Bruce P. Osler [mailto:[EMAIL PROTECTED]]
 Sent: 05 December 2002 22:04
 To: [EMAIL PROTECTED]
 Cc: Bruce Osler
 Subject: Is it possible to use centralized passwords with
 cygwin inetd?


 For starters - I'd like to contribute to the Cygwin love-fest going
 on.  I think Cygwin is an awesome environment with huge benefits
 for folks working under windows.

 Today I'm interested in finding out wether I can use networked
 password services with the cygwin inetd.  At work I would like to
 setup a series of computers with Cygwin tools all of which are
 running the Cygwin inetd.  As there are a couple of hundred engineers
 in this environment the option of maintaining multiple /etc/passwd
 files is a bit onerous (if not unreasonable).  All of these computers
 are already hooked into an environment where the user passwords are
 provided and managed centrally to an NT domain.  Is there any way
 I can have Cygwin/inetd use the central domain password service
 for authentication?

 - Bruce


 --
 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: setup troubles: Download incomplete

2002-12-06 Thread Max Bowsher
Larry Hall (RFK Partners, Inc) [EMAIL PROTECTED] wrote:


 I thought
 all the messages about Can't open (null) for reading: No such file
 were gone now. Perhaps I'm wrong.

I'm afraid so. I've seen this message occasionally (unfortunately, since I
don't do much downloading with setup, I haven't got around to nailing down
precise reproduction steps.)
[With recent setup, BTW]

 You need to pick
 multiple mirrors at the same time in order for setup to understand
 that it should only download a package if it doesn't exist in another
 mirror's directory already.

True. Maybe this is a bug?

Max.


--
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: Is it possible to use centralized passwords with cygwin inetd ?

2002-12-06 Thread Max Bowsher
Bruce P. Osler [EMAIL PROTECTED] wrote:

 I guess I was looking for something a bit more dynamic.

IIRC - If you do what was suggested, you should only need to rerun mkpasswd
when users are added or removed, not when they change their password.

Not wonderful, but distinctly better that what you imagine.

If you look inside a mkpasswd-generated passwd file, you will see that there
is no password info stored there.

Max.


--
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: Is it possible to use centralized passwords with cygwin inetd ?

2002-12-06 Thread Bruce P. Osler
Hmmm, I had thought the long ugly string (eg S-1-5-21-1677152479-820197058-
1843927889-1002) was the password.  Sounds like I made the wrong assumption.
So ... if this is the case, it sounds like it's workable.  Especially so
given that the employee roles haven't changed in nearly two years :-/

- Bruce


At 02:39 PM 12/6/2002 +, Max Bowsher wrote:

Bruce P. Osler [EMAIL PROTECTED] wrote:

 I guess I was looking for something a bit more dynamic.

IIRC - If you do what was suggested, you should only need to rerun mkpasswd
when users are added or removed, not when they change their password.

Not wonderful, but distinctly better that what you imagine.

If you look inside a mkpasswd-generated passwd file, you will see that there
is no password info stored there.

Max.


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

2002-12-06 Thread Dr. Volker Zell
 Marco == Marco Antonio [EMAIL PROTECTED] writes:

Marco Hi all,
Marco I've been trying to find a free lpd for windows, and noticed that lprng was 
ported to cygwin. But in cygwin setup I can't find the lprng package. I found a link 
in cygwin site to download the port, but everytime I try to access the page I get an 
'connection failed'. Is the port deprecated? Any help? Btw, the link that I tried is 
the following:

Marco http://ics-server.interface-net.com/~lbakken/lprng-cygwin.html

Hi Marco

I'm still using the lpd port on my machine and it's working perfect. If you want
I can send you the binaries offlist.

I can also try to find the patches to the lprng source. 

Marco Thanks in advance.

Ciao
  Volker


--
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: setup troubles: Download incomplete

2002-12-06 Thread Gareth Pearce
(doesnt point out anything about which list setup discussions is supposed to 
be on...)

I accidently deleted the email i was going to reply to - so no context 
sorry...

But I thought I would point out another lovely feature of the continuing to 
install after after incomplete downloads - as well as the null messages - 
packages get uninstalled that dont have a correct replacement package.  I've 
managed to end up without a cygwin dll a couple of times because of this ... 
since oddly - the cygwin dll download seems to have a much higher chance of 
dieing then any of the others - typically at 99% too... (obviously a 
conspiracy here... i can feel it :P)


Gareth.

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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



ProbLEms With cygipc compile

2002-12-06 Thread jezek
Hi All ...

I have a big probLem.
I haVe instALLed cygwin-1.3.17-1 anD i have DownLoaded and installed a PacKAge
called cygipc-1.13-2  to make soMe programs for my sTudy uSe ...

I need To comPiLe a sOurce uSing sys/(shm.h, sem.h, msg.h) but when 
i trYed to CompiLE a teSt souRce the Only Thing iT answered Me was :

gcc -ggdb -Wall  -o msg -lcygipc msg.cpp
/cygdrive/c/WIN98/TEMP/ccSukmwr.o: In function `main':
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:35: undefined reference to
`msgget'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:61: undefined reference to
`msgsnd'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:72: undefined reference to
`msgctl'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:77: undefined reference to
`msgget'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:82: undefined reference to
`msgrcv'
/home/jEzeK/FEI/PPRC/cvic8/ja_rad/msg.cpp:86: undefined reference to
`msgctl'
collect2: ld returned 1 exit status
make: *** [all] Error 1


i aM in Big TrouBle ... i nEeeeD it to ruN tiLL TuesDAy 

PLeasE heLp ME 

PS : In a Makefile a have the library tag (option???) -lcygipc
 anD the Paths aRe OK  But It CoudLnt COMPILE !


ThAnkS for CommiNg aNswer to fIX thiS pRobLem :)

Yours SinCirelY 
MateJ kOhut (JezEk)

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

2002-12-06 Thread Christopher Faylor
On Fri, Dec 06, 2002 at 04:06:34PM +0100, Dr. Volker Zell wrote:
 Marco == Marco Antonio [EMAIL PROTECTED] writes:
Marco Hi all,
Marco I've been trying to find a free lpd for windows, and noticed that lprng 
was ported to cygwin. But in cygwin setup I can't find the lprng package. I found a 
link in cygwin site to download the port, but everytime I try to access the page I 
get an 'connection failed'. Is the port deprecated? Any help? Btw, the link that I 
tried is the following:

Marco http://ics-server.interface-net.com/~lbakken/lprng-cygwin.html

Hi Marco

I'm still using the lpd port on my machine and it's working perfect. If you want
I can send you the binaries offlist.

I can also try to find the patches to the lprng source. 

Marco Thanks in advance.

Anyone want to maintain this as a standard cygwin package?

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/




Trouble compiling a trivial C++ program involving cout

2002-12-06 Thread Vineet Ahuja
Hi all,

I have a C++ program (resource.cpp):

#include iostream

...

cout  value;

...

On compiling with g++ resource.cpp, I get:
resource.cpp:18: `cout' undeclared (first use this function)

I've tried:
g++ -I /usr/include/c++/3.2/ resource.cpp

in which case I get the following:

cc1plus: warning: changing search order for system directory
/usr/include/c++/3.2
cc1plus: warning:   as it has already been specified as a non-system
directory
g++ -I /usr/include/c++/3.2/ resource.cpp

I've checked and iostream is present in /usr/include/c++/3.2/ 

I'm sure this is something trivial, but havent managed to get
to the bottom of it after considerable digging and head scratching. 
Any help will be much appreciated.

Thanks,
-Vineet

PS- Here is the output from 
cygcheck -s -v -r:


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Dec 06 22:40:59 2002

Windows ME Ver 4.90 Build 3000 

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINDOWS
c:\WINDOWS\COMMAND
C:\cygwin\usr\X11R6\bin

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

HOME = `C:\cygwin\home\User'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/WINDOWS/Desktop/vahuja'
USER = `User'

BLASTER = `A220 I5 D1 T4 P330'
CMDLINE = `bash --login -i'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
HOMEDRIVE = `C:'
HOMEPATH = `\cygwin\home\User'
MANPATH = `:/usr/ssl/man'
OLDPWD = `/usr/include/c++/3.2'
PROMPT = `$p$g'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
TEMP = `c:\WINDOWS\TEMP'
TERM = `cygwin'
TMP = `c:\WINDOWS\TEMP'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
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
  (default) = `/cygdrive'
  cygdrive flags = 0x0020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts
v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  FAT32  38160Mb  11% CPUN   
d:  cd   N/AN/A

C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system 
binmode
C:\cygwin  / system 
textmode
C:\cygwin/bin  /usr/bin  system 
textmode
C:\cygwin/lib  /usr/lib  system 
textmode
.  /cygdrive user   
textmode,cygdrive

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
Warning: C:\cygwin\bin\find.exe hides 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
Not Found: make
Found: C:\cygwin\bin\sh.exe

   19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
  cyggdbm.dll v0.0 ts=2002/2/20 11:05
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
  cygiconv-2.dll v0.0 ts=2002/6/25 2:24
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
  cygintl.dll v0.0 ts=2001/6/21 1:09
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
  cygintl-1.dll v0.0 ts=2001/12/13 17:28
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
  cygintl-2.dll v0.0 ts=2002/9/20 11:13
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
  cygform5.dll v0.0 ts=2001/4/25 13:28
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
  cygmenu5.dll v0.0 ts=2001/4/25 13:27
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
  cygncurses++5.dll v0.0 ts=2001/4/25 13:29
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
  cygncurses5.dll v0.0 ts=2001/4/25 13:17
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
  cygpanel5.dll v0.0 ts=2001/4/25 13:27
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
  cygform6.dll v0.0 ts=2002/1/9 14:03
   20k 

1999 C++ bug reappears after upgrade to 1.3.17

2002-12-06 Thread Boris Schaeling
I upgraded Cygwin 1.3.12-2 to 1.3.17-1 and now can't run one of my C++
programs any more: A simple call of a virtual member function crashs Windows
98 (no problems under Linux). I found a bug report dated 03/1999 that
reminds me of my C++ program and has a testcase attached that causes a Blue
Screen of Death: http://sources.redhat.com/ml/cygwin/1999-03/msg00474.html

Does this testcase work for anyone under Cygwin 1.3.17-1 and Windows 98?

Boris


--
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: Trouble compiling a trivial C++ program involving cout

2002-12-06 Thread Gareth Pearce



Hi all,

I have a C++ program (resource.cpp):

#include iostream

...

cout  value;

...

On compiling with g++ resource.cpp, I get:
resource.cpp:18: `cout' undeclared (first use this function)

I've tried:
g++ -I /usr/include/c++/3.2/ resource.cpp

in which case I get the following:

cc1plus: warning: changing search order for system directory
/usr/include/c++/3.2
cc1plus: warning:   as it has already been specified as a non-system
directory
g++ -I /usr/include/c++/3.2/ resource.cpp

I've checked and iostream is present in /usr/include/c++/3.2/

I'm sure this is something trivial, but havent managed to get
to the bottom of it after considerable digging and head scratching.
Any help will be much appreciated.

Thanks,
-Vineet



It is indeed trivial - as of gcc version 3 and later - it conforms to the 
c++ standard with increased accuracy ... as such the standard library 
elements are now in namespace std.

either std::cout - or a using namespace std directive - will be required for 
your code to be conforming the c++ standard and thus compile.

Gareth

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


--
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: Cron Won't Run Jobs

2002-12-06 Thread Harig, Mark A.
What is the output of 'ls -ln /var/cron/tab/buck'?

'buck' needs to have its 'group' ownership set to SYSTEM,
and SYSTEM needs to have its value set to 18.

 -Original Message-
 From: Buck Turgidson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 05, 2002 9:34 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Cron Won't Run Jobs
 
 
 I have the following line in monsql, and I don't see it, 
 unless I run it
 manually:
 
 echo Monsql executed on $(date)  /tmp/cron.log
 
 Here is the output from cygcheck -sv
 
 
 
 
 
 - Original Message -
 From: Vince Hoffman [EMAIL PROTECTED]
 To: 'Buck Turgidson' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, December 05, 2002 9:05 AM
 Subject: RE: Cron Won't Run Jobs
 
 
  Moer info would be good. (cygcheck as an attachment is 
 always a good start
  :)
  does monsql pop up a window ? (services that interact with 
 the desktop
 need
  spacial permission)
  try adding a line like
  * * * * * /usr/bin/touch /tmp/crond_running
  to your crontab and see if that works,
 
   -Original Message-
   From: Buck Turgidson [mailto:[EMAIL PROTECTED]]
   Sent: 05 December 2002 13:51
   To: [EMAIL PROTECTED]
   Subject: Cron Won't Run Jobs
  
  
   I installed CYGWIN yesterday, and am having trouble getting
   cron to work.
   My cron job, set to run every minute, does not execute.
  
   I have read through the archives, and below is relevant data.
  
   I would appreciate any advice on what to try next
  
  
   chmod 1777 /var/cron
   chmod 1777 /var/cron/tabs
  
   cygrunsrv -E cron
   cygrunsrv -R cron
   cygrunsrv -I cron -p /usr/sbin/cron -a -D -e CYGWIN=tty ntsec
   cygrunsrv -S cron
  
  
   This is what the process list looks like:
  
   /var/cron  ps -ef
UID PIDPPID TTY STIME COMMAND
 buck   395   1 con  08:36:06 /usr/bin/bash
 SYSTEM 392   1   ?  08:40:54 /usr/bin/cygrunsrv
 SYSTEM 350 392   ?  08:40:54 /usr/sbin/cron
 buck63 395 con  08:48:11 /usr/bin/ps
  
  
   This is /etc/group
  
   /var/cron  cat /etc/group
   SYSTEM:S-1-5-18:18:
   None:S-1-5-21-926890155-1422859606-844764980-513:513:
   Administrators:S-1-5-32-544:544:
   Backup Operators:S-1-5-32-551:551:
   Guests:S-1-5-32-546:546:
   Power Users:S-1-5-32-547:547:
   Replicator:S-1-5-32-552:552:
   Users:S-1-5-32-545:545:
   /var/cron 
  
  
  
   This is my cronjob
  
   /var/cron  crontab -l
   # DO NOT EDIT THIS FILE - edit the master and reinstall.
   # (/tmp/crontab.312 installed on Thu Dec  5 08:39:21 2002)
   # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55
   corinna Exp $)
   */1 * * * *  monsql
   /var/cron 
  
  
  
  
   --
   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: GCC compiler cannot create executables.

2002-12-06 Thread Michael A Chase
On Fri, 6 Dec 2002 16:08:07 +0200 Ryan Budge [EMAIL PROTECTED] wrote:

 Ive attached a screen cap of the window.  Sorry... I don't have script
 like I do in BSD to give the output in text.  Or am I being silly...

The latter.  You can cut and paste text from a console window in by
pressing Alt-Space and following the 'Edit' menu item.  If you have enabled
fast cut-and-paste in the window/shortcut properties all you need to do is
highlight the text with your mouse and press enter to copy the text to the
clipboard.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



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




shared libstdc++?

2002-12-06 Thread Lapo Luchini
Maybe its a silly question, maybe no.
20' of searching Google and cygwin ML's search seems enough to me 0=)

As part of my learning of autotoolsfriends I'm trying to create a 
shared library for a university project.

But, similiarly to message 
http://sources.redhat.com/ml/cygwin/2002-10/msg01815.html I get the 
problem that it needs a shared libstdc++ in order to create a shaerd 
library that import libstdc++ functions.

Is that true?
What can I do about it?
Just add --disable-shared and be happy? ^_^

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



smime.p7s
Description: S/MIME Cryptographic Signature


Re: .dll.a, .dll files and other questions

2002-12-06 Thread Hans Horn
Chris,

thanks a lot!
http://cygwin.com/cygwin-ug-net/dll.html seems to be indeed up-to-date!

However, I strongly recommend to wipe or update related sections on
http://cygwin.com/docs.html, just to avoid future confusions!

Now that we straightened that one out, we can get to more interesting
questions.

I want to build an dll that uses Win32 global hooks.
With the dll built under MS Visual Studio, I use dlltool on it to create a
.dll.a from it and link it with my app under cygwin, everything works!

When I build the dll directly under cygwin (what I really want to do, as I
don't have VisualStudio!) using the instructions from
http://cygwin.com/cygwin-ug-net/dll.html,
and link it with my app, it does NOT work!

Are there any restrictions under cygwin about the kinds of dlls that can be
built?

H.









--
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: Is it possible to use centralized passwords with cygwin inetd ?

2002-12-06 Thread Max Bowsher
Bruce P. Osler [EMAIL PROTECTED] wrote:

 Hmmm, I had thought the long ugly string (eg
 S-1-5-21-1677152479-820197058- 1843927889-1002) was the password.

No, that's the Windows SID. The password field is the one with
unused_by_nt/2000/xp.

Max.


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




cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Hi!, i just installed cygwin in my PC in order to run
a shell script, this script run just fine form the
command line, now i need to run this script every
minute (cron and crontab issue).

I have read all the mail list and FAQ and README files
and applied every posible hint and advise, but my
script does not run from cron.

here is my configuration.


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Dec 06 10:41:26 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service
Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem 
c:\Archivos de programa\progress
c:\Archivos de programa\progress\bin
c:\temp\bin\usr\local\wbin
c:\progress\wrk\appreplicacion

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

HOME = `C:\cygwin\home\asuncion1'
MAKE_MODE = `unix'
PWD = `/home/asuncion1'
USER = `asuncion1'

ALLUSERSPROFILE = `C:\Documents and Settings\All
Users'
APPDATA = `C:\Documents and Settings\asuncion1\Datos
de programa'
COMMONPROGRAMFILES = `C:\Archivos de programa\Archivos
comunes'
COMPUTERNAME = `SRVCORDEMEX'
COMSPEC = `C:\WINNT\system32\cmd.exe'
DLC = `c:\Archivos de programa\Progress'
DLCBIN = `c:\Archivos de programa\Progress\bin'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\SRVCORDEMEX'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT =
`.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 0 Stepping
10, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `000a'
PROCFG = `C:\Archivos de
programa\Progress\progress.cfg'
PROGRAMFILES = `C:\Archivos de programa'
PROMPT = `$P$G'
PROMSGS = `C:\Archivos de programa\Progress\promsgs'
PROOIBRK = `C:\Archivos de
programa\Progress\bin\oibrkr32.exe'
PROOIDRV = `C:\Archivos de
programa\Progress\bin\oidrvr32.exe'
PROSTARTUP = `C:\Archivos de
programa\Progress\startup_oib.pf'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\ASUNCI~1\CONFIG~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ASUNCI~1\CONFIG~1\Temp'
USERDOMAIN = `SRVCORDEMEX'
USERNAME = `asuncion1'
USERPROFILE = `C:\Documents and Settings\asuncion1'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS   19085Mb  84% CP CS UN PA FC 
d:  fd   N/AN/A

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

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: c:\temp\bin\usr\local\wbin\cat.exe
Warning: C:\cygwin\bin\cat.exe hides
c:\temp\bin\usr\local\wbin\cat.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Found: c:\temp\bin\usr\local\wbin\find.exe
Warning: C:\cygwin\bin\find.exe hides
c:\temp\bin\usr\local\wbin\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Found: c:\temp\bin\usr\local\wbin\ls.exe
Warning: C:\cygwin\bin\ls.exe hides
c:\temp\bin\usr\local\wbin\ls.exe
Found: c:\temp\bin\usr\local\wbin\make.exe
Found: C:\cygwin\bin\sh.exe

   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0
img=1.0 sys=4.0
  cygform5.dll v0.0 ts=2001/4/25
0:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0
img=1.0 sys=4.0
  cygform6.dll v0.0 ts=2002/1/9 0:03
   19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0
img=1.0 sys=4.0
  cyggdbm.dll v0.0 ts=2002/2/19
21:05
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll -
os=4.0 img=1.0 sys=4.0
  cyghistory4.dll v0.0 ts=2001/1/6
22:34
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll -
os=4.0 img=1.0 sys=4.0
  cyghistory5.dll v0.0 ts=2002/10/10
12:28
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll -
os=4.0 img=1.0 sys=4.0
  cygiconv-2.dll v0.0 ts=2002/6/24
13:24
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0
img=1.0 sys=4.0
  cygintl-1.dll v0.0 ts=2001/12/13
3:28
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0
img=1.0 sys=4.0
  cygintl-2.dll v0.0 ts=2002/9/19
22:13
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0
img=1.0 sys=4.0
  cygintl.dll v0.0 ts=2001/6/20
12:09
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0
img=1.0 sys=4.0
  cygmenu5.dll v0.0 ts=2001/4/25
0:27
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0
img=1.0 sys=4.0
  cygmenu6.dll v0.0 ts=2002/1/9 0:03
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll -
os=4.0 img=1.0 sys=4.0
  cygncurses++5.dll v0.0
ts=2001/4/25 0:29
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll -
os=4.0 img=1.0 sys=4.0
  

[ANNOUNCEMENT] GNU emacs 21.2-9

2002-12-06 Thread Joe Buehler
GNU emacs 21.2-9 is available.

Changes:

- applied UNIX patch reported to help recent hang-related problems
- switch to built-in malloc (requested by emacs maintainers, supposedly will reduce
   memory usage)
- numerous patches to LISP source for various features in common with Windows emacs
- complete recompile of all LISP files

The LISP patches have to do with conditionals that test the system type.  I went
through all such and added cygwin to the places where it obviously belonged, such
as: ignore case when completing file names in shell mode, allow directory rename
to change case in dired mode, etc.

New users please be aware of a couple things:

- You will want tty included in your CYGWIN environment variable
   setting, and probably binmode.  Look at the following for some
   documentation: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html

Joe Buehler

*** INFORMATION ON UPDATING CYGWIN ***

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.

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] .  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 from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you have trouble, please use the resources at

http://cygwin.com/ml/


--
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: [ANNOUNCEMENT] Updated: sh-utils-2.0-3

2002-12-06 Thread Igor Pechtchanski
On Thu, 5 Dec 2002, Christopher Faylor wrote:

 I've made a new version of the sh-utils available for download.  The
 only change is to recompile everything with newer versions of gcc
 and other libraries.  This seems to have magically caused the 'date'
 command to start showing a timezone.
 [snip]

Chris,

There was an earlier problem with cygpath that was fixable by recompiling,
which was due to incorrect prototyping.  Here's the relevant message:
http://cygwin.com/ml/cygwin-apps/2002-10/msg00227.html

Could this magic have similar causes?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51


--
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: Is it possible to use centralized passwords with cygwin inetd ?

2002-12-06 Thread Bruce P. Osler
Thnx, the pieces fit now.

- Bruce


At 04:42 PM 12/6/2002 +, Max Bowsher wrote:

Bruce P. Osler [EMAIL PROTECTED] wrote:

 Hmmm, I had thought the long ugly string (eg
 S-1-5-21-1677152479-820197058- 1843927889-1002) was the password.

No, that's the Windows SID. The password field is the one with
unused_by_nt/2000/xp.

Max.


--
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: [ANNOUNCEMENT] Updated: sh-utils-2.0-3

2002-12-06 Thread Christopher Faylor
On Fri, Dec 06, 2002 at 11:51:34AM -0500, Igor Pechtchanski wrote:
On Thu, 5 Dec 2002, Christopher Faylor wrote:

 I've made a new version of the sh-utils available for download.  The
 only change is to recompile everything with newer versions of gcc
 and other libraries.  This seems to have magically caused the 'date'
 command to start showing a timezone.
 [snip]

Chris,

There was an earlier problem with cygpath that was fixable by recompiling,
which was due to incorrect prototyping.  Here's the relevant message:
http://cygwin.com/ml/cygwin-apps/2002-10/msg00227.html

Could this magic have similar causes?

No.

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/




Re: GCC compiler cannot create executables.

2002-12-06 Thread Igor Pechtchanski
On Fri, 6 Dec 2002, Michael A Chase wrote:

 On Fri, 6 Dec 2002 16:08:07 +0200 Ryan Budge [EMAIL PROTECTED] wrote:

  Ive attached a screen cap of the window.  Sorry... I don't have script
  like I do in BSD to give the output in text.  Or am I being silly...

 The latter.  You can cut and paste text from a console window in by
 pressing Alt-Space and following the 'Edit' menu item.  If you have enabled
 fast cut-and-paste in the window/shortcut properties all you need to do is
 highlight the text with your mouse and press enter to copy the text to the
 clipboard.

FWIW, there's also apparently a cygwin port of 'script':
http://cygwin.com/ml/cygwin/2002-09/msg01371.html
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51


--
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: cron problem in W2K Proffesional

2002-12-06 Thread Christopher Faylor
On Fri, Dec 06, 2002 at 08:49:06AM -0800, Eric De La Cruz Lugo wrote:
Hi!, i just installed cygwin in my PC in order to run
a shell script, this script run just fine form the
command line, now i need to run this script every
minute (cron and crontab issue).

I have read all the mail list and FAQ and README files
and applied every posible hint and advise, but my
script does not run from cron.

http://cygwin.com/bugs.html

cgf
--
Please do not send me personal email with cygwin questions or observations.
Use the resources at http://cygwin.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/




Setup unable to download list of mirror sites -- One possible solution

2002-12-06 Thread Naveen Kansara

I had the same problem with cygwin setup - it used to fail in getting the
mirrors.1st file from http://sources.redhat.com/cygwin/mirrors.lst  . I also
found setup.log.full contained line getUrlToStream failed!. I have found
that the error maybe caused due to Kazaa Lite - if you use Kazaa lite and
use it's supertrick to disable pop-up ads then check the HOSTS file(no
extension) located in Windows folder. I found that http://sources.redhat.com
was looped back to 127.0.0.1 in my case and that's why got the network error
with setup. Once I deleted the line(s) containing redhat's web address, the
problem was solved and setup was up and running again.

Naveen

--
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: suitable cygwin subset question

2002-12-06 Thread Fred_Smith
 So this all is a prelude to the question: What's the minimum subset of
 stuff I need to move, and is it necessary to actually run a cygwin
 installer (for registry setups, maybe???) or will simply putting
 files in the right place work?

Without registry entries, Cygwin won't know where / is - so the only paths
that will work are /cygdrive paths.

Installing a small set of packages with setup is probably the best option,
but if you really don't want to do that, 'mount' should enable you to set
the necessary info in the registry.

Quite how this could cause Oracle code to hang, though, I have no idea.

Max.

OK, I did a minimal install on a machine without Cygwin, my program then
runs.

I then used regedit to delete the two sets of cygnus solutions registry
keys, and my program now no longer runs (properly).

so, maybe all I need to do is set the right registry keys.

Could someone in the know explain to me how to use mount to do that?

Thanks!

Fred



--
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: GCC compiler cannot create executables.

2002-12-06 Thread Michael A Chase
On Fri, 6 Dec 2002 12:05:24 -0500 (EST) Igor Pechtchanski [EMAIL PROTECTED] wrote:

 FWIW, there's also apparently a cygwin port of 'script':
 http://cygwin.com/ml/cygwin/2002-09/msg01371.html

It's also easy to redirect STDOUT and STDERR to a file.  I found myself
doing it often enough that I wrote a script to do it for me.  It needs a
log/ directory in the current directory or one of its parents.


#!/bin/bash
# Find nearest log directory and tee log command output to a file there
# set -xv

log=
usage() {
   if [ 1 -le $# ]; then $rc=$1; shift; else rc=0; fi
   basename=$(basename $0)
   msg=\
Send stdout and stderr to a log file
   If no log file is specified, search for the nearest log/ directory in ./,
   ../, ../../ until / is reached and generate a file name based on the command
   name and the current date and time.
syntax: $basename [opt] cmd [arg]...
Opt:
   -l log = Log file ($log)
Arg:
   cmd = Command to execute
   arg = Options and arguments to cmd

   while [ 1 -le $# ]; do
  if [ 0 = $rc ]; then echo $1; else echo $1 2; fi
  shift
   done
   if [ 0 = $rc ]; then echo $msg; else echo $msg 2; fi
   exit $rc
}

while getopts ':hl:' OPT
do
   case $OPT in
  l) log=$OPTARG ;;
  h) usage 0 ;;
  *) usage 1 Invalid Option: -$OPTARG  ;;
   esac
done
if [ 1 -lt $OPTIND ]; then shift $(expr $OPTIND - 1); fi

# Make sure there is a command name
if [ 1 -gt $# ]; then
   echo No command name
   exit 1
fi
cmd=$(basename $1)

# Find log directory and build log file name
if [ -z $log ]; then
   logbase=$PWD
   while :; do
  if [ / = $logbase ]; then
 echo Log directory not found under $PWD
 exit 1
  fi
  if [ -d $logbase/log -a -w $logbase/log ]; then break; fi
  logbase=`dirname $logbase`
   done
   dt=$(date +%y%m%d_%H%M)
   log=$logbase/log/$cmd-$dt.log
fi
echo Log file: $log
touch $log
echo Dir: '$PWD'$log
echo Command: $@  $log

$@ 21 | tee -a $log
echo Log file: $log



-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


--
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: pine can't find .pinerc

2002-12-06 Thread Eduardo Chappa
*** Richardson, Tony ([EMAIL PROTECTED]) wrote today:

:) I've recently started having trouble with pine.  I don't use it that
:) often and only noticed the problem when I recently started it up and it
:) asked if I wanted to move the old sent mail to a backup directory.
:) Regardless of whether I say yes or no I get the following error
:) message:
:)
:) Error saving configuration in /home/ar63/.pinerc: No such file or
:) directory

Wow, that's not good. I've never seen this problem before. Which version
of Pine are you using? (what's the value of X in pine-4.44-X?). Can you
please run pine -d 9 and send me the output (off list), and if possible
your .pinerc. Which version of the cygwin dll are you using? I can't check
this problem now, but I will tonight.

Thanks,

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

--
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: symbol `_D' is already defined

2002-12-06 Thread Tim Beuman
Thanks. Works.

Tim

-Original Message-
From: Danny Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 04:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Error: symbol `_D' is already defined


From: Tim Beuman timb at cdvinc dot com
To: Cygwin at Cygwin dot Com cygwin at cygwin dot com
Date: Thu, 5 Dec 2002 15:39:30 -0800
Subject: Error: symbol `_D' is already defined




Hi,

I am getting the following error when compiling a c++ source:

/d/Temp/ccuwCNBi.s: Assembler messages:
/d/Temp/ccuwCNBi.s:11: Error: symbol `_D' is already defined

==snip==

extern C {
__attribute__((dllimport)) Dtmethod_t* Dtset;
__attribute__((dllimport)) Dtmethod_t* Dtbag;
}



add explicit extern to  your declarations of extern variables, eg:
extern __attribute__((dllimport)) Dtmethod_t* Dtset;

This is fixed in CVS sources: __attribute__((dllimport)) implicitly adds
extern.

Danny


http://www.yahoo.promo.com.au/hint/ - Yahoo! Hint Dropper
- Avoid getting hideous gifts this Christmas with Yahoo! Hint Dropper!


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

2002-12-06 Thread Max Bowsher
Gen Zhang [EMAIL PROTECTED] wrote:

 After re-libtoolize-ing the sources (to allow it to produce shared
 libs) the compilation is fine through glib and will produce
 libglib-2.0.la, but will complain about undefined references to
 things like '_g_free' and '_g_log' (which I presume is in
 libglib-2.0.la). I've attached the output from make (upon a second
 run, after it going through glib). 

Libtool bug (incorrect handling of def files in archive_expsym_cmds).
Still present in CVS. I'll see if I can patch it.

Max.


--
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: Cron Won't Run Jobs

2002-12-06 Thread Buck Turgidson
I am not sure how to interpret this, but if you can tell me what I need to
change, I'd appreciate it.  This is getting me pretty frustrated...

-rw-r-1 400  18211 Dec  5 08:39 /var/cron/tabs/buck




- Original Message -
From: Harig, Mark A. 
To: Buck Turgidson [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 10:59 AM
Subject: RE: Cron Won't Run Jobs


What is the output of 'ls -ln /var/cron/tab/buck'?

'buck' needs to have its 'group' ownership set to SYSTEM,
and SYSTEM needs to have its value set to 18.

 -Original Message-
 From: Buck Turgidson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 05, 2002 9:34 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Cron Won't Run Jobs


 I have the following line in monsql, and I don't see it,
 unless I run it
 manually:

 echo Monsql executed on $(date)  /tmp/cron.log

 Here is the output from cygcheck -sv





 - Original Message -
 From: Vince Hoffman [EMAIL PROTECTED]
 To: 'Buck Turgidson' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, December 05, 2002 9:05 AM
 Subject: RE: Cron Won't Run Jobs


  Moer info would be good. (cygcheck as an attachment is
 always a good start
  :)
  does monsql pop up a window ? (services that interact with
 the desktop
 need
  spacial permission)
  try adding a line like
  * * * * * /usr/bin/touch /tmp/crond_running
  to your crontab and see if that works,
 
   -Original Message-
   From: Buck Turgidson [mailto:[EMAIL PROTECTED]]
   Sent: 05 December 2002 13:51
   To: [EMAIL PROTECTED]
   Subject: Cron Won't Run Jobs
  
  
   I installed CYGWIN yesterday, and am having trouble getting
   cron to work.
   My cron job, set to run every minute, does not execute.
  
   I have read through the archives, and below is relevant data.
  
   I would appreciate any advice on what to try next
  
  
   chmod 1777 /var/cron
   chmod 1777 /var/cron/tabs
  
   cygrunsrv -E cron
   cygrunsrv -R cron
   cygrunsrv -I cron -p /usr/sbin/cron -a -D -e CYGWIN=tty ntsec
   cygrunsrv -S cron
  
  
   This is what the process list looks like:
  
   /var/cron  ps -ef
UID PIDPPID TTY STIME COMMAND
 buck   395   1 con  08:36:06 /usr/bin/bash
 SYSTEM 392   1   ?  08:40:54 /usr/bin/cygrunsrv
 SYSTEM 350 392   ?  08:40:54 /usr/sbin/cron
 buck63 395 con  08:48:11 /usr/bin/ps
  
  
   This is /etc/group
  
   /var/cron  cat /etc/group
   SYSTEM:S-1-5-18:18:
   None:S-1-5-21-926890155-1422859606-844764980-513:513:
   Administrators:S-1-5-32-544:544:
   Backup Operators:S-1-5-32-551:551:
   Guests:S-1-5-32-546:546:
   Power Users:S-1-5-32-547:547:
   Replicator:S-1-5-32-552:552:
   Users:S-1-5-32-545:545:
   /var/cron 
  
  
  
   This is my cronjob
  
   /var/cron  crontab -l
   # DO NOT EDIT THIS FILE - edit the master and reinstall.
   # (/tmp/crontab.312 installed on Thu Dec  5 08:39:21 2002)
   # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55
   corinna Exp $)
   */1 * * * *  monsql
   /var/cron 
  
  
  
  
   --
   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/


--
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: 1.3.15 on W2K: return codes, bash, cmd.exe

2002-12-06 Thread Christopher Faylor
On Fri, Dec 06, 2002 at 10:19:30AM -0800, Shankar Unni wrote:
Stephen Powell wrote:

Try it without the /b, just exit 1.

Notice that she said she tried it, it works, but is not an option for 
her because they need to be invoked from DOS command shells as well, and 
she doesn't want the bat files to cause those shells to exit.

Angela is a former valued colleague of mine from Cygnus and Red Hat
days, so I offered some suggestions in private email.

It looks like if she changes the invocation of her .bat files from just
foo.bat to cmd /c call foo.bat then an exit /b in foo.bat will
work correctly.

I'm contemplating making a change to cygwin to cause this to be the
default.

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/




Fwd: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Just for the record, i have done the following:

cygrunsrv -E cron
cygrunsrv -R cron
cygrunsrv -I cron -p /usr/sbin/cron -a -D -e
CYGWIN=tty ntsec
cygrunsrv -S cron

Here is my new output too.

after doing:

$CYGWIN='tty ntsec'
$EXPORT CYGWIN


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Dec 06 12:29:13 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service
Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem 
c:\Archivos de programa\progress
c:\Archivos de programa\progress\bin
c:\temp\bin\usr\local\wbin
c:\progress\wrk\appreplicacion

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

CYGWIN = `tty ntsec'
HOME = `C:\cygwin\home\asuncion1'
MAKE_MODE = `unix'
PWD = `/home/asuncion1'
USER = `asuncion1'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS   19085Mb  84% CP CS UN PA FC 
d:  fd  FAT   95Mb  45% CPUN   ZIP-100

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

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: c:\temp\bin\usr\local\wbin\cat.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Found: c:\temp\bin\usr\local\wbin\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Found: c:\temp\bin\usr\local\wbin\ls.exe
Found: c:\temp\bin\usr\local\wbin\make.exe
Found: C:\cygwin\bin\sh.exe

   45k 2001/04/25 C:\cygwin\bin\cygform5.dll
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll
   19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll
   40k 2001/11/21 C:\cygwin\bin\cygpcre.dll
   39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll
   50k 2002/03/12 C:\cygwin\bin\cygz.dll
  906k 2002/11/07 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.3.15
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 63
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: Thu Nov 7 13:57:47 EST 2002
CVS tag: cygwin-1-3-15-1
Shared id: cygwin1S3


Cygwin Package Information
Package Version 
_update-info-dir00087-1 
ash 20020731-1  
base-files  1.0-1   
base-passwd 1.0-1   
bash2.05b-7 
cron3.0.1-7 
ctags   5.2-1   
cygrunsrv   0.95-1  
cygutils1.1.3-1 
cygwin  1.3.15-2
diff1.0-1   
diffutils   2.8.1-1 
ed  0.2-1   
fileutils   4.1-1   
findutils   4.1.7-4 
gawk3.1.1-5 
gdbm1.8.0-4 
gettext 0.11.5-1
grep2.5-1   
gzip1.3.3-4 
libiconv2   1.8-2   
libintl 0.10.38-3   
libintl10.10.40-1   
libintl20.11.5-1
libncurses5 5.2-1   
libncurses6 5.2-8   
libpopt01.6.4-4 
libreadline44.1-2   
libreadline54.3-2   
login   1.6-1   
mc  4.5.55-1
nano1.1.10-1
ncurses 5.2-8   
pcre3.7-1   
readline4.3-2   
rxvt2.7.2-14
sed 4.0.1-1 

RE: Cron Won't Run Jobs

2002-12-06 Thread Harig, Mark A.
 
 I am not sure how to interpret this, but if you can tell me 
 what I need to
 change, I'd appreciate it.  This is getting me pretty frustrated...
 
 -rw-r-1 400  18211 Dec  5 08:39 
 /var/cron/tabs/buck
 
 

The '18' in your output is the group ownership number.  As documented
in /usr/doc/Cygwin/cron.README, this needs to be set to '18' (which
should be the group number of SYSTEM in /etc/group).  Your crontab's 
permissions and ownerships are set correctly.

Try using a simpler crontab entry, for example:

* * * * * /usr/bin/date  /tmp/date.txt

Delete all other lines in your crontab until you can get this entry
to work.

Make sure that cron has 'write' permission in /tmp, for example:

   chmod 777 /tmp


---

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

2002-12-06 Thread Charles Wilson


Max Bowsher wrote:


Libtool bug (incorrect handling of def files in archive_expsym_cmds).
Still present in CVS. I'll see if I can patch it.


Details, please?

--Chuck
cygwin libtool maintainer




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




Fwd: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Information about passwd and group files

Just for the record (again)

passwd file:

SYSTEM:*:18:544:,S-1-5-18::
Administradores:*:544:544:,S-1-5-32-544::
Administrador:unused_by_nt/2000/xp:500:513:U-SRVCORDEMEX\Administrador,S-1-5-21-854245398-1202660629-1343024091-500:/home/Administrador:/bin/bash
asuncion1:unused_by_nt/2000/xp:1000:513:asuncion,U-SRVCORDEMEX\asuncion1,S-1-5-21-854245398-1202660629-1343024091-1000:/home/asuncion1:/bin/bash
Gustavo:unused_by_nt/2000/xp:1007:513:GUstavo Maqy
Kuk,U-SRVCORDEMEX\Gustavo,S-1-5-21-854245398-1202660629-1343024091-1007:/home/Gustavo:/bin/bash
Invitado:unused_by_nt/2000/xp:501:513:U-SRVCORDEMEX\Invitado,S-1-5-21-854245398-1202660629-1343024091-501:/home/Invitado:/bin/bash
IUSR_ASUNCION:unused_by_nt/2000/xp:1001:513:Cuenta de
invitado a
Internet,U-SRVCORDEMEX\IUSR_ASUNCION,S-1-5-21-854245398-1202660629-1343024091-1001:/home/IUSR_ASUNCION:/bin/bash
IUSR_SRVCORDEMEX:unused_by_nt/2000/xp:1009:513:Cuenta
de invitado a
Internet,U-SRVCORDEMEX\IUSR_SRVCORDEMEX,S-1-5-21-854245398-1202660629-1343024091-1009:/home/IUSR_SRVCORDEMEX:/bin/bash
IWAM_ASUNCION:unused_by_nt/2000/xp:1002:513:Iniciar la
cuenta de proceso
IIS,U-SRVCORDEMEX\IWAM_ASUNCION,S-1-5-21-854245398-1202660629-1343024091-1002:/home/IWAM_ASUNCION:/bin/bash
IWAM_SRVCORDEMEX:unused_by_nt/2000/xp:1010:513:Iniciar
la cuenta de proceso
IIS,U-SRVCORDEMEX\IWAM_SRVCORDEMEX,S-1-5-21-854245398-1202660629-1343024091-1010:/home/IWAM_SRVCORDEMEX:/bin/bash
rvargass:unused_by_nt/2000/xp:1003:513:Roberto
Vargas,U-SRVCORDEMEX\rvargass,S-1-5-21-854245398-1202660629-1343024091-1003:/home/rvargass:/bin/bash
tepeyac:unused_by_nt/2000/xp:1008:513:tepeyac,U-SRVCORDEMEX\tepeyac,S-1-5-21-854245398-1202660629-1343024091-1008:/home/tepeyac:/bin/bash

group file:


SYSTEM:S-1-5-18:18:
Everyone:S-1-1-0:0:
Ninguno:S-1-5-21-854245398-1202660629-1343024091-513:513:
Administradores:S-1-5-32-544:544:
Duplicadores:S-1-5-32-552:552:
Invitados:S-1-5-32-546:546:
Operadores de copia:S-1-5-32-551:551:
Usuarios:S-1-5-32-545:545:
Usuarios avanzados:S-1-5-32-547:547:
SRVCORDEMEX
Administradores:S-1-5-21-854245398-1202660629-1343024091-1004:1004:
SRVCORDEMEX
Autores:S-1-5-21-854245398-1202660629-1343024091-1005:1005:
SRVCORDEMEX
Visitantes:S-1-5-21-854245398-1202660629-1343024091-1006:1006:



Eric De La Cruz Lugo
Merida, Yucatan, Mexico



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
1. Have you read /usr/doc/Cygwin/cron.README?

2. Have you tried using a simple crontab entry?
   What have you tried?

For future reference, please include your 'cygcheck.txt'
file as an attachment only.

 
 Just for the record, i have done the following:
 
 cygrunsrv -E cron
 cygrunsrv -R cron
 cygrunsrv -I cron -p /usr/sbin/cron -a -D -e
 CYGWIN=tty ntsec
 cygrunsrv -S cron
 
 Here is my new output too.

--
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: UNC paths are not supported. Defaulting to Windows directory [and side comment on lists]

2002-12-06 Thread linda w \(cyg\)
Hi, pretty new to the list though have been using cygwin for several months
now, first under win98, and now under XP.

This may have been covered elsewhere -- sorry, but I
doubt I will have enough time to read all the archives of
all the lists despite what the warnings say about 'do your
research for a day or two, first, then if you can't find the
answer post it, and very often have your answer in 5
minutes'.  I thought the power of networking was that you
didn't have to do *everything* yourself, but you used a
network of collective knowledge to do more in less time...if
each of us had to write the cygwin toolset
ourselves...sheesh!  But I know the 'sentiment' of having to
rehash the same basic questions again and again -- different
people have different levels of patience and tolerance for
such.  Perhaps a 'newusers' list might allow for the
repetitious beginner type questions with those with more
patience staying on that list to answer possibly repetitive
questions.  We don't have an MVP bonus-pat-on-the-head
program like in the MS-newsgroups.  Sorta a smart idea of
MS's -- reward users with 'recognition' as MVP's for helping
newbies that might otherwise be asking those questions of MS
support people.  A surreptitious way to recruit free
helpdesk volunteers! :-)
   

But to the main point
I found creating a shortcut to bash (and calling it 'cygwin') seems to 
shortcut the need for using cmd.exe.  When I use the provided 'cygwin.bat', I
end
up with a process tree:
EXPLORER:
CMD.EXE
BASH.EXE
--- makes sense, shell cmd calls bash.exe -- but I noticed this annoying feature
--
if I had pressed 'control-c' sometime during my bash session, then when I hit
control-d to exit from bash, CMD would ask do you really want to terminate this
BATCH job (y/n)?  Of course since it was at the end of the batch file, it
didn't
matter y or n, but it did requirement me to select an answer and hit return.

Being lazy, my first try at getting around this was to put 'start' in front of
the call to bash.exe.  On WinXP, (and maybe win2k), the default on this has
changed
from being a call prog; wait to the equivalent of call prog (no wait), so
the main cmd.exe would terminate and I'd be left with only BASH.EXE parented by
Explorer.

However, the purist in me wanted to know why I should call the CMD shell soley
for the purpose of calling the bash shell.

So..enter latest method: short cut to bash: in properties I have target:
C:\root\bin\bash.exe --login -i (root=cygwinroot), and the start-in dir
is set to C:\root\bin -- all like the batchfile would have done -- except this
is
a shortcut used directly by explorer -- no invocation of CMD --

*SO*, answering the original question: you can specify your starting dir as
\\Mydomain (or server)\home and end up with your domain home directory (if you
have one) or a exported 'home' dir on a local server.  Since CMD is never in the
picture,
no complaints about it not liking UNC paths.

I don't have it setup fully yet, but I'm working toward making extensions .sh,
.bsh
and .bash all invoke the Bash script interpreter just like visual basic or
java
script are invoked on their shell languages.  Then I should be able to just say
foobar, where there is a foobar.sh in my path and I believe is should
transparently
use bash to interpret the results!

As an aid in all this, I put the normal cygwin directories in my path (put them
in the 'env' path entry in my current user tree -- I might want to have move
them
to HKLM so it's available for any user, but since I'm my only user right now, it
shouldn't make a difference.

I like the idea of creating a Bash Here context dir in the same vein as
Command
Prompt Here as suggested by Troy, but I'd likely try for a registry solution
over
the scripting solution -- seems more integrated with Winenv.

Anyone see any gotchas with my approach?  Is there a reason/need for CMD.EXE to
stay resident in memory or be called before bash?

thanks,
newbie Linda



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

2002-12-06 Thread Max Bowsher
Charles Wilson wrote:
 Max Bowsher wrote:

 Libtool bug (incorrect handling of def files in archive_expsym_cmds).
 Still present in CVS. I'll see if I can patch it.

 Details, please?

.def files are passed as -Wl,-retain-symbols-file deffile, not, as is
correct, the first 'object' file.

Max.


--
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: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
1. Have you read /usr/doc/Cygwin/cron.README?

Yes.

2. Have you tried using a simple crontab entry?
   What have you tried?

yes i am using now the following example:
crontab -e

* * * * * /usr/bin/date  /tmp/date.txt

as you suggested to Buck Turgidson

but there is nothing yet in /tmp/ (6 minutes waiting)

yes the /tmp directory has the 777 permissions

thanks for your hints!


For future reference, please include your
'cygcheck.txt'
file as an attachment only.

Ok, I will.

Eric De La Cruz Lugo
Merida Yucatan Mexico.


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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/




control-c problem...known bug?

2002-12-06 Thread linda w \(cyg\)
Somehow, something I've done in my environment seems to cause a problem
with control-c handling.

A control-c gets sent to any sub-shells and right through 'ssh' -- very 
annoying:

I tried the cygwin X server, but at the time it wanted to own the whole desktop and
didn't behave in a civilized manner with other win apps.  So, using Exceed's 
X server, I can start other xterms and get pure X- cut/past semantics in addition
to horizontal resizing of the window. However, I notice that if I press 'control-c'
in the Cygwin window that started the xterm, the control-c is also sent to the 
xterm window -- causing whatever is running it the window to terminate as though
I'd pressed control-c in that window as well.  The xterm doesn't terminate -- just
any control-c vulnerable program in the window -- which brings me to the next
point.

For some reason, on my system, 'ssh' is killed when I press control-c -- rather than
passing the ^c onto the remote system, it's processed locally and 'ssh' is 
terminated: NOT what I wanted! :-(

Is there some setting I've unknowingly messed up?  stty -a looks like:
speed 38400 baud; rows 59; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^X; eof = ^D; eol = undef;
eol2 = undef; start = ^Q; stop = ^S; susp = ^Y; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo -echoe -echok -echonl -noflsh -tostop -echoctl -echoke


Thanks,
Linda



--
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: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
What are the ownership/permissions for '/var'?  That is,

   ls -ld /var

 -Original Message-
 From: Eric De La Cruz Lugo [mailto:[EMAIL PROTECTED]]
 Sent: Friday, December 06, 2002 2:09 PM
 To: [EMAIL PROTECTED]
 Subject: RE: cron problem in W2K Proffesional
 
 
 1. Have you read /usr/doc/Cygwin/cron.README?
 
 Yes.
 
 2. Have you tried using a simple crontab entry?
What have you tried?
 
 yes i am using now the following example:
 crontab -e
 
 * * * * * /usr/bin/date  /tmp/date.txt
 
 as you suggested to Buck Turgidson
 
 but there is nothing yet in /tmp/ (6 minutes waiting)
 
 yes the /tmp directory has the 777 permissions
 
 thanks for your hints!
 
 
 For future reference, please include your
 'cygcheck.txt'
 file as an attachment only.
 
 Ok, I will.
 
 Eric De La Cruz Lugo
 Merida Yucatan Mexico.
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.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/
 
 

--
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: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo

--- Harig, Mark A. [EMAIL PROTECTED] wrote:
 What are the ownership/permissions for '/var'?  That
 is,
 
ls -ld /var
 
drwxrwxrwx 6  Administ   Ninguno   0 Apr
12 2002  /var


drwxrwxrwx 3  asuncion   Ninguno   0 Apr
12 2002  /var/cron

drwxrwxrwx 2  asuncion   Ninguno   0 Dec 6
13:04  /var/cron/tabs

-rw-r- 1  asuncion   SYSTEM234 Dec
6 13:04  /var/cron/tabs/asuncion1



(Ninguno = None) (sorry is windows 2k in spanish.)


Eric De La Cruz Lugo
Merida Yucatan Mexico

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: UNC paths are not supported. Defaulting to Windows directory [and side comment on lists]

2002-12-06 Thread [EMAIL PROTECTED]

I think you made several overstatements in your observations below.  
If you recheck the email archives or even the Cygwin web site, I think 
you'll find clear explanations of the expectations for list inquiries.  
Simply put, if any poster cannot make a minimal effort to ensure that the 
issue in question has not already been addressed in the documentation, 
email archives, or FAQ, it's often hard for those who read the list 
regularly to feel sympathy for the poster's plight and take the time to 
respond (though sometimes a response comes anyway. ;-) )  But, if you do 
find someplace where the statement is made that posters are expected to do 
*everything* yourself, let us know.  That would be an overstatement on our 
part that should be corrected.

Larry


Original Message:
-
From: linda w \(cyg\) [EMAIL PROTECTED]
Date: Fri, 6 Dec 2002 11:02:16 -0800
To: [EMAIL PROTECTED]
Subject: RE: UNC paths are not supported.  Defaulting to Windows directory 
[and side comment on lists]


Hi, pretty new to the list though have been using cygwin for several months
now, first under win98, and now under XP.

This may have been covered elsewhere -- sorry, but I
doubt I will have enough time to read all the archives of
all the lists despite what the warnings say about 'do your
research for a day or two, first, then if you can't find the
answer post it, and very often have your answer in 5
minutes'.  I thought the power of networking was that you
didn't have to do *everything* yourself, but you used a
network of collective knowledge to do more in less time...if
each of us had to write the cygwin toolset
ourselves...sheesh!  But I know the 'sentiment' of having to
rehash the same basic questions again and again -- different
people have different levels of patience and tolerance for
such.  Perhaps a 'newusers' list might allow for the
repetitious beginner type questions with those with more
patience staying on that list to answer possibly repetitive
questions.  We don't have an MVP bonus-pat-on-the-head
program like in the MS-newsgroups.  Sorta a smart idea of
MS's -- reward users with 'recognition' as MVP's for helping
newbies that might otherwise be asking those questions of MS
support people.  A surreptitious way to recruit free
helpdesk volunteers! :-)
   



mail2web - Check your email from the web at
http://mail2web.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/




FW: Help, cygwin logs me on using my winnt domain user rather than Administrator

2002-12-06 Thread Cary Lewis
 

 

-Original Message-
From: Cary Lewis 
Sent: Friday, December 06, 2002 3:58 PM
To: '[EMAIL PROTECTED]'
Subject: Help, cygwin logs me on using my winnt domain user rather than
Administrator

 

Prior to today, when I started by bash shell, my id would be Administrator,
id=500.

 

Today, I have reinstalled cygwin and now when I am logged into my domain, my
id becomes my log in name on the domain and not Administrator. As well,
programs like VIM take 30 seconds to start.

 

If I am logged on as local administrator, everything is okay, vi starts
right away and my id=500.

 

I can not explain what happened. Installs on other machines work as
expected. I.e. I log on a my domain account on another machine, and my
id=500.

 

Can someone explain this?

 

What does cygwin use to determine which user is starting bash? Can I force
myself to be administrator.

 

The /etc/passwd file was created during setup: mkpasswd -l /etc/passwd.

 

Any help would be appreciated.


--
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: ssh/telnet

2002-12-06 Thread Andrew DeFaria
Abraham Backus wrote:


Andrew,
I tried with sshd running as its own NT service, and again with it running
under inetd and my last logged in gets updated appropriately.

Cygwin DLL verion 1.3.17
openssh version 3.5p1-2
Windows 2000 SP2

Try updating your cygwin packages by running cygwin setup.exe and see if
that remedies your troubles.


I did this last night. I'm now on Cygwin 1.3.17 and have openssh 
3.5p1-2. I run ssh as a service and am on Windows XP SP1. Still see Fri 
Aug 23rd as the last login date. Where is this last login date stored? 
How is it updated?


-Abe

Andrew DeFaria [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...


I have since turned off telnet and switched to ssh. I still get that
same line echoed out about when I last logged in. Cool, except it still
says Fri Aug 23th! IOW telnet somehow updated something so that that
last logged in date would be correct. Apparently ssh isn't updating
anything. Is this a bug? (Though admittedly a minor bug).










--
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: problem with apache

2002-12-06 Thread Christopher Faylor
Wrong mailing list.  Redirected.

On Fri, Dec 06, 2002 at 03:39:13PM +0500, Dmitry Suhodoev wrote:
hi, cygwin-apps

i have the apache-1.3.24-5 under cygwin-1.3.12-3 and one big trouble with it.
if i try download big static file from my web server (bigger than 32768
bytes), then data in downloaded file after byte 0x8000 replaced by trash. but
script output with any size are downloaded normally. whats wrong? how i can
fix it? please help!

-- 
raVen, http://raven.elk.ru/, icq#550428

--
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: Is it possible to use centralized passwords with cygwin inetd?

2002-12-06 Thread Andrew DeFaria
(Send to the list and the sender)...

Bruce P. Osler wrote:


For starters - I'd like to contribute to the Cygwin love-fest going
on.  I think Cygwin is an awesome environment with huge benefits
for folks working under windows.

Today I'm interested in finding out wether I can use networked
password services with the cygwin inetd.  At work I would like to
setup a series of computers with Cygwin tools all of which are
running the Cygwin inetd.  As there are a couple of hundred engineers
in this environment the option of maintaining multiple /etc/passwd
files is a bit onerous (if not unreasonable).  All of these computers
are already hooked into an environment where the user passwords are
provided and managed centrally to an NT domain.  Is there any way
I can have Cygwin/inetd use the central domain password service
for authentication?


Short answer: Yes.

Slightly longer answer: Create a passwd file with mkpasswd -d and store 
it on a common area. Then symlink /etc/passwd - 
//commonserver/commonshare/passwd. Normally people worry about 
symlinking such files as /etc/passwd because it would be hard to boot up 
and log into the machine if the network were down. But you don't boot up 
nor log into Cygwin as per se, rather you log into Windows first.

You might wish to do this for /etc/group too.

You might wish to scriptize mkpasswd to call /bin/mkpasswd then perform 
some fix ups on the resulting passwd file before making it global.

You might wish to develop a script to insure the above symlink(s) are 
properly in place as well as say mounting //commonserver/homeshare 
- /home, etc.

This is what I do and it works very well.




--
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: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
 
 drwxrwxrwx 3  asuncion   Ninguno   0 Apr
 12 2002  /var/cron
 
 drwxrwxrwx 2  asuncion   Ninguno   0 Dec 6
 13:04  /var/cron/tabs
 

For some reason, your 'sticky bit' settings didn't get set
for /var/cron/ and /var/cron/tabs/.

Instead of 'drwxrwxrwx', your permissions should be
'drwxrwxrwt'.

Try:

   chmod 1777 /var/cron
   chmod 1777 /var/cron/tabs



--
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: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
Also, once you have done this, shut down
your cron service and restart it.

 -Original Message-
 From: Harig, Mark A. 
 Sent: Friday, December 06, 2002 4:20 PM
 To: Eric De La Cruz Lugo; [EMAIL PROTECTED]
 Subject: RE: cron problem in W2K Proffesional
 
 
  
  drwxrwxrwx 3  asuncion   Ninguno   0 Apr
  12 2002  /var/cron
  
  drwxrwxrwx 2  asuncion   Ninguno   0 Dec 6
  13:04  /var/cron/tabs
  
 
 For some reason, your 'sticky bit' settings didn't get set
 for /var/cron/ and /var/cron/tabs/.
 
 Instead of 'drwxrwxrwx', your permissions should be
 'drwxrwxrwt'.
 
 Try:
 
chmod 1777 /var/cron
chmod 1777 /var/cron/tabs
 
 
 
 --
 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: UNC paths are not supported. Defaulting to Windows directory.

2002-12-06 Thread Andrew DeFaria
Adrian C. Brown wrote:


Why would I get this error when trying to start cygwin from the 
shortcut placed on the desktop?

CMD.EXE was started with '\\coruscant\users\adrianb\Desktop' as the 
current directory path. UNC paths are not supported. Defaulting to 
Windows directory.

I am using Windows 2000 professional in a Windows 2000 domain with 
folder redirection.

What can I do to solve this?

What is the Start in set to in your desktop shortcut?




--
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: UNC paths are not supported. Defaulting to Windows directory [and side comment on lists]

2002-12-06 Thread Andrew DeFaria
linda w (cyg) wrote:


I found creating a shortcut to bash (and calling it 'cygwin') seems to 
shortcut the need for using cmd.exe. When I use the provided 
'cygwin.bat', I end up with a process tree:
EXPLORER:
CMD.EXE
BASH.EXE
--- makes sense, shell cmd calls bash.exe -- but I noticed this 
annoying feature -- if I had pressed 'control-c' sometime during my 
bash session, then when I hit control-d to exit from bash, CMD would 
ask do you really want to terminate this BATCH job (y/n)? Of course 
since it was at the end of the batch file, it didn't matter y or n, 
but it did requirement me to select an answer and hit return.

Yeah, ugly! Kludgy! Then again I find the Windows window that you get 
from cmd and the default Cygwin.bat to be ugly too. Have you ever tried 
cut and paste from that sort of window? It works but it's not ideal. Try 
rxvt! And then you can make an ~/.Xdefaults such as:

! Rxvt defaults

! Global
*font:  Lucida Console-*-15
*saveLines: 500
*termName:  cygwin
*scrollBar_right:   True
*smallfont_key: 
*bigfont_key:   
*geometry:  80x24
*loginShell:True

Rxvt.background:AntiqueWhite
Rxvt.foreground:Black
Rxvt.colorBD:   Blue
Rxvt.colorUL:   Red
Rxvt.cursorColor:   Blue

Being lazy, my first try at getting around this was to put 'start' in 
front of the call to bash.exe. On WinXP, (and maybe win2k), the 
default on this has changed from being a call prog; wait to the 
equivalent of call prog (no wait), so the main cmd.exe would 
terminate and I'd be left with only BASH.EXE parented by Explorer.

Yeah. Actually I used to do cmd /c start /b rxvt -e bash --login -i as 
the command line for my shortcuts and I would set them to running 
minimized so that you don't see the flicker of the initial cmd window. 
Now I use /usr/X11R6/bin/run instead of cmd yeilding '/usr/X11R6/bin/run 
rxvt -title Logging onto local host as adefaria... -e bash --login -i'

However, the purist in me wanted to know why I should call the CMD 
shell soley for the purpose of calling the bash shell.

So..enter latest method: short cut to bash: in properties I have 
target: C:\root\bin\bash.exe --login -i (root=cygwinroot), and the 
start-in dir is set to C:\root\bin -- all like the batchfile would 
have done -- except this is a shortcut used directly by explorer -- no 
invocation of CMD --

*SO*, answering the original question: you can specify your starting 
dir as \\Mydomain (or server)\home and end up with your domain home 
directory (if you have one) or a exported 'home' dir on a local 
server. Since CMD is never in the picture, no complaints about it not 
liking UNC paths.

I tend to prefer mount -bsf //loginserver/homeshare /home.


As an aid in all this, I put the normal cygwin directories in my path 
(put them in the 'env' path entry in my current user tree -- I might 
want to have move them to HKLM so it's available for any user, but 
since I'm my only user right now, it shouldn't make a difference.

It makes a difference if you want to set up inetutils and allow 
telnet/rsh access or run other services via inetd.




--
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: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo

Ok, I have made the changes, now the directories show:

total 4
drwxrwxrwx6 Administ Ninguno 0 Apr 12 
2002 .
drwxrwxrwx   10 Administ Ninguno  4096 Dec  5
19:38 ..
drwxrwxrwt3 asuncion Ninguno 0 Apr 12 
2002 cron
drwxrwxrwx2 Administ Ninguno 0 Dec  5
18:46 log
drwxrwxrwx2 Administ Ninguno 0 Dec  5
18:46 run
drwxrwxrwx2 Administ Ninguno 0 Apr 12 
2002 tmp



total 1
drwxrwxrwt3 asuncion Ninguno 0 Dec  6
15:44 .
drwxrwxrwx6 Administ Ninguno 0 Apr 12 
2002 ..
-rw-rw-rw-1 asuncion Ninguno 0 Dec  6
15:44 lista
-rw-rw-rw-1 asuncion Ninguno   318 Dec  6
15:44 listatabs.txt
drwxrwxrwt2 asuncion Ninguno 0 Dec  6
15:44 tabs




total 2
drwxrwxrwt2 asuncion Ninguno 0 Dec  6
15:44 .
drwxrwxrwt3 asuncion Ninguno 0 Dec  6
15:44 ..
-rw-r-1 asuncion SYSTEM234 Dec  6
13:04 asuncion1
-rw-rw-rw-1 asuncion Ninguno   264 Dec  6
15:44 listacrontab.txt


I restarted the cron daemon, and waited for 5 minutes,
nothing happens yet.

Other ideas?

Eric De La Cruz Lugo
Merida Yucatan Mexico





-
Also, once you have done this, shut down
your cron service and restart it.

 -Original Message-
 From: Harig, Mark A. 
 Sent: Friday, December 06, 2002 4:20 PM
 To: Eric De La Cruz Lugo; [EMAIL PROTECTED]
 Subject: RE: cron problem in W2K Proffesional
 
 
  
  drwxrwxrwx 3  asuncion   Ninguno   0
Apr
  12 2002  /var/cron
  
  drwxrwxrwx 2  asuncion   Ninguno   0
Dec 6
  13:04  /var/cron/tabs
  
 
 For some reason, your 'sticky bit' settings didn't
get set
 for /var/cron/ and /var/cron/tabs/.
 
 Instead of 'drwxrwxrwx', your permissions should be
 'drwxrwxrwt'.
 
 Try:
 
chmod 1777 /var/cron
chmod 1777 /var/cron/tabs


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
It appears as though everything is set correctly.

Try:

   1. Shut down your cron service.
   2. Run Cygwin's setup.exe to uninstall 'cron'.
   3. Run setup.exe a second time to download/install
  a new copy of 'cron'.
   4. Reboot your computer.
   5. Check your crontab: crontab -l
   6. Install the cron service and start it.

 -Original Message-
 From: Eric De La Cruz Lugo [mailto:[EMAIL PROTECTED]]
 Sent: Friday, December 06, 2002 4:53 PM
 To: Harig, Mark A.; [EMAIL PROTECTED]
 Subject: RE: cron problem in W2K Proffesional
 
 
 
 Ok, I have made the changes, now the directories show:
 
 total 4
 drwxrwxrwx6 Administ Ninguno 0 Apr 12 
 2002 .
 drwxrwxrwx   10 Administ Ninguno  4096 Dec  5
 19:38 ..
 drwxrwxrwt3 asuncion Ninguno 0 Apr 12 
 2002 cron
 drwxrwxrwx2 Administ Ninguno 0 Dec  5
 18:46 log
 drwxrwxrwx2 Administ Ninguno 0 Dec  5
 18:46 run
 drwxrwxrwx2 Administ Ninguno 0 Apr 12 
 2002 tmp
 
 
 
 total 1
 drwxrwxrwt3 asuncion Ninguno 0 Dec  6
 15:44 .
 drwxrwxrwx6 Administ Ninguno 0 Apr 12 
 2002 ..
 -rw-rw-rw-1 asuncion Ninguno 0 Dec  6
 15:44 lista
 -rw-rw-rw-1 asuncion Ninguno   318 Dec  6
 15:44 listatabs.txt
 drwxrwxrwt2 asuncion Ninguno 0 Dec  6
 15:44 tabs
 
 
 
 
 total 2
 drwxrwxrwt2 asuncion Ninguno 0 Dec  6
 15:44 .
 drwxrwxrwt3 asuncion Ninguno 0 Dec  6
 15:44 ..
 -rw-r-1 asuncion SYSTEM234 Dec  6
 13:04 asuncion1
 -rw-rw-rw-1 asuncion Ninguno   264 Dec  6
 15:44 listacrontab.txt
 
 
 I restarted the cron daemon, and waited for 5 minutes,
 nothing happens yet.
 
 Other ideas?
 
 Eric De La Cruz Lugo
 Merida Yucatan Mexico
 
 
 
 
 
 -
 Also, once you have done this, shut down
 your cron service and restart it.
 
  -Original Message-
  From: Harig, Mark A. 
  Sent: Friday, December 06, 2002 4:20 PM
  To: Eric De La Cruz Lugo; [EMAIL PROTECTED]
  Subject: RE: cron problem in W2K Proffesional
  
  
   
   drwxrwxrwx 3  asuncion   Ninguno   0
 Apr
   12 2002  /var/cron
   
   drwxrwxrwx 2  asuncion   Ninguno   0
 Dec 6
   13:04  /var/cron/tabs
   
  
  For some reason, your 'sticky bit' settings didn't
 get set
  for /var/cron/ and /var/cron/tabs/.
  
  Instead of 'drwxrwxrwx', your permissions should be
  'drwxrwxrwt'.
  
  Try:
  
 chmod 1777 /var/cron
 chmod 1777 /var/cron/tabs
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.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: ssh/telnet

2002-12-06 Thread Abraham Backus
I believe that this information is stored in the utmp database, which
appears to be in /var/run/utmp (a binary file) on my installation.  If you
type the who am i command, it gives the information from utmp.  There are
probably some tools for displaying what's in this file in a textual/readable
format.  Anyway, does the output of who am i give the same information as
what you are getting or is it more accurate?

- Original Message -
 I did this last night. I'm now on Cygwin 1.3.17 and have openssh
 3.5p1-2. I run ssh as a service and am on Windows XP SP1. Still see Fri
 Aug 23rd as the last login date. Where is this last login date stored?
 How is it updated?



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




[patch] Symbolic value for PTHREAD_MUTEX_DEFAULT

2002-12-06 Thread Christophe Galerne
Hi,

As discussed with Robert Collins, I propose this patch to make
the 'default' mutex type more explicit.

2002-12-05 Christophe Galerne [EMAIL PROTECTED]

	* pthread.h (PTHREAD_MUTEX_DEFAULT):
	reorder PTHREAD_MUTEX_DEFAULT and PTHREAD_MUTEX_RECURSIVE so that
	PTHREAD_MUTEX_DEFAULT can be defined as PTHREAD_MUTEX_RECURSIVE.
	add a comment that PTHREAD_MUTEX_NORMAL is not yet implemented.


? pthread_constant.patch
Index: pthread.h
===
RCS file: /cvs/src/src/winsup/cygwin/include/pthread.h,v
retrieving revision 1.12
diff -u -p -r1.12 pthread.h
--- pthread.h   4 Jul 2002 14:17:30 -   1.12
+++ pthread.h   6 Dec 2002 22:55:18 -
@@ -50,12 +50,15 @@ extern C
 #define PTHREAD_CREATE_JOINABLE 0
 #define PTHREAD_EXPLICIT_SCHED 1
 #define PTHREAD_INHERIT_SCHED 0
-#define PTHREAD_MUTEX_DEFAULT 0
+
+#define PTHREAD_MUTEX_RECURSIVE 0
 #define PTHREAD_MUTEX_ERRORCHECK 1
+/* not implemented yet */
 #define PTHREAD_MUTEX_NORMAL 2
+#define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_RECURSIVE
+
 /* this should be too low to ever be a valid address */
 #define PTHREAD_MUTEX_INITIALIZER (void *)20
-#define PTHREAD_MUTEX_RECURSIVE 0
 #define PTHREAD_ONCE_INIT { PTHREAD_MUTEX_INITIALIZER, 0 }
 #define PTHREAD_PRIO_INHERIT
 #define PTHREAD_PRIO_NONE
@@ -103,7 +106,7 @@ void pthread_cleanup_push (void (*routin
 void pthread_cleanup_pop (int execute);
 */
 typedef void (*__cleanup_routine_type) (void *);
-typedef struct _pthread_cleanup_handler 
+typedef struct _pthread_cleanup_handler
 {
   __cleanup_routine_type function;
   void *arg;


--
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: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo

--- Harig, Mark A. [EMAIL PROTECTED] wrote:
 It appears as though everything is set correctly.
 
 Try:
 
1. Shut down your cron service.

Done.

2. Run Cygwin's setup.exe to uninstall 'cron'.

Done.

3. Run setup.exe a second time to
 download/install
   a new copy of 'cron'.

Done.

4. Reboot your computer.

Done.

5. Check your crontab: crontab -l

Done it shows:

# DO NOT EDIT THIS FILE - edit the master and
reinstall.
# (/tmp/crontab.1036 installed on Fri Dec  6 13:04:23
2002)
# (Cron version -- $Id: crontab.c,v 1.6 2001/09/19
17:09:55 corinna Exp $)
* * * * * /usr/sbin/date  /tmp/date.txt


6. Install the cron service and start it.

cygrunsrv -I cron -p /usr/sbin/cron -a -D -e
CYGWIN=tty ntsec

cygrunserv -S cron

ps -e shows:

  PIDPPIDPGID WINPID  TTY  UID   
STIME COMMAND
 1560   11560   1560  con 1000
17:35:32 /usr/bin/bash
 1420   11420   1420?   18
17:36:52 /usr/bin/cygrunsrv
 138414201420   1132?   18
17:36:52 /usr/sbin/cron
 104015601040   1648  con 1000
17:45:21 /usr/bin/ps


waited for 8 minutes and checked /tmpguess what???

NOTHING! there is no output yet :( no date.txt

anything else? other aproach to this problem?


 

Eric De La Cruz Lugo
Merida Yucatan, Mexico.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
 5. Check your crontab: crontab -l
 
 Done it shows:
 
 # DO NOT EDIT THIS FILE - edit the master and
 reinstall.
 # (/tmp/crontab.1036 installed on Fri Dec  6 13:04:23
 2002)
 # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19
 17:09:55 corinna Exp $)
 * * * * * /usr/sbin/date  /tmp/date.txt
 

Do you have a file '/usr/sbin/date'?  Usually, this is in
/usr/bin/ not /usr/sbin/.  At your shell prompt, enter:

   type date

or

   which date

---

--
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: Latest setup.exe

2002-12-06 Thread Max Bowsher
Please keep replies on list!

Joseph I. Davida [EMAIL PROTECTED] wrote:

 It appears that this setup.exe is depleting the VM pool.
 There is either a bad memory leak problem, or there
 is a boundless recursion in the calls. I suspect the
 it is a memory leak problem.
 The machine has 512M sdram and a 40 gig HD, of which
 a max of 2048M is used for paging. Yet the setup.exe
 alone eats up all the VM pool!.
 
 Is there an older version of it that I can try?

Try the latest beta at http://cygwin.com/setup-snapshots/

Max.


--
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: ssh/telnet

2002-12-06 Thread Andrew DeFaria


Abraham Backus wrote:


I believe that this information is stored in the utmp database, which 
appears to be in /var/run/utmp (a binary file) on my installation. If 
you type the who am i command, it gives the information from utmp. 
There are probably some tools for displaying what's in this file in a 
textual/readable format. Anyway, does the output of who am i give 
the same information as what you are getting or is it more accurate?

Last login: Fri Aug 23 12:02:56 2002 from 206.184.204.2
Starbase:who am i
STARBASE!Andrew   tty1 Dec  6 15:47
Starbase:who
Andrew   tty1 Dec  6 15:47

Still get Fri Aug 23 for last login.




- Original Message -


I did this last night. I'm now on Cygwin 1.3.17 and have openssh
3.5p1-2. I run ssh as a service and am on Windows XP SP1. Still see Fri
Aug 23rd as the last login date. Where is this last login date stored?
How is it updated?










--
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: Cron Won't Run Jobs

2002-12-06 Thread Harig, Mark A.
Please try running the attached file (a bash shell script).
It attempts to diagnose problems in your directories and
crontab files.  It does *not* change any files, but tells
the user of any problems that it finds.  If it proves to
be useful, it could be donated to the Cygwin 'cron'
distribution.



cron_diagnose.sh
Description: cron_diagnose.sh
--
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: ssh/telnet

2002-12-06 Thread Abraham Backus
After checking things out a little more, it looks like last logged in type
of data is in your wtmp database, which on my system is /var/log/wtmp.  This
appears to be a log/history of past logins.  To view the data in here, try
the following command:
$ who /var/log/wtmp

Otherwise, I'm at a loss about what's happening on your system :)

-Abe

- Original Message -

 Last login: Fri Aug 23 12:02:56 2002 from 206.184.204.2
 Starbase:who am i
 STARBASE!Andrew   tty1 Dec  6 15:47
 Starbase:who
 Andrew   tty1 Dec  6 15:47

 Still get Fri Aug 23 for last login.



--
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: Latest setup.exe

2002-12-06 Thread Joseph I. Davida
I tried the beta version Max suggested and it also
exhibits the same behaviour on my win2k laptop;
i.e. sucks up huge mem (depletes VM), and yet after
more than 1 hour of running, it still says 1% of
base-files 1.1-1 is installed. The total progress
meter shows only about a sliver of progress :)

Am running win2K with latest updates (service pack 3).

Also, I have been updating my cygwin installation for
over a year now, and this is the first time I have
encountered this problem.

Joe

Max Bowsher wrote:
 
 Please keep replies on list!
 
 Joseph I. Davida [EMAIL PROTECTED] wrote:
 
  It appears that this setup.exe is depleting the VM pool.
  There is either a bad memory leak problem, or there
  is a boundless recursion in the calls. I suspect the
  it is a memory leak problem.
  The machine has 512M sdram and a 40 gig HD, of which
  a max of 2048M is used for paging. Yet the setup.exe
  alone eats up all the VM pool!.
 
  Is there an older version of it that I can try?
 
 Try the latest beta at http://cygwin.com/setup-snapshots/
 
 Max.

--
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: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
The cron works now!, the output its ok (date.txt).

but with my script the things are different, here are
the files I use.. I tested the script from the command
line and work flawlesly, but when i add it to my
crontab it does not work has expected!

the files are atached to the mail, and the output from
the script being executed by the cron its there too.

hope you can help me or advise me.

the main file is 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


scripts.zip
Description: scripts.zip


outputbadandgood.zip
Description: outputbadandgood.zip
--
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/


shared files and fork()

2002-12-06 Thread Paul G.
Hi folks,

Just a couple of quick questions:

The cvs release of Python-2.2.1 (python.org) indicates that there was a 
problem with 
implementing shared files (.dlls I assume, could also be .dlls.a files) with fork().

The workaround suggested changed the Python build to generate a static library 
instead 
of a shared one in order to correct the problem/bug..

Follows is a couple of excerpts...


 Cygwin: With recent (relative to the time of writing, 2001-12-19)
 Cygwin installations, there are problems with the interaction
 of dynamic linking and fork().  This manifests itself in build
 failures during the execution of setup.py.
 
[snip]
 
 (b) The proper fix is to rebase the Cygwin DLLs to prevent
 base address conflicts.  Details on how to do this can be
 found in the following mail:
 
http://sources.redhat.com/ml/cygwin/2001-12/msg00894.html

I heard recently that there was something going on in terms of rebaseing.

(Yes, I do follow this email list, lurking most of the time, as well as Cygwin 
apps mailing 
lists.  I don't always have the time to read every post, even though the term Rebase 
does 
stand out.)

It was not clear if the .dlls (shared files) for the latest releases of Cygwin 
are or have 
been rebased.

Also, while on the subject of shared files, and more out of curiousity than 
anything else, 
a question for clarification:  Does Cygwin support .so files now?

Can someone clarify what the rebaseing was actually about?

Thanks,

Paul G.

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




GNU emacs 21.2-9

2002-12-06 Thread Joe Buehler
GNU emacs 21.2-9 is available.

Changes:

- applied UNIX patch reported to help recent hang-related problems
- switch to built-in malloc (requested by emacs maintainers, supposedly will reduce
  memory usage)
- numerous patches to LISP source for various features in common with Windows emacs
- complete recompile of all LISP files

The LISP patches have to do with conditionals that test the system type.  I went
through all such and added cygwin to the places where it obviously belonged, such
as: ignore case when completing file names in shell mode, allow directory rename
to change case in dired mode, etc.

New users please be aware of a couple things:

- You will want tty included in your CYGWIN environment variable
  setting, and probably binmode.  Look at the following for some
  documentation: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html

Joe Buehler

   *** INFORMATION ON UPDATING CYGWIN ***

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.

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] .  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 from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you have trouble, please use the resources at

http://cygwin.com/ml/




  1   2   >