tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.8); Unable to edit remote files using Tramp


From: Krishnakumar B
Subject: Re: tramp (2.0.8); Unable to edit remote files using Tramp
Date: Sun, 4 Aug 2002 13:34:31 -0500

On Sunday, 4 August 2002, Kai  Gro?johann wrote:
> 
> Here it shows that the the "hello" even arrives between some slashes
> from the shell prompt.  Strange.
> 
> Please try this patch.  It probably doesn't solve the problem, but it
> adds more debugging output.  I will also commit this to the CVS in a
> couple of minutes, so you can also check it out from there.

I tried with the latest CVS. I still get the same result. Here is more
info:

C-x C-f /ace:/etc/hosts

tramp-send-command-and-check: Couldn't find exit status of `ls -d /'

-kitty.

PS: Tramp version is 2.0.10

*debug tramp/scp ace*
---------------------

# Opening connection at ace using scp...
# Processing actions
# Waiting 60s for prompt from remote shell
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(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]+\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(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]+\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(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]+\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(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]+\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(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]+\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(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]+\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(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]+\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Looking for pattern ^.*\(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]+\).*
# Looking for pattern Are you sure you want to continue connecting (yes/no)\? *
# Looking for pattern ^.*\([pP]assword\|passphrase.*\):? *
# Looking for pattern .*ogin: *
# Looking for pattern ^[^#$%>
]*[#$%>] *
# Found remote shell prompt.
# Initializing remote shell
$ 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 hello
# Waiting for remote `/bin/sh' to come up...
hello
# Waiting for remote `/bin/sh' to come up...done
$ 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'
$ /pkg/gnu2k1/bin
$ /pkg/local/bin
$ /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 /pkg/gnu2k1/bin/bash
# Starting remote shell `/pkg/gnu2k1/bin/bash --norc' for tilde expansion...
$ PS1='$ ' exec /pkg/gnu2k1/bin/bash --norc
bash-2.05$ # Setting remote shell prompt...
# Setting remote shell prompt...done
$ echo hello
# Waiting for remote `/pkg/gnu2k1/bin/bash --norc' to start up...
# Waiting for remote `/pkg/gnu2k1/bin/bash --norc' to start up...done
# Finding command to check if file exists
$ ls -d / 2>/dev/null; echo tramp_exit_status $? 
hello

tramp/scp ace*
--------------

hello
/
tramp_exit_status 0

/////

-- 
Krishnakumar B <kitty at cs dot wustl dot edu>
Distributed Object Computing Laboratory, Washington University in St.Louis

reply via email to

[Prev in Thread] Current Thread [Next in Thread]