[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired uses wrong `ls' switches for Tramp
From: |
Kai Großjohann |
Subject: |
Re: dired uses wrong `ls' switches for Tramp |
Date: |
Mon, 16 Sep 2002 16:31:32 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
address@hidden (Kai Großjohann) writes:
> Does somebody know how Ange-FTP circumvents this problem?
I now see that Ange-FTP has the same problem. (My previous check was
bogus; didn't actually invoke Ange-FTP.)
Here's the output from listing
/ftp:address@hidden:/pub/ with dired:
/----
| ftp> open ls6-ftp
| Connected to hobbiton.
| 220 hobbiton FTP server (SunOS 5.6) ready.
| user "ftp" Turtle Power!
| Remote system type is UNIX.
| Using binary mode to transfer files.
| ftp> 331 Guest login ok, send ident as password.
| 230 Guest login ok, access restrictions apply.
| hash
| Remote system type is UNIX.
| Using binary mode to transfer files.
| ftp> Hash mark printing on (1024 bytes/hash mark).
| pwd
| ftp> 257 "/" is current directory.
| cd /pub/
| ftp> 250 CWD command successful.
| ls -al /tmp/ange-ftp1053HLG
| ftp> 200 PORT command successful.
| 150 ASCII data connection for /bin/ls (129.217.19.80,37877) (0 bytes).
| 226 ASCII Transfer complete.
| cd /pub/src/emacs/
| ftp> 250 CWD command successful.
| ls -al /tmp/ange-ftp1053UVM
| ftp> 200 PORT command successful.
| 150 ASCII data connection for /bin/ls (129.217.19.80,37878) (0 bytes).
| 226 ASCII Transfer complete.
| cd /pub/projects/medoc/
| ftp> 250 CWD command successful.
| ls -al /tmp/ange-ftp1053hfS
| ftp> 200 PORT command successful.
| 150 ASCII data connection for /bin/ls (129.217.19.80,37879) (0 bytes).
| 226 ASCII Transfer complete.
| ftp> cd /
| 250 CWD command successful.
| ls -al /tmp/ange-ftp1053upY
| ftp> 200 PORT command successful.
| 150 ASCII data connection for /bin/ls (129.217.19.80,37880) (0 bytes).
| 226 ASCII Transfer complete.
| cd /pub/
| ftp> 250 CWD command successful.
| ls --dired -al /tmp/ange-ftp10537ze
| ftp> usage: ls remote-directory local-file
| ls --dired -al /tmp/ange-ftp10537ze
| ftp> usage: ls remote-directory local-file
| ftp>
\----
I think that means a general solution is needed.
One idea would be to add a FOR-DIRED argument to insert-directory
which adds the corresponding switch. Then the filename handlers can
do the right thing.
kai
--
~/.signature is: umop 3p!sdn (Frank Nobis)