我正在使用mintty msys.而且我想使用emacs.但没有GUI.
我在cygwin中看到这样的行为.但我不明白他们是如何做到的.
我在cygwin中看到这样的行为.但我不明白他们是如何做到的.
$emacs -nw emacs: standard input is not a tty $stty.exe -a speed 38400 baud; rows 24; columns 80; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = ^Z; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -tostop echoctl echoke $echo $TERM xterm
如果你想使用tty emacs与mintty,你可能需要使用cygwin的emacs.本机win32 emacs想要与Windows控制台窗口通话,而不是实际的tty – 错误消息在这里是误导的.
另一个选择,如果你想坚持使用本机的win32 emacs,是使用ConEmu,而不是mintty.它提供了一个兼容的Windows控制台界面,同时也提供了正常的终端仿真器的所有优点,如mintty.