[英]how to install emacs23 on Mac OSX without GUI
What's the best way to install Emacs23 on Mac OSX. 在Mac OSX上安装Emacs23的最佳方法是什么? I want to launch it from the terminal, without any X-windows or other GUI business.
我想从终端启动它,没有任何X-windows或其他GUI业务。
I tried http://emacsformacosx.com/ but that launches a Mac application. 我试过http://emacsformacosx.com/但是启动了一个Mac应用程序。 I just want the text-only version inside of Terminal.
我只想要终端内的纯文本版本。
Thanks. 谢谢。
I would think that any GNU Emacs would accept the -nw
command line option; 我认为任何GNU Emacs都会接受
-nw
命令行选项; the http://emacsformacosx.com/ version included. 包含http://emacsformacosx.com/版本。
You can then use a shell alias or wrapper script to do that by default. 然后,您可以使用shell别名或包装器脚本默认执行此操作。
eg for bash, you could use alias emacs="emacs -nw"
(and add it to your .bashrc file to make it persistent). 例如,对于bash,你可以使用
alias emacs="emacs -nw"
(并将其添加到.bashrc文件中以使其持久化)。
如果你使用macports:
sudo port install emacs
Homebrew提供Emacs软件包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.