From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: Ftp freezes on w32 Date: Tue, 7 Nov 2006 09:00:15 -0800 (PST) Message-ID: <50172.128.165.123.18.1162918815.squirrel@webmail.lanl.gov> 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> Reply-To: herring@lanl.gov NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1162919308 10992 80.91.229.2 (7 Nov 2006 17:08:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2006 17:08:28 +0000 (UTC) Cc: Juanma Barranquero , Eli Zaretskii , Jason Rumney , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 07 18:08:24 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 1GhUQZ-0006mB-HI for ged-emacs-devel@m.gmane.org; Tue, 07 Nov 2006 18:07:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhUQZ-0002d4-3c for ged-emacs-devel@m.gmane.org; Tue, 07 Nov 2006 12:07:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhULQ-00064K-OC for emacs-devel@gnu.org; Tue, 07 Nov 2006 12:02:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhULO-00061o-E7 for emacs-devel@gnu.org; Tue, 07 Nov 2006 12:02:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhULN-00061T-Il for emacs-devel@gnu.org; Tue, 07 Nov 2006 12:02:38 -0500 Original-Received: from [192.65.95.54] (helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GhUJD-0004WF-M8; Tue, 07 Nov 2006 12:00:24 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher-b.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id kA7H0Gd3019292; Tue, 7 Nov 2006 10:00:17 -0700 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id kA7H0FJD027798; Tue, 7 Nov 2006 10:00:16 -0700 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id kA7H0FT1022082; Tue, 7 Nov 2006 10:00:15 -0700 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id kA7H0FTD022059; Tue, 7 Nov 2006 09:00:15 -0800 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Tue, 7 Nov 2006 09:00:15 -0800 (PST) In-Reply-To: <4550A650.7000808@student.lu.se> Original-To: "Lennart Borgman" User-Agent: SquirrelMail/1.4.6-7.el3.7lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 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:61916 Archived-At: > Am I the only person here using ange-ftp (through tramp of course) on > w32??? I may have some helpful comments on your previous email, but they're not solid yet. For now: > I have tried a couple of workarounds, but none has worked as I wish yet. > What I thought would work was to kill and restart the ange ftp process > in ange-ftp-send-cmd when ange-ftp-process-filter finds that the ftp > process sends just nulls. I tried something like this then > > (delete-process proc) > (while (not (eq 'exit (process-status proc))) > (sit-for 1) > (sleep-for 1) ;; Hope one of them works > (message "process-status=%s" (process-status proc))) > > This just loops and tells that the process is "signaled". Is there > something else I can do here? (I have tried kill-process too with the > same result.) I thought that sit-for or sleep-for would give Emacs a > chance to finish the ftp process, but it does not seem so. 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 -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.