Bug#2281: emacs ange-ftp fails from xterm
If Emacs is invoked from an xterm then ange-ftp doesn't work; the FTP
program's readline interface produces terminal escape sequences
appropriate to TERM=xterm, which it is obviously receiving from Emacs.
Emacs should not set TERM=xterm for its subprocesses (it runs ftp in a
pty, I believe).
Invoking emacs as (bournelike shell)
TERM=dumb emacs &
works around the problem.
The system has xbase 3.1.2-7 installed, and netstd 1.26-1.