From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Ftp freezes on w32
Date: Tue, 07 Nov 2006 02:14:25 +0100 [thread overview]
Message-ID: <454FDDF1.7010709@student.lu.se> (raw)
In-Reply-To: <454DDE39.6060001@student.lu.se>
Lennart Borgman wrote:
> Lennart Borgman wrote:
>> Lennart Borgman wrote:
>>> I have seen a problem with ftp on w32 which I have not had time to
>>> report before. The problem is that if I make a small pause for some
>>> minutes then ftp hangs. Looks like there perhaps is some problem
>>> with the ftp process. Here is a more detailed description:
>>>
>>>
>>> I have downloaded the ftp program mentioned on
>>> http://www.emacswiki.org/cgi-bin/wiki/AngeFtp and my
>>> ange-ftp-ftp-program-name is c:/dl/ftp-for-win32/Release/ftp.exe. I
>>> am using w2k on this pc. My CVS Emacs is from 2006-11-03.
>>>
>>> I open a remote file with the name
>>> "/ftp:someuser@ftp.somehost.com:/htdocs/somepath/index.html". After
>>> doing the first changes to the remote file point is on line 79 in
>>> the buffer "*ftp someuser@ftp.somehost.com*".
>>>
>>> Now I wait maybe 10 min. Then I try again to change the file. Now
>>> Emacs freezes right after the first character, but C-g helps and the
>>> screen gets updated again. Looking in the ftp buffer point is still
>>> on line 79 right after the prompt. However now there is some text
>>> after the prompt:
>>>
>>> ftp> quote mdtm /htdocs/somepath/index.html
>>>
>>> If I in the window showing the ftp buffer now press up arrow I get
>>> the error message:
>>>
>>> Wrong type argument: processp, nil
>>
>> I have looked at this a bit more. The process get killed in
>> `ange-ftp-wait-not-busy' so there is no strange with that the process
>> is gone.
>>
>> However what is happening is that the `ange-ftp-wait-not-busy' never
>> ends. The process filter in `ange-ftp-process-filter' recieves a
>> string with only nulls (in the argument str).
>>
>> Since this is reproducible it seems possible to make a fix for it. A
>> signal can be sent from the process filter and this can be caught in
>> `ange-ftp-raw-send'. But it does not seem quite right to me.
>>
>> Is there not something suspicious about that the process filter
>> receives just nulls? Is there something wrong with emacs_read?
>
> Some more information.
>
> Workaround: It is possible to workaround the problem by simply
> deleting the inferior ftp process in `ange-ftp-process-filter' when a
> string with just a lot of nulls is recieved.
I was wrong when I said I can work around the problem by deleting the
inferior ftp process. I can't because I can not get rid of the ftp
process. It seems impossible in Emacs on w32.
Does someone have any reciepe how to get ange-ftp to work on w32? I do
not know of any way to get it working.
next prev parent reply other threads:[~2006-11-07 1:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-04 11:21 Ftp freezes on w32 Lennart Borgman
2006-11-05 0:29 ` Lennart Borgman
2006-11-05 12:51 ` Lennart Borgman
2006-11-07 1:14 ` Lennart Borgman [this message]
2006-11-07 8:13 ` Lennart Borgman
2006-11-07 8:23 ` Lennart Borgman
2006-11-07 15:29 ` Lennart Borgman
2006-11-07 16:53 ` Jason Rumney
2006-11-07 17:02 ` Lennart Borgman
2006-11-07 17:00 ` Stuart D. Herring
2006-11-07 18:45 ` Lennart Borgman
2006-11-07 22:30 ` Lennart Borgman
2006-11-08 4:08 ` Eli Zaretskii
2006-11-08 7:20 ` Lennart Borgman
2006-11-09 4:23 ` Eli Zaretskii
2006-11-12 12:13 ` Lennart Borgman
2006-11-09 0:53 ` Richard Stallman
2006-11-07 8:25 ` Lennart Borgman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=454FDDF1.7010709@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.