[Zope] Re: Success! (was: efs fails to connect to any hosts)

Stephen J. Turnbull stephen@xemacs.org
Sat, 26 Oct 2002 18:13:01 +0900


Please report XEmacs bugs that seem to be concerned with separately
distributed packages, _especially_ Dired and EFS, to the package's bug
address, ${package}-bugs@xemacs.org.  (In about half the cases, this is
just xemacs-beta anyway.)  I'm cc'ing efs-bugs here, but Michael will
probably want a efs-report-bug from you, Skip.  (Michael: Skip's
report is included in full below.)

Also, many packages have their own bug-reporting functions.  Hm ... do
it now ... there will be an announcement of a general facility for
XEmacs later (probably in the mail-lib or xemacs-base package), but
for now stick this somewhere where XEmacs can find it.  There are
probably a lot of others, but this will do for a start.

(defvar sjt/submit-report-topics
  '(("xemacs-bug" . report-emacs-bug)
    ("xemacs-build" . build-report)
    ("auc-tex" .TeX-submit-bug-report)
    ("bbdb" . bbdb-submit-bug-report)
    ("cc-mode" . c-submit-bug-report)
    ("dired" . dired-report-bug)
    ("efs" . efs-report-bug)
    ("eshell" . eshell-report-bug)
    ("gnus" . gnus-bug)
    ("psgml" . sgml-submit-bug-report)
    ("skk". skk-submit-bug-report)
    ("supercite" . sc-submit-bug-report)
    ("tramp". tramp-submit-bug)
    ("vm" . vm-submit-bug-report)
    )
  "Alist of reportable topics and their reporter functions.")

(defun sjt/submit-report (topic)
  "Submit a report on TOPIC (a module or package), prompting with completion."
  (interactive
    (list (completing-read "Topic for report: "
			   sjt/submit-report-topics nil nil nil nil
			   "xemacs-bug")))
  (call-interactively (cdr (assoc topic sjt/submit-report-topics))))

The rest of this everybody's already seen
>>>>> "Skip" == Skip Montanaro <skip@pobox.com> writes:

About a week ago I complained to both the Zope and XEmacs beta mailing lists
that I couldn't connect to remote hosts using efs from my Mac Powerbook
running 10.2.1 and XEmacs 21.5.b9.  Specifically, I wanted to connect to
Zope's FTP server.  I couldn't even get the server to detect a
connection.

I ignored the problem for several days then revisited it today.  It turns
out my efs-ftp-program-args were set incorrectly.  The default value for
this variable is

    '("-i" "-n" "-g" "-v")

As a carryover from my previous Linux laptop, I had set it to

    '("-i" "-u" "-g" "-v")

in my init.el file.  I no longer recall why I needed "-u" but not "-n" under
Linux, but "-u" at least it means something entirely different under MacOSX.

I now have this setting in my init.el file:

    (setq efs-ftp-program-args '("-i" "-g" "-v" "-e" "-n" "-A"))

Both the -e (disable command line editing) and -A (force active mode) seem
to be required for the version of ftp on my machine.  Without -e it can't
detect the remote host type if I connect to ftp.xemacs.org.  Without -A it
attempts to send an EPRT command, which many (most?) ftp servers appear not
to understand.  (Perhaps efs can be trained to ignore EPRT and EPSV errors.)

To the XEmacs beta folks, let me know if you want more input regarding the
-e and -A flags.  I'd be happy to send some ftp buffer contents your way.

-- 
Skip Montanaro - skip@pobox.com
http://www.mojam.com/
http://www.musi-cal.com/


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
 My nostalgia for Icon makes me forget about any of the bad things.  I don't
have much nostalgia for Perl, so its faults I remember.  Scott Gilbert c.l.py