X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4EFA9F07.9040301@shaddybaddah.name> Date: Wed, 28 Dec 2011 15:45:59 +1100 From: Shaddy Baddah User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: sftp-server -h succeeds on cmd, fails on mintty References: <4EF28545 DOT 4090901 AT shaddybaddah DOT name> <4EF28709 DOT 8000208 AT cygwin DOT com> <4EF29183 DOT 8060408 AT shaddybaddah DOT name> <4EF29826 DOT 4010301 AT cygwin DOT com> <4EF407E6 DOT 4070308 AT shaddybaddah DOT name> In-Reply-To: <4EF407E6.4070308@shaddybaddah.name> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, On 23/12/11 15:47, Shaddy Baddah wrote: > Also, there is a twist. Running under strace alters the > behaviour. Although I'm not totally surprised by this because I've > seen that strace alters tty I/O when I was debugging a problem a > couple years back > (http://sourceware.org/ml/cygwin-developers/2010-02/msg00043.html). I apologise. Whilst in the past strace has wrong-footed me, and somewhat this time (with different behaviour), as it turns out, I should not have disparaged it. > I'll start setting up for dll debugging now. The problem was all my own doing. I had a cygwin1.dll, and other dlls in my home directory. I noticed this because when I cd'ed out of my home directory, the sftp-server command would work. Of course, once I'd moved the dlls out of the way, sftp-server came good. And of course, my sftp issues have also cleared up. I apologise for the noise. Thanks to Larry for humouring me, and to the Cygwin community in general. -- Shaddy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple