🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #3593

Re: Using ange-ftp asynchronously under X11 not possible. Bug or impossible?

#3593
From: Andy Norman
Date: Wed, 06 Jan 1993 16:29
48 lines
2786 bytes
Lutz Pressler writes:

+----------------
+ I'm using ange-ftp (ange-ftp.el,v 4.20 92/08/14 17:04:34) with
+ GNU-Emacs 18.57.2 or 18.58.1 on DECstations (Ultrix 4.2A or 4.3 with
+ DECs X11R4). It is possible to run ange-ftp (e.g. copying a remote
+ file) in the background and edit another buffer etc. One has to
+ press Ctrl-G before maybe, but I don't think it's neccessary. 
+----------------

ange-ftp 4.20, the latest release, will copy files asynchronously using either
M-x copy-file or "tree" dired's "c" command if called interactively.  However,
"tree" dired MUST be byte-compiled using Jamie Zawinski's excellent
byte-compiler and not the standard v18 byte-compiler.

I'd recommend NOT using C-g with ange-ftp as it may be left in an
"interesting" state... at least for that ftp transaction.

+----------------
+ .. normally I work under X11 (at least if I'm at university and not at
+ home...) and Emacs won't accept any keyboard event (any event?) while
+ copying a file etc... That's not the way I like to see... Is this a
+ bug in our configuration (I don't think so), a bug in ange-ftp or
+ tree-dired (sorry, forgot about tree-dired, using that, too (rev.
+ 5.239), or generally impossible?
+----------------

If ange-ftp is tightly monitoring the output from an ftp process (which
happens if you don't use it asynchronously) then it is possible that when I
call accept-process-output with an argument of the ftp process incoming X11
events may be blocked until the ftp transaction has completed.

This doesn't happen when ange-ftp is happily copying files asynchronously.

+----------------
+ Any help will be appreciated, also any hint how to change ange-ftp or
+ dired, if changes are neccesary. (I'm quite capable of doing
+ elisp-programming.)
+----------------

I hope the above helps.

Questions related to ange-ftp can also be posted to the ange-ftp-lovers
mailing list where I'm much more likely to spot them.  See the comments in
ange-ftp.el for how to subscribe.
					-- ange -- <><

					ange@hplb.hpl.hp.com
Technical Details
Message-ID: <ANGE.93Jan6162928@anorman.hpl.hp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!otter.hpl.hp.com!hpltoad!anorman!ange
References: <LPRESSL.93Jan6150413@gwdu03.gwdg.de>

Show Full Headers
Complete Article Headers
From: ange@hplb.hpl.hp.com (Andy Norman)
Date: Wed, 6 Jan 1993 16:29:28 GMT
Subject: Re: Using ange-ftp asynchronously under X11 not possible. Bug or impossible?
Message-ID: <ANGE.93Jan6162928@anorman.hpl.hp.com>
Organization: Hewlett-Packard Laboratories, Bristol, UK.
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!otter.hpl.hp.com!hpltoad!anorman!ange
Newsgroups: comp.emacs,gnu.emacs.bugs,gnu.emacs.help
References: <LPRESSL.93Jan6150413@gwdu03.gwdg.de>
Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
Lines: 48
In-Reply-To: lpressl@GWDG.DE's message of Wed, 6 Jan 1993 14:04:18 GMT
Nntp-Posting-Host: anorman.hpl.hp.com