cygwin bash无法在emacs shell中正确显示 [英] cygwin bash does not display correctly in emacs shell
问题描述
我正在尝试使用emacs的cygwin.我的环境是Windows 7 x64,emacs-24.0.93.1,cygwin 2.769,系统编码为gbk,cygwin的编码系统默认为utf-8,而emacs的编码系统默认为gbk
我使用
https://sourceware.org/ml/cygwin/2012-03/msg00347.html
I'm trying cygwin with emacs. My environment is Windows 7 x64, emacs-24.0.93.1, cygwin 2.769, system encoding is gbk, cygwin's coding system is default to utf-8, and emacs's coding system is default to gbk
I use setup-cygwin to setup cygwin with emacs. And I can launch emacs shell using cygwin bash.But I encountered two problem. First, two warnings at the beginning of bash
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Second, after bash response, some strange characters appeared.
Does anyone know what happened?
A "known problem," with no known solution (yet):
https://www.emacswiki.org/emacs/NTEmacsWithCygwin#toc2
https://sourceware.org/ml/cygwin/2012-03/msg00347.html
这篇关于cygwin bash无法在emacs shell中正确显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!