RE: davtool with cygwin

2003-09-11 Thread Jörg Schaible
Hi prefab,

pre fab wrote on Wednesday, September 10, 2003 9:33 PM:
> I have read your post in the cygwin list. I am mailing
> to you because I am trying to compile davtool-0.1.0 with cygwin.
> 
> The compilation actually succeeds but I cannot use the
> tool in cygwin or windows. The tool seems to ignore
> any switches after the URL. so if I use -m PROPFIND it
> will issue a warning saying that no method has been
> specified and it will revert to the default.
> Authentication is also ignored resulting in a 403
> status.
> 
> I was wondering if you successfully compiled it? If
> you prefer I will post to the cygwin list (davtool
> does not have any up yet). Thanks.

Yes, I prefer the cygwin list for follow-ups.

Unfortunatley I had the same result. I was able to compile it out of the box, but it 
ignores any parameter. I have not investigated further. You might have a look at 
cadaver. This compiles also OOTB, but needs the mod_dav of apache2. For me it refuses 
the connection, since we still have an apache1 running.

Regards,
Jörg

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



Re: System call which gets CPU utilized capacity

2003-09-11 Thread Cliff Hones
Alex Vinokur wrote
> "Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > On Wed, 10 Sep 2003, Alex Vinokur wrote:
> >
> > > Is there in CYGWIN any system call which gets CPU utilized capacity at
> > > the present moment?
> >
> [snip]
> > I assume the call is the same as in any other Unix system, since "top"
> > worked for me with almost no porting about a year ago.  You might want
to
> > take a look at the sources for the "procps" package.
> > Igor
> [snip]
>
> But "top" and "ps" are the UNIX (CYGWIN) command line utilities.
> We can't use them in C-program unless with system().
>  I mean platform-specific system call (as the popen() system call) which
> can be directly used in C-program.

Igor is saying that since 'top' can find the CPU capacity, you just need to
look at the source of top (in procps) to find out how to do it.

-- Cliff


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



Re: Unable to debug perl 5.8.0 program

2003-09-11 Thread Gerrit P. Haase
Hello Andrew,

Thursday, September 4, 2003, 10:57:02 PM, you wrote:

AD> Recently I started receiving the following error when trying to user 
AD> perl -d. It only seems to happen with some perl scripts and not other, 
AD> more simple perl scripts:

AD> $ perl -d CheckinPreop.pl

AD> Loading DB routines from perl5db.pl version 1.19
AD> Editor support available.

AD> Enter h or `h h' for help, or `man perldebug' for more help.

AD> main::(CheckinPreop.pl:42): my $site;
AD> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The 
AD> COLUMNS and LINES environment variables didn't work. The resize program 
AD> didn't work. at 
AD> /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/Term/ReadKey.pm line 343.
AD> Compilation failed in require at 
AD> /usr/lib/perl5/site_perl/5.8.0/Term/ReadLine/Perl.pm line 58.

AD> 
Term::ReadLine::Perl::new('Term::ReadLine','perldb','GLOB(0x10164648)','GLOB(0x1014a8e8)')
AD> called at /usr/lib/perl5/5.8.0/perl5db.pl line 2225
AD> DB::setterm called at /usr/lib/perl5/5.8.0/perl5db.pl line 773
AD> DB::DB called at CheckinPreop.pl line 42
AD> cqc::CODE(0x10279bdc)(//sons-clearcase/Views/official/Tools/lib/cqc.pm:101):
AD> 101:Disconnect;
AD>   DB<1> q
AD> $ echo -e "Lines: $LINES\nColumns: $COLUMNS"
AD> Lines: 24
AD> Columns: 80

AD> This happens in an rxvt window as well as a Windows console window.

>From your cygcheck:
perl5.8.0-3

Please try to upgrade to 5.8.0-5 at first.  There are good chances that the
binmode bug fixed in 5.8.0-5 resolves this problem.


-- 
Best regards,
 Gerritmailto:[EMAIL PROTECTED]


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



Re: symlink extension shown using 1.5.3

2003-09-11 Thread Corinna Vinschen
On Wed, Sep 10, 2003 at 02:30:32PM +0200, [EMAIL PROTECTED] wrote:
> > What type are the remote shares, Samba or Windows?
> How can I tell?

OS of remote machine?

> > Please send an strace of `ls -l '.
> ...is attached

Thanks.  I could reproduce this on a SAMBA share.  I guess this will
be fixed in the next Cygwin release.

Corinna

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

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



Cygwin on external drive?

2003-09-11 Thread Zeilhofer, Peter
Servus to all,
I moved a complete perfectly working Cygwin-configuration with Apache and SSL from 
C:\cygwin to F.\cygwin an external 40GB disk drive (connected via USB) and tried to 
get it running, but it will not work. I must say that I have expected problems. Should 
this be possible after a straight installation on an external drive from the beginning?
I think I found a hint in some faq that installation on C:\cygwin is not mandatory. 
Thanks in advance :-) 
with greetings from germany

Peter Zeilhofer
EP LP COM 5
Fujitsu Siemens Computers
Mch-P, 46-732

Tel:   (089) 636-47520
Fax:  (089) 636-47655
Mail:  [EMAIL PROTECTED]



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



Re: Cygwin on external drive?

2003-09-11 Thread Corinna Vinschen
On Thu, Sep 11, 2003 at 11:32:06AM +0200, Zeilhofer, Peter wrote:
> Servus to all,
> I moved a complete perfectly working Cygwin-configuration with Apache and SSL from 
> C:\cygwin to F.\cygwin an external 40GB disk drive (connected via USB) and tried to 
> get it running, but it will not work. I must say that I have expected problems. 
> Should this be possible after a straight installation on an external drive from the 
> beginning?

You must change your mount points to use the new Windows paths instead of
the old ones.  Use mount and umount.  Perhaps you have to cd into the
new bin directory first and call ./mount instead of just mount.

Corinna

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

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



Re: symlink extension shown using 1.5.3

2003-09-11 Thread stmoebius
> On Wed, Sep 10, 2003 at 02:30:32PM +0200, [EMAIL PROTECTED] wrote:
> > > What type are the remote shares, Samba or Windows?
> > How can I tell?
> 
> OS of remote machine?
Win2k (stated in the very first mail - therefore my confusion ;-)

-- 
=
Stefan Moebius   <[EMAIL PROTECTED]> 
  Wittenberger Str. 71+49 351 8473953
  01309 Dresden   +49 172 8739617


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



Re: Find: missing alphabetically last - more FAITH to tell about

2003-09-11 Thread Ralph Ulrich

The tree of the alphabetically last directory will
not be listed by find on my W2k sp3 Computer.

This should be fixed in tonight's snapshot.
This such fundamental bug is astonishing:
How many tools sitting upon correct work of find!
... And no one has told about here for so long?
Over a year ago in "de.alt.comp.cygwin+co"
i wanted to discuss this bug. But no one respondet.
Thinking me was the only one, i built my own updatedb
like "cmd /c dir /S/B/A C:|sed -e's#\(.\):#/\1#'|tr \\ /"
... need to have more FAITH to tell about in this place!

Ralph







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


Minor bug in splint manpage

2003-09-11 Thread Ronald Landheer-Cieslak
In the author section, both the E-mail address and the homepage URL are 
missing, which renders:

AUTHOR
   If you need to get in contact with the authors send email to

   or visit

JTYMLTK

rlc

-- 
Awright, which one of you hid my PENIS ENVY?

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



Rexecd as win service

2003-09-11 Thread Stefano Colombo
I'm trying to setup a Win2K server to execute some cygwin services (
rexecd ) as win2K service.
I tried some researches on the NG and FAQ but found no help .

Is there an How-to guide to do that ?
Thanks


Stefano Colombo
CDM Tecnoconsulting SPA
v M.L. King 38/2 
40132 - Bologna
Italy
email [EMAIL PROTECTED]





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



Re: ncurses line drawing characters terminfo problem?

2003-09-11 Thread Andrew B. Clegg
On Wed, 10 Sep 2003, Charles Wilson wrote:

> >>Try adding "codepage:oem" to your CYGWIN environment variable.  See
> >> for details.  This
> >>setting is effective for each individual process, so you can set it in the
> >>shell just before you run the tests.
> > 
> > That works for console windows but not for rxvt, strangely -- it's a start
> > though, thanks.
> 
> Now, set TERM=rxvt-cygwin-native  (for "windows-mode" rxvt) or 
> TERM=rxvt-cygwin   (for "X11" rxvt).

No joy :(

Still looks the same (accented chars rather than line art) with
TERM=rxvt-cygwin-native regardless of whether I have codepage:oem set or
not.

Are there any config files I could attach that would help debug this? I
haven't, AFAIK, messed with my terminfo at all.

Cheers,

Andrew.
--
-= email address changed monthly as anti-spam precaution =-
 use :currentmonth: :currentyear: at nervechannel dot nildram dot co dot uk
 e.g. [EMAIL PROTECTED]
 or 'operon' at same address for permanent records


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



RE: Rexecd as win service

2003-09-11 Thread Vince Hoffman
rexecd runs from inetd.
install inetutils and read /usr/share/doc/Cygwin/inetutils-1.3.2.README for
details in inetd as a service.

> -Original Message-
> From: Stefano Colombo [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2003 1:15 PM
> To: [EMAIL PROTECTED]
> Subject: Rexecd as win service
> 
> 
> I'm trying to setup a Win2K server to execute some cygwin services (
> rexecd ) as win2K service.
> I tried some researches on the NG and FAQ but found no help .
> 
> Is there an How-to guide to do that ?
> Thanks
> 
> 
> Stefano Colombo
> CDM Tecnoconsulting SPA
> v M.L. King 38/2 
> 40132 - Bologna
> Italy
> email [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 

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



RE: Find: missing alphabetically last dirtree

2003-09-11 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Hannu E K Nevalainen (garbage mail)

> >   "cygwin1.dll" v0.0 ts=2003/9/8 6:40
> > DLL identifier: cygwin1  
> > Shared id: cygwin1S3
>
>
> Hrm? Seems I were too eager on this?
> I'll check again tomorrow.


cmd.exe:
C:\Program\Cygwin\home\Hannu>dir /s /b /a-d P: >MSDN1.dir
bash:
$ cygcheck -svr >c_svr-snap.txt
$ grep -i cygwin1 c_svr-snap.txt
  945k 2003/09/01 C:\Program\cygwin\bin\cygwin1-STD.dll - os=4.0 img=1.0
sys=4.0
  "cygwin1.dll" v0.0 ts=2003/9/1 19:15
  948k 2003/09/11 C:\Program\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
  "cygwin1.dll" v0.0 ts=2003/9/11 5:01
DLL identifier: cygwin1
Shared id: cygwin1S3
$ find /cygdrive/p -type f >MSDN1
$ wc -l MSDN1
   1358 MSDN1
$ wc -l MSDN1.dir
   7915 MSDN1.dir

Looks as an improvement, but not yet all the way to "the holy graal".

$ cat MSDN1 | ( read line; while [ ! -z "$line" ]; \
do cygpath -w "$line"; read line; done) >MSDN1.find-w
$ sort MSDN1.dir >MSDN1.sort-dir
[EMAIL PROTECTED] ~ bash (P)PID=(2000)2332, s=0
$ sort MSDN1.find-w >MSDN1.sort
$ diff -up MSDN1.sort MSDN1.sort-dir >MSDN1.diff-up
$ wc -l MSDN1.diff-up
   9276 MSDN1.diff-up
$ command ls -ln /cygdrive/p/
total 16450
dr-xr-xr-x2 500  513 0 Nov 21  2002 IE60
-r-xr-xr-x1 500  513   1707856 Oct 15  2001 InstMSIA.exe
-r-xr-xr-x1 500  513   1821008 Sep 24  2001 InstMSIW.exe
dr-xr-xr-x2 500  513 0 Nov 21  2002 NT4SP
dr-xr-xr-x4 500  513 0 Nov 21  2002 Program Files
dr-xr-xr-x4 500  513 0 Nov 21  2002 Samples
-r-xr-xr-x1 500  513 45126 Sep 28  2002 autorun.exe
-r--r--r--1 500  51329 Oct 17  2001 autorun.inf
-r--r--r--1 500  513  13181440 Nov 21  2002 msdn.msi
-r--r--r--1 500  513  3584 Mar  1  2002 msdnadvt.mst
-r--r--r--1 500  513 23245 Nov 16  2002 readme.htm
-r-xr-xr-x1 500  513 57409 May 10  2002 setup.exe

After having examined the output of...

$ diff -y MSDN1.sort MSDN1.sort-dir | d2u | less

..I can see that the "Samples" dir is till not there.
Before the 2003-09-11-snapshot the "Program Files" also was excluded.

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


   ! Sweden's Minister for Foreign Affairs
 --+--   Anna Lindh, 1957 - Sep 11, 2003 at 05:49
   !
   ! Stabbed at a shopping center in Stockholm,
   ! in the evening of Sep 10, 2003


 -> http://svt.se - Swedish public service TV

--END OF MESSAGE--


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



RE: Diff information

2003-09-11 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Editor of PoliSource


> >man diff
>
> Thanks. I think I used that a long time ago, but I rarely use the command
> line so I forgot. Unfortunately, it doesn't work at my command
> line for some
> reason, but I found other sources for the manpages by searching Google. I
> also stumbled across information on the help command (diff --help), which
> does work at my command line.

General help in bash, for installed (cygwin/Linux/GNU) commands:

$ help 
$ info 
$ man 

Replace  with anything that is suitable. Google for "beginner
+bash +prompt" or some such for more info.

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


   ! Sweden's Minister for Foreign Affairs
 --+--   Anna Lindh, 1957 - Sep 11, 2003 at 05:49
   !
   ! Stabbed at a shopping center in Stockholm,
   ! in the evening of Sep 10, 2003


 -> http://svt.se - Swedish public service TV

--END OF MESSAGE--


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



RE: Find: missing alphabetically last dirtree

2003-09-11 Thread Hannu E K Nevalainen \(garbage mail\)
The quest continues...

C:\...\>dir P: /Ad /s /b >MSDN1_dirs.dir
$ find /cygdrive/p -type d >MSDN1_dirs
$ wc -l MSDN1_dirs MSDN1_dirs.dir
 60 MSDN1_dirs
863 MSDN1_dirs.dir
923 total
$ cat MSDN1_dirs | ( read line; while [ ! -z "$line" ]; \
do cygpath -w "$line"; read line; done) >MSDN1_dirs-w
$ d2u MSDN1_dirs-ws MSDN1_dirs.sdir
MSDN1_dirs-ws: done.
MSDN1_dirs.sdir: done.
$ wc -l MSDN1_dirs-ws MSDN1_dirs.sdir
 59 MSDN1_dirs-ws
863 MSDN1_dirs.sdir
922 total
$ diff -iup MSDN1_dirs-ws MSDN1_dirs.sdir | wc -l
810
$ diff -iup MSDN1_dirs-ws MSDN1_dirs.sdir | head
--- MSDN1_dirs-ws   2003-09-11 15:29:34.0 +0200
+++ MSDN1_dirs.sdir 2003-09-11 15:29:52.0 +0200
@@ -57,3 +57,807 @@ p:\Program Files\Microsoft Visual Studio
 p:\Program Files\Microsoft Visual Studio .NET\Common7
 p:\Program Files\Microsoft Visual Studio .NET\Common7\IDE
 p:\Samples
+P:\Samples\VC
+P:\Samples\VCSharp
+P:\Samples\VCSharp\General
+P:\Samples\VCSharp\General\CSharpAutomatingOffice
--

As you can see "p:\Samples" (a directory) is included in the output of diff,
but diff doesn't examine the CONTENTS of "P:\Samples".


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

   ! Sweden's Minister for Foreign Affairs
 --+--   Anna Lindh, Jun 19, 1957 - Sep 11, 2003 at 05:49 (CET)
   !
   !
   !

 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--


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



RE: Diff information

2003-09-11 Thread guenter strubinsky
Most if not all text files in cygwin and Linux/Unix are -not surprisingly-
in the unix/linux text format which means that as opposed to windooze a line
is terminated with a single LF, apple uses a single CR and win uses CR/LF.
Notepad does not understand the unix format and shows all text on one line.

Use vim aka vi or wordpad or one of the excellent open source programmers-
editors like JEdit ( sourceforge.net/projects/jedit/ ) and you will be able
to decipher the textiles.

guenter

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Editor of PoliSource
> Sent: Wednesday, 10 September, 2003 23:50
> To: [EMAIL PROTECTED]
> Subject: Diff information
> 
> I was looking for instructions on how to use the diff tools that come with
> cygwin, but all I could find is a short description of diffutils during
> setup, and a "ldesc" in the file setup.ini, but setup.ini opened in
> Notepad,
> which doesn't seem like the correct program for easy reading of that file.
> Could someone tell me how to properly view the data, including the long
> descriptions, in setup.ini, or point me to a tutorial on using the diff
> tools in cygwin?
> 
> Thanks,
> Barry
> 
> _
> Try MSN Messenger 6.0 with integrated webcam functionality!
> http://www.msnmessenger-download.com/tracking/reach_webcam
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/


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



cygwin bash 2.05b patches and "rebash" a debugger for bash (http://bashdb.sourceforge.net)

2003-09-11 Thread R. Bernstein
I've been working on a modified version of bash 2.05b which has better
support for error reporting and debugging (it also has a timestamped
history). It also has a somewhat complete debugger modeled off of gdb
using the additional support. See http://bashdb.sourceforge.net for info.

I've noticed that the sources to bash 2.05b (say in
ftp://ftp.gnu.org/pub/gnu/bash) don't compile for cygwin without some
modification. I'd like to get the cygwin patches that should be
applied to 2.05b (i.e. don't mess up other architectures) into the
rebash/bashdb package. 

Thoughts and suggestions?


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



Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Jason Tishler
Olivier,

Please keep your replies on-list.

On Wed, Sep 10, 2003 at 10:57:16PM +0200, Olivier Lefevre wrote:
> Thanks for replying.

You are welcome.

> > Please post instead of sending private email.
> 
> The volume on Cygwin lists is huge and there isn't even a list devoted
> to packages.

OK, next time I'll copy the Python list instead. :,)

Note that private email requests for help do not scale, but mailing list
posts do.

> > What is your PYTHONSTARTUP set to?  
> 
> "/startup.py"

What does the following indicate?

$ ls -l /startup.py

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



Re: ncurses line drawing characters terminfo problem?

2003-09-11 Thread Igor Pechtchanski
On Thu, 11 Sep 2003, Andrew B. Clegg wrote:

> On Wed, 10 Sep 2003, Charles Wilson wrote:
>
> > >>Try adding "codepage:oem" to your CYGWIN environment variable.  See
> > >> for details.  This
> > >>setting is effective for each individual process, so you can set it in the
> > >>shell just before you run the tests.
> > >
> > > That works for console windows but not for rxvt, strangely -- it's a start
> > > though, thanks.
> >
> > Now, set TERM=rxvt-cygwin-native  (for "windows-mode" rxvt) or
> > TERM=rxvt-cygwin   (for "X11" rxvt).
>
> No joy :(
>
> Still looks the same (accented chars rather than line art) with
> TERM=rxvt-cygwin-native regardless of whether I have codepage:oem set or
> not.
>
> Are there any config files I could attach that would help debug this? I
> haven't, AFAIK, messed with my terminfo at all.
>
> Cheers,
> Andrew.

Andrew,

You also have to make sure the font you set up rxvt with actually has
those characters...  Unfortunately, as I don't normally use rxvt, I'm not
the best person to tell you which fonts to use.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Re: ncurses line drawing characters terminfo problem?

2003-09-11 Thread Andrew B. Clegg
On Thu, 11 Sep 2003, Igor Pechtchanski wrote:

> > Still looks the same (accented chars rather than line art) with
> > TERM=rxvt-cygwin-native regardless of whether I have codepage:oem set or
> > not.
> 
> those characters...  Unfortunately, as I don't normally use rxvt, I'm not
> the best person to tell you which fonts to use.

Lucida Console in both Win console and rxvt...

Andrew.
--
-= email address changed monthly as anti-spam precaution =-
 use :currentmonth: :currentyear: at nervechannel dot nildram dot co dot uk
 e.g. [EMAIL PROTECTED]
 or 'operon' at same address for permanent records


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



Can't start network utilities in cygwin with WinGate client

2003-09-11 Thread Shahid Manzoor
Hi,

I have installed WinGate client on my windows2000 machine and all
applications like ssh, scp, startx using TCP/IP does not work in cygwin.
If i disable WinGate client then these works.

Please tell me how can I solve this problem

Shahid Manzoor



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



Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Olivier Lefevre
bash-2.05b$ ls -ls `echo $PYTHONSTARTUP`
1.0k -rw-rw-rw-1 Administ None   22 Sep 11 16:34
/c/cygwin/startup.py

I know it isn't read because it contains the line 'from sets import
Set' but

bash-2.05b$ python
Python 2.3 (#1, Aug  1 2003, 15:01:23)
[GCC 3.2 20020927 (prerelease)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> Set()
Traceback (most recent call last):
  File "", line 1, in ?
NameError: name 'Set' is not defined

yet the sets module can be found:

>>> from sets import Set
>>> Set()
Set([])
>>>

So at this point I am really mystified. 

-- O.L.


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



Re: Problems with accented characters in Cygwin

2003-09-11 Thread Igor Pechtchanski
Since this referred to my replies, I should mention that newer versions of
Cygwin should allow pasting accented characters (sans the accents) to
console windows.
Igor

On Thu, 11 Sep 2003, Frédéric L. W. Meunier wrote:

> I suggest you use rxvt since the Cygwin "terminal" appers to be
> broken for that. I don't know if it ever worked, but it never
> did since I started with 1.3.10. I now use 1.5.3. I reported
> it. See
>
> http://sources.redhat.com/ml/cygwin/2003-01/msg00048.html
>
> and follow
> http://sources.redhat.com/ml/cygwin/2003-02/msg02230.html
>
> , mainly Igor's replies:
>
> http://sources.redhat.com/ml/cygwin/2003-02/msg02301.html
> http://sources.redhat.com/ml/cygwin/2003-02/msg02324.html
>
> On Wed, 10 Sep 2003, Lukasz Kosewski wrote:
>
> > The characters DISPLAY fine, when I am doing ls on a folder
> > with accents and umlauts, everything displays fine.  With tab
> > completion, I can complete the accented names.  But I cannot
> > TYPE them.  No matter what key combinations I try, I cannot
> > find any way to TYPE the special characters at the prompt.
> > I cannot paste characters from notepad/mozilla into the
> > window either, nothing happens when I try.

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

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Re: Can't start network utilities in cygwin with WinGate client

2003-09-11 Thread Larry Hall
At 10:28 AM 9/11/2003, Shahid Manzoor you wrote:
>Hi,
>
>I have installed WinGate client on my windows2000 machine and all
>applications like ssh, scp, startx using TCP/IP does not work in cygwin.
>If i disable WinGate client then these works.
>
>Please tell me how can I solve this problem
>
>Shahid Manzoor


Sounds like you haven't configured WinGate to open the TCP/UDP needed to 
run.  ssh is TCP port 22.  I'm guessing this handles scp too.  No clue 
what the issue is with startx.  You can check the xfree list about that 
if it's truly something Cygwin/X related.  Best bet is to check the docs
first though.


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


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



RE: Rexecd as win service

2003-09-11 Thread Stefano Colombo
Thanks for the reply .
I really hope not to bother but I have another question.
Now the inetd service start as windows service. I've edited the
inet.conf to enable only the rexec daemon.
In the host.allow I added the following line 
Rexecd: remote_pc

Tried to run the following command from the rempote PC 
Remsh server ls
But got a conenction refused error .

Can you point me to what is wrong ?
Thanks



-Original Message-
From: Vince Hoffman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2003 2:19 PM
To: 'Stefano Colombo'; [EMAIL PROTECTED]
Subject: RE: Rexecd as win service


rexecd runs from inetd.
install inetutils and read /usr/share/doc/Cygwin/inetutils-1.3.2.README
for details in inetd as a service.

> -Original Message-
> From: Stefano Colombo [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2003 1:15 PM
> To: [EMAIL PROTECTED]
> Subject: Rexecd as win service
> 
> 
> I'm trying to setup a Win2K server to execute some cygwin services ( 
> rexecd ) as win2K service. I tried some researches on the NG and FAQ 
> but found no help .
> 
> Is there an How-to guide to do that ?
> Thanks
> 
> 
> Stefano Colombo
> CDM Tecnoconsulting SPA
> v M.L. King 38/2
> 40132 - Bologna
> Italy
> email [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 



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



Re: Find: missing alphabetically last - more FAITH to tell about

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 02:06:46PM +0200, Ralph Ulrich wrote:
>>>The tree of the alphabetically last directory will not be listed by
>>>find on my W2k sp3 Computer.
>
>>This should be fixed in tonight's snapshot.
>
>This such fundamental bug is astonishing: How many tools sitting upon
>correct work of find! ...  And no one has told about here for so long?

No one had the inclination to check it out, actually.  I was bored
yesterday, and I'd just been working in the particular part of the code
that was broken, so I looked into it.

>Over a year ago in "de.alt.comp.cygwin+co" i wanted to discuss this
>bug.  But no one respondet.

That's sort of how free software works.  Sometimes it's hit or miss.

cgf

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



Re: Can't start network utilities in cygwin with WinGate client

2003-09-11 Thread Shahid Manzoor
Hi,

I have no problem in TCP/UDP setting problem on server. if i disable the
WinGate client then it works. I have WinGate server on server machine and
I can run internet from client machine without WinGate client. In this
scenario ssh or scp command works without client on my machine. But does
not work with WinGate client.

Shahid Manzoor

On Thu, 11 Sep 2003, Larry Hall wrote:

> At 10:28 AM 9/11/2003, Shahid Manzoor you wrote:
> >Hi,
> >
> >I have installed WinGate client on my windows2000 machine and all
> >applications like ssh, scp, startx using TCP/IP does not work in cygwin.
> >If i disable WinGate client then these works.
> >
> >Please tell me how can I solve this problem
> >
> >Shahid Manzoor
>
>
> Sounds like you haven't configured WinGate to open the TCP/UDP needed to
> run.  ssh is TCP port 22.  I'm guessing this handles scp too.  No clue
> what the issue is with startx.  You can check the xfree list about that
> if it's truly something Cygwin/X related.  Best bet is to check the docs
> first though.
>
>
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746
>
>


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



Re: cygwin bash 2.05b patches and "rebash" a debugger for bash (http://bashdb.sourceforge.net)

2003-09-11 Thread Corinna Vinschen
On Thu, Sep 11, 2003 at 09:53:37AM -0400, R. Bernstein wrote:
> I've been working on a modified version of bash 2.05b which has better
> support for error reporting and debugging (it also has a timestamped
> history). It also has a somewhat complete debugger modeled off of gdb
> using the additional support. See http://bashdb.sourceforge.net for info.
> 
> I've noticed that the sources to bash 2.05b (say in
> ftp://ftp.gnu.org/pub/gnu/bash) don't compile for cygwin without some
> modification. I'd like to get the cygwin patches that should be
> applied to 2.05b (i.e. don't mess up other architectures) into the
> rebash/bashdb package. 
> 
> Thoughts and suggestions?

Using the bash source package from the Cygwin distro might help.

Corinna

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

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



Re: Minor bug in splint manpage

2003-09-11 Thread Igor Pechtchanski
On Thu, 11 Sep 2003, Ronald Landheer-Cieslak wrote:

> In the author section, both the E-mail address and the homepage URL are
> missing, which renders:
>
> AUTHOR
>If you need to get in contact with the authors send email to
>
>or visit
>
> JTYMLTK
> rlc

! :-D

> --
> Awright, which one of you hid my PENIS ENVY?

You're just *daring* the SPAM filter, aren't you? ;-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Removing the same file from two consoles

2003-09-11 Thread Alex Vinokur
Here is some program which was invocated on two consoles.


The program behavior is different on
 * Cygwin, DJGPP on the one hand
   and
 * Mingw on the other hand
 environments.


Which is right/correct/preferable?


= C-code : BEGIN =
/* File t.c */

#include 
#include 
#include 
#include 
#include 

int main(int argc, char** argv)
{
int  rc;
char ch;
FILE* fp;
int i;

  assert (argc > 1);

  printf ("Command line : ");
  for (i = 0; i < argc; i++) printf ("%s ", argv[i]);
  printf ("\n");

  errno = 0;
  rc = access (argv[1], F_OK);
  printf ("access : rc = %d; errno = %u (%s)\n", rc, errno, strerror(errno));

  errno = 0;
  rc = remove (argv[1]);
  printf ("remove : rc = %d; errno = %u (%s)\n", rc, errno, strerror(errno));

  fp = fopen (argv[1], "w");
  printf ("fopen  : %s\n", (fp ? "OK" : "FAILURE"));

  printf ("Enter any key : ");
  scanf ("%c", &ch);

  errno = 0;
  rc = access (argv[1], F_OK);
  printf ("access : rc = %d; errno = %u (%s)\n", rc, errno, strerror(errno));

  printf ("Thanks. Bye\n");

  return 0;
}

= C-code : END ===






# Run via Cygwin : BEGIN #
=
Windows 2000
CYGWIN_NT-5.0 1.3.22(0.78/3/2)
GNU gcc version 3.2 20020927 (prerelease)
=



Step 0. Compiling and getting status

-- Console-0 --
$ gcc t.c -o progc
---


=
Step 1. removing and fopening a file on Console-1
=
-- Console-1 --
$ progc foo
Command line : progc foo
access : rc = -1; errno = 2 (No such file or directory)
remove : rc = -1; errno = 2 (No such file or directory)
fopen  : OK
Enter any key :
---



Step 2. removing and fopening the same file on Console-2

-- Console-2 --
$ progc foo
Command line : progc foo
access : rc = 0; errno = 0 (No error)
remove : rc = 0; errno = 0 (No error)
fopen  : FAILURE
Enter any key :
---


==
Step 3. Entering some key on Console-2
==
-- Console-2 --
- continuation 
Enter any key : a
access : rc = -1; errno = 13 (Permission denied)
Thanks. Bye
---


==
Step 4. Entering some key on Console-1
==
-- Console-1 --
- continuation 
Enter any key : b
access : rc = -1; errno = 2 (No such file or directory)
Thanks. Bye
---


# Run via Cygwin : END ###






# Run via Mingw : BEGIN #

Windows 2000
MinGW 2.0.0.-2
GNU gcc version 3.2
===




Step 0. Compiling and getting status

-- Console-0 --
$ gcc t.c -o progm
---


=
Step 1. removing and fopening a file on Console-1
=
-- Console-1 --
$ progm foo
Command line : progm.exe foo
access : rc = -1; errno = 2 (No such file or directory)
remove : rc = -1; errno = 2 (No such file or directory)
fopen  : OK
Enter any key :
---



Step 2. removing and fopening the same file on Console-2

-- Console-2 --
$ progm foo
Command line : progm.exe foo
access : rc = 0; errno = 0 (No error)
remove : rc = -1; errno = 13 (Permission denied)
fopen  : OK
Enter any key :
---


==
Step 3. Entering some key on Console-2
==
-- Console-2 --
- continuation 
Enter any key : a
access : rc = 0; errno = 0 (No error)
Thanks. Bye
---


==
Step 4. Entering some key on Console-1
==
-- Console-1 --
- continuation 
Enter any key : b
access : rc = 0; errno = 0 (No error)
Thanks. Bye
---


# Run via Mingw : END ###


   =
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://mathforum.org/library/view/10978.html
   =








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



Re: Antw: Re: cygwin python 2.3 oddity

2003-09-11 Thread Christopher Faylor
>>The volume on Cygwin lists is huge and there isn't even a list devoted
>>to packages.

Even though the majority of the email on the cygwin list is devoted to
packages...

cgf

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



Re: Removing the same file from two consoles

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 06:22:58PM +0300, Alex Vinokur wrote:
>Here is some program which was invocated on two consoles.
>
>
>The program behavior is different on
> * Cygwin, DJGPP on the one hand
>   and
> * Mingw on the other hand
> environments.
>
>
>Which is right/correct/preferable?

Cygwin's of course.

You may get a different answer if you ask this question in the mingw
mailing list, though.

cgf

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



Re: Find: missing alphabetically last dirtree

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 03:45:17PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>The quest continues...

Can't believe I really have to say this, but...
http://cygwin.com/problems.html
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: System call which gets CPU utilized capacity

2003-09-11 Thread Alex Vinokur

"Cliff Hones" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Alex Vinokur wrote
> > "Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > > On Wed, 10 Sep 2003, Alex Vinokur wrote:
> > >
> > > > Is there in CYGWIN any system call which gets CPU utilized capacity at
> > > > the present moment?
> > >
> > [snip]
> > > I assume the call is the same as in any other Unix system, since "top"
> > > worked for me with almost no porting about a year ago.  You might want
> to
> > > take a look at the sources for the "procps" package.
> > > Igor
> > [snip]
> >
> > But "top" and "ps" are the UNIX (CYGWIN) command line utilities.
> > We can't use them in C-program unless with system().
> >  I mean platform-specific system call (as the popen() system call) which
> > can be directly used in C-program.
>
> Igor is saying that since 'top' can find the CPU capacity, you just need to
> look at the source of top (in procps) to find out how to do it.
>
> -- Cliff
>
>

Thanks.

http://www.cygwin.com/packages/procps/procps-010801-1-src
contains _list_ of procps' sources (including top.c and top.h) :
Sun Jan 14 10:40:14 2001  45360 procps-010801/top.c
Sun Jan 14 10:41:29 2001   7242 procps-010801/top.h

Where can one get the sources themselves ?
http://www.cygwin.com/packages/procps/procps-010801/top.c
and
http://www.cygwin.com/packages/procps/procps-010801/top.h
don't exist.

   =
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://mathforum.org/library/view/10978.html
   =






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



Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Jason Tishler
Olivier,

On Thu, Sep 11, 2003 at 04:41:04PM +0200, Olivier Lefevre wrote:
> bash-2.05b$ ls -ls `echo $PYTHONSTARTUP`
> 1.0k -rw-rw-rw-1 Administ None   22 Sep 11 16:34
> /c/cygwin/startup.py

Why is the above "/c/cygwin/startup.py" and not "/startup.py" as you
previously indicated?

> I know it isn't read because it contains the line 'from sets import
> Set' but
> 
> bash-2.05b$ python
> Python 2.3 (#1, Aug  1 2003, 15:01:23)
> [GCC 3.2 20020927 (prerelease)] on cygwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> Set()
> Traceback (most recent call last):
>   File "", line 1, in ?
> NameError: name 'Set' is not defined
> 
> yet the sets module can be found:
> 
> >>> from sets import Set
> >>> Set()
> Set([])
> >>>
> 
> So at this point I am really mystified. 

I cannot explain the above behavior.

FWIW, the following works:

$ cat /tmp/.pythonrc.py
print '*** startup executed ***'
$ PYTHONSTARTUP=/tmp/.pythonrc.py python
Python 2.3 (#1, Aug  5 2003, 09:49:11) 
[GCC 3.2 20020927 (prerelease)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
*** startup executed ***
>>>

BTW, I just noticed that you are using Cygwin Python 2.3-1.  Does 2.3-2
work any better?  The two packages are identical except for 32- vs.
64-bit, but maybe this is the difference?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



Re: Cygwin doesn't show .. in all directories

2003-09-11 Thread David O'Shea
Hi all,

Can anyone comment on these diffs?  Apart from being messy and not
properly formatted at the moment and having way too many calls to
syscall_printf(), are they okay?

Also, where it says "/* FIXME: what is supposed to happen if lasterr
== ERROR_NO_MORE_FILES??? */", I am wondering if I noticed a bug, in
that if lasterr happened to have that value (which it might never have
with current versions of Windows - Windows XP at least seems to return
ERROR_FILE_NOT_FOUND if the directory is emtpy which is conceptually
the same situation as "no more files" when you're trying to find the
first entry) then the code would fall through to the "/* We get here
if `buf' contains valid data.  */" code, but I don't think buf WOULD
have valid data.

>>>
   WIN32_FIND_DATA buf;
   HANDLE handle;
   struct dirent *res = NULL;
+  bool return_dot_dir = FALSE;

+  syscall_printf ("[doshea] readdir: entering");
+
   if (dir->__d_u.__d_data.__handle == INVALID_HANDLE_VALUE
   && dir->__d_position == 0)
 {
+  syscall_printf ("[doshea] readdir: initial call");
+  dir->__d_u.__d_data.__dotdir_flags = 0;
   handle = FindFirstFileA (dir->__d_dirname, &buf);
   DWORD lasterr = GetLastError ();
   dir->__d_u.__d_data.__handle = handle;
+  /* if there are no files in the directory, handle will be
INVALID_HANDLE_VALUE
+ but, unexpectedly, lasterr will NOT be ERROR_NO_MORE_FILES
*/
+  syscall_printf ("[doshea] readdir: handle invalid? %u lasterr?
%u",
+   handle == INVALID_HANDLE_VALUE, lasterr);
   if (handle == INVALID_HANDLE_VALUE && (lasterr !=
ERROR_NO_MORE_FILES))
  {
-   seterrno_from_win_error (__FILE__, __LINE__, lasterr);
-   return res;
+  if (lasterr == ERROR_FILE_NOT_FOUND)
+{
+  /* there are no files in the directory, so we should
return the
+ '.' and '..' entries which are obviously missing */
+  return_dot_dir = TRUE;
+}
+  else
+{
+  /* some other (unexpected) error has occured */
+   seterrno_from_win_error (__FILE__, __LINE__, lasterr);
+   return res;
+}
  }
+  /* FIXME: what is supposed to happen if lasterr ==
ERROR_NO_MORE_FILES??? */
 }
   else if (dir->__d_u.__d_data.__handle == INVALID_HANDLE_VALUE)
-return res;
+{
+  /* dir->__d_position is != 0 so we might have returned some
entries and
+ then gotten to the end but have yet to return both '.' and
'..'. */
+  syscall_printf ("[doshea] readdir: handle invalid but position
%u",
+dir->__d_position);
+  if ((dir->__d_u.__d_data.__dotdir_flags &
__DIRENT_DOTDIR_SEEN_ALL)
+  != __DIRENT_DOTDIR_SEEN_ALL)
+ {
+   /* haven't seen both '.' and '..' */
+   syscall_printf ("[doshea] readdir: haven't seen: %s %s",
+dir->__d_u.__d_data.__dotdir_flags &
__DIRENT_DOTDIR_SEEN_DOT ? "" : ".",
+dir->__d_u.__d_data.__dotdir_flags &
__DIRENT_DOTDIR_SEEN_DOTDOT ? "" : "..");
+  return_dot_dir = TRUE;
+}
+  else
+return res;
+}
   else if (!FindNextFileA (dir->__d_u.__d_data.__handle, &buf))
 {
   DWORD lasterr = GetLastError ();
@@ -645,37 +681,97 @@
   find any more files; so, if another error we leave it set. */
   if (lasterr != ERROR_NO_MORE_FILES)
seterrno_from_win_error (__FILE__, __LINE__, lasterr);
-  syscall_printf ("%p = readdir (%p)", res, dir);
-  return res;
+  else
+{
+  /* there wasn't an error, so we now check if we need to add
'.'
+ and '..' entries */
+  if ((dir->__d_u.__d_data.__dotdir_flags &
__DIRENT_DOTDIR_SEEN_ALL)
+   != __DIRENT_DOTDIR_SEEN_ALL)
+ {
+   /* haven't seen both '.' and '..' */
+   syscall_printf ("[doshea] readdir: haven't seen: %s %s",
+ dir->__d_u.__d_data.__dotdir_flags &
__DIRENT_DOTDIR_SEEN_DOT ? "" : ".",
+ dir->__d_u.__d_data.__dotdir_flags &
__DIRENT_DOTDIR_SEEN_DOTDOT ? "" : "..");
+  return_dot_dir = TRUE;
+}
+}
+  /* if we don't have any '.'/'..' entries to fake, return now */
+  if (!return_dot_dir)
+{
+  syscall_printf ("%p = readdir (%p)", res, dir);
+  return res;
+}
 }

-  /* We get here if `buf' contains valid data.  */
-  if (get_encoded ())
-(void) fnunmunge (dir->__d_dirent->d_name, buf.cFileName);
-  else
-strcpy (dir->__d_dirent->d_name, buf.cFileName);
+  /* if we had an INVALID_HANDLE_VALUE but we weren't at position 0,
or
+ FindNextFileA failed failed with ERROR_NO_MORE_FILES, we may
have
+ determined that we need to return fake '.' and/or '..' entries.
*/
+  if (return_dot_dir)
+{
+  if (!(dir->__d_u.__d_data.__dotdir_flags &
__DIRENT_DOTDIR_SEEN_DOT))
+{
+  strcpy(dir->__d_dirent->d_name, ".");
+  syscall_printf ("[doshea] readdir: faking '.'");
+  dir->__d_u.__d_data.__dotdir_flags |=
__DIRENT_DOTDIR_SEEN_DOT;
+   

Re: Removing the same file from two consoles

2003-09-11 Thread Alex Vinokur

"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Thu, Sep 11, 2003 at 06:22:58PM +0300, Alex Vinokur wrote:
> >Here is some program which was invocated on two consoles.
> >
> >
> >The program behavior is different on
> > * Cygwin, DJGPP on the one hand
> >   and
> > * Mingw on the other hand
> > environments.
> >
> >
> >Which is right/correct/preferable?
>
> Cygwin's of course.
>
> You may get a different answer if you ask this question in the mingw
> mailing list, though.
>
> cgf
>
Is there any UNIX-related standard/convention about this topic?

--
   =
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://mathforum.org/library/view/10978.html
   =




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



Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Olivier Lefevre
> Why is the above "/c/cygwin/startup.py" and not "/startup.py" 
> as you previously indicated?

That's the same directory. I just made a typo the 1st time.

> BTW, I just noticed that you are using Cygwin Python 2.3-1.  Does
2.3-2
> work any better?  The two packages are identical except for 32- vs.
> 64-bit, but maybe this is the difference?

I tried to install 2.3.2 and got "The procedure entry point __getreent
could not
be located in the dynamic link library cygwin1.dll", so I went back to
2.3.1. In 
any case, this is a standard PIV-based PC, no 64-bit here.

Now if only cygwin had an equivalent of Solaris truss; it might give us
a clue.

-- O.L.


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



Re: Cygwin doesn't show .. in all directories

2003-09-11 Thread Igor Pechtchanski
On Fri, 12 Sep 2003, David O'Shea wrote:

> Hi all,
>
> Can anyone comment on these diffs?  Apart from being messy and not
> properly formatted at the moment and having way too many calls to
> syscall_printf(),

... they are also unnecessary.  You should read *all* replies to your own
messages.  The problem is already fixed:
.  Try a snapshot:
.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Re: cygwin doesn't show .. in all directories

2003-09-11 Thread Christopher Faylor
On Fri, Sep 12, 2003 at 01:48:15AM +1000, David O'Shea wrote:
>Can anyone comment on these diffs?  Apart from being messy and not
>properly formatted at the moment and having way too many calls to
>syscall_printf(), are they okay?

Are you having email problems?  I've already informed you *twice*
that this is already fixed in the latest snapshot.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: Rexecd as win service

2003-09-11 Thread Andrew DeFaria
Stefano Colombo wrote:

I really hope not to bother but I have another question. Now the inetd 
service start as windows service. I've edited the inet.conf to enable 
only the rexec daemon. In the host.allow I added the following line
Rexecd: remote_pc

Tried to run the following command from the rempote PC
Remsh server ls
But got a conenction refused error .
Can you point me to what is wrong ?
"remsh"! Are you on HP-UX? Cause I don't have a remsh - I have an rsh.

I believe you can get a "connection refused" error if you have a 
password authentication problem. Have you tried rlogin or rsh without a 
command? If it prompts you for a password then an rsh  
 will not work.
Obligatory witty line: Support Cannibalism - Eat me!



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


Re: ncurses line drawing characters terminfo problem?

2003-09-11 Thread Charles Wilson
Andrew B. Clegg wrote:

On Thu, 11 Sep 2003, Igor Pechtchanski wrote:


Still looks the same (accented chars rather than line art) with
TERM=rxvt-cygwin-native regardless of whether I have codepage:oem set or
not.
those characters...  Unfortunately, as I don't normally use rxvt, I'm not
the best person to tell you which fonts to use.


Lucida Console in both Win console and rxvt...
Ah, that's the problem.  Try LucidaConsoleP  (patched) from
http://www.neuro.gatech.edu/users/cwilson/cygutils/bashprompt/
Or the vgafonts from the same location.  LuConP is just LucidaConsoleP, 
patched to put the line draw chars where codepage:oem can find them.

It'd be nice to distribute LuConP with rxvt, but there's that whole 
copyright thing...

--
Chuck


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


Re: System call which gets CPU utilized capacity

2003-09-11 Thread Cliff Hones
Alex Vinokur wrote:
> http://www.cygwin.com/packages/procps/procps-010801-1-src
> contains _list_ of procps' sources (including top.c and top.h) :
> Sun Jan 14 10:40:14 2001  45360 procps-010801/top.c
> Sun Jan 14 10:41:29 2001   7242 procps-010801/top.h
> 
> Where can one get the sources themselves ?
> http://www.cygwin.com/packages/procps/procps-010801/top.c
> and
> http://www.cygwin.com/packages/procps/procps-010801/top.h
> don't exist.

You download the source of the package using setup.exe.  Run
setup, and when it gets to the "Select Packages" dialog find
the procps package and tick the little square box under the
"Src" column.

-- Cliff

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



Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Cliff Hones
Olivier Lefevre wrote

> ...
> Now if only cygwin had an equivalent of Solaris truss; it might give us
> a clue.

Pardon?  What about strace?

-- Cliff


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



Re: Unable to debug perl 5.8.0 program

2003-09-11 Thread Andrew DeFaria
Gerrit P. Haase wrote:

Hello Andrew,

Thursday, September 4, 2003, 10:57:02 PM, you wrote:

AD> Recently I started receiving the following error when trying to user
AD> perl -d. It only seems to happen with some perl scripts and not 
other,
AD> more simple perl scripts:

AD> $ perl -d CheckinPreop.pl

AD> Loading DB routines from perl5db.pl version 1.19
AD> Editor support available.
AD> Enter h or `h h' for help, or `man perldebug' for more help.

AD> main::(CheckinPreop.pl:42): my $site;
AD> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The
AD> COLUMNS and LINES environment variables didn't work. The resize 
program
AD> didn't work. at
AD> /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/Term/ReadKey.pm 
line 343.
AD> Compilation failed in require at
AD> /usr/lib/perl5/site_perl/5.8.0/Term/ReadLine/Perl.pm line 58.

AD> 
Term::ReadLine::Perl::new('Term::ReadLine','perldb','GLOB(0x10164648)','GLOB(0x1014a8e8)')
AD> called at /usr/lib/perl5/5.8.0/perl5db.pl line 2225
AD> DB::setterm called at /usr/lib/perl5/5.8.0/perl5db.pl line 773
AD> DB::DB called at CheckinPreop.pl line 42
AD> 
cqc::CODE(0x10279bdc)(//sons-clearcase/Views/official/Tools/lib/cqc.pm:101):
AD> 101: Disconnect;
AD> DB<1> q
AD> $ echo -e "Lines: $LINES\nColumns: $COLUMNS"
AD> Lines: 24
AD> Columns: 80

AD> This happens in an rxvt window as well as a Windows console window.

From your cygcheck:
perl 5.8.0-3
Please try to upgrade to 5.8.0-5 at first. There are good chances that 
the binmode bug fixed in 5.8.0-5 resolves this problem.
Thanks that did the trick. Also caused me to finally update to 1.5.3. 
That was a little scary but all's been smooth so far.
Obligatory witty saying: I hit the CTRL key but I'm still not in control!



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


Re: Cygwin tetex problem - listings package is incomplete

2003-09-11 Thread Jan Nieuwenhuizen
[flup to cygwin]

Andy Rushton writes:

> Hi, I believe you maintain the Cygwin tetex package.

D*mn, I've been found out ;-)
Please post to the Cygwin list.

> I have updated to version tetex-2.0.2-12 recently and found that the
> listings package (in /usr/share/texmf/tex/latex/listings/) is missing
> a file - namely listings.sty. This file was in previous releases (I
> previously used tetex-20020911-1).

Hmm, you're right.  [searching archives] I even promised to fix this
before, but aparrently, failed to add it to my list.  There really
seems to be a bad spell on the listings package.

> I use this package extensively!

Thanks!  See the these threads on how to get it going again:

   http://www.cygwin.com/ml/cygwin/2003-03/msg02070.html
   http://www.mail-archive.com/[EMAIL PROTECTED]/msg01871.html

Sorry for the inconvenience,
Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


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



RE: Find: missing alphabetically last dirtree

2003-09-11 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Christopher Faylor

> On Thu, Sep 11, 2003 at 03:45:17PM +0200, Hannu E K Nevalainen
> (garbage mail) wrote:
> >The quest continues...
>
> Can't believe I really have to say this, but...
> http://cygwin.com/problems.html

Ahh... :?-[ - I'm taking things for granted.

In short:
 I have all the latest _binary_ packages installed, plus the cygwin1.dll
snapshot from 2003-09-11. setup-2.415.exe used for the most recent updates,
the last one just yesterday or so (I got the new 'prolog' package).

 The installation was initially done on Windows 98SE (which resides on C:)
but has since then been "mount'ed" and updated under "Win2K Advanced Server
w SP5" (I think!?) - SP *later* than SP4 for sure.

$ uname -a
CYGWIN_NT-5.0 P450 1.5.4s(0.94/3/2) 20030910 22:57:36 i686 unknown unknown
Cygwin

The "long story" is attached (i.e. cygcheck -svr).

--

After the previous posting I've been playing with:

$ strace -dno find.strace find /cygdrive/p -type d >find-p.txt
(P: is the CD-ROM drive)

... searching and grep'ing through the result... But as I lack knowledge
about cygwin internals (and windows too for that matter :-7) I'm mostly at a
loss finding anything useful. I suspect knowledge of "find" internals would
help too.
 The strace output file is huge... as one can expect (find'ing a CD):

-rw-r--r--1 Administ 4768 Sep 11 16:27 find-p.txt
-rw-r--r--1 Administ  5342699 Sep 11 16:27 find.strace


The interesting "/cygdrive/p/Samples" occurs at just a few places:

$ wc -l find.strace
  44812 find.strace

$ grep -ni "/cygdrive/p/Samples" find.strace
44595:92295496 [main] find 2320 normalize_posix_path: /cygdrive/p/Samples =
normalize_posix_path (Samples)
44596:92295800 [main] find 2320 mount_info::conv_to_win32_path:
conv_to_win32_path (/cygdrive/p/Samples)
44597:92296057 [main] find 2320 mount_info::cygdrive_win32_path: src
'/cygdrive/p/Samples', dst 'p:\Samples'
44599:92296575 [main] find 2320 mount_info::conv_to_win32_path: src_path
/cygdrive/p/Samples, dst p:\Samples, flags 0x2A, rc 0
44615:92499953 [main] find 2320 fhandler_base::close: closing
'/cygdrive/p/Samples' handle 0x2FC
$
(output left as it were wrapped by my email client)



For reference:

-- The CD --

The first in a set of three, containing
 MicroSoft Developer Network, January 2003 edition (i.e. not the latest)

$ df /cygdrive/p/
Filesystem   1k-blocks  Used Available Use% Mounted on
p:  658082658082 0 100% /cygdrive/p
$ command ls -ln /cygdrive/p/
total 16450
dr-xr-xr-x2 500  513 0 Nov 21  2002 IE60
-r-xr-xr-x1 500  513   1707856 Oct 15  2001 InstMSIA.exe
-r-xr-xr-x1 500  513   1821008 Sep 24  2001 InstMSIW.exe
dr-xr-xr-x2 500  513 0 Nov 21  2002 NT4SP
dr-xr-xr-x4 500  513 0 Nov 21  2002 Program Files
dr-xr-xr-x4 500  513 0 Nov 21  2002 Samples
-r-xr-xr-x1 500  513 45126 Sep 28  2002 autorun.exe
-r--r--r--1 500  51329 Oct 17  2001 autorun.inf
-r--r--r--1 500  513  13181440 Nov 21  2002 msdn.msi
-r--r--r--1 500  513  3584 Mar  1  2002 msdnadvt.mst
-r--r--r--1 500  513 23245 Nov 16  2002 readme.htm
-r-xr-xr-x1 500  513 57409 May 10  2002 setup.exe




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

   ! Sweden's Minister for Foreign Affairs
 --+--   Anna Lindh, Jun 19, 1957 - Sep 11, 2003 at 05:49 (CET)
   !
   !
   !

 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Sep 11 18:17:34 2003

Windows 2000 Advanced Server Ver 5.0 Build 2195 Service Pack 4

Path:   C:\Program\cygwin\usr\local\bin
C:\Program\cygwin\bin
C:\Program\cygwin\bin
f:\WINNT\system32
f:\WINNT
f:\WINNT\System32\Wbem
.
c:\program\diverse
c:\program\diverse\Pack
c:\program\diverse\E4
c:\program\diverse\PFE
c:\program\diverse\RAR
c:\program\matlabr12\bin\win32
.
c:\PROGRAM\MODELSIM\WIN32XOEM
c:\Program\Win98RK
C:\Program\cygwin\usr\X11R6\bin
.
C:\Program\cygwin\home\Hannu\scripts
C:\Program\cygwin\home\Hannu\rexx
C:\Program\cygwin\home\Hannu\bin
C:\Program\cygwin\home\Hannu\BitchX

Output from C:\Program\cygwin\bin\id.exe (nontsec)
UID: 500(Administrator) GID: 513(user)
513(user)

Output from C:\Program\cygwin\bin\id.exe (ntsec)
UID: 500(Administrator) GID: 513(user)
544(Administrators) 513(user)
545(Users)

SysDir: F:\WINNT\system32
WinDir: F:\WINNT

CYGWIN = `"notitle glob check_case:strict"'
HOME = `C:\Program\cygwin\home\Hannu'
MAKE_MODE = `unix'
PWD = `/home/Hannu'
USER = `Administrator'

ALLUSERSPROFILE = `F:\Documents and Settings\All Users'
APPDATA = `F:\Doc

Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Jason Tishler
Olivier,

On Thu, Sep 11, 2003 at 05:55:37PM +0200, Olivier Lefevre wrote:
> > BTW, I just noticed that you are using Cygwin Python 2.3-1.  Does
> > 2.3-2 work any better?  The two packages are identical except for
> > 32- vs.  64-bit, but maybe this is the difference?
> 
> I tried to install 2.3.2 and got "The procedure entry point __getreent
> could not be located in the dynamic link library cygwin1.dll", so I
> went back to 2.3.1. In any case, this is a standard PIV-based PC, no
> 64-bit here.

See the following:

http://cygwin.com/ml/cygwin-announce/2003-09/msg1.html
http://cygwin.com/ml/cygwin-announce/2003-09/msg00041.html

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



RE: Diff information

2003-09-11 Thread Editor of PoliSource
General help in bash, for installed (cygwin/Linux/GNU) commands:

$ help 
$ info 
$ man 
Help and info work, but man still doesn't. I guess I don't need it though.

_
Fast, faster, fastest: Upgrade to Cable or DSL today!   
https://broadband.msn.com

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


RE: Can't start network utilities in cygwin with WinGate client

2003-09-11 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Shahid Manzoor

> I have no problem in TCP/UDP setting problem on server. if i disable the
> WinGate client then it works. I have WinGate server on server machine and
> I can run internet from client machine without WinGate client. In this
> scenario ssh or scp command works without client on my machine. But does
> not work with WinGate client.

 Do you have a specific _reason_ to use WinGate instead of "Internet
connection sharing" in Windows? (The other WinGate stuff can be substituted
by cygwin stuff, I think - am I right?)


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

   ! Sweden's Minister for Foreign Affairs
 --+--   Anna Lindh, Jun 19, 1957 - Sep 11, 2003 at 05:49 (CET)
   !
   !
   !

 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--


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



Re: ncurses line drawing characters terminfo problem?

2003-09-11 Thread Andrew B. Clegg
On Thu, 11 Sep 2003, Charles Wilson wrote:

> > Lucida Console in both Win console and rxvt...
> 
> Ah, that's the problem.  Try LucidaConsoleP  (patched) from
> http://www.neuro.gatech.edu/users/cwilson/cygutils/bashprompt/
> 
> Or the vgafonts from the same location.  LuConP is just LucidaConsoleP, 
> patched to put the line draw chars where codepage:oem can find them.

Just to satisfy my curiosity, how come codepage:oem can find the right
characters when you're in a Windows console but not when you're in an rxvt
window? Is it Windows' fault?

I don't really use rxvt but I'd like to cover the issue in the
cygwin-specific readme for tetrix...

> It'd be nice to distribute LuConP with rxvt, but there's that whole 
> copyright thing...

But you don't mind 'distributing' them in a publically archived mailing
list? Brave man :-O

Would you object to that link being mentioned in the above-mentioned
readme?

Someone once told me you can't copyright a font (under US law at least)
because that would give you copyright over things written *in* that font,
but I always suspected it was BS and of course IANAL.

Andrew.
--
-= email address changed monthly as anti-spam precaution =-
 use :currentmonth: :currentyear: at nervechannel dot nildram dot co dot uk
 e.g. [EMAIL PROTECTED]
 or 'operon' at same address for permanent records


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



resizing setup.exe window

2003-09-11 Thread Sam Steingold
this appears to be a recurring question without a good answer: why
can't we resize the setup.exe window (helpful for package selection)?
 &c.

is it possible to add the _official_ answer to the FAQ
?

thanks.


-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
  
 
What was the best thing before sliced bread?


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



Re: Find: missing alphabetically last dirtree

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 08:28:54PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>$ df /cygdrive/p/
>Filesystem   1k-blocks  Used Available Use% Mounted on
>p:  658082658082 0 100% /cygdrive/p
>$ command ls -ln /cygdrive/p/
>total 16450
>dr-xr-xr-x2 500  513 0 Nov 21  2002 IE60
>-r-xr-xr-x1 500  513   1707856 Oct 15  2001 InstMSIA.exe
>-r-xr-xr-x1 500  513   1821008 Sep 24  2001 InstMSIW.exe
>dr-xr-xr-x2 500  513 0 Nov 21  2002 NT4SP
>dr-xr-xr-x4 500  513 0 Nov 21  2002 Program Files
>dr-xr-xr-x4 500  513 0 Nov 21  2002 Samples
>-r-xr-xr-x1 500  513 45126 Sep 28  2002 autorun.exe
>-r--r--r--1 500  51329 Oct 17  2001 autorun.inf
>-r--r--r--1 500  513  13181440 Nov 21  2002 msdn.msi
>-r--r--r--1 500  513  3584 Mar  1  2002 msdnadvt.mst
>-r--r--r--1 500  513 23245 Nov 16  2002 readme.htm
>-r-xr-xr-x1 500  513 57409 May 10  2002 setup.exe

Can I see an ls -lan output for this?  What I'm looking for is that the
link count for '.' is equal to the number of directories on the cd,
including '.' itself.

cgf

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



Re: Diff information

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 06:55:55PM +, Editor of PoliSource wrote:
>>General help in bash, for installed (cygwin/Linux/GNU) commands:
>>
>>$ help 
>>$ info 
>>$ man 
>
>Help and info work, but man still doesn't. I guess I don't need it though.

Or, you could just install it.  setup.exe does not install everything by default.

cgf

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



Re: resizing setup.exe window

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 03:17:28PM -0400, Sam Steingold wrote:
>this appears to be a recurring question without a good answer: why
>can't we resize the setup.exe window (helpful for package selection)?
> &c.
>
>is it possible to add the _official_ answer to the FAQ
>?

The official answer is pretty much always WJM.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



RE: Find: missing alphabetically last dirtree

2003-09-11 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Christopher Faylor

> Can I see an ls -lan output for this?  What I'm looking for is that the
> link count for '.' is equal to the number of directories on the cd,
> including '.' itself.
>
> cgf

$ command ls -lan /cygdrive/p/
total 16450
dr-xr-xr-x5 500  513 0 Nov 21  2002 .
dr-xr-xr-x   16 00   0 Jan  1  1970 ..
dr-xr-xr-x2 500  513 0 Nov 21  2002 IE60
-r-xr-xr-x1 500  513   1707856 Oct 15  2001 InstMSIA.exe
-r-xr-xr-x1 500  513   1821008 Sep 24  2001 InstMSIW.exe
dr-xr-xr-x2 500  513 0 Nov 21  2002 NT4SP
dr-xr-xr-x4 500  513 0 Nov 21  2002 Program Files
dr-xr-xr-x4 500  513 0 Nov 21  2002 Samples
-r-xr-xr-x1 500  513 45126 Sep 28  2002 autorun.exe
-r--r--r--1 500  51329 Oct 17  2001 autorun.inf
-r--r--r--1 500  513  13181440 Nov 21  2002 msdn.msi
-r--r--r--1 500  513  3584 Mar  1  2002 msdnadvt.mst
-r--r--r--1 500  513 23245 Nov 16  2002 readme.htm
-r-xr-xr-x1 500  513 57409 May 10  2002 setup.exe

The first number on the "." line is "5"... You indicate that this should be
"6" instead...  Would this be a more "normal" situation?

In general:
If it "should" be "6"; I wonder whether this should be considered a "copy
preventive measure" (a mild one) or maybe a CD-writer-software "bug"...

Then; should "find" stumble on this; a bug or feature? ;-)

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE--


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



Re: ps -W not working after latext cygwin DLL update

2003-09-11 Thread Goren Il
I looked at the code, and it seems that win_init fails because it can not
open "psapi.dll" (the DLL does not exist on my PC).
Can someone please confirm that the file should exist on a Win2K (SP4)
server?
Anybody knows if this file is part of any UP / security patch?
Thanks

- Original Message - 
From: "Goren Il" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 5:24 PM
Subject: Re: ps -W not working after latext cygwin DLL update


> The entire cygwin, or only specific packages? (I tried re-installing the
> cygwin package only, and it does not help)
>
> >>Windows 2000 SP 4 does not make a difference.  Try re-installing
>
>

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



Re: Find: missing alphabetically last dirtree

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 10:00:07PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
>> Of Christopher Faylor
>
>> Can I see an ls -lan output for this?  What I'm looking for is that the
>> link count for '.' is equal to the number of directories on the cd,
>> including '.' itself.
>>
>> cgf
>
>$ command ls -lan /cygdrive/p/
>total 16450
>dr-xr-xr-x5 500  513 0 Nov 21  2002 .
>dr-xr-xr-x   16 00   0 Jan  1  1970 ..
>dr-xr-xr-x2 500  513 0 Nov 21  2002 IE60
>-r-xr-xr-x1 500  513   1707856 Oct 15  2001 InstMSIA.exe
>-r-xr-xr-x1 500  513   1821008 Sep 24  2001 InstMSIW.exe
>dr-xr-xr-x2 500  513 0 Nov 21  2002 NT4SP
>dr-xr-xr-x4 500  513 0 Nov 21  2002 Program Files
>dr-xr-xr-x4 500  513 0 Nov 21  2002 Samples
>-r-xr-xr-x1 500  513 45126 Sep 28  2002 autorun.exe
>-r--r--r--1 500  51329 Oct 17  2001 autorun.inf
>-r--r--r--1 500  513  13181440 Nov 21  2002 msdn.msi
>-r--r--r--1 500  513  3584 Mar  1  2002 msdnadvt.mst
>-r--r--r--1 500  513 23245 Nov 16  2002 readme.htm
>-r-xr-xr-x1 500  513 57409 May 10  2002 setup.exe
>
>The first number on the "." line is "5"... You indicate that this should be
>"6" instead...  Would this be a more "normal" situation?

Ok, how about a 'dir p:'?  Does it show a "." and a ".." directory?

cgf

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



RE: ps -W not working after latext cygwin DLL update

2003-09-11 Thread Hannu E K Nevalainen \(garbage mail\)
> From: Goren Il

> I looked at the code, and it seems that win_init fails because it can not
> open "psapi.dll" (the DLL does not exist on my PC).
> Can someone please confirm that the file should exist on a Win2K (SP4)
> server?

 F:\WINNT\system32\psapi.dll

> Anybody knows if this file is part of any UP / security patch?
> Thanks

 No idea, I have SP4+ installed AFAIK.
( "My computer/properties" still states SP4 though 8-/ )

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

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--


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



RE: Find: missing alphabetically last dirtree

2003-09-11 Thread Hannu E K Nevalainen \(garbage mail\)
> From: Christopher Faylor


> Ok, how about a 'dir p:'?  Does it show a "." and a ".." directory?
>
> cgf

I assume you meant from cmd.exe...
bash/dir is below though, just in case (seems not so useful).

F:\>dir p:
 Volume in drive P is QTR37ENUD1
 Volume Serial Number is D63D-731C

 Directory of P:\

2002-11-21  18:26 IE60
2001-10-15  03:581 707 856 InstMSIA.exe
2001-09-24  19:191 821 008 InstMSIW.exe
2002-11-21  18:26 NT4SP
2002-11-21  18:27 Program Files
2002-11-21  18:31 Samples
2002-09-28  02:12   45 126 autorun.exe
2001-10-17  18:54   29 autorun.inf
2002-11-21  12:46   13 181 440 msdn.msi
2002-03-01  07:393 584 msdnadvt.mst
2002-11-16  01:20   23 245 readme.htm
2002-05-10  01:38   57 409 setup.exe
   8 File(s) 16 839 697 bytes
   4 Dir(s)   0 bytes free

F:\>dir p: /N /OG
 Volume in drive P is QTR37ENUD1
 Volume Serial Number is D63D-731C

 Directory of P:\

2002-11-21  18:31 Samples
2002-11-21  18:27 Program Files
2002-11-21  18:26 NT4SP
2002-11-21  18:26 IE60
2001-09-24  19:191 821 008 InstMSIW.exe
2001-10-15  03:581 707 856 InstMSIA.exe
2002-09-28  02:12   45 126 autorun.exe
2001-10-17  18:54   29 autorun.inf
2002-11-21  12:46   13 181 440 msdn.msi
2002-03-01  07:393 584 msdnadvt.mst
2002-11-16  01:20   23 245 readme.htm
2002-05-10  01:38   57 409 setup.exe
   8 File(s) 16 839 697 bytes
   4 Dir(s)   0 bytes free
--
$ dir p:
IE60  InstMSIW.exe  Program\ Files  autorun.exe  msdn.msi
readme.htm
InstMSIA.exe  NT4SP Samples autorun.inf  msdnadvt.mst
setup.exe
$ which dir
/usr/bin/dir


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

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--


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



Re: Diff information

2003-09-11 Thread Editor of PoliSource
Or, you could just install it.  setup.exe does not install everything by 
default.
The list of programs that I got during my update yesterday was too long to 
read through, and there was nothing under man. Just now, I tried the "Search 
Package List" tool and searched for "man", which returned 511 results, but 
searching for "man pages" returned cygwin-doc at the top of the list. 
Installing with the "Bi..." box checked didn't work, but then I tried with 
"Bi..." and "Sr..." checked, and it worked.

Thanks,
Barry
_
Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage.  
http://join.msn.com/?PAGE=features/es

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


win2k "resource" exhaustion problem - no Cygwin programs will run

2003-09-11 Thread james pentland
dear Cygwin developers:

i have a bash script which apparently causes an
exhaustion of system resources.
which "resources" i am unclear about - it does not
seem to be memory.

the consequences of running it, at a minimum, are that

1) the script fails at some point,
2) no further Cygwin executables will run,
3) dialout to an internet service provider fails,
4) a number of non-Cygwin executables do not operate
properly.

below is a simple script which will make the problem
happen and a partial transcript of a Cygwin console
session where it is invoked.

do you have any ideas on this issue?







[[--]] TRANSCRIPT OF CONSOLE SESSION
[EMAIL PROTECTED] /ntd/new
$ cat yawfu-sh
#!/bin/bash

let nn=1
ls -ltR /nt0/WINNT > /tmp/WINNT-lsR

while : ; do
  cat /tmp/WINNT-lsR | sed -n -e "/.*/p" > /tmp/p1
  echo COUNT=$nn
  ((nn=$nn+1))
done

[EMAIL PROTECTED] /ntd/new
$ cygcheck -s:
Cygwin Win95/NT Configuration Diagnostics
[...]
Windows 2000 Professional Ver 5.0 Build 2195
[...]
Cygwin DLL version info:
DLL version: 1.3.18
[...]

[EMAIL PROTECTED] /ntd/new
$ ./yawfu-sh
COUNT=1
COUNT=2
COUNT=3
[...]
COUNT=1640
COUNT=1641
COUNT=1642
COUNT=1643
./yawfu-sh: line 7: /usr/bin/sed: Permission denied
./yawfu-sh: line 7: /usr/bin/cat: Permission denied
COUNT=1644
./yawfu-sh: line 7: /usr/bin/cat: Permission denied
COUNT=1645
./yawfu-sh: line 7: /usr/bin/cat: Permission denied
COUNT=1646
./yawfu-sh: line 7: /usr/bin/cat: Permission denied
  5 [main] bash 16184 sync_with_child: child
42548(0x118) died before initia
lization with status code 0x80
309 [main] bash 16184 sync_with_child: *** child
state waiting for longjmp
./yawfu-sh: fork: Resource temporarily unavailable

[EMAIL PROTECTED] /ntd/new
$ ls /tmp
bash: /usr/bin/ls: Permission denied






[[--]] RESULT OF SUBSEQUENT ATTEMPT TO RUN CYGWIN
SHELL
[ shell window appears, then disappears immediately]






[[--]] RESULT OF LATER ATTEMPT TO RUN CYGWIN SHELL
bash: fork: Permission denied
bash-2.05b$
bash-2.05b$
bash-2.05b$ ls
bash: /usr/bin/ls: Permission denied
bash-2.05b$






[[--]] RESULT OF SUBSEQUENT ATTEMPT TO DIAL TO
INTERNET PROVIDER
WARNING POPUP:
Error connecting to usernet
Checking network protocol connections ,,,

TCP/IP CP reported error 1453: insufficient quota to
complete the requested service






[[--]] RESULT OF SUBSEQUENT ATTEMPT TO RUN notepad.exe
[notepad runs, but can not open a file, reports
"insufficient resources"]



__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: cygwin bash 2.05b patches and "rebash" a debugger for bash (http://bashdb.sourceforge.net)

2003-09-11 Thread R. Bernstein
Corinna Vinschen writes:
 > Using the bash source package from the Cygwin distro might help.

The source does not contain patches or diffs. Are there patches stored
separately from source? What happens when a new release comes out?
(Debian patches are nicely bundled for each particular problem and can
be installed and uninstalled separately)

I can do a "diff -Naur" to get the diffs and try to sort out which
ones are specific to cygwin as opposed to general patches such as
those found in bash public patches, I was hoping however for maybe
some coordination here. 

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



Re: Antw: Re: Cygwin python 2.3 oddity

2003-09-11 Thread Olivier Lefevre
OK, so I upgraded everything and now with python 2.3.2 it works. Weird.
I didn't change anything else.

However, following up on my own suggestion re. truss, I found about
strace and wanted to try it but:

bash-2.05b$ strace python
strace.exe: error creating process python, (error 2)

Is this a known issue? It's not mentioned in python-2.3.README, at any rate.

Thanks again,

-- O.L.



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



Re: Antw: Re: cygwin python 2.3 oddity

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 11:55:10PM +0200, Olivier Lefevre wrote:
>OK, so I upgraded everything and now with python 2.3.2 it works. Weird.
>I didn't change anything else.
>
>However, following up on my own suggestion re. truss, I found about
>strace and wanted to try it but:
>
>bash-2.05b$ strace python
>strace.exe: error creating process python, (error 2)
>
>Is this a known issue? It's not mentioned in python-2.3.README, at any rate.

python is a symlink.  strace doesn't grok symlinks.

cgf

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



bash.exe doesn't launch correctly

2003-09-11 Thread Robert Sample
Dear Cygwin Developers:

I have downloaded and installed version 1.5.3-1 on two different Windows 
XP SP1 machines.  All was working correctly.  However, after installing 
the patch from Microsoft to plug the hole(s) that created RPC problems, 
I now cannot  launch a Bash shell.

On clicking the Cygwin icon, a shell appears for about one second and 
then is  dismissed.  Sometimes a cmd.exe process is left running  and 
sometimes it is not.

Since my laptop has not development environment other than the GNU 
goodies supplied by Cygwin, I am unable to debug to try and isolate the 
problem.

Has anyone else noticed this problem after  installing the RPC patch 
from Microsoft?

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


ctrl-c in rxvt

2003-09-11 Thread Patrick Peralta
Hello list,

I installed Cygwin a few days ago on Windows XP along with rxvt
2.7.10.  It works great except for ctrl-c when trying to break
out of certain programs (such as ping).  It works under the
regular DOS-window bash but it is ignored under rxvt.  This also
happens if I sssh into the box.  Am I missing a configuration
somewhere?

Thanks,
Patrick

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



Re: bash.exe doesn't launch correctly

2003-09-11 Thread Andrew DeFaria
Robert Sample wrote:

Dear Cygwin Developers:

I have downloaded and installed version 1.5.3-1 on two different 
Windows XP SP1 machines.  All was working correctly.  However, after 
installing the patch from Microsoft to plug the hole(s) that created 
RPC problems, I now cannot  launch a Bash shell.

On clicking the Cygwin icon, a shell appears for about one second and 
then is  dismissed.  Sometimes a cmd.exe process is left running  and 
sometimes it is not.

Since my laptop has not development environment other than the GNU 
goodies supplied by Cygwin, I am unable to debug to try and isolate 
the problem.

Has anyone else noticed this problem after  installing the RPC patch 
from Microsoft?

Regards,
Robert Sample 
What happens when you start a cmd.exe shell then type in 
C:\Cygwin\bin\bash --login -i?
Obligatory witty saying: I've had amnesia for as long as I can remember.



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


Re: win2k "resource" exhaustion problem - no Cygwin programs will run

2003-09-11 Thread Luc Hermitte
Hello,

* On Thu, Sep 11, 2003 at 01:41:41PM -0700, james pentland <[EMAIL PROTECTED]> wrote:
> i have a bash script which apparently causes an
> exhaustion of system resources.
> which "resources" i am unclear about - it does not
> seem to be memory.
> [...]
> ./yawfu-sh: line 7: /usr/bin/sed: Permission denied

It looks like a problem several people are experimenting.
Lately, someone exposed a link between this problem and Agnitum Outpost
(a firewall) that seems to forget to free some resources. This sounds
plausible, from my point of view, as I also have Outpost and I'm
experimenting this problem.

[BTW, Rampage was evoked as a possible workaround, but it had no
positive effect on my system.]


HTH,
-- 
Luc Hermitte

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



Re: Can't start network utilities in cygwin with WinGate client

2003-09-11 Thread Larry Hall
Well, it sounds to me like the WinGate client is certainly the problem then.
I'd recommend searching the WinGate site for answers and/or contacting them.

Larry

At 11:16 AM 9/11/2003, Shahid Manzoor you wrote:
>Hi,
>
>I have no problem in TCP/UDP setting problem on server. if i disable the
>WinGate client then it works. I have WinGate server on server machine and
>I can run internet from client machine without WinGate client. In this
>scenario ssh or scp command works without client on my machine. But does
>not work with WinGate client.
>
>Shahid Manzoor
>
>On Thu, 11 Sep 2003, Larry Hall wrote:
>
>> At 10:28 AM 9/11/2003, Shahid Manzoor you wrote:
>> >Hi,
>> >
>> >I have installed WinGate client on my windows2000 machine and all
>> >applications like ssh, scp, startx using TCP/IP does not work in cygwin.
>> >If i disable WinGate client then these works.
>> >
>> >Please tell me how can I solve this problem
>> >
>> >Shahid Manzoor
>>
>>
>> Sounds like you haven't configured WinGate to open the TCP/UDP needed to
>> run.  ssh is TCP port 22.  I'm guessing this handles scp too.  No clue
>> what the issue is with startx.  You can check the xfree list about that
>> if it's truly something Cygwin/X related.  Best bet is to check the docs
>> first though.
>>
>>
>> --
>> Larry Hall  http://www.rfk.com
>> RFK Partners, Inc.  (508) 893-9779 - RFK Office
>> 838 Washington Street   (508) 893-9889 - FAX
>> Holliston, MA 01746
>>
>>
>
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:   http://cygwin.com/problems.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/


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



Re: ctrl-c in rxvt

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 04:02:22PM -0700, Patrick Peralta wrote:
>I installed Cygwin a few days ago on Windows XP along with rxvt
>2.7.10.  It works great except for ctrl-c when trying to break
>out of certain programs (such as ping).  It works under the
>regular DOS-window bash but it is ignored under rxvt.  This also
>happens if I sssh into the box.  Am I missing a configuration
>somewhere?

Native windows apps could have a problem with CTRL-C.  Cygwin apps
work fine.  There is no workaround for this.

cgf

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



1.5.3 - can't start cron nor apache service - operation not permitted

2003-09-11 Thread Andrew DeFaria
Since upgrading to 1.5.3 I cannot start cron or apache as services. They 
were added as follows:

$ cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e 
"MAILTO=$USER@" -e "CYGWIN=ntsec
$ cygrunsrv -I apache -p /usr/sbin/httpd -a -k -d "Cygwin Apache" -f 
"Apache for Cygwin"
$ cygrunsrv -S cron
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.
$ cygrunsrv -S apache
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

Examining the Event Viewer yeilds:

Event Type:Error
Event Source:cron
Event Category:None
Event ID:0
Date:9/11/2003
Time:3:23:08 PM
User:NT AUTHORITY\SYSTEM
Computer:ADEFARIA
Description:
cron : PID 3856 : starting service `cron' failed: execv: 1, Operation 
not permitted

And

Event Type:Error
Event Source:Apache
Event Category:None
Event ID:0
Date:9/11/2003
Time:3:27:26 PM
User:NT AUTHORITY\SYSTEM
Computer:ADEFARIA
Description:
The description for Event ID ( 0 ) in Source ( Apache ) cannot be found. 
The local computer may not have the necessary registry information or 
message DLL files to display messages from a remote computer. You may be 
able to use the /AUXSOURCE= flag to retrieve this description; see Help 
and Support for details. The following information is part of the event: 
Apache : PID 4000 : starting service `Apache' failed: execv: 1, 
Operation not permitted.

I looked through the list and didn't find anything that helped me.

(BTW: Interestingly enough, I no longer have a /usr/doc/Cygwin/cron.README!)

Obligatory witty saying: Consciousness: That annoying time between naps.



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


File name completion in bash completes to .lnk

2003-09-11 Thread Andrew DeFaria
In Cygwin 1.5.3 when doing filename completion with the tab character 
bash completes a symlink all the way to the .lnk:

$ ls symlinked_fi

yields

$ ls symlinked_file.lnk
Obligatory witty saying: Okay, who put a "stop payment" on my reality check?


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


Re: Find: missing alphabetically last dirtree

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 10:22:38PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>>From: Christopher Faylor Ok, how about a 'dir p:'?  Does it show a "."
>>and a ".." directory?
>
>I assume you meant from cmd.exe...  bash/dir is below though, just in
>case (seems not so useful).

Yes, sorry, I meant from cmd.

Well, I have a theory on why this is happening and have checked in a change
to deal with it.  I'm generating a snapshot now.  Please give it a try.

cgf

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



Re: File name completion in bash completes to .lnk

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 04:34:08PM -0700, Andrew DeFaria wrote:
>In Cygwin 1.5.3 when doing filename completion with the tab character 
>bash completes a symlink all the way to the .lnk:
>
>$ ls symlinked_fi
>
>yields
>
>$ ls symlinked_file.lnk

Nope.  It actually doesn't do that at all.  I just tried it.

cgf

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



Re: File name completion in bash completes to .lnk

2003-09-11 Thread Andrew DeFaria
Christopher Faylor wrote:

On Thu, Sep 11, 2003 at 04:34:08PM -0700, Andrew DeFaria wrote:

In Cygwin 1.5.3 when doing filename completion with the tab character
bash completes a symlink all the way to the .lnk:
$ ls symlinked_fi

yields

$ ls symlinked_file.lnk


Nope. It actually doesn't do that at all. I just tried it.
Well it just did for me!

$ ln -s /etc/passwd symlinked_file
$ ls syml
What information can I give to you at this point?
Obligatory witty saying: Your kid may be an Honor Student, but 
you're still an idiot.



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


Re: ctrl-c in rxvt

2003-09-11 Thread Rick Rankin

--- Christopher Faylor <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 11, 2003 at 04:02:22PM -0700, Patrick Peralta wrote:
> >I installed Cygwin a few days ago on Windows XP along with rxvt
> >2.7.10.  It works great except for ctrl-c when trying to break
> >out of certain programs (such as ping).  It works under the
> >regular DOS-window bash but it is ignored under rxvt.  This also
> >happens if I sssh into the box.  Am I missing a configuration
> >somewhere?
> 
> Native windows apps could have a problem with CTRL-C.  Cygwin apps
> work fine.  There is no workaround for this.

Using ctrl-c with ping, however, worked fine (for me, anyway) on 1.3.x. I just
noticed this a couple of days ago with 1.5.3 when I ran a 'ping -t' command
then couldn't stop it. No change with the 9/10 snapshot. Was I just lucky
before?

--Rick

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



Re: ctrl-c in rxvt

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 05:32:03PM -0700, Rick Rankin wrote:
>--- Christopher Faylor <[EMAIL PROTECTED]> wrote:
>>On Thu, Sep 11, 2003 at 04:02:22PM -0700, Patrick Peralta wrote:
>>>I installed Cygwin a few days ago on Windows XP along with rxvt 2.7.10.
>>>It works great except for ctrl-c when trying to break out of certain
>>>programs (such as ping).  It works under the regular DOS-window bash
>>>but it is ignored under rxvt.  This also happens if I sssh into the
>>>box.  Am I missing a configuration somewhere?
>>
>>Native windows apps could have a problem with CTRL-C.  Cygwin apps work
>>fine.  There is no workaround for this.
>
>Using ctrl-c with ping, however, worked fine (for me, anyway) on 1.3.x.
>I just noticed this a couple of days ago with 1.5.3 when I ran a 'ping
>-t' command then couldn't stop it.  No change with the 9/10 snapshot.
>Was I just lucky before?

Since there are just two or three developers in cygwin, and no one else
seems willing to pitch in to debug problems like this, I suppose that luck
is as good an explanation as any.

We can't get decent bug reports without begging, so, just feel lucky
that the system works at all.

cgf

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



Re: File name completion in bash completes to .lnk

2003-09-11 Thread Larry Hall
At 07:59 PM 9/11/2003, Andrew DeFaria you wrote:
>Christopher Faylor wrote:
>
>>On Thu, Sep 11, 2003 at 04:34:08PM -0700, Andrew DeFaria wrote:
>>
>>>In Cygwin 1.5.3 when doing filename completion with the tab character
>>>bash completes a symlink all the way to the .lnk:
>>>
>>>$ ls symlinked_fi
>>>
>>>yields
>>>
>>>$ ls symlinked_file.lnk
>>
>>
>>Nope. It actually doesn't do that at all. I just tried it.
>
>Well it just did for me!
>
>$ ln -s /etc/passwd symlinked_file
>$ ls syml
>What information can I give to you at this point?


I guess start with the standard stuff like the cygcheck info.  Maybe try
running this with 'strace' and look at the results.  Send anything strange
along.  'ls -l symlinked_file' might be helpful as well.  FWIW, I tried
this too with 1.5.3 and I'm in Chris's camp (although I have to say I'm
a throw-back that still uses 'nowinsymlinks' when I'm not running the
above test. ;-) )



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


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



Re: File name completion in bash completes to .lnk

2003-09-11 Thread Andrew DeFaria
Larry Hall wrote:

At 07:59 PM 9/11/2003, Andrew DeFaria you wrote:

Christopher Faylor wrote:

On Thu, Sep 11, 2003 at 04:34:08PM -0700, Andrew DeFaria wrote:

In Cygwin 1.5.3 when doing filename completion with the tab character
bash completes a symlink all the way to the .lnk:
$ ls symlinked_fi

yields

$ ls symlinked_file.lnk


Nope. It actually doesn't do that at all. I just tried it.
Well it just did for me!

$ ln -s /etc/passwd symlinked_file
$ ls syml
What information can I give to you at this point?
I guess start with the standard stuff like the cygcheck info. 
Attached

Maybe try running this with 'strace' and look at the results. 
Not exactly sure how to strace this. It's not like I'm running another 
process, rather I'm just hitting the tab key in bash. I tried strace 
bash then, after tons of probably uninteresting output I start my "test" 
by typing ls sym then tab. Nothing happens.

Send anything strange along. 'ls -l symlinked_file' might be helpful 
as well. 
Well it's just a symlink to /etc/passwd:

$ ls -l symlinked_file
lrwxrwxrwx1 adefaria Domain U  115 Sep 11 18:51 symlinked_file 
-> /etc/passwd
===
Obligatory witty saying: When someone asks you, "A penny for your 
thoughts", and you put your
two cents in, what happens to the other penny?

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Sep 11 18:48:56 2003

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   .
\\sonscentral\users\adefaria\bin
\\sons-clearcase\Views\official\Tools\adm\bin
\\sons-clearcase\Views\official\Tools\bin
C:\Cygwin\bin
C:\Cygwin\bin
C:\Cygwin\usr\X11R6\bin
C:\Cygwin\usr\local\bin
C:\Cygwin\usr\sbin
c:\WINDOWS\System32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Rational\common
c:\Program Files\Rational\ClearQuest
c:\Program Files\Rational\ClearCase\bin

Output from C:\Cygwin\bin\id.exe (nontsec)
UID: 1370(adefaria) GID: 513(Domain Users)
513(Domain Users)

Output from C:\Cygwin\bin\id.exe (ntsec)
UID: 1370(adefaria) GID: 513(Domain Users)
1834(clearcase)  
512(Domain Admins)   513(Domain Users)
2637(Employees-US-Security)  
1170(Everybody)  1331(Software)
1866(Software-US-Security)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `ntsec'
HOME = `\\sonscentral\users\adefaria'
MAKE_MODE = `unix'
PWD = `/us/adefaria'
USER = `adefaria'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\adefaria\Application Data'
CCHOME = `C:/Program Files/Rational/ClearCase'
CLEARCASE_BLD_HOST_TYPE = `windows'
CLEARTOOL = `C:/Program Files/Rational/ClearCase/Bin/Cleartool'
CLIENTNAME = `Console'
COLORFGBG = `15;default'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `ADEFARIA'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
DISPLAY = `:0'
GNU_SECURE = `/us/adefaria/.gnuhosts'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\adefaria'
LESS = `eiXP?f%f :[stdin] .?pt(%pt\%):?bt(%bt bytes):-..'
LOGONSERVER = `\\SONS-ERP'
LOGS = `C:/Program Files/Rational/ClearCase/var/log'
LS_COLORS = 
`no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:ex=01;33:*~=05;31:*.mtxt=05;31:*.ndx=05;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.c=01;36:*.h=01;36:*.pl=01;36:*.pm=01;36:*.cgi=01;36:*.java=01;36:*.html=01;36:*.tar=01;31:*.tgz=01;31:*.gz=01;31:*.tgz=01;31:*.bz2=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.jpeg=01;35:*.JPG=01;35:*.gif=01;35:*.GIF=01;35:*.bmp=01;35:*.BMP=01;35:*.xbm=01;35:*.ppm=01;35:*.xpm=01;35:*.tif=01;35:'
MANPATH = `:/usr/ssl/man:/usr/share/man'
MSHOME = `C:/Program Files/Rational/MultiSite'
MULTITOOL = `C:/Program Files/Rational/MultiSite/Bin/Multitool.exe'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/dev/h'
OS = `5'
PAGER = `less -s'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PRINTER = `//sons-mrp/HPLaserJ'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 0 Stepping 10, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `000a'
PROGRAMFILES = `C:\Program Files'
PS1 = `\[\e]0;~\a\e[01;33madefaria:\e[0m'
PS4 = `${0##*/} line $LINENO:'
RATL_RTHOME = `C:\Program Files\Rational\Rational Test'
RGY = `C:/Program Files/Rational/ClearCase/var/atria/rgy'
RTHOME = `C:\Program Files\Rational\Rational Test'
SESSIONNAME = `Console'
SHELL = `/bin/bash'
SHLVL = `1'
SITE_ADMIN = `Andrew DeFaria'
SITE_ADMIN_EMAIL = [EMAIL PROTECTED]'
SITE_ANON_FTP_SERVER = `sons-clearcase'
SITE_BUILD_SERVER = `sons-clearcase'
SITE_DYNAMIC_VIEW_PATH = `/dview'
SITE_HOME_SERVER = `sonscentral'
SITE_HOME_SHARENAME = `users'
SITE_NAME = `US'
SITE_NAME_LONG = `Santa Clara'
SITE_OFFICIAL_VIEW = `official'
SITE_REGION = `US'
SITE_RELEASE_PATH = `Release Corporate/Software/Release'
SITE_RELEASE_SERVER = `swlab-ftpserver sonscentral'
SITE_SNAPSHOT_V

Re: File name completion in bash completes to .lnk

2003-09-11 Thread Christopher Faylor
So, the eventual cygcheck output reveals that the problem is this:

http://cygwin.com/ml/cygwin/2003-09/msg00569.html

Which should be fixed in tonight's snapshot.

cgf

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



Re: cygwin doesn't show .. in all directories

2003-09-11 Thread David O'Shea
Yes, I do have an email problem, my inability to keep up with all the
email I get!  Since the replies I'd gotten had been sent directly to
me I thought that was the custom on this list and didn't bother to
check the backlog for other replies.

My question still stands: what is supposed to happen in readdir() if
dir->__handle == INVALID_HANDLE_VALUE && dir->__d_position == 0 and
then handle == INVALID_HANDLE_VALUE && lasterr == ERROR_NO_MORE_FILES?

Regards,
David

- Original Message - 
From: "Christopher Faylor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 12, 2003 2:05 AM
Subject: Re: cygwin doesn't show .. in all directories


> On Fri, Sep 12, 2003 at 01:48:15AM +1000, David O'Shea wrote:
> >Can anyone comment on these diffs?  Apart from being messy and not
> >properly formatted at the moment and having way too many calls to
> >syscall_printf(), are they okay?
>
> Are you having email problems?  I've already informed you *twice*
> that this is already fixed in the latest snapshot.
> --
> Please use the resources at cygwin.com rather than sending personal
email.
> Special for spam email harvesters: send email to
[EMAIL PROTECTED]
> and be permanently blocked from mailing lists at sources.redhat.com
>

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



Re: File name completion in bash completes to .lnk

2003-09-11 Thread Larry Hall
At 10:10 PM 9/11/2003, Christopher Faylor you wrote:
>So, the eventual cygcheck output reveals that the problem is this:
>
>http://cygwin.com/ml/cygwin/2003-09/msg00569.html
>
>Which should be fixed in tonight's snapshot.


Wow, that was quick diagnosis.  I was just starting to go through the 
cygcheck myself.  Isn't cygcheck wonderful?  :-)



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


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



Re: symlink extension shown using 1.5.3

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 11:49:42AM +0200, [EMAIL PROTECTED] wrote:
>> On Wed, Sep 10, 2003 at 02:30:32PM +0200, [EMAIL PROTECTED] wrote:
>> > > What type are the remote shares, Samba or Windows?
>> > How can I tell?
>> 
>> OS of remote machine?
>Win2k (stated in the very first mail - therefore my confusion ;-)

This should be fixed in the current snapshot.

cgf

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



Re: File name completion in bash completes to .lnk

2003-09-11 Thread Andrew DeFaria
Christopher Faylor wrote:

So, the eventual cygcheck output reveals that the problem is this:

http://cygwin.com/ml/cygwin/2003-09/msg00569.html

Which should be fixed in tonight's snapshot.
Ah, duh. Sorry I should have thought of that. I guess I have 
sufficiently hidden the fact that my home directory is on a mount point! 
Even from myself :-)

Actually I'm not sure if I would have made the connection - I do vaguely 
recall something about .lnk's showing up on network paths.

Thanks for the quick diagnosis and impending fix.

===
Obligatory witty saying: Bad command. Bad, bad command! Sit! Stay! Staaay..


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


Re: ctrl-c in rxvt

2003-09-11 Thread Rick Rankin

--- Christopher Faylor <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 11, 2003 at 05:32:03PM -0700, Rick Rankin wrote:
> >--- Christopher Faylor <[EMAIL PROTECTED]> wrote:
> >>On Thu, Sep 11, 2003 at 04:02:22PM -0700, Patrick Peralta wrote:
> >>>I installed Cygwin a few days ago on Windows XP along with rxvt 2.7.10.
> >>>It works great except for ctrl-c when trying to break out of certain
> >>>programs (such as ping).  It works under the regular DOS-window bash
> >>>but it is ignored under rxvt.  This also happens if I sssh into the
> >>>box.  Am I missing a configuration somewhere?
> >>
> >>Native windows apps could have a problem with CTRL-C.  Cygwin apps work
> >>fine.  There is no workaround for this.
> >
> >Using ctrl-c with ping, however, worked fine (for me, anyway) on 1.3.x.
> >I just noticed this a couple of days ago with 1.5.3 when I ran a 'ping
> >-t' command then couldn't stop it.  No change with the 9/10 snapshot.
> >Was I just lucky before?
> 
> Since there are just two or three developers in cygwin, and no one else
> seems willing to pitch in to debug problems like this, I suppose that luck
> is as good an explanation as any.
> 
> We can't get decent bug reports without begging, so, just feel lucky
> that the system works at all.

Well, let me see what I can do...

--Rick

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



Syslog daemon (yes, I read the archives)

2003-09-11 Thread David O'Shea
Hi all,

>From reading the archives there seem to be some requests from people
to have the ability to use a syslog daemon instead of the Windows
Event Log or C:\CYGWIN_SYSLOG.TXT for syslog output.  I would also
like that.

I would like to try to implement this so that a registry flag controls
whether the current method is used or whether to try and talk to the
local syslog daemon.

Is there any reason to not do this?  If I don't hear back from here I
guess I'll try and get on the -developers mailing list and see what
they say.

Regards,
David

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



Re: ctrl-c in rxvt

2003-09-11 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 09:54:10PM -0700, Rick Rankin wrote:
>--- Christopher Faylor wrote:
>>We can't get decent bug reports without begging, so, just feel lucky
>>that the system works at all.
>
>Well, let me see what I can do...

The offer is very much appreciated but I think I have fixed this.  It was
quite a difficult problem to track down, too...

Maybe next time.

cgf

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



Re: Syslog daemon (yes, I read the archives)

2003-09-11 Thread Christopher Faylor
On Fri, Sep 12, 2003 at 04:40:27PM +1000, David O'Shea wrote:
>Hi all,
>
>>From reading the archives there seem to be some requests from people
>to have the ability to use a syslog daemon instead of the Windows
>Event Log or C:\CYGWIN_SYSLOG.TXT for syslog output.  I would also
>like that.
>
>I would like to try to implement this so that a registry flag controls
>whether the current method is used or whether to try and talk to the
>local syslog daemon.
>
>Is there any reason to not do this?  If I don't hear back from here I
>guess I'll try and get on the -developers mailing list and see what
>they say.

All of the developers read this mailing list.  If you want to contribute
something, you should look at the contributing link at the cygwin web site
and you'll need to send in an assignment for any patch that you provide.

I don't have any opinion one way or the other on this.  I guess I'd have
to see the implemenation.

cgf

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