deepin emacs复制命令到zsh无法执行
Tofloor
poster avatar
gnuhub
deepin
2013-09-25 20:27
Author
问题描述
从网页复制了命令
然后在deepin emacs zsh终端下面用 ctrl+y复制过去,但是复制进去的命令在终端下无法执行
求解
Reply Favorite View the author
All Replies
chrischen009
deepin
2013-09-25 20:33
#1
你得把命令行 和 报错的信息发上来,大家才能知道是什么问题呀
Reply View the author
186******98
deepin
2013-09-25 20:38
#2
问题描述
从网页复制了命令
然后在deepin emacs zsh终端下面用 ctrl+y复制过去,但是复制进去的命令在终端下无法执行
求解
因为 term.el 底层对字符的定位有问题, 我专门写了一个命令 term-send-input (快捷键 Alt + , )对 Ctrl + y 的粘贴内容进行回车操作。
Reply View the author
gnuhub
deepin
2013-09-25 22:34
#3
[quote]问题描述
从网页复制了命令
然后在deepin emacs zsh终端下面用 ctrl+y复制过去,但是复制进去的命令在终端下无法执行
求解
因为 term.el 底层对字符的定位有问题, 我专门写了一个命令 term-send-input (快捷键 Alt + , )对 Ctrl + y 的粘贴内容进行回车操作。[/quote]

非常感谢,现在可以在终端执行复制的命令了,
Reply View the author
186******98
deepin
2013-09-26 00:20
#4
[quote][quote]问题描述
从网页复制了命令
然后在deepin emacs zsh终端下面用 ctrl+y复制过去,但是复制进去的命令在终端下无法执行
求解
因为 term.el 底层对字符的定位有问题, 我专门写了一个命令 term-send-input (快捷键 Alt + , )对 Ctrl + y 的粘贴内容进行回车操作。[/quote]

非常感谢,现在可以在终端执行复制的命令了, [/quote]
No problem, enjoy!
Reply View the author