Midnight Commander: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (→‎LINUX COMMAND: Install notes)
No edit summary
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{linux software}}
{{RightTOC}}

== LINUX COMMAND ==
== LINUX COMMAND ==


mc (i.e. Midnight Commander)
mc (i.e. Midnight Commander)


A Linux clone of one of the most popular DOS based MS-DOS "file/directory manager" utilities. Very heavily used until the establishment of Windows 3.11. Originally released as "Norton Commander", one of many DOS programs of "Norton Utilities" package. Later purchased by Symantec to be renamed and put under "Symantec Utilities".
From linux (or XO terminal), can be install via


Employs basic side by side, two pane navigation and file information. Each pane can be in two separate directories, info view, compressed file view, or even media viewer if correct helper apps are installed too.
$ yum install mc


== Functions ==
A Linux clone of one of the most popular DOS based MS-DOS "file/directory manager" utilities. Very heavily used until the establishment of Windows 3.11. Originally released as "Norton Commander", one of many DOS programs of "Norton Utilities" package. Later purchased by Symantic to be renamed and put under "Symantic Utilites".
Basic commands:
: Note: F1 = (*) Key, (x)/ESC + 1, or Fn-1 , etc. ..


F10 - quit program
Employs basic side by side, two pane navigation and file information. Each pane can be in two separate directores, info view, compressed file view, or even media viewer if correct helper apps are installed too.
Tab - change focus from one window pane to another.

F9 - access pull down menus
Basic commands:
enter- change directory or view file.

F10 (fn-0) - quit program
Tab - change focus from one window pane to another.
F9 (fn-9) - access pull down menus
enter - change directory or view file.


All the rest of the commands, are on the 'menu' line on the screen.
F5 - Copy (file or directory or selected files)
F6 - Move (file or directory or selected files), also rename single item
F7 - Make new directory
F8 - Delete (file or directory or selected files)
..etc..
== Install Notes ==
== Install Notes ==


From Linux (or XO terminal), can be install via
$ yum install mc
<pre>
<pre>
=============================================================================
Package Arch Version Repository Size
=============================================================================
=============================================================================
Installing:
Installing:
mc i386 1:4.6.1a-45.20070124cvs.fc7 olpc_development 2.1M
mc i386 1:4.6.1a-45.20070124cvs.fc7 olpc_development 2.1M
Installing for dependencies:
Installing for dependencies:
perl i386 4:5.8.8-27.fc7 olpc_development 10 M
perl i386 4:5.8.8-27.fc7 olpc_development 10 M [*]
perl-libs i386 4:5.8.8-27.fc7 olpc_development 567 k
perl-libs i386 4:5.8.8-27.fc7 olpc_development 567 k [*]
slang i386 2.0.7-2.fc7 olpc_development 329 k
slang i386 2.0.7-2.fc7 olpc_development 329 k
Line 35: Line 43:
Total download size: 13 M
Total download size: 13 M

Note: [*] = 10 M of this is Perl, which is a common package between yum installs,
could be already installed after another package.
</pre>
</pre>


== References ==
== Configuration notes ==
If you use MC to browse videos (playable in [[Mplayer]]), you may want to add a binding
* Wikipedia
for *.m4v files. Edit ~/.mc/bindings (use Command/Edit Extension File). Scroll down to
* Symantic
the section with other "Include=video" bindings, and add:


<code><pre>
----
regex/\.([mM]4[vV])$
{{linux command}}
Include=video
</pre></code>


== Under Development ==
* [[Image:Activity-MC.svg]] : Sugarized version in works. (icon created, Mar 2008)

== References ==
* [http://en.wikipedia.org/wiki/Midnight_Commander Wikipedia]
* [http://en.wikipedia.org/wiki/Symantec Symantec]

Latest revision as of 04:39, 31 May 2009

This command is run in the standard Linux environment via the Terminal Activity. The GUI will probably not integrate comfortably with the XO Laptop's Sugar environment. Your user experience may vary considerably depending on the established environment and the other programs running on the laptop, may need re-installation after an OS Update. See the Linux software category for other commands.


LINUX COMMAND

mc  (i.e. Midnight Commander)

A Linux clone of one of the most popular DOS based MS-DOS "file/directory manager" utilities. Very heavily used until the establishment of Windows 3.11. Originally released as "Norton Commander", one of many DOS programs of "Norton Utilities" package. Later purchased by Symantec to be renamed and put under "Symantec Utilities".

Employs basic side by side, two pane navigation and file information. Each pane can be in two separate directories, info view, compressed file view, or even media viewer if correct helper apps are installed too.

Functions

Basic commands:

Note: F1 = (*) Key, (x)/ESC + 1, or Fn-1 , etc. ..
F10  - quit program
Tab  - change focus from one window pane to another.
F9   - access pull down menus
enter- change directory or view file.

All the rest of the commands, are on the 'menu' line on the screen.

F5   - Copy (file or directory or selected files)
F6   - Move (file or directory or selected files), also rename single item
F7   - Make new directory
F8   - Delete (file or directory or selected files)
..etc..

Install Notes

From Linux (or XO terminal), can be install via

$ yum install mc
=============================================================================
Installing:
 mc                      i386       1:4.6.1a-45.20070124cvs.fc7  olpc_development 2.1M
Installing for dependencies:
 perl                    i386       4:5.8.8-27.fc7   olpc_development   10 M                 [*]
 perl-libs               i386       4:5.8.8-27.fc7   olpc_development  567 k                 [*]
 slang                   i386       2.0.7-2.fc7      olpc_development  329 k
 
Transaction Summary
=============================================================================
 
Total download size: 13 M

Note: [*] = 10 M of this is Perl, which is a common package between yum installs, 
  could be already installed after another package.

Configuration notes

If you use MC to browse videos (playable in Mplayer), you may want to add a binding for *.m4v files. Edit ~/.mc/bindings (use Command/Edit Extension File). Scroll down to the section with other "Include=video" bindings, and add:

regex/\.([mM]4[vV])$
       Include=video


Under Development

  • Activity-MC.svg : Sugarized version in works. (icon created, Mar 2008)

References