out of space on /root

Ralf Mardorf silver.bullet at zoho.com
Mon Mar 13 15:41:20 UTC 2017


On Mon, 13 Mar 2017 11:09:24 -0400, Gene Heskett wrote:
>On Monday 13 March 2017 08:28:47 Ralf Mardorf wrote:
>
>> As already pointed out, mcedit gained popularity because it's part of
>> midnight commander, the well known Norton clone. Apropos Norton, "ne
>> (text editor) Not to be confused with Norton Editor",
>> https://en.wikipedia.org/wiki/Ne_(text_editor) .  
>
>One thing of note about mc is that as a user, f4 gets you the mc
>editor. But as root, f4 gets you nano. I've no clue why the diff, but
>there you are. Its a surprise if you like surprises I guess.

:D

This doesn't happen on my machine, at least not when running Arch Linux.
I haven't tested it using Ubuntu.

FWIW for root as well as for the user the default editor on my machine
is nano:

# grep EDITOR /root/.bashrc /home/rocketmouse/.bashrc 
/root/.bashrc:export EDITOR="nano"
/home/rocketmouse/.bashrc:export EDITOR="nano"

If I select a file after launching mc and then push F4, mcedit does
open the file, _not_ nano.

It's possible to launch

  mcedit

or

  mcedit /path/filename

instead of

  mc

There are config files in $HOME/.config/mc/ , maybe your root's config
has got an entry that does make nano to mc's editor.

Regards,
Ralf





More information about the ubuntu-users mailing list