Used .TP for coherency all over the key description pages.

This commit is contained in:
Marco Ciampa 2002-11-06 09:03:47 +00:00
parent 7f250dafa3
commit e41664e68e
1 changed files with 176 additions and 172 deletions

View File

@ -199,15 +199,19 @@ Some commands in the Midnight Commander involve the use of the
.I Meta .I Meta
(sometimes labeled ALT or even Compose) keys. In this manual we will (sometimes labeled ALT or even Compose) keys. In this manual we will
use the following abbreviations: use the following abbreviations:
.PP .TP
C-<chr> means hold the Control key while typing the character .B C-<chr>
<chr>. Thus C-f would be: hold the Control key and type f. means hold the Control key while typing the character <chr>.
.PP Thus C-f would be: hold the Control key and type f.
M-<chr> means hold the Meta or Alt key down while typing <chr>. If .TP
there is no Meta or Alt key, type ESC, release it, then type the .B M-<chr>
character <chr>. means hold the Meta or Alt key down while typing <chr>.
.PP If there is no Meta or Alt key, type
S-<chr> means hold the Shift key down while typing <chr>. .IR ESC ,
release it, then type the character <chr>.
.TP
.B S-<chr>
means hold the Shift key down while typing <chr>.
.PP .PP
All input lines in the Midnight Commander use an approximation to All input lines in the Midnight Commander use an approximation to
the GNU Emacs editor's key bindings. the GNU Emacs editor's key bindings.
@ -249,9 +253,9 @@ the input lines in the query dialogs.
.\"NODE " Miscellaneous Keys" .\"NODE " Miscellaneous Keys"
.SH " Miscellaneous Keys" .SH " Miscellaneous Keys"
Here are some keys which don't fall into any of the other categories: Here are some keys which don't fall into any of the other categories:
.PP .TP
.B Enter. .B Enter
If there is some text in the command line (the one at the bottom of if there is some text in the command line (the one at the bottom of
the panels), then that command is executed. If there is no text in the the panels), then that command is executed. If there is no text in the
command line then if the selection bar is over a directory the command line then if the selection bar is over a directory the
Midnight Commander does a Midnight Commander does a
@ -264,72 +268,72 @@ extensions in the
extensions file extensions file
.\"Extension File Edit" .\"Extension File Edit"
then the corresponding command is executed. then the corresponding command is executed.
.PP .TP
.B C-l. .B C-l
Repaint all the information in the Midnight Commander. repaint all the information in the Midnight Commander.
.PP .TP
.B C-x c. .B C-x c
Run the run the
.\"LINK2" .\"LINK2"
Chmod Chmod
.\"Chmod" .\"Chmod"
command on a file or on the tagged files. command on a file or on the tagged files.
.PP .TP
.B C-x o. .B C-x o
Run the run the
.\"LINK2" .\"LINK2"
Chown Chown
.\"Chown" .\"Chown"
command on the current file or on the tagged files. command on the current file or on the tagged files.
.PP .TP
.B C-x l. .B C-x l
Run the link command. run the link command.
.PP .TP
.B C-x s. .B C-x s
Run the symbolic link command. run the symbolic link command.
.PP .TP
.B C-x i. .B C-x i
Set the other panel display mode to information. set the other panel display mode to information.
.PP .TP
.B C-x q. .B C-x q
Set the other panel display mode to quick view. set the other panel display mode to quick view.
.PP .TP
.B C-x !. .B C-x !
Execute the execute the
.\"LINK2" .\"LINK2"
External panelize External panelize
.\"External panelize" .\"External panelize"
command. command.
.PP .TP
.B C-x h .B C-x h
Run the run the
.\"LINK2" .\"LINK2"
add directory to hotlist add directory to hotlist
.\"Hotlist" .\"Hotlist"
command. command.
.PP .TP
.B M-!, .B M-!
Executes the Filtered view command, described in the executes the Filtered view command, described in the
.\"LINK2" .\"LINK2"
view command\&. view command\&.
.\"Internal File Viewer" .\"Internal File Viewer"
.PP .TP
.B M-?, .B M-?
Executes the executes the
.\"LINK2" .\"LINK2"
Find file Find file
.\"Find File" .\"Find File"
command. command.
.PP .TP
.B M-c, .B M-c
Pops up the pops up the
.\"LINK2" .\"LINK2"
quick cd quick cd
.\"Quick cd" .\"Quick cd"
dialog. dialog.
.PP .TP
.B C-o, .B C-o
When the program is being run in the Linux or SCO console or under an xterm, when the program is being run in the Linux or SCO console or under an xterm,
it will show you the output of the previous command. When ran on the it will show you the output of the previous command. When ran on the
Linux console, the Midnight Commander uses an external program Linux console, the Midnight Commander uses an external program
(cons.saver) to handle saving and restoring of information on the (cons.saver) to handle saving and restoring of information on the
@ -349,24 +353,24 @@ look at the section on
.\"LINK2" .\"LINK2"
Left and Right Menus\&. Left and Right Menus\&.
.\"Left and Right Menus" .\"Left and Right Menus"
.PP .TP
.B Tab, C-i. .B Tab, C-i
Change the current panel. The old other panel becomes the new current change the current panel. The old other panel becomes the new current
panel and the old current panel becomes the new other panel. The panel and the old current panel becomes the new other panel. The
selection bar moves from the old current panel to the new current selection bar moves from the old current panel to the new current
panel. panel.
.PP .TP
.B Insert, C-t. .B Insert, C-t
To tag files you may use the Insert key (the kich1 terminfo sequence) to tag files you may use the Insert key (the kich1 terminfo sequence)
or the C-t (Control-t) sequence. To untag files, just retag a tagged or the C-t (Control-t) sequence. To untag files, just retag a tagged
file. file.
.PP .TP
.B M-g, M-r, M-j. .B M-g, M-r, M-j
Used to select the top file in a panel, the middle file and the bottom one, used to select the top file in a panel, the middle file and the bottom one,
respectively. respectively.
.PP .TP
.B C-s, M-s. .B C-s, M-s
Start a filename search in the directory listing. When the search is start a filename search in the directory listing. When the search is
active, the user input will be added to the search string instead of active, the user input will be added to the search string instead of
the command line. If the the command line. If the
.I Show mini-status .I Show mini-status
@ -378,21 +382,21 @@ or
.I DEL .I DEL
keys can be used to correct typing mistakes. If C-s is pressed keys can be used to correct typing mistakes. If C-s is pressed
again, the next match is searched for. again, the next match is searched for.
.PP .TP
.B M-t .B M-t
Toggle the current display listing to show the next display listing toggle the current display listing to show the next display listing
mode. With this it is possible to quickly switch from long listing mode. With this it is possible to quickly switch from long listing
to regular listing and the user defined listing mode. to regular listing and the user defined listing mode.
.PP .TP
.B C-\\\\ (control-backslash). .B C-\\\\ (control-backslash)
Show the show the
.\"LINK2" .\"LINK2"
directory hotlist directory hotlist
.\"Hotlist" .\"Hotlist"
and change to the selected directory. and change to the selected directory.
.PP .TP
.B + \ (plus). .B + \ (plus)
This is used to select (tag) a group of files. The Midnight Commander this is used to select (tag) a group of files. The Midnight Commander
will prompt for a regular expression describing the group. When will prompt for a regular expression describing the group. When
.I Shell Patterns .I Shell Patterns
are enabled, the regular expression is much like the regular are enabled, the regular expression is much like the regular
@ -404,89 +408,89 @@ expressions (see ed (1)).
.PP .PP
If the expression starts or ends with a slash (/), then it will select If the expression starts or ends with a slash (/), then it will select
directories instead of files. directories instead of files.
.PP .TP
.B \\\\ (backslash). .B \\\\ (backslash)
Use the "\\" key to unselect a group of files. This is the opposite of use the "\\" key to unselect a group of files. This is the opposite of
the Plus key. the Plus key.
.PP .TP
.B up-key, C-p. .B up-key, C-p
Move the selection bar to the previous entry in the panel. move the selection bar to the previous entry in the panel.
.PP .TP
.B down-key, C-n. .B down-key, C-n
Move the selection bar to the next entry in the panel. move the selection bar to the next entry in the panel.
.PP .TP
.B home, a1, M-<. .B home, a1, M-<
Move the selection bar to the first entry in the panel. move the selection bar to the first entry in the panel.
.PP .TP
.B end, c1, M->. .B end, c1, M->
Move the selection bar to the last entry in the panel. move the selection bar to the last entry in the panel.
.PP .TP
.B next-page, C-v. .B next-page, C-v
Move the selection bar one page down. move the selection bar one page down.
.PP .TP
.B prev-page, M-v. .B prev-page, M-v
Move the selection bar one page up. move the selection bar one page up.
.PP .TP
.B M-o, .B M-o
If the other panel is a listing panel and you are standing on a if the other panel is a listing panel and you are standing on a
directory in the current panel, then the other panel contents are set directory in the current panel, then the other panel contents are set
to the contents of the currently selected directory (like Emacs' dired to the contents of the currently selected directory (like Emacs' dired
C-o key) otherwise the other panel contents are set to the parent dir C-o key) otherwise the other panel contents are set to the parent dir
of the current dir. of the current dir.
.PP .TP
.B C-PageUp, C-PageDown .B C-PageUp, C-PageDown
Only when ran on the Linux console: does a chdir to ".." and to the only when ran on the Linux console: does a chdir to ".." and to the
currently selected directory respectively. currently selected directory respectively.
.PP .TP
.B M-y .B M-y
Moves to the previous directory in the history, equivalent moves to the previous directory in the history, equivalent
to depressing the '<' with the mouse. to depressing the '<' with the mouse.
.PP .TP
.B M-u .B M-u
Moves to the next directory in the history, equivalent moves to the next directory in the history, equivalent
to depressing the '>' with the mouse. to depressing the '>' with the mouse.
.PP .TP
.B M-S-h, M-H .B M-S-h, M-H
Displays the directory history, equivalent to depressing the 'v' with displays the directory history, equivalent to depressing the 'v' with
the mouse. the mouse.
.\"NODE " Shell Command Line" .\"NODE " Shell Command Line"
.SH " Shell Command Line" .SH " Shell Command Line"
This section lists keys which are useful to avoid excessive typing when This section lists keys which are useful to avoid excessive typing when
entering shell commands. entering shell commands.
.PP .TP
.B M-Enter. .B M-Enter
Copy the currently selected file name to the command line. copy the currently selected file name to the command line.
.PP .TP
.B C-Enter. .B C-Enter
Same a M-Enter, this one only works on the Linux console. same a M-Enter, this one only works on the Linux console.
.PP .TP
.B M-Tab. .B M-Tab
Does the filename, command, variable, username and hostname does the filename, command, variable, username and hostname
.\"LINK2" .\"LINK2"
completion completion
.\"Completion" .\"Completion"
for you. for you.
.PP .TP
.B C-x t, C-x C-t. .B C-x t, C-x C-t
Copy the tagged files (or if there are no tagged files, the selected copy the tagged files (or if there are no tagged files, the selected
file) of the current panel (C-x t) or of the other panel (C-x C-t) to file) of the current panel (C-x t) or of the other panel (C-x C-t) to
the command line. the command line.
.PP .TP
.B C-x p, C-x C-p. .B C-x p, C-x C-p
The first key sequence copies the current path name to the command the first key sequence copies the current path name to the command
line, and the second one copies the unselected panel's path name to line, and the second one copies the unselected panel's path name to
the command line. the command line.
.PP .TP
.B C-q. .B C-q
The quote command can be used to insert characters that are otherwise the quote command can be used to insert characters that are otherwise
interpreted by the Midnight Commander (like the '+' symbol) interpreted by the Midnight Commander (like the '+' symbol)
.PP .TP
.B M-p, M-n. .B M-p, M-n
Use these keys to browse through the command history. M-p takes you use these keys to browse through the command history. M-p takes you
to the last entry, M-n takes you to the next one. to the last entry, M-n takes you to the next one.
.PP .TP
.B M-h. .B M-h
Displays the history for the current input line. displays the history for the current input line.
.\"NODE " General Movement Keys" .\"NODE " General Movement Keys"
.SH " General Movement Keys" .SH " General Movement Keys"
The help viewer, the file viewer and the directory tree use common The help viewer, the file viewer and the directory tree use common
@ -495,39 +499,39 @@ keys. Each of them also accepts some keys of its own.
.PP .PP
Other parts of the Midnight Commander use some of the same movement Other parts of the Midnight Commander use some of the same movement
keys, so this section may be of use for those parts too. keys, so this section may be of use for those parts too.
.PP .TP
.B Up, C-p. .B Up, C-p
Moves one line backward. moves one line backward.
.PP .TP
.B Down, C-n. .B Down, C-n
Moves one line forward. moves one line forward.
.PP .TP
.B Prev Page, Page Up, M-v. .B Prev Page, Page Up, M-v
Moves one page up. moves one page up.
.PP .TP
.B Next Page, Page Down, C-v. .B Next Page, Page Down, C-v
Moves one page down. moves one page down.
.PP .TP
.B Home, A1. .B Home, A1
Moves to the beginning. moves to the beginning.
.PP .TP
.B End, C1. .B End, C1
Move to the end. move to the end.
.PP .PP
The help viewer and the file viewer accept the following keys in The help viewer and the file viewer accept the following keys in
addition the to ones mentioned above: addition the to ones mentioned above:
.PP .TP
.B b, C-b, C-h, Backspace, Delete. .B b, C-b, C-h, Backspace, Delete
Moves one page up. moves one page up.
.PP .TP
.B Space bar. .B Space bar
Moves one page down. moves one page down.
.PP .TP
.B u, d. .B u, d
Moves one half of a page up or down. moves one half of a page up or down.
.PP .TP
.B g, G. .B g, G
Moves to the beginning or to the end. moves to the beginning or to the end.
.\"NODE " Input Line Keys" .\"NODE " Input Line Keys"
.SH " Input Line Keys" .SH " Input Line Keys"
The input lines (they are used for the The input lines (they are used for the
@ -535,54 +539,54 @@ The input lines (they are used for the
command line command line
.\"Shell Command Line" .\"Shell Command Line"
and for the query dialogs in the program) accept these keys: and for the query dialogs in the program) accept these keys:
.PP .TP
.B C-a .B C-a
puts the cursor at the beginning of line. puts the cursor at the beginning of line.
.PP .TP
.B C-e .B C-e
puts the cursor at the end of the line. puts the cursor at the end of the line.
.PP .TP
.B C-b, move-left .B C-b, move-left
move the cursor one position left. move the cursor one position left.
.PP .TP
.B C-f, move-right .B C-f, move-right
move the cursor one position right. move the cursor one position right.
.PP .TP
.B M-f .B M-f
moves one word forward. moves one word forward.
.PP .TP
.B M-b .B M-b
moves one word backward. moves one word backward.
.PP .TP
.B C-h, backspace .B C-h, backspace
delete the previous character. delete the previous character.
.PP .TP
.B C-d, Delete .B C-d, Delete
delete the character in the point (over the cursor). delete the character in the point (over the cursor).
.PP .TP
.B C-@ .B C-@
sets the mark for cutting. sets the mark for cutting.
.PP .TP
.B C-w .B C-w
copies the text between the cursor and the mark to a kill buffer and copies the text between the cursor and the mark to a kill buffer and
removes the text from the input line. removes the text from the input line.
.PP .TP
.B M-w .B M-w
copies the text between the cursor and the mark to a kill buffer. copies the text between the cursor and the mark to a kill buffer.
.PP .TP
.B C-y .B C-y
yanks back the contents of the kill buffer. yanks back the contents of the kill buffer.
.PP .TP
.B C-k .B C-k
kills the text from the cursor to the end of the line. kills the text from the cursor to the end of the line.
.PP .TP
.B M-p, M-n .B M-p, M-n
Use these keys to browse through the command history. M-p takes you Use these keys to browse through the command history. M-p takes you
to the last entry, M-n takes you to the next one. to the last entry, M-n takes you to the next one.
.PP .TP
.B M-C-h, M-Backspace .B M-C-h, M-Backspace
delete one word backward. delete one word backward.
.PP .TP
.B M-Tab .B M-Tab
does the filename, command, variable, username and hostname does the filename, command, variable, username and hostname
.\"LINK2" .\"LINK2"