View Full Version : Debian Lenny and MC (Midnight Commander)
edge
20th February 2009, 00:18
I love MC, and I use it all the time to make changes to files.
Now I just installed the new Denian Lenny, and MC on it.
Horror.. :eek: When I press F4 within MC, NANO opens :eek:
On Debian Etch it was not like this. MC had a really nice editor in it!
Anyone here who might know whats up with this? I realy do not want to use nano!
falko
20th February 2009, 19:34
Run apt-get install vim-nox
and then
update-alternatives --config editor
and select vim-nox:
server1:/tmp/dcc-dccproc-1.3.102# update-alternatives --config editor
There are 4 alternatives which provide `editor'.
Selection Alternative
-----------------------------------------------
1 /bin/ed
*+ 2 /bin/nano
3 /usr/bin/vim.tiny
4 /usr/bin/vim.nox
Press enter to keep the default , or type selection number: <-- 4
Using '/usr/bin/vim.nox' to provide 'editor'.
server1:/tmp/dcc-dccproc-1.3.102#
edge
23rd February 2009, 21:00
I have 5 options to choose form.
There are 5 alternatives which provide `editor'.
Selection Alternative
-----------------------------------------------
1 /bin/ed
+ 2 /bin/nano
3 /usr/bin/vim.tiny
* 4 /usr/bin/mcedit-debian
5 /usr/bin/vim.nox
It's the /usr/bin/mcedit-debian that I want (and love).
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.