我尝试了C‘/ssh:user@host:/some/file,输入我的密码后,我的确认'enter’没有得到回复。
从OS到archlinux机器,而ssh在emacs之外工作。
我将PS1=设置为“> ",并在根外壳中使用'emacs -q‘,而C '/sudo: root @localhost:/’继任,C‘/ssh:user@-q:/’也失败了。
Tramp-详细设置为10,它提供了这样的信息。
12:25:46.141981 tramp-accept-process-output (3) # Opening connection for SOMEUSER@SOMEIP using ssh...done
12:25:46.142129 tramp-get-connection-property (7) # process-name nil
12:25:46.142269 tramp-flush-connection-property (7) # [ssh SOMEUSER SOMEIP nil] (first-password-request)
12:25:46.142420 tramp-flush-connection-property (7) # *tramp/ssh SOMEUSER@SOMEIP* (vector temp-file last-cmd-time)
12:25:46.142670 tramp-get-connection-property (7) # vector nil
12:25:46.143894 tramp-file-name-handler (1) # Interrupt received in operation (file-exists-p /ssh:SOMEUSER@SOMEIP:/home/SOMEUSER/tmp)我在远程机器上创建了一个新用户,继承了与该用户的连接(该用户使用bash),但我在主用户的.zhsrc中写了“case哑”,但也失败了,所以我无法理解。
发布于 2013-11-09 05:31:27
你说你在你的.zshrc里写了一个愚蠢的案子。请检查它是否类似于以下构造:
if [[ "$TERM" == "dumb" ]]
then
unsetopt zle
unsetopt prompt_cr
unsetopt prompt_subst
unfunction precmd
unfunction preexec
PS1='$ '
fi我遇到了一个类似的问题。将上面的块添加到我的.zshrc中解决了这个问题。
礼貌:EmacsWiki
https://stackoverflow.com/questions/19771363
复制相似问题