目標機器正在運行Ububtu服務器8.04。
這裏的流浪漢輸出:XP上的Emacs,tramp,plink問題
tramp: Opening connection for [email protected] using nil...<br>
tramp: Waiting for prompts from remote shell<br>
tramp: Waiting 60s for prompt from remote shell<br>
tramp: Sending password<br>
tramp: Found remote shell prompt.<br>
tramp: Initializing remote shell<br>
Loading time-date...done<br>
tramp: Waiting 30s for remote `/bin/sh' to come up...<br>
tramp: Setting up remote shell environment
apply: Couldn't `stty -inlcr -echo kill '^U'', see buffer `*tramp/plink [email protected]*'
編輯,冗長緩衝液包含本底:
# Waiting 30s for remote `/bin/sh' to come up...
exec env 'ENV=' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh
$ exec env 'ENV=' 'PROMPT_COMMAND=' '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]]
的命令:
stty -inlcr -echo kill '^U'
-inclr
關閉「翻譯換行符到支架返回「
-echo
關閉」回聲輸入字符」
kill '^U'
套 '^ U' 擦除當前行
嘗試通過設置'tramp-verbose'來增加tramp的詳細級別到8或10(10的輸出被描述爲「巨大」,所以首先嚐試8)。這應該會告訴你更多關於tramp在做什麼的信息。 – genehack 2008-12-08 02:38:29
冗長設置爲10,我猜它試圖在這些空白命令中獲取目錄結構,但無法確定。 – YHVH 2008-12-08 03:50:18
由於某種原因,正則表達式不匹配,但如果我可以找出原因,我會感到滿意。對不起...... – genehack 2008-12-09 02:50:43