"Bryson, Stewart" <[EMAIL PROTECTED]> writes: > I type: > > C-x C-f /plink:[EMAIL PROTECTED]: RET > > Contents of *tramp/plink [EMAIL PROTECTED] buffer: > > stty -inlcr -echo kill '^U' > $ $
Hmm. Your prompt appears doubled. > Contents of *debug tramp/plink [EMAIL PROTECTED] > buffer: > > unset HISTORY > _]0;[EMAIL PROTECTED]:~ [EMAIL PROTECTED] brysons]$ Again, a double prompt. With escape sequences. > $ exec env 'ENV=' 'PS1=$ ' /bin/sh > $ > $ # Setting up remote shell environment > $ stty -inlcr -echo kill '^U' > stty -inlcr -echo kill '^U' > $ $ [[Regexp `\(^[^#$%> > ]*[#$%>] *\|^[^#$%> > ]*[#$%>] *\(_\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 30 secs]] And now the prompt is not recognized, because it is "$ $ ". Tramp looks for the following prompts: > tramp-shell-prompt-pattern "^[^#$%>\n]*[#$%>] *\\(_\\[[0-9;]*[a-zA-Z] > *\\)*" > > shell-prompt-pattern "^[^#$%>\n]*[#$%>] *" Looks like you have either a nasty echo, or some special prompt settings on the remote host. Usually, Tramp sets the TERM environment variable on the remote host to "dumb"; you could use it for checking in your init scripts. But sometimes, it happens too late - I cannot see whether this is the case for you. So for the first test please disable every setting for the prompt on the remote host. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
