From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Ftp freezes on w32 Date: Tue, 07 Nov 2006 23:30:40 +0100 Message-ID: <45510910.2030907@student.lu.se> References: <454C77D4.2090609@student.lu.se> <454D305C.7080600@student.lu.se> <454DDE39.6060001@student.lu.se> <454FDDF1.7010709@student.lu.se> <45504299.3040701@student.lu.se> <4550A650.7000808@student.lu.se> <50172.128.165.123.18.1162918815.squirrel@webmail.lanl.gov> <4550D453.6080809@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162938745 21297 80.91.229.2 (7 Nov 2006 22:32:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2006 22:32:25 +0000 (UTC) Cc: Juanma Barranquero , Eli Zaretskii , Emacs Devel , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 07 23:32:19 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GhZUJ-0003Ek-Ho for ged-emacs-devel@m.gmane.org; Tue, 07 Nov 2006 23:32:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhZUJ-0004br-0h for ged-emacs-devel@m.gmane.org; Tue, 07 Nov 2006 17:32:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhZT7-00043R-G7 for emacs-devel@gnu.org; Tue, 07 Nov 2006 17:30:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhZT5-00042K-95 for emacs-devel@gnu.org; Tue, 07 Nov 2006 17:30:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhZT5-00042B-3f for emacs-devel@gnu.org; Tue, 07 Nov 2006 17:30:55 -0500 Original-Received: from [80.76.149.212] (helo=ch-smtp01.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GhZSz-0007v7-JY; Tue, 07 Nov 2006 17:30:50 -0500 Original-Received: from [83.254.145.24] (port=63153 helo=[192.168.123.121]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1GhZSr-0000ZF-54; Tue, 07 Nov 2006 23:30:47 +0100 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: Lennart Borgman In-Reply-To: <4550D453.6080809@student.lu.se> X-Scan-Result: No virus found in message 1GhZSr-0000ZF-54. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1GhZSr-0000ZF-54 cc611a380564982c5f78a21b0fe9bffc X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61932 Archived-At: Lennart Borgman wrote: > Stuart D. Herring wrote: >> Look at the docs for `process-status'. A return of `signal' means that >> the process -is dead-, and that it was killed by a signal (rather than >> exiting of its own volition, which yields `exit'). You got exactly what >> you wanted. (You can check which signal killed it with >> `process-exit-status'.) >> >> Davis >> > > Ah! Thanks, I just tried and at least my workaround now works. > > I thought that that 'signal meant dying .... > > Now, my workaround (which is the only way I currently know of getting > this working with w2k) is as follows: > > 1) Throw to a tag in ange-ftp-process-filter if the ftp process seems > out of order (waiting, only nulls and more than 20 characters is my > current test) > 2) Catch this in ange-ftp-send-cmd and call delete-process there and > then let ange-ftp-get-process restart the ftp process > > Is this something we want in ange-ftp? If not I believe we should give > a reciepe for how to get ange-ftp working, but I am not sure how this > should look. What I do know is that this does not work OTB for all w2k > users, see the page on EmacsWiki that I mentioned before. > > The ftp program I am using is from > ftp.gnu.org/old-gnu/emacs/windows/contrib/ftp-for-win32.zip. (Hope I do not send this two times. Thunderbird got upset by some problems with the SMTP server.) FYI: I have included a patch doing the things above in the Emacs+EmacsW32 distribution, see http://ourcomments.org/Emacs/EmacsW32.html.