[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TRAMP copies binary files incorrectly
From: |
Chris Moore |
Subject: |
Re: TRAMP copies binary files incorrectly |
Date: |
Wed, 10 Jan 2007 23:25:49 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> Do _all_ files from that machine copy incorrectly? Or just some?
No. Plain text files copy correctly for example. And I just noticed
that using /scp:... instead of /ssh:... works fine, too. I only used
ssh in the first place because I didn't have ssh-agent running and the
scp method prompts for the password over and over.
> Also, could you show the contents of the *Messages* buffer after the
> copy operation finishes?
Certainly, but I don't know how much it will help. You see I have 2
machine here, both running debian sid. On one I can copy the 1-byte
file and on the other it turns into a 2-byte file. The *Messages*
buffer is identical on the 2 machines (other than the name of the
temporary file used, which looks to be random).
Here it is:
Loading tramp...
Loading regexp-opt...done
Loading tramp...done
tramp: Opening connection for address@hidden using ssh...
tramp: Waiting for prompts from remote shell
tramp: Waiting 60s for prompt from remote shell
tramp: Sending password
tramp: Found remote shell prompt.
tramp: Initializing remote shell
Loading time-date...done
tramp: Waiting 30s for remote `/bin/sh' to come up...
tramp: Setting up remote shell environment
tramp: Checking remote host type for `send-process-string' bug
tramp: Determining coding system
tramp: Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1; export
HISTFILE; export HISTSIZE'
tramp: Waiting 30s for `set +o vi +o emacs'
tramp: Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
tramp: Waiting 30s for `unset CDPATH'
tramp: Setting shell prompt
tramp: Remote `/bin/sh' groks tilde expansion, good
tramp: Finding command to check if file exists
tramp: Finding a suitable `ls' command
tramp: Checking remote `/usr/xpg4/bin/ls' command for `-n' option
tramp: Checking remote `/bin/ls' command for `-n' option
tramp: Testing remote command `/bin/ls' for -n...okay
tramp: Using remote command `/bin/ls' for getting directory listings
tramp: Sending the Perl `mime-encode' implementations.
tramp: Sending the Perl `mime-decode' implementations.
tramp: Checking remote encoding command `mimencode -b' for sanity
tramp: Checking remote encoding command `mmencode -b' for sanity
tramp: Checking remote encoding command `recode data..base64' for sanity
tramp: Checking remote encoding command `uuencode xxx' for sanity
tramp: Checking remote decoding command `uudecode -o /dev/stdout' for sanity
tramp: Checking to see if encoding/decoding commands work on remote host...done
tramp: Sending the Perl script `tramp_file_attributes'...done.
tramp: Encoding remote file /ssh:address@hidden:/home/dooglus/image1...
tramp: Decoding remote file /ssh:address@hidden:/home/dooglus/image1...
tramp: Decoding remote file /ssh:address@hidden:/home/dooglus/image1 with
function uudecode-decode-region...
Loading uudecode...done
Wrote /tmp/tramp.5003zUW
tramp: Decoding remote file /ssh:address@hidden:/home/dooglus/image1...done
tramp: Inserting local temp file `/tmp/tramp.5003zUW'...done
Wrote /tmp/file
Loading dired...done
- TRAMP copies binary files incorrectly, Chris, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Eli Zaretskii, 2007/01/10
- Re: TRAMP copies binary files incorrectly,
Chris Moore <=
- Re: TRAMP copies binary files incorrectly, Chris Moore, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Stefan Monnier, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Kenichi Handa, 2007/01/10
- Re: TRAMP copies binary files incorrectly, Stefan Monnier, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Kenichi Handa, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Chris Moore, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Kenichi Handa, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Chris Moore, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Stefan Monnier, 2007/01/11
- Re: TRAMP copies binary files incorrectly, Katsumi Yamaoka, 2007/01/24