Re: Ending ftp sessions (was Re: Some general usage questions)

Andy Norman (ange@hplb.hpl.hp.com)
Wed, 09 Nov 1994 15:34:12 +0000


R. writes:

>> The ange-ftp/dired combination that worked with GNU Emacs 18 (and may work
>> with XEmacs) used to copy files in the background if the dired and ange-ftp
>> files were compiled with Jamie Zawinski's improved byte-compiler beforehand.

>> When RMS ported ange-ftp (and dired) to FSF GNU Emacs 19 the functionality
>> disappeared.

> This is not quite true, at least here (FSF 19.22, RMS-angeftp).  You can
> start copying a single file, and type C-g, and the copy goes into the
> background ok.

Being able to hit C-g to allow async copying isn't what I'd call
'functionality'; it is a bug in ange-ftp.

Hitting C-g may cause ange-ftp *severe* grief by corrupting internal data
structures.  It just happens to have a side-effect of allowing an ongoing copy
to keep running.

> If you do that on a multi-file transfer, then the current file gets copied,
> but when that finishes, subsequent files are not copied.

Yep.  The chain of continuations is probably corrupted.

					-- ange -- <><

					ange@hplb.hpl.hp.com