A file manager utility for OpenComputers. Forked from original MC.
Made for those who are not experienced with command-line interfaces.
- Zer0Galaxy (aka Dimus) — the ComputerCraft version of the original program.
- NEO (a.k.a. Avaja) — the file search algorithm.
- Totoro (also known as MoonlightOwl) — the OpenComputers port.
- Bs()Dd (also spelled Bs0Dd) - the Plus version.
Insert Internet card and type: pastebin run pc73b8bB
The program comes with:
- Language mcl files for Russian and English (by default, English is set)
- Three mct themes - "Standard", "Redstone" and "Darkness" (alas, I am not a designer, so the absence of eyelash in themes is not guaranteed)
The programs supports any screens with any color depth or resolution.
The GUI was inspired by a well-known Linux program, Midnight Commander, and, of course, Norton Commander.
The program GUI has two panels, to the left and to the right.
Each one lists files and directories stored on the computer's HDDs or floppies.
The directories have /
at the end of their names, and are displayed on the top
of the lists.
Below it is a command prompt, and a list of the actions invoked by pressing
a corresponding functional (Fn
) key.
Use arrow keys or mouse to navigate through the files, and pressing the Tab
key or clicking on another panel moves
the focus to another panel. The Enter
key (or double click) is used to run a program or go to
a directory. To run a program and pass it arguments, hold Ctrl
and press
Enter
(or double click on the element). The name of program will be pasted to the command prompt.
Type the arguments, and press Enter
.
Also, you can press Alt
+ Enter
to hide MCP.
The main differences from the original version:
- Supports 160x50 video mode
- Shadows by the windows (like Norton)
- Mouse support
- Multilingual (language data is placed in a separate .mcl file)
- Themes support (data on colors of elements are placed in a separate .mct file)
- Association system
Program parameters are located in the config file - /etc/mc.cfg
In modern operating systems like Linux, MacOS and Windows, when opening, say, a .jpg image, the system will not launch it, but will launch the viewer associated with this format, passing it this file. A similar system is implemented here. In the config there is a field "Associations", where you can specify for which file which program will be launched.
Entries are of the form ['extension'] = 'program and arguments'.
For example, the entry ['.txt'] = 'edit' means that when you double-click on a file with the .txt extension, the edit editor will be called with the path argument to the file.
Associations do not work if the file is launched from the manager command line.
F3
— open an editor with the selected file.
Shift
+ F3
— create a new file.
F4
/F5
— copy/move a selected file to the another panel's current directory. You can
copy under another name if you want so.
Alt
+ F7
— search for a file or directory.
You can use ?
and *
masks.
?
means "any character".*
means "0 or more characters"
For example, to search for all files that start with co
, you can use the co*
pattern.
F8
— remove a file or directory. You'll be asked for confirmation before
removing.