bash - How to show the result of command read in emacs's shell mode? -
version info:
- gnu emacs 25.1.1
- gnome terminal 3.20.2
the command read -ei "hi" show result hi in gnome-terminal(bash), not show result hi in emacs's shell mode(m-x shell).
from paul's answer:
read -ei "hi" , c-m in gnome-terminal(bash) show:
[d@localhost desktop]$ read -ei "hi" hi read -ei "hi" , c-m in emacs's shell mode show:
[d@localhost desktop]$ read -ei "hi"
what expect see in emacs's shell mode:
[d@localhost desktop]$ read -ei "hi" hi so how show result of command read in emacs's shell mode?
try adding echo:
read -ei "hi" && echo $reply wiki
Comments
Post a Comment