gpt4 book ai didi

XP 上的 Emacs、tramp、plink 问题

转载 作者:行者123 更新时间:2023-12-04 15:16:54 24 4
gpt4 key购买 nike

目标机器正在运行 Ububtu 服务器 8.04。
这是流浪汉输出:

tramp: Opening connection for nungu@ip.ip.ip.ip 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 nungu@ip.ip.ip.ip*'

编辑,详细缓冲区最后包含以下内容:
# 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' 以删除当前行

最佳答案

同样的问题;和修复

工作:NTEmacs-22.1 - TRAMP 版本:2.0.55

失败:NTEmacs-22.3.1 - Tramp 版本:2.0.58-pre

请参阅评论 - 2.0.* 版本均不适用于 emacs-22.3.1

升级到tramp 2.1.14 - emacs 22/3/1 很好用

建议您尝试从 Savannah 升级.

注意:我没有正确配置只是从listp/net中删除了现有的tramp el和elc文件;并从下载的 tar 中删除那些 - 你需要修改 trampver.el.in 来构建一个有意义的 lisp 文件 - 但这并不完全是火箭科学

关于XP 上的 Emacs、tramp、plink 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/347693/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com