[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tramp (2.0.14); tramp hangs when storing files >1000 bytes
From: |
Bjørn Nordbø |
Subject: |
tramp (2.0.14); tramp hangs when storing files >1000 bytes |
Date: |
Tue, 27 Aug 2002 22:51:37 +0200 |
Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the
local and remote machines are.
If you can give a simple set of instructions to make this bug happen
reliably, please include those. Thank you for helping kill bugs in
TRAMP.
Another useful thing to do is to put (setq tramp-debug-buffer t) in
the ~/.emacs file and to repeat the bug. Then, include the contents
of the *tramp/foo* buffer and the *debug tramp/foo* buffer in your bug
report.
--bug report follows this line--
I would like to edit files on a box on our internal network going through
a bastion host. It seems to work fine for very small files, but for slightly
larger files tramp hangs when I try to save the file. The limit seems to go
very close to 1000 bytes.
The connection looks like this:
[laptop] -> [[bastion host] -> [login host]] -> [internal server]
# Opening `multi' connection...
# Waiting 60s for local shell to come up...
sh-2.05b$ # Sending rlogin command `ssh login.nextra.no -l bn'
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Found shell prompt on `login.nextra.no'
# Sending rlogin command `ssh rocs2.nm2.telenor.net -l bn'
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Found shell prompt on `rocs2.nm2.telenor.net'
$ exec /bin/sh
# Waiting 30s for remote `/bin/sh' to come up...
exec /bin/sh
$ # Setting up remote shell environment
stty -inlcr -echo kill '^U'
$ $ # Determining coding system
foo
bar
$ # Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'
$ # Waiting 30s for `set +o vi +o emacs'
$ # Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
$ # Waiting 30s for `unset CDPATH'
$ # Setting shell prompt
$ PS1='
/////
'; PS2=''; PS3=''
$ echo ~root
~root
$ while read d; do if test -x $d/bash -a -f $d/bash; then echo tramp_executable
$d/bash; break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ /usr/contrib/bin
$ EOF
tramp_executable /bin/bash
# Starting remote shell `/bin/bash --norc' for tilde expansion...
$ PS1='$ ' exec /bin/bash --norc
bash-2.03$ # Setting remote shell prompt...
# Setting remote shell prompt...done
# Finding command to check if file exists
$ test -e / 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ test -e /\ this\ file\ does\ not\ exist\ 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 1
# Finding a suitable `ls' command
# Checking remote `/bin/ls' command for `-n' option
$ test -x /bin/ls 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# Testing remote command `/bin/ls' for -n...
$ /bin/ls -lnd / >/dev/null 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# Testing remote command `/bin/ls' for -n...okay
# Using remote command `/bin/ls' for getting directory listings
$ tramp_set_exit_status () {
return $1
}
$ test -e /bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /usr/bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/sbin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /usr/sbin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/local/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/ccs/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /usr/ccs/bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /local/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /local/bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /local/freeware/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /local/gnu/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /local/gnu/bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/freeware/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /usr/pkg/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /usr/contrib/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$
PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/local/bin:/local/gnu/bin;
export PATH
$ LC_TIME=C; export LC_TIME; echo huhu
huhu
$ mesg n; echo huhu
huhu
$ biff n ; echo huhu
bash: biff: command not found
huhu
$ unalias ls; echo huhu
bash: unalias: `ls': not an alias
huhu
$ ( test / -nt / )
$ tramp_test_nt () {
test -n "`find $1 -prune -newer $2 -print`"
}
$ tramp_uudecode () {
(echo begin 600 /tmp/tramp.$$; tail +2) | uudecode
cat /tmp/tramp.$$
rm -f /tmp/tramp.$$
}
$ while read d; do if test -x $d/perl5 -a -f $d/perl5; then echo
tramp_executable $d/perl5; break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ /usr/contrib/bin
$ EOF
$ while read d; do if test -x $d/perl -a -f $d/perl; then echo tramp_executable
$d/perl; break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ /usr/contrib/bin
$ EOF
tramp_executable /usr/local/bin/perl
# Sending the Perl `file-attributes' implementation.
$ tramp_file_attributes () {
/usr/local/bin/perl -e '$f = $ARGV[0];
@s = lstat($f);
if (($s[2] & 0170000) == 0120000) { $l = readlink($f); $l = "\"$l\""; }
elsif (($s[2] & 0170000) == 040000) { $l = "t"; }
else { $l = "nil" };
printf("(%s %u %d %d (%u %u) (%u %u) (%u %u) %u %u t (%u . %u) (%u %u))\n",
$l, $s[3], $s[4], $s[5], $s[8] >> 16 & 0xffff, $s[8] & 0xffff,
$s[9] >> 16 & 0xffff, $s[9] & 0xffff, $s[10] >> 16 & 0xffff, $s[10] & 0xffff,
$s[7], $s[2], $s[1] >> 16 & 0xffff, $s[1] & 0xffff, $s[0] >> 16 & 0xffff, $s[0]
& 0xffff);' $1 2>/dev/null
}
# Sending the Perl `mime-encode' implementations.
$ tramp_encode () {
/usr/local/bin/perl -e '
# This script contributed by Juanma Barranquero <address@hidden>.
# Copyright (C) 2002 Free Software Foundation, Inc.
use strict;
my %trans = do {
my $i = 0;
map {(substr(unpack(q(B8), chr $i++), 2, 6), $_)}
split //,
q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/);
};
binmode(\*STDIN);
# We read in chunks of 54 bytes, to generate output lines
# of 72 chars (plus end of line)
$/ = \54;
while (my $data = <STDIN>) {
my $pad = q();
# Only for the last chunk, and only if did not fill the last three-byte
packet
if (eof) {
my $mod = length($data) % 3;
$pad = q(=) x (3 - $mod) if $mod;
}
# Not the fastest method, but it is simple: unpack to binary string, split
# by groups of 6 bits and convert back from binary to byte; then map into
# the translation table
print
join q(),
map($trans{$_},
(substr(unpack(q(B*), $data) . q(00000), 0, 432) =~ /....../g)),
$pad,
qq(\n);
}
' 2>/dev/null
}
$ tramp_encode_with_module () {
perl -MMIME::Base64 -0777 -ne 'print encode_base64($_)' 2>/dev/null
}
# Sending the Perl `mime-decode' implementations.
$ tramp_decode () {
/usr/local/bin/perl -e '
# This script contributed by Juanma Barranquero <address@hidden>.
# Copyright (C) 2002 Free Software Foundation, Inc.
use strict;
my %trans = do {
my $i = 0;
map {($_, sprintf(q(%06b), $i++))}
split //,
q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/)
};
my %bytes = map {(unpack(q(B8), chr $_), chr $_)} 0 .. 255;
binmode(\*STDOUT);
# We are going to accumulate into $pending to accept any line length
# (we do not check they are <= 76 chars as the RFC says)
my $pending = q();
while (my $data = <STDIN>) {
chomp $data;
# If we find one or two =, we have reached the end and
# any following data is to be discarded
my $finished = $data =~ s/(==?).*/$1/;
$pending .= $data;
my $len = length($pending);
my $chunk = substr($pending, 0, $len & ~3, q());
# Easy method: translate from chars to (pregenerated) six-bit packets, join,
# split in 8-bit chunks and convert back to char.
print join q(),
map $bytes{$_},
((join q(), map {$trans{$_} || q()} split //, $chunk) =~ /......../g);
last if $finished;
}
' 2>/dev/null
}
$ tramp_decode_with_module () {
perl -MMIME::Base64 -0777 -ne 'print decode_base64($_)' 2>/dev/null
}
$ while read d; do if test -x $d/ln -a -f $d/ln; then echo tramp_executable
$d/ln; break; fi; done <<'EOF'
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ /usr/contrib/bin
$ EOF
tramp_executable /bin/ln
# Checking remote encoding command `mimencode -b' for sanity
$ ( mimencode -b </dev/null >/dev/null 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 127
# Checking remote encoding command `mmencode -b' for sanity
$ ( mmencode -b </dev/null >/dev/null 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 127
# Checking remote encoding command `recode data..base64' for sanity
$ ( recode data..base64 </dev/null >/dev/null 2>/dev/null; echo
tramp_exit_status $? )
tramp_exit_status 127
# Checking remote encoding command `uuencode xxx' for sanity
$ ( uuencode xxx </dev/null >/dev/null 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
# Checking remote decoding command `uudecode -o -' for sanity
$ ( echo xyzzy | uuencode xxx | uudecode -o - >/dev/null 2>/dev/null; echo
tramp_exit_status $? )
tramp_exit_status 1
# Checking remote encoding command `uuencode xxx' for sanity
$ ( uuencode xxx </dev/null >/dev/null 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
# Checking remote decoding command `uudecode -p' for sanity
$ ( echo xyzzy | uuencode xxx | uudecode -p >/dev/null 2>/dev/null; echo
tramp_exit_status $? )
tramp_exit_status 0
# Checking local encoding command `uuencode xxx' for sanity
# Checking to see if encoding/decoding commands work on remote host...
$ echo xyzzy | uuencode xxx | uudecode -p
xyzzy
# Checking to see if encoding/decoding commands work on remote host...done
$ cd ~; pwd
/home/b/bn
$ ( test -d /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo
tramp_exit_status $? )
tramp_exit_status 1
$ test -e /home 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home
(t 30 0 0 (15723 57695) (15537 22309) (15537 22309) 512 16749 t (6 . 47866)
(340 1))
$ test -e /home/b 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home/b
(t 3 0 0 (15723 31216) (15638 55752) (15638 55752) 512 16877 t (5 . 32654) (340
1))
$ test -e /home/b/bn 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn
(t 14 196 196 (15723 31216) (15723 57992) (15723 57992) 1536 16877 t (5 .
51527) (340 1))
$ test -e /home/b/bn/projects 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects
(t 13 196 196 (15723 56883) (15723 10671) (15723 10671) 512 16893 t (4 . 17819)
(340 1))
$ test -e /home/b/bn/projects/cystd 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd
(t 2 196 196 (15723 56911) (15722 10510) (15722 10510) 512 16893 t (2 . 49460)
(340 1))
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 56912) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 56912) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ test -e /home 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home
(t 30 0 0 (15723 57695) (15537 22309) (15537 22309) 512 16749 t (6 . 47866)
(340 1))
$ test -e /home/b 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home/b
(t 3 0 0 (15723 31216) (15638 55752) (15638 55752) 512 16877 t (5 . 32654) (340
1))
$ test -e /home/b/bn 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn
(t 14 196 196 (15723 31216) (15723 57992) (15723 57992) 1536 16877 t (5 .
51527) (340 1))
$ test -e /home/b/bn/projects 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects
(t 13 196 196 (15723 56883) (15723 10671) (15723 10671) 512 16893 t (4 . 17819)
(340 1))
$ test -e /home/b/bn/projects/cystd 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd
(t 2 196 196 (15723 56911) (15722 10510) (15722 10510) 512 16893 t (2 . 49460)
(340 1))
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 56912) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 56912) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
# Encoding remote file
/multi:ssh:address@hidden:ssh:address@hidden:/home/b/bn/projects/cystd/Sex.rb...
$ uuencode xxx < /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo
tramp_exit_status $?
begin 664 xxx
M;6]D=6QE(%-E> H@(&address@hidden;V1E*&]B:BP@<W,@/2!397A3='(N
M;F5W*0H@(" @8V%S92!O8FH*(" @('address@hidden<W,*(" @(" @<W,N
M;FEL"B @("!W:&5N($%R<F%Y"B @(" @('-S+G!A<F5N7W-T87)T"B @(" @
M(&]B:BYE86-H('address@hidden&5\"@EE;F-O9&4H92P@<W,I"B @(" @('T*(" @(" @
M<W,N<&%R96Y?96YD"B @("!W:&5N($AA<address@hidden(" @(" @<W,N<&%R96Y?<W1A
M<G0*(" @(" @;V)J+F5A8V@@>R!\:address@hidden"7-S+FME>2 ](&LN=&]?<PH)
M96YC;V1E*'8L('-S*0H@(" @("!]"B @(" @('-S+G!A<F5N7V5N9 H@(" @
M=VAE;B!3=')I;F<*(" @(" @<W,N<W1R:6YG(#T@;V)J"B @("!W:&5N($YU
M;65R:6,*(" @(" @<W,N;G5M8F5R(#T@;V)J"B @("!W:&5N(%-Y;6)O; H@
M(" @("!S<RYS>6UB;VP@/2!O8FH*(" @(&5N9 H@(" @"B @("!S<RYT;U]S
M"B @96YD"B @"B @9&5F(%-E>"YD96-O9&4H<RP@<VP@/2!397A,address@hidden;F5W
M*',I*0H@(" @;V)J(address@hidden)R87DN;F5W"@H@(" @=VAI;&address@hidden"
]('-L+FYE
M>'0*(" @(" @:address@hidden ]/2 Z;W!A<F5N"@EO8FHN<'5S:"address@hidden&5C
M;V1E*',L('-L*2D*(" @(" @96QS:address@hidden ]/2 Z8W!A<F5N"B @(" @
M(" @<F5T=7)N(&=E=%]P<F]P97)?='EP92AO8FHI"B @(" @(&5L<VEF('1;
M,5T@/address@hidden<FEN9PH);V)J+G!U<address@hidden(" @(" @96QS:address@hidden
M72 ]/2 Z:6YT96=E<@H);V)J+G!U<address@hidden;U]I*0H@(" @("!E;'-I
M9B!T6S%=(#T](#IF;&]A= H);V)J+G!U<address@hidden;U]F*0H@(" @("!E
M;'-I9B!T6S%=(#T](#IS>6UB;VP*"6]B:BYP=7-H*&5V86PH)SHG("address@hidden
M72DI"B @(" @(&5N9 H@(" @96YD"B @("!R971U<address@hidden;W!E<E]T
M>7!E*&]B:BD*("!E;F0*(" *("address@hidden<F]P97)?='EP92AO
M8FHI"B @("!I9B!O8FHN;&5N9W1H(#T](# *(" @(" @<F5T=7)N($%R<F%Y
M+FYE=PH@(" @96QS:68@;V)J+FQE;F=T:" E(#(@/3T@,0H@(" @("!R971U
M<FX@;V)J"B @("!E;'-I9B!O8FI;,%TN='EP92 A/2!3>6UB;VP*(" @(" @
M<F5T=7)N(&]B:@H@(" @96QS90H@(" @("!R971U<address@hidden)R87DR:&%S:"AO
M8FHI"B @("!E;F0*("!E;F0*"B @9&5F(%-E>"YA<G)A>3)H87-H*&$I"B @
M("!I(#T@, H@(" @:" ]($AA<address@hidden;F5W"B @(" *(" @('=H:6QE(&D@/"!A
M+FQE;F=T: H@(" @("!H6V%;:5U=(address@hidden("L@,5T*(" @(" @:2 ](&D@
M*R R"B @("!E;F0*(" @(')E='5R;B!H"B @96YD"B @"B @8VQA<W,@4V5X
M4W1R"B @("!D968@:6YI=&EA;&EZ90H@(" @("! ;F5S=&EN9R ](# *(" @
M(" @0&]U='!U=" ]("<G"B @("!E;F0*(" @( H@(" @9&5F('-T<FEN9STH
M<RD*(" @(" @0&]U='!U="YC;VYC870H)R(G("L@<R K("<B("<I"B @("!E
M;F0*(" @( H@(" @9&5F(&YU;6)E<CTH;BD*(" @(" @0&]U='!U="YC;VYC
M870H;BYT;U]S("L@)R G*0H@(" @96YD"B @(" *(" @(&1E9B!N:6P*(" @
M(" @0&]U='!U="YC;VYC870H)VYI;" G*0H@(" @96YD"B @(" *(" @(&1E
M9B!K97D]*&LI"B @(" @($!O=71P=70N8V]N8V%T*"<Z)R K(&LN=7!C87-E
M("L@)R G*0H@(" @96YD"B @(" *(" @(&1E9B!S>6UB;VP]*',I"B @(" @
M($!O=71P=70N8V]N8V%T*"<Z)R K(',N=&]?<RYU<&-A<address@hidden G("<I"B @
M("!E;F0*(" @( H@(" @9&5F('!A<F5N7W-T87)T"B @(" @($!O=71P=70N
M8V]N8V%T*"<H)RD@:address@hidden:6YG(#X@,"D*(" @(" @0&YE<W1I;F<@
M/2! ;F5S=&EN9R K(#$*(" @(&5N9 H@(" @"B @("!D968@<&%R96Y?96YD
M"B @(" @($!N97-T:6YG(address@hidden&YE<W1I;F<@+2 Q"B @(" @($!O=71P=70N
M8V]N8V%T*"<I("<I(&EF("A ;F5S=&EN9R ^(# I"B @("!E;F0*(" @( H@
M(" @9&5F('1O7W,*(" @(" @0&]U='!U="YG<W5B*"address@hidden<>ETO<RP@)RDG
M*2 @(" @(R!A('-I;7!L92!H86-K('1O(&UA:address@hidden&AI;F=S(&5A<VEE<@H@
M(" @96YD"B @96YD"B @"B @8VQA<W,@4V5X3&5X"B @("!D968@:6YI=&EA
M;&EZ92AD871A*0H@(" @("! 9&%T82 ](&1A=&$*(" @(" @0'1O:V5N<R ]
M('L*"5)E9V5X<"YN97<H)UY<<RHH7"@I)RD@(" @(" @(" ]/B Z;W!A<F5N
M+ H)address@hidden<*2DG*2 @(" @(" @(#T^(#IC<&%R96XL
M"@E296=E>' N;F5W*"=>7',J.BA;7EQS*"E=*RDG*2 @/address@hidden;6)O;"P*
M"5)E9V5X<"YN97<H)UY<<RHB*%M>(ETK/RDB)RD@(" ]/B Z<W1R:6YG+ H)
address@hidden@M/UQD*EPN7&0K*2<I(#T^(#IF;&]A="P*"5)E
M9V5X<"YN97<H)UY<<RHH+3]<9"LI)RD@(" @(" ]/B Z:6YT96=E<@H@(" @
M("!]"B @("!E;F0*(" @( H@(" @9&5F(&YE>'0*(" @(" @0'1O:V5N<RYE
M86-H('address@hidden')E+"!T? H):68@;60@/2!R92YM871C:"A 9&%T82D*"2 @0&1A
M=&$N<VQI8V4A*# L(&UD6S!=+FQE;F=T:"D*"2 @<F5T=7)N(%MM9%LQ72P@
M=%T*"65N9 H@(" @("!]"B @(" @(')E='5R;B!N:6P*(" @(&5N9 H@(" @
M"B @("address@hidden: H@(" @("!W:&EL92!T<G5E"@ET(#T@<V5L9BYN97AT
M"@EB<F5A:R!U;FQE<W,@= H)>6EE;&address@hidden H@(" @("!E;F0*(" @(&5N9 H@
)(&5N9 IE;F0*
end
tramp_exit_status 0
# Decoding remote file
/multi:ssh:address@hidden:ssh:address@hidden:/home/b/bn/projects/cystd/Sex.rb...
# Decoding remote file
/multi:ssh:address@hidden:ssh:address@hidden:/home/b/bn/projects/cystd/Sex.rb
with function uudecode-decode-region...
# Decoding remote file
/multi:ssh:address@hidden:ssh:address@hidden:/home/b/bn/projects/cystd/Sex.rb...done
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 58022) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
# Inserting local temp file `/tmp/tramp.12521H-'...
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ test -w /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ test -e /home/b/bn/projects/cystd/RCS/Sex.rb\,v 2>/dev/null; echo
tramp_exit_status $?
tramp_exit_status 1
$ test -e /home/b/bn/projects/cystd/Sex.rb\,v 2>/dev/null; echo
tramp_exit_status $?
tramp_exit_status 1
$ test -e /home/b/bn/projects/cystd/RCS/Sex.rb 2>/dev/null; echo
tramp_exit_status $?
tramp_exit_status 1
$ test -r /home/b/bn/projects/cystd/CVS/Entries 2>/dev/null; echo
tramp_exit_status $?
tramp_exit_status 1
$ test -e /home/b/bn/projects/cystd/SCCS/s.Sex.rb 2>/dev/null; echo
tramp_exit_status $?
tramp_exit_status 1
$ test -e /home/b/bn/projects/cystd/s.Sex.rb 2>/dev/null; echo
tramp_exit_status $?
tramp_exit_status 1
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 58022) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ echo are you awake
are you awake
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 58022) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 58022) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ test -w /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 58022) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 58022) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ cd /home/b/bn/projects/cystd/ 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ /bin/ls -a -d Sex.rb.\~* 2>/dev/null | while read f; do if test -d "$f"
2>/dev/null; then echo "$f/"; else echo "$f"; fi; done
$ cd
$ test -e /home/b/bn/projects/cystd/Sex.rb 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 0
$ tramp_file_attributes /home/b/bn/projects/cystd/Sex.rb
(nil 1 196 196 (15723 58022) (15717 61891) (15719 6298) 2664 33204 t (2 .
49462) (340 1))
$ cp -f -p /home/b/bn/projects/cystd/Sex.rb /home/b/bn/projects/cystd/Sex.rb\~
2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# Encoding region...
# Encoding region using command...
# Decoding region into remote file
/multi:ssh:address@hidden:ssh:address@hidden:/home/b/bn/projects/cystd/Sex.rb...
$ uudecode -p >/home/b/bn/projects/cystd/Sex.rb <<'EOF'
# Sending data to remote host...
begin 644 xxx
M;6]D=6QE(%-E>`H@(&address@hidden;V1E*&]B:BP@<W,@/2!397A3='(N
M;F5W*0H@("address@hidden("`@('address@hidden<W,*("`@("`@<W,N
M;FEL"B`@("!W:&5N($%R<F%Y"B`@("`@('-S+G!A<F5N7W-T87)T"B`@("`@
M(&]B:BYE86-H('address@hidden&5\"@EE;F-O9&4H92P@<W,I"B`@("`@('T*("`@("`@
M<W,N<&%R96Y?96YD"B`@("!W:&5N($AA<address@hidden("`@("`@<W,N<&%R96Y?<W1A
M<G0*("`@("`@;V)J+F5A8V@@>R!\:address@hidden"7-S+FME>2`](&LN=&]?<PH)
M96YC;V1E*'8L('-S*0H@("`@("address@hidden@("`@("!S<RYP87)E;E]E;F0*("`@
M('address@hidden:6YG"B`@("`@('-S+G-T<FEN9R`](&]B:@H@("address@hidden;B!.
M=6UE<FEC"B`@("`@('-S+FYU;6)E<B`](&]B:@H@("address@hidden;B!3>6UB;VP*
M("`@("`@<W,N<WEM8F]L(#T@;V)J"B`@("!E;F0*("`@(`H@("`@<W,N=&]?
M<PH@(&5N9`H@(`H@(&address@hidden&5C;V1E*',L('-L(address@hidden&5X+FYE
M=RAS*2D*("`@(&]B:B`]($%R<F%Y+FYE=PH*("`@('=H:6QE('0@/2!S;"YN
M97AT"B`@("`@(&EF('1;,5T@/address@hidden)E;@H);V)J+G!U<address@hidden
M8V]D92AS+"!S;"DI"B`@("`@(&5L<VEF('1;,5T@/address@hidden)E;@H@("`@
M("`@(')E='5R;B!G971?<')O<&5R7W1Y<&4H;V)J*0H@("`@("!E;'-I9B!T
M6S%=(#T](#IS=')I;F<*"6]B:BYP=7-H*'1;,%TI"B`@("`@(&5L<VEF('1;
M,5T@/address@hidden&5G97(*"6]B:BYP=7-H*'1;,%TN=&]?:2D*("`@("address@hidden
M:address@hidden/2`Z9FQO870*"6]B:BYP=7-H*'1;,%TN=&]?9BD*("`@("`@
M96QS:address@hidden/2`Z<WEM8F]L"@EO8FHN<'5S:"AE=F%L*"<Z)R`K('1;
M,%TI*0H@("`@("!E;F0*("`@(&5N9`H@("`@<F5T=7)N(&=E=%]P<F]P97)?
M='EP92AO8FHI"address@hidden"B`@"address@hidden&5F(%-E>"YG971?<')O<&5R7W1Y<&4H
M;V)J*0H@("`@:68@;V)J+FQE;F=T:"`]/2`P"B`@("`@(')E='5R;B!!<G)A
M>2YN97<*("`@(&5L<VEF(&]B:BYL96YG=&@@)2`R(#T](#$*("`@("`@<F5T
M=7)N(&]B:@H@("address@hidden:68@;V)J6S!=+G1Y<&4@(address@hidden"B`@("`@
M(')E='5R;B!O8FH*("`@(&5L<V4*("`@("`@<F5T=7)N(&%R<F%Y,FAA<address@hidden
M;V)J*0H@("address@hidden"address@hidden"@H@(&address@hidden)R87DR:&%S:"AA*0H@
M("`@:2`](#`*("`@(&@@/2!(87-H+FYE=PH@("`@"B`@("!W:&EL92!I(#P@
M82YL96YG=&@*("`@("`@:%MA6VE=72`](&%;:2`K(#%="B`@("`@(&D@/2!I
M("L@,@H@("address@hidden"B`@("!R971U<FX@:`H@(&5N9`H@(`H@(&-L87-S(%-E
M>%-T<@H@("address@hidden&5F(&EN:71I86QI>F4*("`@("address@hidden&YE<W1I;F<@/2`P"B`@
M("`@($!O=71P=70@/2`G)PH@("address@hidden"B`@("`*("`@(&1E9B!S=')I;F<]
M*',I"B`@("`@($!O=71P=70N8V]N8V%T*"<B)R`K(',@*R`G(B`G*0H@("`@
M96YD"B`@("`*("`@(&1E9B!N=6UB97(]*&XI"B`@("`@($!O=71P=70N8V]N
M8V%T*&XN=&]?<R`K("<@)RD*("`@(&5N9`H@("`@"B`@("!D968@;FEL"B`@
M("`@($!O=71P=70N8V]N8V%T*"=N:6P@)RD*("`@(&5N9`H@("`@"B`@("!D
M968@:V5Y/2AK*0H@("`@("!`;W5T<'5T+F-O;F-A="@G.B<@*R!K+G5P8V%S
M92`K("<@)RD*("`@(&5N9`H@("`@"B`@("!D968@<WEM8F]L/2AS*0H@("`@
M("!`;W5T<'5T+F-O;F-A="@G.B<@*R!S+G1O7W,N=7!C87-E("L@)R`G*0H@
M("address@hidden"B`@("`*("`@(&1E9B!P87)E;E]S=&%R=`H@("`@("!`;W5T<'5T
M+F-O;F-A="@G*"<I(&EF("A`;F5S=&EN9R`^(#`I"B`@("`@($!N97-T:6YG
M(address@hidden&YE<W1I;F<@*R`Q"B`@("!E;F0*("`@(`H@("address@hidden&5F('!A<F5N7V5N
M9`H@("`@("!`;F5S=&EN9R`]($!N97-T:6YG("T@,0H@("`@("!`;W5T<'5T
M+F-O;F-A="@G*2`G*2!I9B`H0&YE<W1I;F<@/B`P*0H@("address@hidden"B`@("`*
M("`@(&1E9B!T;U]S"B`@("`@(address@hidden(%LI7'I=+W,L("<I
M)RD@("`@(",@82!S:6UP;&4@:&%C:R!T;R!M86ME('1H:6YG<R!E87-I97(*
M("`@(&5N9`H@(&5N9`H@(`H@(&-L87-S(%-E>$QE>`H@("address@hidden&5F(&EN:71I
M86QI>F4H9&%T82D*("`@("address@hidden&1A=&$@/2!D871A"B`@("`@($!T;VME;G,@
M/2!["@E296=E>'`N;F5W*"=>7',J*%PH*2<I("`@("`@("`@/address@hidden)E
M;BP*"5)E9V5X<"YN97<H)UY<<RHH7"DI)RD@("`@("`@("`]/B`Z8W!A<F5N
M+`H)address@hidden<<address@hidden)RD@(#T^(#IS>6UB;VPL
M"@E296=E>'`N;F5W*"=>7',J(BA;7B)=*S\I(B<I("`@/address@hidden<FEN9RP*
M"5)E9V5X<"YN97<H)UY<<RHH+3]<9"I<+EQD*RDG*2`]/B`Z9FQO870L"@E2
M96=E>'`N;F5W*"=>7',J*"T_7&0K*2<I("`@("`@/address@hidden&5G97(*("`@
M("address@hidden@("address@hidden"B`@("`*("`@(&1E9B!N97AT"B`@("`@($!T;VME;G,N
M96%C:"![('address@hidden'P*"6EF(&UD(#T@<F4N;address@hidden&1A=&$I"@D@($!D
M871A+G-L:6-E(address@hidden"!M9%LP72YL96YG=&@I"@D@(')E='5R;B!;;61;,5TL
M('1="@EE;F0*("`@("address@hidden@("`@("!R971U<FX@;FEL"B`@("!E;F0*("`@
M(`H@("address@hidden&5F(&address@hidden("`@("address@hidden;&address@hidden')U90H)="`]('-E;&8N;F5X
M=`H)8G)address@hidden('0*"7EI96QD('0*("`@("address@hidden"B`@("!E;F0*
*("!E;F0*96YD"@``
`
end
# Sending end of data token...
$ EOF
# Waiting for remote host to process data...
Emacs : GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2002-03-22 on raven, modified by Debian
Package: tramp (2.0.14)
current state:
==============
(setq
tramp-ls-command nil
tramp-test-groks-nt nil
tramp-file-exists-command nil
tramp-current-multi-method nil
tramp-current-method nil
tramp-current-user nil
tramp-current-host nil
tramp-auto-save-directory nil
tramp-default-method "ssh"
tramp-rsh-end-of-line "\n"
tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin"
"/usr/ccs/bin" "/local/bin" "/local/freeware/bin"
"/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin"
"/usr/contrib/bin")
tramp-login-prompt-regexp ".*ogin: *"
tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\): ? *"
tramp-wrong-passwd-regexp "^.*\\(Connection
\\(?:\\(?:clo\\|refu\\)sed\\)\\|Host key verification failed\\.\\|Login
\\(?:[Ii]ncorrect\\)\\|Name or service not known\\|\\(?:Permission
denied\\|Sorry, try again\\)\\.\\).*\\|^.*\\(Received signal [0-9]+\\).*"
tramp-yesno-prompt-regexp "\\(Are you sure you want to continue connecting
(yes/no)\\?\\)\\s-*"
tramp-yn-prompt-regexp "\\(Store key in cache\\? (y/n)\\)\\s-*"
tramp-temp-name-prefix "tramp."
tramp-file-name-structure
'("\\`/\\(\\([a-zA-Z0-9-]+\\):\\)?\\(\\([^:@/]+\\)@\\)?\\([^:/]+\\):\\(.*\\)\\'"
2 4 5 6)
tramp-file-name-regexp "\\`/[^/:]+:"
tramp-multi-file-name-structure
'("\\`/\\(\\([a-zA-Z0-9]+\\)?:\\)\\(\\(%s\\)+\\)\\(.*\\)\\'" 2 3 -1)
tramp-multi-file-name-hop-structure
'("\\([a-zA-z0-9_]+\\):\\([^@:/]+\\)@\\([^:/]+\\):" 1 2 3)
tramp-multi-methods '("multi" "multiu")
tramp-multi-connection-function-alist '(("telnet" tramp-multi-connect-telnet
"telnet %h%n")
("rsh" tramp-multi-connect-rlogin
"rsh %h -l %u%n")
("ssh" tramp-multi-connect-rlogin
"ssh %h -l %u%n")
("su" tramp-multi-connect-su
"su - %u%n")
("sudo" tramp-multi-connect-su
"sudo -u %u -s%n")
)
tramp-make-tramp-file-format "/%m:address@hidden:%p"
tramp-end-of-output "/////"
tramp-coding-commands '(("mimencode -b" "mimencode -u -b"
base64-encode-region base64-decode-region)
("mmencode -b" "mmencode -u -b" base64-encode-region
base64-decode-region)
("recode data..base64" "recode base64..data"
base64-encode-region base64-decode-region)
("uuencode xxx" "uudecode -o -" nil
uudecode-decode-region)
("uuencode xxx" "uudecode -p" nil
uudecode-decode-region)
("uuencode xxx" "tramp_uudecode" nil
uudecode-decode-region)
("tramp_encode_with_module"
"tramp_decode_with_module" base64-encode-region
base64-decode-region)
("tramp_encode" "tramp_decode" base64-encode-region
base64-decode-region)
)
tramp-actions-before-shell '((tramp-password-prompt-regexp
tramp-action-password)
(tramp-login-prompt-regexp tramp-action-login)
(shell-prompt-pattern tramp-action-succeed)
(tramp-shell-prompt-pattern tramp-action-succeed)
(tramp-wrong-passwd-regexp
tramp-action-permission-denied)
(tramp-yesno-prompt-regexp tramp-action-yesno)
(tramp-yn-prompt-regexp tramp-action-yn))
tramp-multi-actions '((tramp-password-prompt-regexp
tramp-multi-action-password)
(tramp-login-prompt-regexp tramp-multi-action-login)
(shell-prompt-pattern tramp-multi-action-succeed)
(tramp-shell-prompt-pattern tramp-multi-action-succeed)
(tramp-wrong-passwd-regexp
tramp-multi-action-permission-denied)
)
tramp-terminal-type "dumb"
tramp-shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
backup-by-copying nil
backup-by-copying-when-linked nil
backup-by-copying-when-mismatch nil
backup-by-copying-when-privileged-mismatch 200
file-name-handler-alist '(("\\`/[^/:]+:" . tramp-file-name-handler)
("\\`/:" . file-name-non-special))
)
- tramp (2.0.14); tramp hangs when storing files >1000 bytes,
Bjørn Nordbø <=