cygwin bash无法在emacs shell中正确显示 [英] cygwin bash does not display correctly in emacs shell

查看:69
本文介绍了cygwin bash无法在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆