Commands of the text editor of the file manager Far Manager

Laboratory work in FAR manager

Theoretical information

File managers are shell programs for working with the operating system. With the file manager, users can view, copy, delete and create directories and files, run programs, and more. One of the first file managers is Norton Commander for DOS, created by Peter Norton. It is the first to use a two-panel interface. In the file manager, the screen is divided into two independent areas or panels, each of which displays the contents of directories and files on disks. The file manager Norton Commander is the founder of a class of programs – classical file managers. Classic file managers include: DOS Navigator, FAR Manager, Volkov Commander, Windows Commander, etc.

Classic file managers have inherited Norton Commander keyboard shortcuts. Currently, experienced PC users prefer to use the FAR or Total Commander file managers to work with Windows. Many users prefer to use FAR Manager due to the presence of a huge number of additional modules or plugins that allow you to extend the functionality of the file manager.

Let’s take a closer look at the FAR Manager program, which is free for non-commercial use by citizens of the CIS countries (author Evgeny Roshal is a Russian programmer), and for other users it is distributed as shareware. New version: Far Manager v2.0 build 1086 x86

Far Manager is a console file manager for operating systems of the Windows family. The file manager provides a convenient user interface for working with files, i.e. for viewing files and directories, editing, copying, renaming files, etc. Far Manager provides processing of files with long names.
Basic keyboard commands: Panel control commands; File management and service commands; Command line; Other commands.

Consider Panel Control Commands.

General Commands of Far Manager File Managers
Team Team Description
TAB Change active panel
Ctrl-U Swap panels
Ctrl-L Hide/Show Information Panel
Ctrl-Q Hide/Show Quick File View Panel
ctrl-t Hide/show folder tree
Ctrl-O Hide/show both panels
ctrl-p Remove/show inactive panel
Ctrl-F1 Hide/Show Left Panel
ctrl-f2 Hide/show right panel
ctrl-b Hide/Show Function Key Bar
File Panel Commands
Ins, Shift-cursor keys Mark/unmark a file
Gray+ Tag group
Gray- Unmark a group
Gray* Invert flag
Shift- Mark all files
Shift- Unmark all files
Ctrl+M Restore previous note

Commands “File management and service commands” (functional keys F1 – F10 are located in the bottom line of the Far Manager window)

Team Team Description
F1 Help
F2 Call user menu
F3 View file
F4 Editing a file. Calls an inline, external, or associated editor
F5 Copy. Copies files and folders
F6 Rename or move folders and files
F7 Create a new folder
F8 Deleting files and folders
F9 Show horizontal menu
F10 Finish with FAR
Alt-F1 Change current drive in the left pane
Alt-F2 Change current drive in right pane
Alt-F5 Printing Files
Alt-F7 Execute file search command
Alt-F8 Show command history
Shift-F4 Create text file
Alt Del Destruction of files and folders

Commands of the text editor of the file manager Far Manager

Cursor Commands
Team Team Description
Ctrl Home To the beginning of the file
Ctrl End To the end of the file
Home To the beginning of the line
end To the end of the line
pgup Page up
PgDn Page down
Del Delete character
BS Delete character on the left
ctrl-y Delete line
Operations on blocks
Shift+arrow Select simple (inline) block
Ctrl-U Deselect block
Shift-A Select all text
Shift-Ins, Ctrl-V Paste block from clipboard
Shift-Del, Ctrl-X Move (cut) block to clipboard
ctrl-c Copy block to clipboard
ctrl-d Delete block
ctrl-p Copy block to current cursor position
Ctrl-M Move block to current cursor position
Other operations
F1 Help
F2 Save file
Shift-F2 Save the file with a different name
F7 Search
Ctrl-F7 Replacing all occurrences of a word with another
Shift-F7 Continue Search/Replace
F8 Switching DOS/WINDOWS (character encodings)
F10, Esc Exiting the editor
Shift-F10 Save and Exit
ctrl-z Undo last action (rollback)

Task options for the FAR manager program

All tasks are performed without the help of a mouse!

1. Change the panel configuration, i.e. make file descriptions more or less detailed. For 2 configurations (of your choice) explain which file properties are displayed on the panel.

2. Move from one panel to another (without using the mouse); change the current disk of the panel.

3. Find a file by part of its name.

4. Determine the attributes of the file, its size, date of creation and last modification.

5. Sort files in one directory: show at least 2 examples of sorting according to different criteria.

6. Select a file; remove selection; select all files in the directory; remove selection.

7. Select a group of files; copy the selected group to another directory; delete copied files.

8. Rename the file, leaving it in the same directory.

9. Create a directory; select a group of files and move them to the newly created directory.

10. Compare the contents of 2 directories using one FAR manager command.

11. Switch the inactive panel to the file content quick view mode, and then return the panel to its original form.

12. Create a new text file; write your last name in Russian in Win encoding; save file.

13. Open the file with Russian text in DOS encoding in the editor; convert the text to Win encoding and save the file under a different name.

14. View the text file from top to bottom (“scroll”); determine how (bytes with what hexadecimal codes) the ends of lines are marked in it.

15. Open a text file in the editor; select several lines in it and delete them; cancel deletion.

16. Open a text file in the editor; select a rectangular block in it and move it to another location.

17. Open a text file in the editor; find the place in it where the given word occurs.

18. Open a text file in the editor; remove from it the given combination of characters from everywhere where it met.

19. Open a text file in the editor; move the cursor: to the character indicated by the teacher, to the beginning of the line, to the end of the line.

Be First to Comment

Leave a Reply

Your email address will not be published.