FTPS client wanted

2006-03-12 Thread Angel Tsankov

Can someone recommend a free, optionally GUI, FTP client with support for AUTH 
TLS that has been ported for Windows? Support for AUTH SSL, SSL connect and 
X.509 client auth is optional.

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



Problems with snapshot 20060309 ?

2006-03-12 Thread Angelo Graziosi


This is not a request of help in building a compiler but it is simply a
report on possible problems with the snapshot 20060309 10:35:06.

Recently I have explored the possibility to build GCC 3.4.6 (relased
20060306).

After downloading gcc-3.4.6.tar.bz2 and unpacked:

   configure --prefix=/usr/local/gcc-3.4.6
   make

With the snapshot 20060309 the make process seems to hang at


   ...
   configuring in zlib
   ...
   updating cache ./config.cache
   loading cache ./config.cache within ltconfig
   checking for objdir... .libs
   checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
   checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
   checking if gcc static flag -static works... yes
   finding the maximum length of command line arguments...

I have waited about 1 hour without that the process continued. Trying
CONTROL-C does not work to interrupt it. I should use task manager and
restart the PC.

After many tries I have reinstalled the Cygwin 1.5.19-4 and now the

   finding the maximum length of command line arguments...

point is passed in a few seconds (1 or 2).

the build does not seem to have problems (successively I have interruped
it with CTRL-C to write this report).


The system is W2K SP4. 

I have all cygwin packages installed and updated without any cygwin
service running.

I have the cyg-drive prefix mounted to '/'.

Obviously:


$ gcc --version
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
...



Cheers, Angelo.


--
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: FTPS client wanted

2006-03-12 Thread Brett Serkez
> Can someone recommend a free, optionally GUI, FTP client with support for 
> AUTH TLS that
>has been ported for Windows? Support for AUTH SSL, SSL connect and
X.509 client auth is
> optional.
This is off-topic for this list.

Brett

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



Shared memory error cygwin1.dll

2006-03-12 Thread martyandkaren carrahar

Hi,

I have a very limited knowledge of computers, so I would appreciate some 
help if you can.  I have traced a shared memory error to the "cygwin1.dll" 
file, and I am trying to delete it to resolve the issue.  However, when I 
attempt to delete the older version of the file on my system, it say access 
denied.
Can you please tell me how to find which application is using cygwin1.dll, 
or how to delete it.


This is debug message:-

C:\Program Files\VideoraiPodConverter\apps\ffmpeg.exe (2072): *** system 
shared memory version mismatch detected - 0x75BE0074/0x75BE0084.
This problem is probably due to using incompatible versions of the cygwin 
DLL.

Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version 
*should*

reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.


Many thanks

Marty



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



cron + ssmtp - Please help this newbie resolve this

2006-03-12 Thread Suresh Kumar
Background: 
=
I am a complete newbie in linux but have been using
bash for some scripting.
 
Functionality trying to achieve
==
I am trying to run a cron scheduler to run a job and
to automatically email me!
 
Problems
===
The cron job executes perfectly but the email
functionality does'nt work.
 
Here is my config
=
/etc/ssmtp/ssmtp.conf
=
mailhub=smtp.sbcglobal.yahoo.com
AuthUser=username
AuthPass=mypassword
FromLineOverride=YES
[EMAIL PROTECTED],net
rewriteDomain=sbcglobal.yahoo.com
[EMAIL PROTECTED]
 
usr/sbin/sendmail is a symbolic link to
/usr/sbin/ssmtp
 
Symtoms
===
1. dead.letter found in home/owner
2. /var/log/cron.log has sendmail: 530 authentication
required...message
 
Can somebody help me to fix this problem. I am
assuming symbolic link to ssmtp for sendmail is fine!
 
Help please
 
Thanks
SK
 
 



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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: Shared memory error cygwin1.dll

2006-03-12 Thread Larry Hall (Cygwin)

martyandkaren carrahar wrote:

Hi,

I have a very limited knowledge of computers, so I would appreciate some 
help if you can.  I have traced a shared memory error to the 
"cygwin1.dll" file, and I am trying to delete it to resolve the issue.  
However, when I attempt to delete the older version of the file on my 
system, it say access denied.
Can you please tell me how to find which application is using 
cygwin1.dll, or how to delete it.


This kind of question is actually off-topic for this list.  Since the
problem is caused by a 3PP , in this
case ffmpeg, you need to ask them how to resolve this issue.  A single
Cygwin installation via 'setup.exe' would not cause this situation.
However, generally speaking these situations are caused by the third-
party copy of the Cygwin DLL and usually this copy is placed in the same
directory as the app or  in the Windows system directory.  The
main reasons why one is not be able to delete the file is that it is
either in use or you don't have permissions to do so.  For the former,
exit ffmpeg and all related apps.  You may also need to exit all Cygwin
apps and services (if you didn't start any Cygwin services and/or don't
know what they are, you can safely ignore this part).  For the latter,
see if you're the owner of the DLL file.  If not, take ownership through
the Windows GUI permissions tab on the DLL.  If all else fails, you
should be able to uninstall the third party app and have it toss the
offending file in the process.  But it shouldn't need to come to this.
Hopefully this gives you some good info to resolve the problem or to
use to follow-up with the FFmpeg folks.  Feel free to remind them or
 inform them that we generally frown on third party installations
that don't play well with offical Cygwin installations.


--
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: cron + ssmtp - Please help this newbie resolve this

2006-03-12 Thread Larry Hall (Cygwin)

Suresh Kumar wrote:
Background: 
=

I am a complete newbie in linux but have been using
bash for some scripting.
 
Functionality trying to achieve

==
I am trying to run a cron scheduler to run a job and
to automatically email me!
 
Problems

===
The cron job executes perfectly but the email
functionality does'nt work.
 
Here is my config

=
/etc/ssmtp/ssmtp.conf
=
mailhub=smtp.sbcglobal.yahoo.com
AuthUser=username
AuthPass=mypassword
FromLineOverride=YES
[EMAIL PROTECTED],net
rewriteDomain=sbcglobal.yahoo.com
[EMAIL PROTECTED]
 
usr/sbin/sendmail is a symbolic link to

/usr/sbin/ssmtp
 
Symtoms

===
1. dead.letter found in home/owner
2. /var/log/cron.log has sendmail: 530 authentication
required...message
 
Can somebody help me to fix this problem. I am

assuming symbolic link to ssmtp for sendmail is fine!
 
Help please


Many repeated email messages to the list on the same subject (or even
with exactly the same content like yours!) is not likely to elicit
help.  Usually, it tends to make people less likely to respond.

I'll point you to the email archives for this issue. Generally speaking,
the results you're seeing means you haven't configured things properly.
There's plenty of discussion of cron/mail issues in the archives so it
would be best to check there and see if some of the advice offered
already is helpful.  As a starting point, I'd suggest that you make
sure that you can send email via sstmp from the command line.  Without
this ability, it won't work any better through cron.



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



cygwin can't find anything...

2006-03-12 Thread [EMAIL PROTECTED]
Hi guys,

I recently installed cygwin (switching over from
MinGW) and I seem to be having some compile errors. 
For example, when I went to compile zlib for a program
I'm going to run, I got the following:

Checking for gcc...
Building static library libz.a ver
Checking for unistd.h... No.
Checking for errno.h...  No.
Checking for mmap support... No.

It just can't seem to find anything.  The fact that it
didn't say Checking for gcc... gcc would suggest that
it isn't even seeing the compiler.  All of the files
(unistd.h, errno.h, etc.) are in the /usr/include
directory too.  Any ideas on how to fix this?  Thanks.

Mets


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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/



stdin broken for windows console app under rxvt

2006-03-12 Thread Robinson, Mark
Greetings

A simple console app compiled with MingW (-mno-cygwin) (or VC++) cannot
read from stdin when executed in an rxvt or xterm terminal:

#include 
main() {
  int c;
  fputc(isatty(stdin), stdout);
  while ((c = getc(stdin)) != EOF) fputc(c, stdout);
}

Furthermore, isatty(stdin) returns 0.

Both examples behave under cmd, or cmd/bash with CYGWIN=notty set, or if
they're compiled without the mingw flag.

Any clues gratefully accepted.

cheers
mark

--
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: 20060301 snapshot and later. sh hangs with very long command line

2006-03-12 Thread Christopher Faylor
On Thu, Mar 09, 2006 at 05:31:03PM -0800, Peter Rehley wrote:
>Hi,
>
>I was building binutils using the cygwin 20060308 snapshot, and when  
>it did the check for "finding the maximum length of command line" a  
>sh shell goes to 99% cpu usage and doesn't return until I end the  
>process using task manager.
>
>I isolated the portion of the script that was hanging and was able to  
>repeat the problem.  The script hangs when it checks for a command  
>line of length 16384.  This happens every time I run the script, and  
>it is reproducible for me on at least windows 2000 and windows XP.   
>I've attached a test script.
>
>The problem doesn't happen with the 20060227 snapshot, but appeared  
>in 20060301 and later versions.  It is present in the 20060309 snapshot.

Thanks for the test case.  This should be fixed in the next 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: stdin broken for windows console app under rxvt

2006-03-12 Thread Brian Dessent
"Robinson, Mark" wrote:

> A simple console app compiled with MingW (-mno-cygwin) (or VC++) cannot
> read from stdin when executed in an rxvt or xterm terminal:
> 
> #include 
> main() {
>   int c;
>   fputc(isatty(stdin), stdout);
>   while ((c = getc(stdin)) != EOF) fputc(c, stdout);
> }
> 
> Furthermore, isatty(stdin) returns 0.
> 
> Both examples behave under cmd, or cmd/bash with CYGWIN=notty set, or if
> they're compiled without the mingw flag.

Yes.  This is the expected behavior.

First of all, when you use -mno-cygwin are you no longer using Cygwin,
you are using mingw which uses the Microsoft C library (MSVCRT.DLL). 
So, your question belongs on a mingw mailing list, not here.

When you run a program in Cygwin's rxvt, or with $CYGWIN=tty under a
normal windows bash console, it will use pty emulation.  The key word
here is emulation -- the application has to be a Cygwin app to
participate in this fiction because ptys don't exist on Windows.  So to
a mingw program attached to a pty there is no console, and stdin/stdout
are pipes.  Thus isatty() returns false, and interactive IO will be
cumbersome because MSVCRT buffers the IO since it's not attached to a
console.  You can improve the chances of things working by manually
disabling buffering on stdin/stdout.  But I doubt you'll ever get
isatty() to return true when the app is run attached to a pty.

In the normal windows bash console with $CYGWIN empty or set to notty
(which is the default, so setting it to notty is a no-op), a pty is not
used, and the app's IO is actually attached to the windows console, so
everything works as expected.

Brian

--
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 can't find anything...

2006-03-12 Thread Yaakov S (Cygwin Ports)

[EMAIL PROTECTED] wrote:

I recently installed cygwin (switching over from
MinGW) and I seem to be having some compile errors. 
For example, when I went to compile zlib for a program

I'm going to run, I got the following:


zlib is already available as a Cygwin package, so just use that.


Yaakov

--
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 can't find anything...

2006-03-12 Thread Larry Hall (Cygwin)

[EMAIL PROTECTED] wrote:

Hi guys,

I recently installed cygwin (switching over from
MinGW) and I seem to be having some compile errors. 
For example, when I went to compile zlib for a program

I'm going to run, I got the following:

Checking for gcc...
Building static library libz.a ver
Checking for unistd.h... No.
Checking for errno.h...  No.
Checking for mmap support... No.

It just can't seem to find anything.  The fact that it
didn't say Checking for gcc... gcc would suggest that
it isn't even seeing the compiler.  All of the files
(unistd.h, errno.h, etc.) are in the /usr/include
directory too.  Any ideas on how to fix this?  Thanks.


Without the benefit of info requested by the link below, I can
only guess that you have not (completely) installed the compiler
packages.  If this is true, rerun "setup.exe" and do so.  If not,
please read and follow the problem reporting guidelines at the
link below.


Problem reports:   http://cygwin.com/problems.html




--
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: Using uw-imapd over secure 995 with cygwin -- Cant seem to get it working

2006-03-12 Thread Kevin Hilton
Thanks to Corinna's help and others, I actually added the following 2
lines to the services file (found either using cygwin at /etc/services
or c:\windows\system32\drives\etc\services):
imaps 993/tcpimaps  #Secure Internet
Message Access Protocol
pop3s 995/tcppop3s#Secure Post
Office Protocol - Version 3

In addition 2 lines were added to the inetd.conf file:
pop3s  stream  tcp  nowait  root   /usr/sbin/uw-ipop3d
imaps  stream  tcp  nowait  root   /usr/sbin/uw-imapd

This produced the following: netstat -an | grep 993 or 995
  TCP0.0.0.0:9930.0.0.0:0  LISTENING
  TCP0.0.0.0:9950.0.0.0:0  LISTENING

Inetd service was restarted.

My problem however still stems in that Thunderbird is still not able to
connect via the port 993 to the secure IMAP server.  Thunderbird gives
me an error that I may have exceeced the number of connections to the
server, and may want to try reducing the number of cached connections to
the server.  Ive tried possibly reducing the number of cached
connections from 5 to 3 and then 1, but I was still unsuccessful.

For troubleshooting, I telneted to localhost on port 993, was connected,
however I received the following:
$ telnet localhost 993
Trying 127.0.0.1...
Connected to marge.
Escape character is '^]'.
Connection closed by foreign host.

Possibly a problem here since the connection was closed automatically.

I also wanted to verify that I had set up the SSL certificates
appropriately.
Certificates were created via the following and placed in the
/usr/ssl/certs directory (as instructed in the user manual for cygwin
configuration):
openssl req -new -days 3999 -x509 -nodes -out imapd.pem -keyout imapd.pem
openssl req -new -days 3999 -x509 -nodes -out ipopd.pem -keyout ipopd.pem
Symbolic hash file links were also created to each of these files.

Must be going doing something wrong.


--
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: Using uw-imapd over secure 995 with cygwin -- Cant seem to get it working

2006-03-12 Thread Kevin Hilton
On the advice of another post I also tried the following to verify what
was being broadcast on port 993 and received the following:
$ openssl s_client -connect localhost:993
CONNECTED(0003)
3564:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake
failure:s23_lib.c:188
:

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