From: ROLAND.LAMPKA@NDSatcom.com - 2002-01-21 13:20:06
|
-----Urspr=FCngliche Nachricht----- Von: Kai.Grossjohann@CS.Uni-Dortmund.DE [mailto:Kai.Grossjohann@CS.Uni-Dortmund.DE] Gesendet am: Montag, 21. Januar 2002 13:36 An: ROLAND.LAMPKA@NDSatcom.com Cc: tra...@li...; rol...@we... Betreff: Re: tramp ($Id: tramp.el,v 2.54 2001/12/28 07:07:46 kaig Exp $); chan ging behaviour due to "v" option in method ROLAND.LAMPKA@NDSatcom.com writes: > Last login: Mon Jan 21 11:16:32 2002 from roland.lampkapc exec > /bin/bash[root@localhost /root]# exec /bin/bash# Setting up remote = shell > environment > stty -inlcr -echo kill '^U'[[Regexp `\(\$\|^[^#$%> > ]*[#$%>] *\)' not found in 30 secs]] When you log in to the host manually, then do "exec /bin/bash", then "stty -inlcr -echo kill '^U'", what do you see? Maybe your prompt regexp does not match the prompt, or the remote end does not print a prompt after the stty command. kai --=20 Simplification good! Oversimplification bad! (Larry Wall) this works now (with tramp.el 2.78), but: with the version 2.78 of tramp.el I get: ------------------------------------------------------------------------= ---- -------------------snip Last login: Mon Jan 21 12:58:38 2002 from roland.lampkapc exec = /bin/bash [root@localhost /root]# exec /bin/bash # Setting up remote shell environment [root@localhost /root]#=20 [root@localhost /root]# stty -inlcr -echo kill '^U' [root@localhost /root]# [root@localhost /root]# [root@localhost /root]# [root@localhost /root]# # Determining coding system foo bar [root@localhost /root]# [root@localhost /root]# # Waiting 30s for `HISTFILE=3D$HOME/.tramp_history; HISTSIZE=3D1' [root@localhost /root]# # Waiting 30s for `set +o vi +o emacs' [root@localhost /root]# # Waiting 30s for `unset MAIL MAILCHECK = MAILPATH' [root@localhost /root]# # Waiting 30s for `unset CDPATH' [root@localhost /root]# # Setting shell prompt $ PS1=3D' ///// '; PS2=3D''; PS3=3D'' $ echo hello # Waiting for remote `/bin/bash' to come up... hello # Waiting for remote `/bin/bash' to come up...done $ echo ~root /root # Remote `/bin/bash' groks tilde expansion, good # Finding command to check if file exists $ ls -d "/Programme/CygWin/" 2>/dev/null; echo tramp_exit_status $?=20 tramp_exit_status 1 $ test -e "/Programme/CygWin/" 2>/dev/null; echo tramp_exit_status $?=20 tramp_exit_status 1 $ /bin/test -e "/Programme/CygWin/" 2>/dev/null; echo tramp_exit_status = $?=20 tramp_exit_status 127 $ /usr/bin/test -e "/Programme/CygWin/" 2>/dev/null; echo = tramp_exit_status $?=20 tramp_exit_status 1 ------------------------------------------------------------------------= ---- -------------------snip seems that my emacsens 'CygWin path name mounter' replaces '/' by '/Programme/CygWin' per default. That's a mess. If I create a directory /Programme/CygWin on the linux host (don't spit on me), than the tramp-find-file-exists-command goes through. The next problem comes = with: ------------------------------------------------------------------------= ---- -------------------snip Opening connection for root@131.147.45.44 using scp... Waiting 60s for shell or passwd prompt from 131.147.45.44 Initializing remote shell Waiting 30s for remote `/bin/bash' to come up... Setting up remote shell environment Determining coding system Waiting 30s for `HISTFILE=3D$HOME/.tramp_history; HISTSIZE=3D1' Waiting 30s for `set +o vi +o emacs' Waiting 30s for `unset MAIL MAILCHECK MAILPATH' Waiting 30s for `unset CDPATH' Setting shell prompt Waiting for remote `/bin/bash' to come up... Waiting for remote `/bin/bash' to come up...done Remote `/bin/bash' groks tilde expansion, good Finding command to check if file exists Finding a suitable `ls' command Checking remote `/bin/ls' command for `-n' option Testing remote command `/bin/ls' for -n... Testing remote command `/bin/ls' for -n...okay Using remote command `/bin/ls' for getting directory listings Sending the Perl `file-attributes' implementation. Finding true name for = `/[scp/root@131.147.45.44]/Programme/CygWin/root/test' Check /Programme Check /Programme/CygWin Check /Programme/CygWin/Programme Check /Programme/CygWin/Programme/CygWin Check /Programme/CygWin/Programme/CygWin/root Check /Programme/CygWin/Programme/CygWin/root/test True name of `/[scp/root@131.147.45.44]/Programme/CygWin/root/test' is `/Programme/CygWin/Programme/CygWin/root/test' Finding true name for = `/[scp/root@131.147.45.44]/Programme/CygWin/root/test' Check /Programme Check /Programme/CygWin Check /Programme/CygWin/Programme Check /Programme/CygWin/Programme/CygWin Check /Programme/CygWin/Programme/CygWin/root Check /Programme/CygWin/Programme/CygWin/root/test True name of `/[scp/root@131.147.45.44]/Programme/CygWin/root/test' is `/Programme/CygWin/Programme/CygWin/root/test' Finding true name for `/[scp/root@131.147.45.44]/Programme/CygWin/Programme/CygWin/Programme/C= ygWi n/root/test' Check /Programme Check /Programme/CygWin Check /Programme/CygWin/Programme Check /Programme/CygWin/Programme/CygWin Check /Programme/CygWin/Programme/CygWin/Programme Check /Programme/CygWin/Programme/CygWin/Programme/CygWin Check /Programme/CygWin/Programme/CygWin/Programme/CygWin/Programme Check = /Programme/CygWin/Programme/CygWin/Programme/CygWin/Programme/CygWin Check /Programme/CygWin/Programme/CygWin/Programme/CygWin/Programme/CygWin/roo= t Check /Programme/CygWin/Programme/CygWin/Programme/CygWin/Programme/CygWin/roo= t/te st True name of `/[scp/root@131.147.45.44]/Programme/CygWin/Programme/CygWin/Programme/C= ygWi n/root/test' is `/Programme/CygWin/Programme/CygWin/Programme/CygWin/Programme/CygWin/ro= ot/t est' Use C-u M-x make-directory RET RET to create directory and its parents ------------------------------------------------------------------------= ---- -------------------snip Gruesse, Roland |