我一直有很多与emacs的问题,并试图让终端一起工作的工作:试图让一个终端在Emacs
M-x term
我安装了Cygwin和我定了我的.emacs包括路径:
(setenv "PATH" (concat "c:/cygwin/bin;" (getenv "PATH")))
(setq exec-path (cons "c:/cygwin/bin" exec-path))
(require 'cygwin-mount)
(cygwin-mount-activate)
(add-hook 'comint-output-filter-functions
'shell-strip-ctrl-m nil t)
(add-hook 'comint-output-filter-functions
'comint-watch-for-password-prompt nil t)
(setq explicit-shell-file-name "bash.exe")
;; For subprocesses invoked via the shell
;; (e.g., "shell -c command")
(setq shell-file-name explicit-shell-file-name)
但是现在,当我启动终端,它似乎给什么,但一个空白的屏幕和“挂”
当我启动:
M-x shell
它确实启动了bash shell并且在文件目录周围飞行是可以的(使用cd,ls,cp,rm等)。但是,当我尝试打开一个Python shell之类的东西时,它会再次提交,然后输入...并且shell崩溃。我在做什么或者有人可以指导我在线解决方案,是否有什么重大错误? (我已经相当广泛地看着。)
SSH还给出了错误:
“伪终端不会被分配,因为标准输入不是终端。”
无法通过.emacs设置rxvt ...说'-i不是选项'并列出可能的选项。 TERM变量的默认设置是什么?我发现在线资源说它设置为CYGWIN,但是,我不知道这是批处理文件还是其他隐藏文件?我猜,很难在emacs中获得一个shell。尽管感谢了很多输入! – mduvall 2009-11-25 01:07:46