[ITP] sunrpc-4.0-1, nfs-server-2.2.47-1

2002-12-19 Thread Robb, Sam
All,

  As nobody's made a fuss about licensing issues or
similar topics, I've posted the sunrpc and nfs-server
package files for review.  They're available at:

  http://www.oneparticularharbor.net/cygwin/

Direct links:

# sunrpc
category:   Libs
requires:   cygwin
sdesc:  Sun RPC (ONC/RPC) libraries and utilities.
ldesc:  This distribution contains Sun Microsystem's implementation of the
RPC and XDR protocols.  Also included is complete documentation,
utilities, RPC service specification files, and demonstration services
in the format used by the RPC protocol compiler (rpcgen).

http://www.oneparticularharbor.net/cygwin/sunrpc/setup.hint
http://www.oneparticularharbor.net/cygwin/sunrpc/sunrpc-4.0-1.tar.bz2
http://www.oneparticularharbor.net/cygwin/sunrpc/sunrpc-4.0-1-src.tar.bz2

# nfs-server
category:   Net
requires:   cygwin sunrpc
sdesc:  Universal NFS server.
ldesc:  This package contains an NFS daemon (rpc.nfsd) and a mount daemon 
(rpc.mountd).
Unlike other NFS daemons, this NFS server runs entirely in user space. 
This makes
it a tad slower than other NFS implementations, and also introduces 
some
awkwardnesses in the semantics (for instance, moving a file to a 
different
directory will render its file handle invalid).

http://www.oneparticularharbor.net/cygwin/nfs-server/setup.hint
http://www.oneparticularharbor.net/cygwin/nfs-server/nfs-server-2.2.47-1.tar.bz2
http://www.oneparticularharbor.net/cygwin/nfs-server/nfs-server-2.2.47-1-src.tar.bz2

-Samrobb



Re: Pending packages status

2002-12-19 Thread Sergey Okhapkin

From: Charles Wilson cwilson at ece dot gatech dot edu

 spkg doesn't seem to work properly -- the patch is VERY large.
 This is because xinetd-2.3.9-1.sh sets objdir=${srcdir}. 

You have to run clean before spkg. all target creates a correct diff 
file. objdir have to be set to srcdir because of xinetd's makefile bugs. 
I'm going to fix these bugs in the next release - I want to build xinetd 
with a just announced RPC package.

 should have an /etc/preremove script, to do the following
 (*) rm -f /etc/xinetd.d/*
 (*) rmdir /etc/xinetd.d
 (*) rm -f /etc/xinetd.conf

I can't do that:-( Preremove script is executed on package upgrade too, 
all user-created or modified settings will be lost on upgrade. 

Regarding chkconfig:
 conf) Why --disable-nls? Just to avoid the dependency on libintl?

Because chkconfig build fails otherwice:-) --with-included-gettext 
configure option fixes the problem, but I'd like to investigate first waht 
is wrong with chkconfig's configure/Makefile.


-- 
Sergey Okhapkin
Somerset, NJ




failed to open input method

2002-12-19 Thread J S
Here's a bit more information.I noticed in the Xwin.log it said -
(EE) Unable to locate/open config file
InitOutput - Error reading config file

Which config file is it referring to?

Cheers,


JS.



u752359@A217447D ~
$ Xwin
[1] 1164

u752359@A217447D ~
$ wmaker
[2] 460

u752359@A217447D ~
$ wmaker fatal error: could not open display 
DISPL
bash: DISPL: command not found
[2]+  Exit 1  wmaker

u752359@A217447D ~
$ DISPLAY=127.0.0.1:0

u752359@A217447D ~
$ export DISPLAY

u752359@A217447D ~
$ xhost+
[2] 1376
[2]+  Exit 127xhost+

u752359@A217447D ~
$ xhost +
[2] 1544

u752359@A217447D ~
$ access control disabled, clients can connect from any host

[2]+  Donexhost +

u752359@A217447D ~
$ wmaker
[2] 528

u752359@A217447D ~
$ wmaker warning: could not open IM


u752359@A217447D ~
$ xterm
[3] 1532

u752359@A217447D ~
$ Warning: locale not supported by C library, locale unchanged
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method

u752359@A217447D ~
$ echo $LANG
en_UK.ISO8859-1

u752359@A217447D ~
$ cat .Xdefaults
*xnlLanguage: en_UK.ISO8859-1
*international: true

u752359@A217447D ~
$ cat /tmp/xwin.log
OsVendorInit - Creating bogus screen 0
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 24 bits per 
pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1146 h 811 r 1146 l 0 b 811 
t 0
winCreateBoundingWindowWindowed -  Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 4584
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowDDNL - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 
24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = 
(null)
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing 
from list!
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Using Shadow DirectDraw NonLocking
winCreateBoundingWindowWindowed - Initial w: 1146 h: 811
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1140 h 786 r 1140 l 0 b 786 
t 0
winCreateBoundingWindowWindowed -  Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 4560
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowDDNL - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 
24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = 
(null)
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing 
from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing 
from list!


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



which command fails

2002-12-19 Thread J S
Hi,

Since I upgraded cygwin I can't use the which command. It keeps saying:

$ which /usr/bin/ls
/usr/bin/ls: Command not found.


My path appears to be OK:

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/wmaker/bin:/cygdriv
e/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/ora8i/bin:/cygdrive
/c/Program 
Files/Oracle/jre/1.1.7/bin:/cygdrive/c/PROGRA~1/E!PC:/cygdrive/c/ACE/rdbms32/bin:/cygdriv
e/c/Program Files/Attachmate/E!E2K/:/cygdrive/c/PROGRA~1/ULTRAE~1

The which also looks OK, and is the same as the which in the old cygwin I 
had:

$ which
usage: which [-a] command...

$ ls -l which
-rwx--1 544  105134608 Nov 15  2001 which


Any ideas what could be going wrong?

JS.


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



Re: which command fails

2002-12-19 Thread Sylvain Petreolle
correct syntax of which is which ls, remember that the goal of which
is to show the  path of the command you give as a parameter.

see man which.
 --- J S [EMAIL PROTECTED] a écrit :  Hi,
 
 Since I upgraded cygwin I can't use the which command. It keeps
 saying:
 
 $ which /usr/bin/ls
 /usr/bin/ls: Command not found.
 
 
 My path appears to be OK:
 
 $ echo $PATH

/usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/wmaker/bin:/cygdriv

e/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/ora8i/bin:/cygdrive
 /c/Program 

Files/Oracle/jre/1.1.7/bin:/cygdrive/c/PROGRA~1/E!PC:/cygdrive/c/ACE/rdbms32/bin:/cygdriv
 e/c/Program Files/Attachmate/E!E2K/:/cygdrive/c/PROGRA~1/ULTRAE~1
 
 The which also looks OK, and is the same as the which in the old
 cygwin I 
 had:
 
 $ which
 usage: which [-a] command...
 
 $ ls -l which
 -rwx--1 544  105134608 Nov 15  2001 which
 
 
 Any ideas what could be going wrong?
 
 JS.
 
 
 _
 Add photos to your messages with MSN 8. Get 2 months FREE*. 
 http://join.msn.com/?page=features/featuredemail
  

=
Sylvain Petreolle
[EMAIL PROTECTED] 
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259

Don't think you are. Know you are. Morpheus in Matrix, chapter 15.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: which command fails

2002-12-19 Thread J S




Sorry I copied the wrong line. This is what I'm getting even after doing a 
reinstall:


u752359@A217447D ~
$ which ls
ls: Command not found.


correct syntax of which is which ls, remember that the goal of which
is to show the  path of the command you give as a parameter.

see man which.
 --- J S [EMAIL PROTECTED] a écrit :  Hi,

 Since I upgraded cygwin I can't use the which command. It keeps
 saying:

 $ which /usr/bin/ls
 /usr/bin/ls: Command not found.


 My path appears to be OK:

 $ echo $PATH

/usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/wmaker/bin:/cygdriv

e/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/ora8i/bin:/cygdrive
 /c/Program

Files/Oracle/jre/1.1.7/bin:/cygdrive/c/PROGRA~1/E!PC:/cygdrive/c/ACE/rdbms32/bin:/cygdriv
 e/c/Program Files/Attachmate/E!E2K/:/cygdrive/c/PROGRA~1/ULTRAE~1

 The which also looks OK, and is the same as the which in the old
 cygwin I
 had:

 $ which
 usage: which [-a] command...

 $ ls -l which
 -rwx--1 544  105134608 Nov 15  2001 which


 Any ideas what could be going wrong?

 JS.


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


=
Sylvain Petreolle
[EMAIL PROTECTED]
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259

Don't think you are. Know you are. Morpheus in Matrix, chapter 15.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



Re: Failed to open input method

2002-12-19 Thread Thomas Chadwick
The Could not init font path ... error is in the FAQ:

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-removing-font-path-element

Don't know if the Xlib locale business is a side-effect of the font 
problem, or something else.


From: J S [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Failed to open input method
Date: Wed, 18 Dec 2002 17:57:18 +

Hi,

Could anyone help me with this problem please? I keep getting the following 
messages after upgrading XFree86:

$ xterm
Warning: locale not supported by C library, locale unchanged
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method

The Xwin.log says:

winInitVisualsShadowDDNL - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options 
= (n
ull)
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing 
from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing 
from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing 
from
list!

I have the following entries in my .inputrc file in my home directory to 
enable UK keyboards:

set meta-flag on
set convert-meta off
set output-meta on

but the pound sign doesn't print anything now as well. I presume that's 
related to this problem.

Thanks for any help

JS.


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



Re: Failed to open input method

2002-12-19 Thread Thomas Chadwick
You know, after sending this reply I actually went and read the FAQ I was 
pointing you to.  It looks to be quite out of date in that it refers to the 
Xinstall.sh script, which is not how XFree86 is installed any more.

What you need to do is run the Cygwin Setup program, and on the 3rd screen, 
there is a pair of radio buttons under the label Default Text File Type.  
Make sure Unix is picked, not DOS.

From: Thomas Chadwick [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: Failed to open input method
Date: Thu, 19 Dec 2002 10:44:35 -0500

The Could not init font path ... error is in the FAQ:

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-removing-font-path-element

Don't know if the Xlib locale business is a side-effect of the font 
problem, or something else.


From: J S [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Failed to open input method
Date: Wed, 18 Dec 2002 17:57:18 +

Hi,

Could anyone help me with this problem please? I keep getting the 
following messages after upgrading XFree86:

$ xterm
Warning: locale not supported by C library, locale unchanged
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method

The Xwin.log says:

winInitVisualsShadowDDNL - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options 
= (n
ull)
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 
removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing 
from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, 
removing from
list!

I have the following entries in my .inputrc file in my home directory to 
enable UK keyboards:

set meta-flag on
set convert-meta off
set output-meta on

but the pound sign doesn't print anything now as well. I presume that's 
related to this problem.

Thanks for any help

JS.


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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



Re: Windows Manager

2002-12-19 Thread John Buttery
* Mart?n De Marchi [EMAIL PROTECTED] [2002-12-19 14:42:36 +]:
 Is -rootless a XWin.exe parameter?

  Yes. 

-- 

 John Buttery
 (Web page temporarily unavailable)




msg04523/pgp0.pgp
Description: PGP signature


Re: Windows Manager

2002-12-19 Thread Randall R Schulz
Martin,

When I need to know about command-line options or environment variables 
that are not documented or for commands for which documentation is not 
available or at hand, I do something like this:

% strings /usr/X11R6/bin/XWin.exe |egrep -e -rootless
-rootless
EXPERIMENTAL: Run the server in pseudo-rootless mode.
-rootless

Here it appears both the strings from the argument processing code and the 
usage message are found. This, then, suggests that there is a help message 
available. This command:

% strings /usr/X11R6/bin/XWin.exe |egrep -e ^-

produces 123 lines, including this one:

-help  prints message with these options

(Note that this particular program does not abide by the POSIX conventions 
stipulating the use of two hyphens for multiple-character option names.)


However, you may be surprised at the result of invoking XWin -help, which 
is to say you'll see no output (nor will the X server start up). The help 
output _is_ produced, but it goes into /tmp/XWin.log (!)


I hope that helps, especially by adding to your repertoire of self-help 
techniques.

Randall Schulz


At 06:42 2002-12-19, Martín De Marchi wrote:
Is -rootless a XWin.exe parameter?

Thanks.





xhost configuration

2002-12-19 Thread Booker
I'm trying to configure my xhost to be secure.  Every time I start and x
server (startxwin.bat) xhost is configured wide open:

$ xhost
access control disabled, clients can connect from any host
INET:host-1.fakedomain.net
INET:host-1.fakedomain.net
INET:localhost
LOCAL:

I have to always type xhost - so that I can get:
access control enabled, only authorized clients can connect

So 2 questions:

1. How can I get xhost by default configured with access control enabled
by default?

2. How can I removed a hostname in xhost that has a - in it.?  
In the above example if I do a xhost -host-1.fakedomain.net it doesn't
work.  There are no /etc/X.* files on my machines so I don't know where
to manually delete that entry.  Any suggestions?

Mahalo,
Booker




winsup/cygwin ChangeLog fhandler.h fhandler_te ...

2002-12-19 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: [EMAIL PROTECTED]  2002-12-19 17:38:56

Modified files:
cygwin : ChangeLog fhandler.h fhandler_termios.cc 
 fhandler_tty.cc 

Log message:
* fhandler.h (line_edit_status): Add a new element.
* fhandler_termios.cc (fhandler_termios::line_edit): After accept_input, handle
both potential error condition and pipe full conditions.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Return -1 on error.
(fhandler_pty_master::write): Handle pipe full condition.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.1644r2=1.1645
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaumr1=1.149r2=1.150
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaumr1=1.36r2=1.37
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaumr1=1.83r2=1.84




src/winsup/cygwin ChangeLog fhandler.cc

2002-12-19 Thread phumblet
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED] 2002-12-19 17:48:22

Modified files:
winsup/cygwin  : ChangeLog fhandler.cc 

Log message:
2002-12-19  Pierre Humblet [EMAIL PROTECTED]

* fhandler.cc (fhandler_base::open): Use flags rather than mode
in Win9X directory code.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.1645r2=1.1646
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=srcr1=1.142r2=1.143




Re: Cygwin deinstall

2002-12-19 Thread a12
Hi Michael,

Thank you for your reply.

Following your suggestion I mail this entry to
[EMAIL PROTECTED]

Michael A Chase wrote:

 On Thu, 19 Dec 2002 11:41:52 +0100 a12 [EMAIL PROTECTED] wrote:

  I should have rephrased the question to:
  How do I remove C:\cygwin\var\log\OpenSSHd.log ?
 
  After some digging into security  ownership of the file 
  directories, I changed the owner of OpenSSHd.log from SYSTEM to
  Administrators. Then I removed the file. The removal of
  C:\cygwin\var\log was a piece of cake.
 
  The info above is not stated in
  http://cygwin.com/faq/faq_2.html#SEC19
  May I propose a little update ?

 May I propose you ask your real question instead of what you did ask.  Also
 keep your questions to the right list.

 Bug reporting: http://cygwin.com/bugs.html

 The FAQ answers the question you asked correctly.  If you wanted to know
 how to remove a particular file, you should have asked that question.

  Michael A Chase wrote:
 
   On Wed, 18 Dec 2002 12:41:23 +0100 a12 [EMAIL PROTECTED] wrote:
  
How do I remove completely Cygwin ?
  
   Read the FAQ: http://cygwin.com/faq/faq_2.html#SEC19 .  It answeres
  that
   exact question.
  
   Please stop using the wrong list.  If it weren't a FAQ, this quiestion
   would belong on [EMAIL PROTECTED]

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




Re: grep on Win9x directories

2002-12-19 Thread Christopher Faylor
Wow, you're quick.  I was just checking into this.  I had a breakpoint set
and everything.

Please check this in, Pierre.  It's a nice addition to 1.3.18.

cgf

On Thu, Dec 19, 2002 at 06:29:16PM -0500, Pierre A. Humblet wrote:


2002-12-19  Pierre Humblet [EMAIL PROTECTED]

   * fhandler.cc (fhandler_base::open): Use flags rather than mode in 
   Win9X directory code.

Index: fhandler.cc
===
RCS file: /cvs/src/src/winsup/cygwin/fhandler.cc,v
retrieving revision 1.142
diff -u -p -r1.142 fhandler.cc
--- fhandler.cc 14 Dec 2002 19:11:42 -  1.142
+++ fhandler.cc 19 Dec 2002 23:20:53 -
@@ -463,9 +463,9 @@ fhandler_base::open (path_conv *pc, int 
 {
   if (!wincap.can_open_directories ()  pc  pc-isdir ())
{
- if (mode  (O_CREAT | O_EXCL) == (O_CREAT | O_EXCL))
+ if (flags  (O_CREAT | O_EXCL) == (O_CREAT | O_EXCL))
set_errno (EEXIST);
- else if (mode  (O_WRONLY | O_RDWR))
+ else if (flags  (O_WRONLY | O_RDWR))
set_errno (EISDIR);
  else
set_nohandle (true);



Re: [PATCH] to_slave pipe is full fix

2002-12-19 Thread Christopher Faylor
On Tue, Dec 17, 2002 at 01:31:05AM -0600, Steve O wrote:
On Mon, Dec 16, 2002 at 10:51:14PM -0500, Christopher Faylor wrote:
 One more question, though.  In accept_input, shouldn't ret be set to
 something besides 1 when there is an error writing to pipe?

True.  I hadn't been considering the error case. 
I've attached a patch for this.  It's not terribly pretty. 

Thanks.  I've checked this in.  It didn't look too ugly to me.  I can't think
of any other way to do this.

I wrote a ChangeLog for this, too.  It helped me understand what you
were doing.

Thanks.

cgf



RE: env cygwin, value=tty

2002-12-19 Thread linda w \(cyg\)
Thanks!

 The documentation was incorrect.  Cygwin honors most of the 
 stty settings, even with CYGWIN=notty.

Now about those other problems.  Am I the only one that has
this problem? or does no one try using remote displays or local
combo of X and MS-Win Windows.

-l


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




Followup: 1.3.17: sshd closes terminal immediately after establishingconnection (1.3.13 ? 1.3.14)

2002-12-19 Thread jurgen . defurne
Hello, everybody,

I want to followup on this problem. It is still not solved,
but I have found some time to investigate the problem, and
it surely has to do with the cygwin1.dll.

I downloaded all the archives of cygwin that I was able to
find, unfortunately the 1.3.13 was not available anymore on
my mirrors.

Then with some tweaking of the setup.ini file, I could
persuade setup.exe to install the cygwin version that I
wanted to have.

The problem remains the same. When I run sshd using cygwin
1.3.12, I am able to connect remotely, when I use any of the
 version 1.3.14, 1.3.15, 1.3.16, 1.3.17, the connection is
immediately closed after logging on. I know that upgrading
OpenSSH will not help, because when I first experienced the
problems, I had done a complete upgrade around cygwin 1.3.17.

Attachments :
- Output of the sshd -d for cygwin 1.3.12 and 1.3.14
- Output of cygcheck -c -s -v


After upgrading from cygwin 1.3.12 to 1.3.17 (also tried 1.3.16, same 
problem),
I cannot establish a remote session anymore.

When running ssh -v some-address to the server with cygwin 1.3.17  and
sshd 3.5-p1, the session is first established (I get login messages), but 
then
immediately closed. On the client side I get the following message :

debug1: permanently_set_uid: 45090/10513
setuid 45090: Permission denied

I have searched and found some answers, but they all rely on the fact that
one has Administrator rights on his WinNT/2000 box, but in our case that 
is
not possible, so I have to run the sshd as a specific user, and I also can
not install sshd as a service. This was no problem with previous version 
of
Cygwin and sshd, so I hope that somehow this possibility has not 
disappeared
from either OpenSSH or Cygwin.

Regards,

Jurgen Defurne


debug1: sshd version OpenSSH_3.2.2p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
setsid: Operation not permitted
Connection from 130.145.40.80 port 1165
debug1: Client protocol version 2.0; client software version OpenSSH_3.2.2p1
debug1: match: OpenSSH_3.2.2p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_3.2.2p1
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: dh_gen_key: priv key bits set: 118/256
debug1: bits set: 1577/3191
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug1: bits set: 1563/3191
debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug1: userauth-request for user beq00871 service ssh-connection method none
debug1: attempt 0 failures 0
Failed none for beq00871 from 130.145.40.80 port 1165 ssh2
debug1: userauth-request for user beq00871 service ssh-connection method publickey
debug1: attempt 1 failures 1
debug1: test whether pkalg/pkblob are acceptable
debug1: temporarily_use_uid: 45056/10513 (e=45056)
debug1: trying public key file /home/p_jur/.ssh/authorized_keys
debug1: restore_uid
debug1: temporarily_use_uid: 45056/10513 (e=45056)
debug1: trying public key file /home/p_jur/.ssh/authorized_keys2
debug1: matching key found: file /home/p_jur/.ssh/authorized_keys2, line 4
Found matching RSA key: 27:eb:8a:9b:b0:8d:6d:08:4c:05:7e:c1:2f:e3:51:be
debug1: restore_uid
Postponed publickey for beq00871 from 130.145.40.80 port 1165 ssh2
debug1: userauth-request for user beq00871 service ssh-connection method publickey
debug1: attempt 2 failures 1
debug1: temporarily_use_uid: 45056/10513 (e=45056)
debug1: trying public key file /home/p_jur/.ssh/authorized_keys
debug1: restore_uid
debug1: temporarily_use_uid: 45056/10513 (e=45056)
debug1: trying public key file /home/p_jur/.ssh/authorized_keys2
debug1: matching key found: file /home/p_jur/.ssh/authorized_keys2, line 4
Found matching RSA key: 27:eb:8a:9b:b0:8d:6d:08:4c:05:7e:c1:2f:e3:51:be
debug1: restore_uid
debug1: ssh_rsa_verify: signature correct
Accepted publickey for beq00871 from 130.145.40.80 port 1165 ssh2
debug1: Entering interactive session for SSH2.
debug1: fd 3 setting O_NONBLOCK
debug1: fd 7 setting O_NONBLOCK
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 65536 max 16384
debug1: input_session_request
debug1: channel 0: new [server-session]
debug1: session_new: init
debug1: session_new: session 0
debug1: session_open: channel 0

RE: gcc-2 problems

2002-12-19 Thread David K. McAllister
Yes, but for our purposes this needs to be classified as a change to our
code base, which I can't do. It needs to be a change to the installation
on the machine, not to the build or the user environment.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Of Randall R Schulz
Sent: Thursday, December 19, 2002 12:17 AM
To: [EMAIL PROTECTED]
Subject: Re: gcc-2 problems


David,

Surely your makefiles invoke the compiler via an environment variable so
as 
to allow you to override the default? Likewise your configure scripts 
include compiler override options, no?

Randall Schulz


At 23:07 2002-12-18, David K. McAllister wrote:
Today I updated my cygwin install for the first time in about three 
months. Apparently I unwittingly installed gcc 3.2. Our code base is 
staunchly gcc 2.95 for now. I discovered the gcc2 package and installed

it, but of course it's not the default and I can't change our code base

to look at gcc-2. I have to change my local install to work the way it 
used to.

Is there a way to get back to where I was? I've tried uninstalling 
gcc-3 and then renaming /usr/bin/*-2.exe to not have the -2 but I 
think I'm missing something. The build breaks in a confusing place and 
I'm convinced its because of my compiler woes.

Could I use an old version of the installer to install gcc-2.95 as 
gcc instead of gcc-2? If so, where would I get the old installer 
and how would I make it do the right thing?

I've searched the mailing lists as best I can back throuh Oct. 15th, 
but I haven't found an answer.

Any help you could give would be, well, helpful.

Thanks in advance.

DaveMc


--
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: Can I download everything and install from local files?

2002-12-19 Thread Nathan Catlow

And I quote from www.cygwin.com: If you are adventurous (i.e. masochistic) 
you can also download the Cygwin distribution via ftp or http using some other 
program than setup.exe.

Yes you too can be adventurous and masochistic, with a bit of work. You 
basically have to mirror the relevent ftp site/mirror into a local directory 
and run setup from there.

Choose 'install from local directory' and when setup asks you where to store 
the downloaded packages, point it at the local dir where setup.exe resides.

Here is a Linux script that just does that. I don't know whether there is a 
windows equivalant of 'copydir'. I just rerun this script to update my local 
distribution and run setup.exe - works well IMHO.

#!/bin/bash
copydir ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/release ./ \
--exclude-regexp .*\-src.* \
--keep-files \
--verbose --verbose
copydir ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/setup.* ./ \
--verbose --verbose


If you need to ask questions about this, forget it and use setup.exe in the 
supported way.

regards,

Nathan.



--
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: which command fails

2002-12-19 Thread J S



Sorry I posted this to the wrong group.


Hi,

Since I upgraded cygwin I can't use the which command. It keeps saying:

$ which /usr/bin/ls
/usr/bin/ls: Command not found.


My path appears to be OK:

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/wmaker/bin:/cygdriv
e/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/ora8i/bin:/cygdrive
/c/Program 
Files/Oracle/jre/1.1.7/bin:/cygdrive/c/PROGRA~1/E!PC:/cygdrive/c/ACE/rdbms32/bin:/cygdriv
e/c/Program Files/Attachmate/E!E2K/:/cygdrive/c/PROGRA~1/ULTRAE~1

The which also looks OK, and is the same as the which in the old cygwin I 
had:

$ which
usage: which [-a] command...

$ ls -l which
-rwx--1 544  105134608 Nov 15  2001 which


Any ideas what could be going wrong?

JS.


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


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


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



rxvt customization questions

2002-12-19 Thread [mn]
Hi,

I've got some questions concerning the latest Cygwin version of rxvt.

First, I played around with the .Xdefaults file a bit.
Unfortunately, I can't find out each necessary entry that will give the
scrollbar a personalized new look, some of the settings do not work for me as
expected, for instance Rxvt*troughColor (no effect at all). And there always
remains ugly blue borders.

Another point is a colorized prompt. I'm actually using one based on solid
colors like bright white, green and yellow.
I'd like to play around with colors like YellowGreen, Ivory or RedOrange -
is there any possibility of getting these values working somehow, maybe with
special add-ons?

I'd also like to show the current working directory in the title bar of a
rxvt console but haven't got a clue, so how can I achieve that?
I guess I have to play around with the 'dirs' command... could anyone
contribute a working example script here?

Best wishes,

[mn]

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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




RSH: permission denied for NTFS network shares

2002-12-19 Thread Genady Veytsman

Hi,

I have some problem using rsh under cygwin.
It works fine for local disks and local disks of remote computers
(both UNIX and NT/2000).

But if I am trying to access NTFS network share (that is on file 
server), I receive permission denied.

Here is an example:

From unix machine:

 rsh genadyv --- (genadyv is Window2000 machine with cygwin)
Fanfare!!!
You are successfully logged in to this server!!!

genadyv@GENADYV ~
$ ls -d //mystisun8/vol1/tmp - unix machine
//mystisun8/vol1/tmp

genadyv@GENADYV ~
$ ls -d /cygdrive/c/    local disk C
/cygdrive/c

genadyv@GENADYV ~
$ ls -d /cygdrive/m/ - network share on file server
ls: /cygdrive/m: Permission denied

genadyv@GENADYV ~
$ ls /cygdrive
c  d  g  m  p  x  y



I have no problem accessing /cygdrive/m/ from bash prompt in cygwin
(locally).
/cygdrive/m is a mount to //mystifile/mixsig$

Any help is appreciated
Regards
  Genady Veytsman



--
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: c++ ifstream problem with gcc 3.2

2002-12-19 Thread Zhabitsky Oleg-QOZ001

Hello Gerrit,

I've faced the same problem after installation gcc 3.2.
How I solved it in my program:

  ifstream cur_stream(file_name1, ios::in);
  ..
  cur_stream.close();
  cur_stream.clear();
  cur_stream.open(file_name2, ios::in);
  

Hope, it'll help you.

Best regards,
Zhabitsky Oleg

 
 Hello,
 
 I recently encountered the problem with the gcc 3.2 compiler 
 of cygwin 
 using ifstream. Basically it is the same problem as mentioned in 
 http://gcc.gnu.org/ml/gcc-help/2002-06/msg00079.html although 
 this is about 
 gnu cc 3.0. I thought that this was already fixed. The 
 problem is that when 
 a ifstream object is closed and than reopened with the open 
 method to open 
 another file, no data is returned. But if one uses 2 ifstream 
 objects, 
 everything works perfectly. Is this a known issue with c++ on cygwin ?
 
 Gerrit.

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




Re: gcc-2 problems

2002-12-19 Thread Max Bowsher
David K. McAllister [EMAIL PROTECTED] wrote:

 Yes, but for our purposes this needs to be classified as a change to
 our code base, which I can't do. It needs to be a change to the
 installation on the machine, not to the build or the user environment.

So, why not just install gcc-2.95.3-5 ? It's not on the mirrors any more,
but if your environment is so bureaucratically frozen, I'm sure you must
keep a 'last known good' environment?

Max.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
 Behalf Of Randall R Schulz
 Sent: Thursday, December 19, 2002 12:17 AM
 To: [EMAIL PROTECTED]
 Subject: Re: gcc-2 problems


 David,

 Surely your makefiles invoke the compiler via an environment variable
 so as
 to allow you to override the default? Likewise your configure scripts
 include compiler override options, no?

 Randall Schulz


 At 23:07 2002-12-18, David K. McAllister wrote:
 Today I updated my cygwin install for the first time in about three
 months. Apparently I unwittingly installed gcc 3.2. Our code base is
 staunchly gcc 2.95 for now. I discovered the gcc2 package and
 installed

 it, but of course it's not the default and I can't change our code
 base

 to look at gcc-2. I have to change my local install to work the way
 it used to.

 Is there a way to get back to where I was? I've tried uninstalling
 gcc-3 and then renaming /usr/bin/*-2.exe to not have the -2 but I
 think I'm missing something. The build breaks in a confusing place
 and I'm convinced its because of my compiler woes.

 Could I use an old version of the installer to install gcc-2.95 as
 gcc instead of gcc-2? If so, where would I get the old installer
 and how would I make it do the right thing?

 I've searched the mailing lists as best I can back throuh Oct. 15th,
 but I haven't found an answer.

 Any help you could give would be, well, helpful.

 Thanks in advance.

 DaveMc


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




Can anyone explain what 'Resource temporarily unavailable' means in the context of a socket?

2002-12-19 Thread Max Bowsher
I'm trying to help debug Emilio Icaza's sshd problem, but I've never seen a
socket read fail with an error like that before.

Thanks,

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: gcc-2 problems

2002-12-19 Thread Thomas Pfaff
Instead of renaming the files create links:

ln -s gcc-2.exe gcc.exe
ln -s g++-2.exe g++.exe
...

If your fs is ntfs you can also create hard links

Thomas

David K. McAllister wrote:

Today I updated my cygwin install for the first time in about three
months. Apparently I unwittingly installed gcc 3.2. Our code base is
staunchly gcc 2.95 for now. I discovered the gcc2 package and installed
it, but of course it's not the default and I can't change our code base
to look at gcc-2. I have to change my local install to work the way it
used to.

Is there a way to get back to where I was? I've tried uninstalling gcc-3
and then renaming /usr/bin/*-2.exe to not have the -2 but I think I'm
missing something. The build breaks in a confusing place and I'm
convinced its because of my compiler woes.

Could I use an old version of the installer to install gcc-2.95 as gcc
instead of gcc-2? If so, where would I get the old installer and how
would I make it do the right thing?

I've searched the mailing lists as best I can back throuh Oct. 15th, but
I haven't found an answer. 

Any help you could give would be, well, helpful.

Thanks in advance.

DaveMc





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




Mysterious FTP failure

2002-12-19 Thread Brian Kelly
I’ve been using cygwin’s ftp.exe client program on my NT 4.0 SP 6
machine for quite a while. It’s
worked flawlessly for months. I have not made any changes to the box and
have not upgraded any
cygwin components in months. Sometime in the last 48 hours “something”
changed. Now when
I attempt to ftp a tar file, it sends about 98-99% of it or so, and then
mysteriously quits – “thinking”
it had sent the whole thing. (It does not report any transmission
errors). It’s not tar, because if I
ftp TO the box via inetd/ftpd and retrieve the file – the whole thing
transfers just fine. I’ve rebooted the
box numerous times, as well cold shutdown (to reset the network card) –
same problem. I haven’t
tried uninstalling or reinstalling any cygwin components, because I’d
really like to understand what’s
CAUSING the problem. I’m writing automation software that has advanced
error checking and I’d
like to trap and “identify” this condition (if possible) and advise in
an error message what the possible
genesis of the condition is and what hints one can follow to remedy
and/or prevent the problem. The
automation software essentially “automates” cross-network unix
command-line environments and is
100% perl. As such, it relies on cygwin for this environment on MSWin
boxes. If one “node” fails – it
can switch boxes automatically – but being able to determine WHY a box
has a problem and reporting
it successfully is VERY important to the overall approach of the
software.
 
If anyone’s got a clue what’s happened to break ftp – or can suggest
what other things I can investigate
to get the “bottom” of this problem – I’d REALLY appreciate it.
 
Brian Kelly


--
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: Fwd: which command fails

2002-12-19 Thread Igor Pechtchanski
On Thu, 19 Dec 2002, J S wrote:

 Sorry I posted this to the wrong group.
 
 Hi,
 
 Since I upgraded cygwin I can't use the which command. It keeps saying:
 
 $ which /usr/bin/ls
 /usr/bin/ls: Command not found.
 
 
 My path appears to be OK:
 
 $ echo $PATH
 
/usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/wmaker/bin:/cygdriv
 
e/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/ora8i/bin:/cygdrive
 /c/Program
 
Files/Oracle/jre/1.1.7/bin:/cygdrive/c/PROGRA~1/E!PC:/cygdrive/c/ACE/rdbms32/bin:/cygdriv
 e/c/Program Files/Attachmate/E!E2K/:/cygdrive/c/PROGRA~1/ULTRAE~1
 
 The which also looks OK, and is the same as the which in the old cygwin I
 had:
 
 $ which
 usage: which [-a] command...
 
 $ ls -l which
 -rwx--1 544  105134608 Nov 15  2001 which
 
 Any ideas what could be going wrong?
 
 JS.

Yes.  You have ntsec on (it's on by default starting from 1.3.13, IIRC),
and the files in your /bin have the wrong permissions.  Try

$ chmod -R a+rx /bin

and see if it solves the problem.  You might also want to update your
passwd and group files - search this list for instructions.
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!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


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




Lock Count Exceeded

2002-12-19 Thread A. S. Budden

Hi there,

I'm a bit of a beginner with CygWin to be honest, I use it (at the moment) almost 
exclusively to get the benefit of the better compile of Mutt than the Win32 version.

I have been using Mutt for a while and have a well established .muttrc and so on, so 
since that worked fine with my HOME set to h:/, I decided to use Mutt on Cygwin with 
HOME set to /cygdrive/h/ to get identical functionality.

However, when I load Mutt, I get an error message saying Lock Count Exceeded, remove 
lock for /cygdrive/h/mail/postponed and whenever I try to save messages to an 
alternate folder, I get the same sort of message, e.g. Lock Count Exceeded, remove 
for /cygdrive/h/Mail/lists/cygwin

Can anyone offer any advice here?

Many thanks in advance,

Al

--
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: Lock Count Exceeded

2002-12-19 Thread Scott W Brim
On Thu, Dec 19, 2002 02:42:57PM +, A. S. Budden allegedly wrote:
 
 Hi there,
 
 I'm a bit of a beginner with CygWin to be honest, I use it (at the moment) almost 
exclusively to get the benefit of the better compile of Mutt than the Win32 version.
 
 I have been using Mutt for a while and have a well established .muttrc and so on, so 
since that worked fine with my HOME set to h:/, I decided to use Mutt on Cygwin with 
HOME set to /cygdrive/h/ to get identical functionality.
 
 However, when I load Mutt, I get an error message saying Lock Count Exceeded, 
remove lock for /cygdrive/h/mail/postponed and whenever I try to save messages to an 
alternate folder, I get the same sort of message, e.g. Lock Count Exceeded, remove 
for /cygdrive/h/Mail/lists/cygwin
 
 Can anyone offer any advice here?
 
 Many thanks in advance,

Take a look at http://cygwin.com/ml/cygwin/2002-11/msg00628.html

--
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: rxvt customization questions

2002-12-19 Thread Soren A
On Thu, 19 Dec 2002 12:09:09 GMT, [mn] [EMAIL PROTECTED] wrote in 
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:

 
 I've got some questions concerning the latest Cygwin version of rxvt.
 
 First, I played around with the .Xdefaults file a bit.

I, also, would welcome any discussion of how rxvt works on Cygwin. I just 
recently began using rxvt after a long period of resisting (I invested a 
great deal of time and effort into learning how make the native Windows 
console work optimally with bash).

the one thing that really pleased me was when i discovered in a marathon 
late-night Googling session, with considerable effort to interpret poorly-
written documentation, how to clear the entire rxvt console buffer and go 
back to (0,0):

  echo -ne '\033c'

thus one can alias:
  alias cls=echo -ne '\033c'

TIA,
  Soren A



--
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: Followup: 1.3.17: sshd closes terminal immediately after establishing connection (1.3.13 ? 1.3.14)

2002-12-19 Thread Pierre A. Humblet
On Thu, Dec 19, 2002 at 11:04:27AM +0100, [EMAIL PROTECTED] wrote:
 Hello, everybody,
 
 I want to followup on this problem. It is still not solved,
 but I have found some time to investigate the problem, and
 it surely has to do with the cygwin1.dll.

Please try
strace -o trace sshd -d
and then ssh into the system.

Send me the trace file, as well as your passwd and
group files. That's going to be very long, so it's probably
best to send them to me privately.

Pierre

--
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: Mysterious FTP failure

2002-12-19 Thread [EMAIL PROTECTED]
I'm guessing that you're stuck debugging this one.  I don't think 
someone else is going to be able to guess what changed on your 
system to cause this problem to surface for you (though maybe I'm 
wrong).  I expect the most direct route to discover more details 
about the problem and an eventual solution would be to run a 
debug version of ftp in gdb and see what happens.   This should at
least narrow down the possibilities to a reasonable size and give 
the list some details to cogitate, assuming the results don't 
automatically point you to a solution yourself.

Good luck,

Larry

Original Message:
-
From: Brian Kelly [EMAIL PROTECTED]
Date: Thu, 19 Dec 2002 09:15:53 -0500
To: [EMAIL PROTECTED]
Subject: Mysterious FTP failure


I’ve been using cygwin’s ftp.exe client program on my NT 4.0 SP 6
machine for quite a while. It’s
worked flawlessly for months. I have not made any changes to the box and
have not upgraded any
cygwin components in months. Sometime in the last 48 hours “something”
changed. Now when
I attempt to ftp a tar file, it sends about 98-99% of it or so, and then
mysteriously quits – “thinking”
it had sent the whole thing. (It does not report any transmission
errors). It’s not tar, because if I
ftp TO the box via inetd/ftpd and retrieve the file – the whole thing
transfers just fine. I’ve rebooted the
box numerous times, as well cold shutdown (to reset the network card) –
same problem. I haven’t
tried uninstalling or reinstalling any cygwin components, because I’d
really like to understand what’s
CAUSING the problem. I’m writing automation software that has advanced
error checking and I’d
like to trap and “identify” this condition (if possible) and advise in
an error message what the possible
genesis of the condition is and what hints one can follow to remedy
and/or prevent the problem. The
automation software essentially “automates” cross-network unix
command-line environments and is
100% perl. As such, it relies on cygwin for this environment on MSWin
boxes. If one “node” fails – it
can switch boxes automatically – but being able to determine WHY a box
has a problem and reporting
it successfully is VERY important to the overall approach of the
software.
 
If anyone’s got a clue what’s happened to break ftp – or can suggest
what other things I can investigate
to get the “bottom” of this problem – I’d REALLY appreciate it.
 
Brian Kelly


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



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/




Re: gcc-2 problems

2002-12-19 Thread Christopher Faylor
On Thu, Dec 19, 2002 at 02:44:20PM +0100, Thomas Pfaff wrote:
Instead of renaming the files create links:

ln -s gcc-2.exe gcc.exe
ln -s g++-2.exe g++.exe
...

If your fs is ntfs you can also create hard links

Of course, this *is* a new/different version of gcc v2, so if you are
worried about not changing the status quo, then I don't see how using
gcc-2 is going to help.

Of course, I don't really understand why are you are running setup.exe
at all in such an environment.

cgf

Thomas

David K. McAllister wrote:
Today I updated my cygwin install for the first time in about three
months. Apparently I unwittingly installed gcc 3.2. Our code base is
staunchly gcc 2.95 for now. I discovered the gcc2 package and installed
it, but of course it's not the default and I can't change our code base
to look at gcc-2. I have to change my local install to work the way it
used to.

Is there a way to get back to where I was? I've tried uninstalling gcc-3
and then renaming /usr/bin/*-2.exe to not have the -2 but I think I'm
missing something. The build breaks in a confusing place and I'm
convinced its because of my compiler woes.

Could I use an old version of the installer to install gcc-2.95 as gcc
instead of gcc-2? If so, where would I get the old installer and how
would I make it do the right thing?

I've searched the mailing lists as best I can back throuh Oct. 15th, but
I haven't found an answer. 

Any help you could give would be, well, helpful.

Thanks in advance.

DaveMc





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

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




Re: cygwin deinstall

2002-12-19 Thread Christopher Faylor
On Thu, Dec 19, 2002 at 03:27:41PM +0100, a12 wrote:
Hi Michael,

Thank you for your reply.

Following your suggestion I mail this entry to
[EMAIL PROTECTED]

Huh?  Why? There is no patch here.  cygwin-patches is supposed to be for
sending actual fixes not vague suggestions.

Michael A Chase wrote:

 On Thu, 19 Dec 2002 11:41:52 +0100 a12 [EMAIL PROTECTED] wrote:

  I should have rephrased the question to:
  How do I remove C:\cygwin\var\log\OpenSSHd.log ?
 
  After some digging into security  ownership of the file 
  directories, I changed the owner of OpenSSHd.log from SYSTEM to
  Administrators. Then I removed the file. The removal of
  C:\cygwin\var\log was a piece of cake.
 
  The info above is not stated in
  http://cygwin.com/faq/faq_2.html#SEC19
  May I propose a little update ?

 May I propose you ask your real question instead of what you did ask.  Also
 keep your questions to the right list.

 Bug reporting: http://cygwin.com/bugs.html

 The FAQ answers the question you asked correctly.  If you wanted to know
 how to remove a particular file, you should have asked that question.

  Michael A Chase wrote:
 
   On Wed, 18 Dec 2002 12:41:23 +0100 a12 [EMAIL PROTECTED] wrote:
  
How do I remove completely Cygwin ?
  
   Read the FAQ: http://cygwin.com/faq/faq_2.html#SEC19 .  It answeres
  that
   exact question.
  
   Please stop using the wrong list.  If it weren't a FAQ, this quiestion
   would belong on [EMAIL PROTECTED]

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

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

2002-12-19 Thread Randall R Schulz
David,

You know what they say: The patient has to _want_ to change.

Randall Schulz


At 02:39 2002-12-19, David K. McAllister wrote:

Yes, but for our purposes this needs to be classified as a change to our
code base, which I can't do. It needs to be a change to the installation
on the machine, not to the build or the user environment.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Of Randall R Schulz
Sent: Thursday, December 19, 2002 12:17 AM
To: [EMAIL PROTECTED]
Subject: Re: gcc-2 problems


David,

Surely your makefiles invoke the compiler via an environment variable so
as to allow you to override the default? Likewise your configure scripts
include compiler override options, no?

Randall Schulz



--
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 connect to posix subsystem

2002-12-19 Thread a12
Hello cygwin gurus,

First start of cygwin opens a DOS window, and the following
error appears:
posix: cannot connect to posix subsystem
-bash: cd: /home/a12: No such file or directory
a12@RRBACK /usr/bin
$ pwd
/usr/bin

C:\cygwin\usr contains the following directories:
bin, doc, include, info, lib, local, man, sbin, share, src,
ssl, tmp, var
instead of expected:
a12

C:\cygwin\etc\passwd contains:
SYSTEM:*:18:18:,S-1-5-18::/bin/false
Administrators:*:544:544:,S-1-5-32-544::/bin/false
a12:*:1006:544:a12,U-RRBACK\a12,S-1-5-21-1681026574-976757939-
617630493-1006:/home/a12:/bin/bash

C:\cygwin\etc\group contains:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1681026574-976757939-617630493-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:

Windows Task Manager yields the following processes:
ssh.exe, cygrunsrv.exe, sshd.exe, bash.exe

Any hints ?


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




Re: Cygwin deinstall

2002-12-19 Thread a12
Hi Michael,

Thank you for your reply.

Following your suggestion I mail this entry to
[EMAIL PROTECTED]

Michael A Chase wrote:

 On Thu, 19 Dec 2002 11:41:52 +0100 a12 [EMAIL PROTECTED] wrote:

  I should have rephrased the question to:
  How do I remove C:\cygwin\var\log\OpenSSHd.log ?
 
  After some digging into security  ownership of the file 
  directories, I changed the owner of OpenSSHd.log from SYSTEM to
  Administrators. Then I removed the file. The removal of
  C:\cygwin\var\log was a piece of cake.
 
  The info above is not stated in
  http://cygwin.com/faq/faq_2.html#SEC19
  May I propose a little update ?

 May I propose you ask your real question instead of what you did ask.  Also
 keep your questions to the right list.

 Bug reporting: http://cygwin.com/bugs.html

 The FAQ answers the question you asked correctly.  If you wanted to know
 how to remove a particular file, you should have asked that question.

  Michael A Chase wrote:
 
   On Wed, 18 Dec 2002 12:41:23 +0100 a12 [EMAIL PROTECTED] wrote:
  
How do I remove completely Cygwin ?
  
   Read the FAQ: http://cygwin.com/faq/faq_2.html#SEC19 .  It answeres
  that
   exact question.
  
   Please stop using the wrong list.  If it weren't a FAQ, this quiestion
   would belong on [EMAIL PROTECTED]

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




try/catch and mutithreading

2002-12-19 Thread Ignasi Villagrasa
Hi everyone,

I've got a problem migrating several C++ based server applications from 
Watcom 10.5 compiler to cygwin. The problem arises when diferent threads 
get into a try/catch block concurrently. Then cygwin forces me to 
include a semaphore out of try block to solve a concurrency conflict 
that I didn't have using Watcom 10.5, or I don't have now only avoiding 
the try/catch structure.

Source code

void A()
{

MySemaphore.Request();

try
{




}
catch(...)
{


}
catch(...)
{


}

MySemaphore.Release() ;

return;
}

works properly in multithreading, but

void A()
{


try
{
MySemaphore.Request();



}
catch(...)
{


}
catch(...)
{


}

MySemaphore.Release() ;

return;
}

gives me a concurrent problem.

Obviously without semaphores I get a concurrency error also.

I use here the semaphore in order to investigate where in the code the 
problem arises. Normally I cannot use it because of performance problem.


Here is Cygwin version I'm using:

cygwin  1.3.12-2
gcc 2.95.3-5
gcc-mingw   3_1-20020516-1


I don't use pthreads emulation in order to maintain compatibility to 
previos versions. So I'm using for multithreading _beginthreadex familly 
funtions, the same that work using Watcom.

Could anyone give me a hint ?

Thanks in advance, Ignasi Villagrasa. GRI S.L.






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



Re: Cygwin deinstall

2002-12-19 Thread Michael A Chase
On Thu, 19 Dec 2002 15:27:41 +0100 a12 [EMAIL PROTECTED] wrote:

 Following your suggestion I mail this entry to
 [EMAIL PROTECTED]

You are still not paying attention.  Your initial question was 'How do I
uninstall Cygwin?'.  The FAQ I pointed you to does answer that question.

If you bother to read the information in the URIs listed at the bottom of
every message in [EMAIL PROTECTED], you will see that vague complaints
about the FAQ being incomplete, which it was not in your case, don't
belong on cygwin-patches.

 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/

-- 
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: Cannot connect to posix subsystem

2002-12-19 Thread Pavel Tsekov
On Thu, 19 Dec 2002, a12 wrote:

 Hello cygwin gurus,
 
 First start of cygwin opens a DOS window, and the following
 error appears:
 posix: cannot connect to posix subsystem

Any chance that you've MS's Services For Unix installed on that machine ?

 Any hints ?

From the FAQ:

Details about your Cygwin setup, accomplished by pasting the output of 
'cygcheck -s -v -r' into your message. (Do not send the output as a file 
attachment.)


--
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: Cannot connect to posix subsystem

2002-12-19 Thread Randall R Schulz
Gack!

Pavel, I think you're working off an old copy of the FAQ.

The new official position is that cygcheck output _is_ to be attached but 
_should not_ be compressed.

Randall Schulz


At 10:24 2002-12-19, Pavel Tsekov wrote:
On Thu, 19 Dec 2002, a12 wrote:

 Hello cygwin gurus,

 First start of cygwin opens a DOS window, and the following
 error appears:
 posix: cannot connect to posix subsystem

Any chance that you've MS's Services For Unix installed on that machine ?

 Any hints ?

From the FAQ:

Details about your Cygwin setup, accomplished by pasting the output of
'cygcheck -s -v -r' into your message. (Do not send the output as a file
attachment.)



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




Error Starting Cron

2002-12-19 Thread Buck Turgidson
I had cron working perfectly, and executing my script appropriately.  I
rebooted, and now I get the following error upon loading cron.  Any ideas as
to what it means?

cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

This is what is in my cygwin.bat file:

cygrunsrv -E cron
cygrunsrv -R cron
cygrunsrv -I cron -p /usr/sbin/cron -a -D -e CYGWIN=tty ntsec
cygrunsrv -S 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/




NTSEC ntwrk drives?; chown/chmod/ls -l only wrkg on local drives

2002-12-19 Thread Tom Rodman

chown,chmod and ls -l work just fine on local drives, but
not on network drives. 

My /tmp is on the local c drive,
and /cygdrive/s is a network drive on our NT4.0 SP6A PDC;
all commands below done on a NT6.0 SP6A workstatation in the 
same domain as the PDC.

  /tmp $ id -un
  adm_tsr
  /tmp $ groups
  ES_staff.gbl Administrators Domain Users ES_admin.gbl Users ccm_users.gbl
  /tmp $ for dir in /tmp /cygdrive/s ; do
   cd $dir ; rm -f foo; touch foo; chown adm_ds foo
   ls -l foo
   echo $(getowner foo) # see http://peter.verhas.com/progs/c/nt/owner/
   rm -f foo
   done
  -rw-rw-r--1 adm_ds   ES_staff0 Dec 19 13:35 foo
  adm_ds
  -rw-r--r--1 adm_tsr  ES_staff0 Dec 19 13:35 foo
  Administrators

For /cygdrive/s/foo, chown silently failed and ls -l foo
said adm_tsr owned foo when Administrators was the real owner.

What am I missing?  Is there a fix for this, or do I have an
incorrect config setting?  I have included more background info below.

--
thanks/regards,
Tom Rodman
perl -e 'print unpack(u, \.\=\$\!T\F\]D\;6\%N\+F\-O\;0H\`);'

--v-v--C-U-T---H-E-R-E-v-v--
(Were running NT4.0 SP6A)

background on my setup {

  /cygdrive/s $ cygcheck -sv|egrep '^s: ' # to show s is a network drive
  s:  net NTFS   64456Mb  73% CP CS UN PA FC I:\SCM == S Mnt PT
  s:  /drv/s system  binmode
  /cygdrive/s $ uname -a
  CYGWIN_NT-4.0 WS011206 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown
  /cygdrive/s $ echo $CYGWIN ; cd /tmp
  binmode tty ntsec
  /tmp $ egrep 'adm_tsr|adm_ds' /etc/passwd|fold
  adm_ds:unused_by_nt/2000/xp:11061:11068:Dennis Schneider,U-SP.CG.JCI.COM\adm_ds,
  S-1-5-21-2133283647-1515675855-1238779560-1061:/user/build:/bin/bash
  adm_tsr:unused_by_nt/2000/xp:11487:11068:Tom Rodman,U-SP.CG.JCI.COM\adm_tsr,S-1-
  5-21-2133283647-1515675855-1238779560-1487:/user/adm_tsr:/bin/bash

  /tmp $ xcacls .
  c:\aut\cyg\tmp Everyone:F
 Everyone:(OI)(CI)(IO)F

  /tmp $ cd /cygdrive/s; xcacls .
  s:\ SP.CG.JCI.COM\ES_admin.gbl:(OI)(IO)F
  SP.CG.JCI.COM\ES_admin.gbl:(CI)F
  SP.CG.JCI.COM\ES_admin.lcl:(OI)(IO)F
  SP.CG.JCI.COM\ES_admin.lcl:(CI)F
  SP.CG.JCI.COM\ES_staff.gbl:(OI)(IO)F
  SP.CG.JCI.COM\ES_staff.gbl:(CI)F
  SP.CG.JCI.COM\ES_staff.lcl:(OI)(IO)F
  SP.CG.JCI.COM\ES_staff.lcl:(CI)F
  NT AUTHORITY\SYSTEM:(OI)(IO)F
  NT AUTHORITY\SYSTEM:(CI)F
  Everyone:(OI)(IO)(special access:)
   GENERIC_READ
   GENERIC_EXECUTE

  Everyone:(CI)R
  SP.CG.JCI.COM\build:(OI)(IO)(special access:)
  GENERIC_READ
  GENERIC_EXECUTE

  SP.CG.JCI.COM\build:(CI)R
  /cygdrive/s

}


--
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 creating apache service

2002-12-19 Thread Paul Cantalupo
Hello,

I am using cygwin 1.3.17 on Windows 2000 (SP3) and cygwin apache 1.3.24.
I read the Apache/Cygwin page, http://httpd.apache.org/docs/cygwin.html,
to figure how to run apache as a service. I used this command line:

cygrunsrv -I apache -p /usr/sbin/httpd.exe

The service is created just fine but then, under the apache service
properties, the Path to Executable contains
C:\cygwin\bin\cygrunsrv.exe. So naturally, when I click Start,
Apache doesn't start and I get an error message saying that the apache
service couldn't be started.

What gives here? The Path to Executable should be /usr/sbin/httpd.exe,
right?

Thanks,

Paul


--
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: problems creating apache service

2002-12-19 Thread [EMAIL PROTECTED]
Sorry, I don't have apache installed here but I think what you're 
seeing is a general mismapping between the parameters cygrunsrv takes
and what's reported in the services applet.  You'll see the same thing
with sshd or any other service you install with cygrunsrv.  It's nothing
to worry about and not the source of your problems.  You should review 
the information in the Apache readme for Cygwin and the Cygwin archives 
to help you track your problem further.

Larry

Original Message:
-
From: Paul Cantalupo [EMAIL PROTECTED]
Date: Thu, 19 Dec 2002 15:23:04 -0500
To: [EMAIL PROTECTED]
Subject: problems creating apache service


Hello,

I am using cygwin 1.3.17 on Windows 2000 (SP3) and cygwin apache 1.3.24.
I read the Apache/Cygwin page, http://httpd.apache.org/docs/cygwin.html,
to figure how to run apache as a service. I used this command line:

cygrunsrv -I apache -p /usr/sbin/httpd.exe

The service is created just fine but then, under the apache service
properties, the Path to Executable contains
C:\cygwin\bin\cygrunsrv.exe. So naturally, when I click Start,
Apache doesn't start and I get an error message saying that the apache
service couldn't be started.

What gives here? The Path to Executable should be /usr/sbin/httpd.exe,
right?

Thanks,

Paul


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



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/




Grep says file exists and then doesn't grep it

2002-12-19 Thread Mark Blackburn
If I type:
   $ grep -e hello -r .
I get:
   grep: .: File exists
and grep doesn't search the contents of any files

If I try compiling it myself from the setup source package (grep-2.5-1) 
this doesn't happen anymore. Grep behaves as expected. Has anybody else 
seen this behaviour?

uname -a
CYGWIN_98-4.10 MARK 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown

cygcheck -s:

Windows 98 Ver 4.10 Build 1998

[...]

d:\usr /opt  system  binmode
d:\home/home system  binmode
d: /dsystem  binmode
d:\work/home/worksystem  binmode
d:\home\windows\desktop/desktop  system  binmode
d:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
d:\cygwin  / system  binmode
d:\cygwin\bin  /usr/bin  system  binmode
d:\cygwin\lib  /usr/lib  system  binmode
.  /mnt  user
binmode,cygdrive

[yadda, yadda...]


--
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: NTSEC ntwrk drives?; chown/chmod/ls -l only wrkg on local drives

2002-12-19 Thread [EMAIL PROTECTED]
Sorry, I can't reproduce something similar here.  Perhaps if you
read http://www.cygwin.com/bugs.html it might help those on the list.  
Also, I'd direct you toward the User's Guide, specifically 
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html and the 
description of smbntsec.

Larry

Original Message:
-
From:  [EMAIL PROTECTED] (Tom Rodman)
Date: Thu, 19 Dec 2002 13:51:02 -0600
To: [EMAIL PROTECTED]
Subject: NTSEC  ntwrk drives?; chown/chmod/ls -l only wrkg on local
drives



chown,chmod and ls -l work just fine on local drives, but
not on network drives. 

My /tmp is on the local c drive,
and /cygdrive/s is a network drive on our NT4.0 SP6A PDC;
all commands below done on a NT6.0 SP6A workstatation in the 
same domain as the PDC.

  /tmp $ id -un
  adm_tsr
  /tmp $ groups
  ES_staff.gbl Administrators Domain Users ES_admin.gbl Users ccm_users.gbl
  /tmp $ for dir in /tmp /cygdrive/s ; do
   cd $dir ; rm -f foo; touch foo; chown adm_ds foo
   ls -l foo
   echo $(getowner foo) # see http://peter.verhas.com/progs/c/nt/owner/
   rm -f foo
   done
  -rw-rw-r--1 adm_ds   ES_staff0 Dec 19 13:35 foo
  adm_ds
  -rw-r--r--1 adm_tsr  ES_staff0 Dec 19 13:35 foo
  Administrators

For /cygdrive/s/foo, chown silently failed and ls -l foo
said adm_tsr owned foo when Administrators was the real owner.

What am I missing?  Is there a fix for this, or do I have an
incorrect config setting?  I have included more background info below.

--
thanks/regards,
Tom Rodman
perl -e 'print unpack(u, \.\=\$\!T\F\]D\;6\%N\+F\-O\;0H\`);'

--v-v--C-U-T---H-E-R-E-v-v--
(Were running NT4.0 SP6A)

background on my setup {

  /cygdrive/s $ cygcheck -sv|egrep '^s: ' # to show s is a network drive
  s:  net NTFS   64456Mb  73% CP CS UN PA FC I:\SCM == S Mnt PT
  s:  /drv/s system  binmode
  /cygdrive/s $ uname -a
  CYGWIN_NT-4.0 WS011206 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown
  /cygdrive/s $ echo $CYGWIN ; cd /tmp
  binmode tty ntsec
  /tmp $ egrep 'adm_tsr|adm_ds' /etc/passwd|fold
  adm_ds:unused_by_nt/2000/xp:11061:11068:Dennis
Schneider,U-SP.CG.JCI.COM\adm_ds,
  S-1-5-21-2133283647-1515675855-1238779560-1061:/user/build:/bin/bash
  adm_tsr:unused_by_nt/2000/xp:11487:11068:Tom
Rodman,U-SP.CG.JCI.COM\adm_tsr,S-1-
  5-21-2133283647-1515675855-1238779560-1487:/user/adm_tsr:/bin/bash

  /tmp $ xcacls .
  c:\aut\cyg\tmp Everyone:F
 Everyone:(OI)(CI)(IO)F

  /tmp $ cd /cygdrive/s; xcacls .
  s:\ SP.CG.JCI.COM\ES_admin.gbl:(OI)(IO)F
  SP.CG.JCI.COM\ES_admin.gbl:(CI)F
  SP.CG.JCI.COM\ES_admin.lcl:(OI)(IO)F
  SP.CG.JCI.COM\ES_admin.lcl:(CI)F
  SP.CG.JCI.COM\ES_staff.gbl:(OI)(IO)F
  SP.CG.JCI.COM\ES_staff.gbl:(CI)F
  SP.CG.JCI.COM\ES_staff.lcl:(OI)(IO)F
  SP.CG.JCI.COM\ES_staff.lcl:(CI)F
  NT AUTHORITY\SYSTEM:(OI)(IO)F
  NT AUTHORITY\SYSTEM:(CI)F
  Everyone:(OI)(IO)(special access:)
   GENERIC_READ
   GENERIC_EXECUTE

  Everyone:(CI)R
  SP.CG.JCI.COM\build:(OI)(IO)(special access:)
  GENERIC_READ
  GENERIC_EXECUTE

  SP.CG.JCI.COM\build:(CI)R
  /cygdrive/s

}


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



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/




Re: Cygrunsrv problem starting service created with --user

2002-12-19 Thread Michael Bourgon

--- Pierre A. Humblet pierre dot humblet at ieee
dot org wrote:

Did you give the Logon as service privilege, as per
the cygrunsrv README? 

I just checked, and it's had it the whole time.  Good
idea, though.

Any other suggestions, anyone?  Thanks.
Michael


__
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread [EMAIL PROTECTED]
Works fine here but I'm on W2K.  Does 'grep -r -e hello .' or
'grep -r hello .' work?

Larry

Original Message:
-
From: Mark Blackburn [EMAIL PROTECTED]
Date: Thu, 19 Dec 2002 16:21:28 -0500
To: [EMAIL PROTECTED]
Subject: Grep says file exists and then doesn't grep it


If I type:
$ grep -e hello -r .
I get:
grep: .: File exists
and grep doesn't search the contents of any files

If I try compiling it myself from the setup source package (grep-2.5-1) 
this doesn't happen anymore. Grep behaves as expected. Has anybody else 
seen this behaviour?

uname -a
CYGWIN_98-4.10 MARK 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown

cygcheck -s:

Windows 98 Ver 4.10 Build 1998

[...]

d:\usr /opt  system  binmode
d:\home/home system  binmode
d: /dsystem  binmode
d:\work/home/worksystem  binmode
d:\home\windows\desktop/desktop  system  binmode
d:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
d:\cygwin  / system  binmode
d:\cygwin\bin  /usr/bin  system  binmode
d:\cygwin\lib  /usr/lib  system  binmode
.  /mnt  user
binmode,cygdrive

[yadda, yadda...]


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



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/




Re: rxvt customization questions

2002-12-19 Thread Steve O
 I'd also like to show the current working directory in the title bar of a
 rxvt console but haven't got a clue, so how can I achieve that?

Setting PS1 to:
PS1=\[\e]0;\h:\w\007\]$ 

Gets you the host and dir in the title bar with a $ prompt.

 I'd like to play around with colors like YellowGreen, Ivory or RedOrange -
 is there any possibility of getting these values working somehow, maybe with
 special add-ons?

You should be able to use any color in rgb.txt, as well as specifying
the color as #rrggbb where rr is the red amount in hex, gg green, etc.

 Unfortunately, I can't find out each necessary entry that will give the
 scrollbar a personalized new look, some of the settings do not work for me as
 expected, for instance Rxvt*troughColor (no effect at all). 

The pre-built rxvt in Cygwin, is only configured with one type of
scrollbar enabled.  That might be the problem.  I never really messed
around too much with the others. 

-steve


--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Mark Blackburn
[EMAIL PROTECTED] wrote:


Works fine here but I'm on W2K.  Does 'grep -r -e hello .' or
'grep -r hello .' work?
 

No and No. Same result as before.
Maybe compiling on Win98 makes some sort of difference? I assume it was 
originally compiled on W2K.


--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Shankar Unni
Mark Blackburn wrote:

If I type:
   $ grep -e hello -r .
I get:
   grep: .: File exists
and grep doesn't search the contents of any files


Data point: doesn't happen with the stock grep 2.5-1 on 1.3.17-1 on 
WinXP Pro SP1 (everything's the same except the OS). Works fine here.




--
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 fetchmail and ping

2002-12-19 Thread David E. Bath
I had everything working well with my fetchmail setup. Then without
making any changes to the cygwin files or .fetchmailrc, fetchmail
started reporting:

POP3 connection to .*.com failed: Connection refused  no
matter which server I try to access.

Ping for the same address returns:

PING: transmit failed, error code 65.

Since there are no man pages for ping, I have no idea what the error
code means.

This is with WinXP on my desktop PC. I have the exact same setup on my
laptop PC, again with WinXP, and it works just fine. I suspect it's a
WinXP setup problem, but I don't know where to go from here to solve it.

Any ideas?







--
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: Problems with fetchmail and ping

2002-12-19 Thread Elfyn McBratney
Have you installed ICS or any firewall software? If so this will explain:

http://support.microsoft.com/default.aspx?scid=KB;en-us;q316414


Elfyn
[EMAIL PROTECTED]


--- David E. Bath [EMAIL PROTECTED] wrote:
I had everything working well with my fetchmail setup. Then without
making any changes to the cygwin files or .fetchmailrc, fetchmail
started reporting:

POP3 connection to .*.com failed: Connection refused  no
matter which server I try to access.

Ping for the same address returns:

PING: transmit failed, error code 65.

Since there are no man pages for ping, I have no idea what the error
code means.

This is with WinXP on my desktop PC. I have the exact same setup on my
laptop PC, again with WinXP, and it works just fine. I suspect it's a
WinXP setup problem, but I don't know where to go from here to solve it.

Any ideas?







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

_
www.smokeJet.com - Free UK Internet Services

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread [EMAIL PROTECTED]
Not likely.  I believe this package is provided by Chris Faylor.
If I'm right, I know he builds everything on Linux with a cross compiler.
But you could be right about this being a 9x issue.  Dunno.  Can't 
tell.

Larry

Original Message:
-
From: Mark Blackburn [EMAIL PROTECTED]
Date: Thu, 19 Dec 2002 16:52:28 -0500
To: [EMAIL PROTECTED]
Subject: Re: Grep says file exists and then doesn't grep it


[EMAIL PROTECTED] wrote:

Works fine here but I'm on W2K.  Does 'grep -r -e hello .' or
'grep -r hello .' work?
  

No and No. Same result as before.
Maybe compiling on Win98 makes some sort of difference? I assume it was 
originally compiled on W2K.


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



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/




RE: Problems with fetchmail and ping

2002-12-19 Thread [EMAIL PROTECTED]
# net helpmsg 65

Network access is denied.

Looks like you're having network problems of some kind.

Larry


Original Message:
-
From: David E. Bath [EMAIL PROTECTED]
Date: Thu, 19 Dec 2002 15:57:46 -0600
To: [EMAIL PROTECTED]
Subject: Problems with fetchmail and ping


I had everything working well with my fetchmail setup. Then without
making any changes to the cygwin files or .fetchmailrc, fetchmail
started reporting:

POP3 connection to .*.com failed: Connection refused  no
matter which server I try to access.

Ping for the same address returns:

PING: transmit failed, error code 65.

Since there are no man pages for ping, I have no idea what the error
code means.

This is with WinXP on my desktop PC. I have the exact same setup on my
laptop PC, again with WinXP, and it works just fine. I suspect it's a
WinXP setup problem, but I don't know where to go from here to solve it.

Any ideas?







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



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/




Re: Grep says file exists and then doesn't grep it

2002-12-19 Thread Randall R Schulz
Mark,

I cannot reproduce your problem, but perhaps it's an interaction with FAT 
file systems and Windows '98? I have Windows 2K Pro and only one FAT 
volume, but the command you gave works fine for me on both my NTFS and my 
FAT volumes. There's also the possibility of this being an issue with your 
CYGWIN environment variable including ntea. Do you have sharing enabled 
on the volume or folder in question? Is the target on an SMB share? If so, 
is it a Windows server? Samba? Something else?

The fact that re-compiling gives you a working version makes me ask if 
you're trying the same invocation (using the new binary) in the same 
directory as the failing attempt?

Have you done a CHKDSK /F (or whatever the Windows '98 equivalent is) lately?

Grasping at straws, I know...

Randall Schulz


At 13:52 2002-12-19, Mark Blackburn wrote:
[EMAIL PROTECTED] wrote:


Works fine here but I'm on W2K.  Does 'grep -r -e hello .' or 'grep -r 
hello .' work?


No and No. Same result as before.

Maybe compiling on Win98 makes some sort of difference? I assume it was 
originally compiled on W2K.


--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Christopher Faylor
On Thu, Dec 19, 2002 at 05:33:32PM -0500, [EMAIL PROTECTED] wrote:
Not likely.  I believe this package is provided by Chris Faylor.
If I'm right, I know he builds everything on Linux with a cross compiler.
But you could be right about this being a 9x issue.  Dunno.  Can't 
tell.

It could also be a not using the version of grep, you think you're
using problem.  There was some cygcheck output attached to the original
bug report but not the part that would have helped us understand that
particular part, i.e., http://cygwin.com/bugs.html .

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: which command fails

2002-12-19 Thread J S






On Thu, 19 Dec 2002, J S wrote:

 Sorry I posted this to the wrong group.
 
 Hi,
 
 Since I upgraded cygwin I can't use the which command. It keeps saying:
 
 $ which /usr/bin/ls
 /usr/bin/ls: Command not found.
 
 
 My path appears to be OK:
 
 $ echo $PATH
 
/usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/wmaker/bin:/cygdriv
 
e/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/ora8i/bin:/cygdrive
 /c/Program
 
Files/Oracle/jre/1.1.7/bin:/cygdrive/c/PROGRA~1/E!PC:/cygdrive/c/ACE/rdbms32/bin:/cygdriv
 e/c/Program Files/Attachmate/E!E2K/:/cygdrive/c/PROGRA~1/ULTRAE~1
 
 The which also looks OK, and is the same as the which in the old cygwin 
I
 had:
 
 $ which
 usage: which [-a] command...
 
 $ ls -l which
 -rwx--1 544  105134608 Nov 15  2001 which
 
 Any ideas what could be going wrong?
 
 JS.

Yes.  You have ntsec on (it's on by default starting from 1.3.13, IIRC),
and the files in your /bin have the wrong permissions.  Try

$ chmod -R a+rx /bin

and see if it solves the problem.  You might also want to update your
passwd and group files - search this list for instructions.
	Igor

Igor,

Thanks, that was it. I did chmod -R a+rx * and that fixed the Xfree problem 
I was having with 'failed to open input method' as well.
I didn't realise the permissions had changed in Cygwin now, looks like I'll 
have to go back to the documentation and read up on it again.

Thanks for your help.

JS.


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Pierre A. Humblet
At 04:21 PM 12/19/2002 -0500, Mark Blackburn wrote:
If I type:
$ grep -e hello -r .
I get:
grep: .: File exists

It's a problem on Win9x only, patch is on the way.
Thanks for the report.

Pierre


--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Randall R Schulz
Yo, Pierre! Buddy!

Information please! What was the problem?

Inquiring technominds want to know!

Randall Schulz


At 15:19 2002-12-19, Pierre A. Humblet wrote:

At 04:21 PM 12/19/2002 -0500, Mark Blackburn wrote:
If I type:
$ grep -e hello -r .
I get:
grep: .: File exists

It's a problem on Win9x only, patch is on the way.
Thanks for the report.

Pierre



--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Pierre A. Humblet
At 03:24 PM 12/19/2002 -0800, Randall R Schulz wrote:
Information please! What was the problem?

A stupid bug of mine, mixing up variable names, with 
non-deterministic results.
It's surprising that it took so long to emerge, but before
the buggy code was put in, grep -r didn't work at all on Win9X.

Pierre 

--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Randall R Schulz
Pierre,

Sorry...I didn't mean to embarrass you. I was hoping for something a little 
more juicy, I guess--it's been a slow soggy shut-in sort of day (and week) 
out here... Rain, rain and more rain. Then it rains.

Randall Schulz


At 15:39 2002-12-19, Pierre A. Humblet wrote:
At 03:24 PM 12/19/2002 -0800, Randall R Schulz wrote:
Information please! What was the problem?

A stupid bug of mine, mixing up variable names, with non-deterministic 
results.

It's surprising that it took so long to emerge, but before the buggy code 
was put in, grep -r didn't work at all on Win9X.

Pierre


--
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: SPAM - Re: How did I get it?

2002-12-19 Thread Jack Rose
I'd like to thank all who responded to my query. The cygwin1.dll was indeed
used maliciously. I dumped my McAfee and purchased Norton System Works 2003.
It took me a total of 3 days get my infected machine back up and running.
Most of the difficultly came from the fact that the worm and its
associated programs remapped a lot of the registry.

Norton identified 3 worms with the main culprit being Backdoor.SubSeven22.
Two of the exe's being used were wlhsnrbw.exe and avill.exe.

Again - many thanks!

Jack Rose

- Original Message -
From: Michael Schaap
To: Jack Rose
Cc: [EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 7:19 AM
Subject: SPAM - Re: How did I get it?


On 14-Dec-2002 10:11, Max Bowsher wrote:
 Jack Rose [EMAIL PROTECTED] wrote:


Could some tell me how the CYGWIN1.DLL ended up on my computer. It
seems to have just appeared at 3:09am yesterday and I know I wasn't
working at that time.

Could this have been uploaded to my machine for malicious purposes?
If so, what else should I be looking for, besides a better firewall
and virus detector?

Any information would be appreciated...


 Well, someone (apparently not you) installed Cygwin, or a program which
uses
 a cut down Cygwin install to function.


And this could indeed be a virus or worm.  There is at least one that
includes cygwin1.dll:

http://vil.mcafee.com/dispVirus.asp?virus_k=99529

I'd certainly check your PC carefully for viruses, if I were you.

  - Michael



--
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: Problems with fetchmail and ping

2002-12-19 Thread David E. Bath
It turned out to be a problem with ZoneAlarm as mentioned in the link. 
Funny thing, I hadn't run it since I got a router, but when I 
uninstalled it, it fixed the problem.

Thanks, Elfyn and everyone else!

Elfyn McBratney wrote:
Have you installed ICS or any firewall software? If so this will explain:

http://support.microsoft.com/default.aspx?scid=KB;en-us;q316414


Elfyn
[EMAIL PROTECTED]


--- David E. Bath [EMAIL PROTECTED] wrote:


I had everything working well with my fetchmail setup. Then without
making any changes to the cygwin files or .fetchmailrc, fetchmail
started reporting:

POP3 connection to .*.com failed: Connection refused  no
matter which server I try to access.

Ping for the same address returns:

PING: transmit failed, error code 65.

Since there are no man pages for ping, I have no idea what the error
code means.

This is with WinXP on my desktop PC. I have the exact same setup on my
laptop PC, again with WinXP, and it works just fine. I suspect it's a
WinXP setup problem, but I don't know where to go from here to solve it.

Any ideas?







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



_
www.smokeJet.com - Free UK Internet Services

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP  more! http://www.everyone.net/selectmail?campaign=tag





--
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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Christopher Faylor
On Thu, Dec 19, 2002 at 03:47:27PM -0800, Randall R Schulz wrote:
Sorry...I didn't mean to embarrass you.  I was hoping for something a
little more juicy, I guess--it's been a slow soggy shut-in sort of day
(and week) out here...  Rain, rain and more rain.  Then it rains.

For the record, I actually was in the process of checking this problem
when Pierre sent in the patch.  I was starting at the line of code that
he fixed and didn't see anything wrong with it.  :-( The variable mixup
that he spoke of is one that I make all of the time.  It's good to see
that I'm not alone.

And, it's wonderful to see people fixing bugs.  This bug really just
kept the status quo going for a couple of months.  However, 1.3.18 is
right around the corner.

The only thing that I don't understand is why rebuilding grep supposedly
worked.  I thought that maybe grep had a test for can I open
directories but it doesn't.

I'm almost tempted enough to think about rebuilding grep on windows 95 but...

Nah.

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: Grep says file exists and then doesn't grep it

2002-12-19 Thread Christopher Faylor
On Thu, Dec 19, 2002 at 08:37:02PM -0500, Christopher Faylor wrote:
On Thu, Dec 19, 2002 at 03:47:27PM -0800, Randall R Schulz wrote:
Sorry...I didn't mean to embarrass you.  I was hoping for something a
little more juicy, I guess--it's been a slow soggy shut-in sort of day
(and week) out here...  Rain, rain and more rain.  Then it rains.

For the record, I actually was in the process of checking this problem
when Pierre sent in the patch.  I was starting at the line of code that
   staring
he fixed and didn't see anything wrong with it.  :-( The variable mixup
that he spoke of is one that I make all of the time.  It's good to see
that I'm not alone.

I started at my email message and saw nothing wronb with it iether.

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 3.2 -mno-cygwin

2002-12-19 Thread Paul G.


 On Mon, Dec 16, 2002 at 09:07:57PM -0800, Paul G. wrote:
  Redirecting this, too. 
   
  On Sun, Dec 15, 2002 at 03:18:00PM -0800, Paul G. wrote: 
  Well, if your Win32 system doesn't support links (NT4 shortcuts), this 
  isn't really surprising. 
   
  Did you actually read this email or were you just scanning for keywords 
  like the word link? 
 
 Heh, nice bait...but I won't bite...seems like you're not in a good
 mood right now...
 
 Funny how your email does that to me.
 
 To recap and elucidate:
 
 1) This is not a shortcut problem.  If it was the mailing list would be
 flooded with complaints.
 
 2) setup.exe produces old-style cygwin shortcuts.
 
 3) The user is allowed to assume that -mno-cygwin works fine.  It should
 be working much better in gcc 3.2 than it ever has before.
 
 4) You offered faulty advice when you the correct advice was to install
 the gcc-mingw package.  Please don't go on the you know that, I know that
 riff when you never even suggested that.

What would have been the point to repeat something that was already known by 
you, at 
the very least?  What was it I heard about me toos?  Perhaps it is that there is 
more value 
for some to pointing out falings of others rather than solutions for everyone...?

 
 5) Please do not suggest using other packages as a way to solve cygwin
 problems.

Fair enough, for as long as -mno-cygwin switch, or use thereof, is not being 
deprecated...if, however, -mno-cygwin is being deprecated or the use thereof is being 
officially deprecated, then what's the point in talking about it in the first place?

 
 6) workaround: A temporary kluge used to bypass, mask or otherwise avoid
 a bug or misfeature in some system.

I know how you hate it when people tell you they know something and you think 
they do 
not...even so, I have to say it again...you know that and I know that (that, in this 
case being 
the definition of a workaround).

 When something is not working you can't claim a workaround.

Do I need to say duh?  Or would it be better to say, You know that and I 
know that, 
therefore it is not an issue here and in fact we do agree even if you may prefer to 
believe 
that I do not know or agree with you that when something is _not_ working you _can't_ 
claim (it as) a (valid) workaround?

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/




Re: Gcc 3.2 -mno-cygwin

2002-12-19 Thread Christopher Faylor
On Thu, Dec 19, 2002 at 08:17:48PM -0800, Paul G. wrote:
...for as long as -mno-cygwin switch, or use thereof, is not being
deprecated...if, however, -mno-cygwin is being deprecated or the use
thereof is being officially deprecated, then what's the point in
talking about it in the first place?

-mno-cygwin is not deprecated.  It has never been deprecated and it is
not going to be deprecated.

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: Problems with fetchmail and ping

2002-12-19 Thread Igor Pechtchanski
Sorry for the off-topic post, but I just want to mention that some
firewall programs replace the standard networking DLLs with their own,
thus creating problems even if they are not run.  Just my 2c.
Igor

On Thu, 19 Dec 2002, David E. Bath wrote:

 It turned out to be a problem with ZoneAlarm as mentioned in the link.
 Funny thing, I hadn't run it since I got a router, but when I
 uninstalled it, it fixed the problem.

 Thanks, Elfyn and everyone else!

 Elfyn McBratney wrote:
  Have you installed ICS or any firewall software? If so this will explain:
 
  http://support.microsoft.com/default.aspx?scid=KB;en-us;q316414
 
 
  Elfyn
  [EMAIL PROTECTED]
 
 
  --- David E. Bath [EMAIL PROTECTED] wrote:
 
 I had everything working well with my fetchmail setup. Then without
 making any changes to the cygwin files or .fetchmailrc, fetchmail
 started reporting:
 
 POP3 connection to .*.com failed: Connection refused  no
 matter which server I try to access.
 
 Ping for the same address returns:
 
 PING: transmit failed, error code 65.
 
 Since there are no man pages for ping, I have no idea what the error
 code means.
 
 This is with WinXP on my desktop PC. I have the exact same setup on my
 laptop PC, again with WinXP, and it works just fine. I suspect it's a
 WinXP setup problem, but I don't know where to go from here to solve it.
 
 Any ideas?

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

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
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: Apache + PHP

2002-12-19 Thread Elfyn McBratney
Check you have all of the required dll's:

$ cygcheck $(cygpath -w /lib/apache/libphp4.dll)

The above outputs a windows path list containing the dll's required by libphp4. 
Concentrate on the ones in your cygwin root directory.

If you have all of your required dll's then your next step should be rebasing your 
dll's:

http://sources.redhat.com/ml/cygwin/2002-11/msg00798.html
http://sources.redhat.com/ml/cygwin/2002-10/msg01836.html
http://sources.redhat.com/ml/cygwin/2002-10/msg01018.html

This has come up contless times in the mailing list archives, so try and check there 
first before posting (http://cygwin.com/ml/cygwin/).

I'm feeling kinda tired, have I missed anything? :|

Elfyn
[EMAIL PROTECTED]


--- Stuardo Rodriguez [EMAIL PROTECTED] wrote:
When i downloaded the mod_php and installed it..   apache sotped working

any1 else with that problem?

any1 with apache + php working?  pls send me the libphp4.dll   thanks

---
StR [EMAIL PROTECTED]
-[http://strgt.cjb.net]

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

_
www.smokeJet.com - Free UK Internet Services

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

--
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 3.2 -mno-cygwin

2002-12-19 Thread Paul G.
Thank you.

 On Thu, Dec 19, 2002 at 08:17:48PM -0800, Paul G. wrote:
 ...for as long as -mno-cygwin switch, or use thereof, is not being
 deprecated...if, however, -mno-cygwin is being deprecated or the use
 thereof is being officially deprecated, then what's the point in
 talking about it in the first place?
 
 -mno-cygwin is not deprecated.  It has never been deprecated and it is
 not going to be deprecated.
 
 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/
 



--
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: Apache + PHP

2002-12-19 Thread S . L .
[...]
 If you have all of your required dll's then your next step should be
 rebasing your dll's:
[...]

I could say that rebasing never worked here 100 %. For the 1.3.17-1 cygwin
and 1.3.24-5 apache  co. versions, I couldn't get a clean working
server on w9x (okok, I know, NT is the recommended platform :). For those
versions, although the server was starting and serving, there was an Error
message box that popped-up for every forked thread. Annoying.

A good solution (that works quasi-OTB now :), is to use the old style
monolithic shared core httpd dll library, that contains all modules -- i.e.
preparing external modules using --with-apache= option. My libhttpd.dll in this
case has 1.7 M (mod_proxy, mod_rewrite, mod_ssl and mod_php included).

SLao

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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




Fetchmail or some other interface to MS Exchange ?

2002-12-19 Thread Dieter Meinert
-BEGIN PGP SIGNED MESSAGE-

Hi all,
since I'm required to use a win box now, I need some
interface outside 
outlook to the exchange server (sorry, no other protocols
like pop or imap 
currently) Is there anything available and any experience
out there ?

(I want to fetch the mail from the server automagically, 
filter it with my own programs and then put it to local
outlook AND a standard
unix mailbox, if possible.

Seasons greetings   
Dieter
 


***
 * Dr. Dieter Meinert  
   *
 * c/o H. Rosen Engineering GmbHPhone +49-591-9136-493 
   *
 * Am Seitenkanal 8 Fax +49-591-9136-121   
   *
 * D-49811 Lingen (Ems) Email
[EMAIL PROTECTED] *
 * Germany 
   *


***

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQEVAwUBPgK/VrYBkYAdGmPFAQHwPQgAmqc8hRCJ5GF5Ow0HkCeWdQLGrJTHKNza
hicmybapqWXxFw1RQMKEn0JudK+kCU5hr+WUKCpAenmE41gipuwTgtx0PdsKPW8v
whfnfL8VjYALe0xbqmSs3pArbIcWH+TWaFgOKCdFhsemmq/tj7e9Rl/kcbElgIox
88v0OvBtt2iPBdBR3D2XL8hXvNrQraltKOtxmjfhVMLQyhfd3YJbPB2hGw5an34o
zl0NidzmOrqDyWexSm0P5k0xcmU4WqZ+1/Ac8pBXI9Drio9vzgnzTIZnvZfk/oha
jiPth9fTgK6X36xCfIlui89kqc7+2H2WMTVp1Iw94h365ah2+hmkyA==
=V1Yz
-END PGP SIGNATURE-


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