I used sudo apt-get install emacs to download emacs. I expected the command-line emacs to start when I ran emacs but instead the GUI emacs started.
How can I download the command-line emacs?
|
I used How can I download the command-line emacs? |
||||
|
|
|
The command-line emacs is installed along with the GUI.
So run the following command to use emacs from the command-line:
If you don't want to have to type
You can add this alias in one line by using I/O Redirection:
|
|||||
|
|
That would be
So, just as before but with that package:
or alternatively
For cases like this, where you wonder what's in what package, try this :
then
|
|||||||||||||||||||||
|
|
If possible, delete the old version of emacs, then reinstall the version without X. The
You can also specify the version of emacs without X to install, such as Sure, you can mess with bash aliasing or pass in |
|||||
|
|
You already have installed it. Just run emacs with:
|
|||
|
|
|
I think I accidentally downgraded a post without intending to. I just get tired of the vi/emacs flame warz. If the original post didn't mention vi, then mentioning vi doesn't help. Besides, emacs has a vi mode in it |
||||
|
|