Installing Midnight Commander
From SynologyWiki
Midnight Commander is a File Manager for Unix based systems, for further informations about it, please click here
Installing Midnight Commander
Midnight Commander requires five dependences to be install first, before installing the main program, if they are not already installed you’ll have to install them. For my DS106 box all I need to install was mc and the dependences installed with it, but on my CS407 box I needed to install all five dependences.
Telnet/SSH into your Synology Box and install the following packages
Ipkg install pcre Ipkg install glib Ipkg install e2fsprogs Ipkg install slang Ipkg install libpng Ipkg install mc |
Configuring
- Ok after the above are installed you need to edit the .profile file located in /root directory type: cd /root
- Now type: vi .profile this will get you the vi editor
- Add the following lines in the .profile
export TERMINFO=/opt/share/terminfo export TERM=xterm alias mc="mc -c"
- This will allow you to use the F keys in Midnight Commander and turn on color mode.
Restarting/Notes
- Now all you need is to reboot type: reboot
- After reboot telnet back into the Synology box and type: mc
- If everything is setup right Midnight Commander will open in color mode with the F keys working.
- If you use putty to telnet into the Synology box your mouse should work when you open Midnight Commander also.
