From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Parsons Newsgroups: gmane.emacs.bugs Subject: bug#1972: problem using ange-ftp to access files on QNX4 machine Date: Tue, 20 Jan 2009 14:07:40 -0500 (EST) Message-ID: <200901201907.n0KJ7e6j021615@beech.windsor> Reply-To: William Parsons , 1972@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232483043 17533 80.91.229.12 (20 Jan 2009 20:24:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2009 20:24:03 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 21:25:15 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LPN9e-0004QU-8y for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jan 2009 21:24:58 +0100 Original-Received: from localhost ([127.0.0.1]:38187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPN8M-0002lF-VU for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jan 2009 15:23:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPN8G-0002j5-Rt for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 15:23:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPN8E-0002gX-LA for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 15:23:32 -0500 Original-Received: from [199.232.76.173] (port=37329 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPN8E-0002gQ-GP for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 15:23:30 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44279) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LPN8D-0002tr-V0 for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 15:23:30 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0KKNR9P015192; Tue, 20 Jan 2009 12:23:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0KK55g0010541; Tue, 20 Jan 2009 12:05:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: William Parsons Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 20 Jan 2009 20:05:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1972 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12324814148417 (code B ref -1); Tue, 20 Jan 2009 20:05:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 Jan 2009 19:56:54 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0KJun1v008408 for ; Tue, 20 Jan 2009 11:56:51 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPMiP-000257-DE for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 14:56:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPMiO-00024n-KK for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 14:56:49 -0500 Original-Received: from [199.232.76.173] (port=51981 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPMiO-00024k-H3 for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 14:56:48 -0500 Original-Received: from [63.165.62.3] (port=14030 helo=beech.windsor) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LPMiN-00015X-Jz for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 14:56:48 -0500 Original-Received: from beech.windsor (localhost [127.0.0.1]) by beech.windsor (8.14.2/8.14.2) with ESMTP id n0KJ7xjt021618 for ; Tue, 20 Jan 2009 14:07:59 -0500 (EST) (envelope-from wbp@beech.windsor) Original-Received: (from wbp@localhost) by beech.windsor (8.14.2/8.14.2/Submit) id n0KJ7e6j021615; Tue, 20 Jan 2009 14:07:40 -0500 (EST) (envelope-from wbp) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Greylist: delayed 2924 seconds by postgrey-1.27 at monty-python; Tue, 20 Jan 2009 14:56:45 EST X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 20 Jan 2009 15:23:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24338 Archived-At: Attempting to access files on a machine running QNX 4.25 using ange-ftp from Emacs 22.1.1 on FreeBSD fail, as illustrated by the following contents of the ftp buffer after attempting to fetch a remote file "/wbp@maple:.emacs": -------------------- ftp> open maple Connected to maple. 220 maple FTP server (Version 5.60) ready. user "wbp" Turtle Power! ftp> 331 Password required for wbp. 230 User wbp logged in. hash Remote system type is UNIX. Using binary mode to transfer files. ftp> Hash mark printing on (1024 bytes/hash mark). ftp> pwd Remote directory: /home/wbp ftp> pwd Remote directory: /home/wbp ftp> get ~ /dev/null local: /dev/null remote: ~ 500 'EPSV': command not understood. cd /home/wbp/'EPSV'/.emacs/ 227 Entering Passive Mode (10,93,52,37,17,21) 550 /home/wbp: not a plain file. ftp> cd /home/wbp/'EPSV'/.emacs/ 550 /home/wbp/'EPSV'/.emacs/: No such file or directory. ftp> cd /home/wbp/'EPSV'/ 550 /home/wbp/'EPSV'/.emacs/: No such file or directory. ftp> cd /home/wbp/'EPSV'/ 550 /home/wbp/'EPSV'/: No such file or directory. ftp> cd /home/wbp/'EPSV'/ 550 /home/wbp/'EPSV'/: No such file or directory. ftp> cd /home/wbp/'EPSV'/ 550 /home/wbp/'EPSV'/: No such file or directory. ftp> 550 /home/wbp/'EPSV'/: No such file or directory. ftp> -------------------- Possible patch: Changing line 732 in ange-ftp.el as follows: 732c732 < "^22[789] .*[Pp]assive\\|^200 EPRT\\|^500 .*EPRT") --- > "^22[789] .*[Pp]assive\\|^200 EPRT\\|^500 .*EPRT\\|^500 .*EPSV") I'm not sure if the above is the whole answer, however, since there is still a warning: Warning! Unable to get home directory (The following is the ftp buffer contents with the patch:) -------------------- ftp> open maple Connected to maple. 220 maple FTP server (Version 5.60) ready. user "wbp" Turtle Power! ftp> 331 Password required for wbp. 230 User wbp logged in. hash Remote system type is UNIX. Using binary mode to transfer files. ftp> Hash mark printing on (1024 bytes/hash mark). ftp> pwd Remote directory: /home/wbp ftp> pwd Remote directory: /home/wbp ftp> get ~ /dev/null local: /dev/null remote: ~ 500 'EPSV': command not understood. 227 Entering Passive Mode (10,93,52,37,17,22) 550 /home/wbp: not a plain file. cd /home/wbp/.emacs/ ftp> 550 /home/wbp/.emacs/: Not a directory. cd /home/wbp/.emacs/ ftp> 550 /home/wbp/.emacs/: Not a directory. ftp> cd /home/wbp/ 250 CWD command successful. ls -al /tmp/ange-ftp21570o9R ftp> 227 Entering Passive Mode (10,93,52,37,17,23) 150 Opening ASCII mode data connection for /bin/ls. 226 Transfer complete. quote mdtm /home/wbp/.emacs ftp> 213 20081212142627 quote mdtm /home/wbp/.emacs ftp> 213 20081212142627 ftp> quote mdtm /home/wbp/.emacs 213 20081212142627 quote mdtm /home/wbp/.emacs ftp> 213 20081212142627 ftp> type binary 200 Type set to I. get /home/wbp/.emacs /tmp/ange-ftp215701HY ftp> local: /tmp/ange-ftp215701HY remote: /home/wbp/.emacs 227 Entering Passive Mode (10,93,52,37,17,24) 150 Opening BINARY mode data connection for /home/wbp/.emacs (17432 bytes). 226 Transfer complete. type ascii 17432 bytes received in 00:00 (170.63 KB/s) ftp> 200 Type set to A. quote mdtm /home/wbp/.emacs ftp> 213 20081212142627 quote mdtm /home/wbp/.emacs ftp> 213 20081212142627 ftp> quote mdtm /home/wbp/.emacs 213 20081212142627 quote mdtm /home/wbp/.emacs ftp> 213 20081212142627 ftp> -------------------- In GNU Emacs 22.1.1 (i386-pc-freebsd, GTK+ Version 2.12.1) of 2008-06-05 on beech.w-intra.net Windowing system distributor `The X.Org Foundation', version 11.0.10400000 configured using `configure '--with-gtk' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' 'i386-freebsd' 'build_alias=i386-freebsd' 'host_alias=i386-freebsd' 'target_alias=i386-freebsd' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe '' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t display-time-mode: t delete-selection-mode: t recentf-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-x h M-c Recent messages: Loading tramp...done Opening FTP connection to maple...done Logging in as user wbp@maple...done Getting PWD... [2 times] Warning! Unable to get home directory expanding ~...done Doing CD... [6 times] ange-ftp-error: FTP Error: DIR failed: 550 /home/wbp/'EPSV'/: No such file or directory. Mark set [2 times] Loading emacsbug...done