Zhang hw <[email protected]> writes: Hi,
> Thanks for your help , Michael! I updated my emacs to version 23.3.1 > yesterday , but there's the problem either. I found that there was a > "ls -ildn" command in the buffer . I tested the command on my FreeBSD > box and found the "-d" switch result this problem. > The new debug buffer is in the attachment. Could you have a look at it please. I don't see that problem with the "-d" option. Tramp sends the following command, and gets a correct result: 21:29:57.765000 tramp-send-command (6) # (test -e /usr || test -h /usr) && /bin/ls -ildn /usr 21:29:57.843000 tramp-wait-for-regexp (6) # 565248 drwxr-xr-x 16 0 0 512 Jun 1 00:35 /usr ///039279ac247f106ef8c5ee615236f77d#$ Later on, Tramp parses the result, and sets file-attributes for /usr: 21:29:57.875000 tramp-set-file-property (8) # /usr file-attributes-integer (t 16 0 0 (0 0) (0 0) (0 0) 512 drwxr-xr-x nil (8 . 40960) (-1 . 0)) This looks almost OK, except that Tramp does not parse the date correct, and it assumes (0 0). That's a usual fallback. If you want a directory listing via C-x d (as you have written in the original email), there shall also be other "ls" commands in the trace. I don't see them in the traces, have you tried the directory listing? > Thanks! > Best regards , Zhang. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
