|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Fedor Zuev 2:5070/156.89 30 Jan 2002 02:57:51 To : Vitaly.Lugovsky Subject : Re: Пpогpаммиpование --------------------------------------------------------------------------------
FZ>> Так с mc-то тоже можно научиться эффективно pаботать. Благо,
FZ>> он позволяет все, что в командной стpоке, и немало свеpх.
MP> Э-э-э, а как в mc заюзать autocompletion, или как там его, ну что в shell
MP> по tab?
>> M-Tab
> И чтоб даже в dd if=имя-файла подставило? Hу ну.
Completion
Let the Midnight Commander type for you.
Attempt to perform completion on the text before current position.
MC attempts completion treating the text as variable (if the text
begins with $ ), username (if the text begins with ~ ), hostname (if
the text begins with @) or command (if you are on the command line
in the position where you might type a command, possible completions
then include shell reserved words and shell builtin commands as
well) in turn. If none of these produces a match, filename
completion is attempted.
Filename, username, variable and hostname completion works on all
input lines, command completion is command line specific. If the
completion is ambiguous (there are more different possibilities), MC
beeps and the following action depends on the setting of the
Complete: show all option in the Configuration dialog. If it is
enabled, a list of all possibilities pops up next to the current
position and you can select with the arrow keys and Enter the
correct entry. You can also type the first letters in which the
possibilities differ to move to a subset of all possibilities and
complete as much as possible. If you press M-Tab again, only the
subset will be shown in the listbox, otherwise the first item which
matches all the previous characters will be highlighted. As soon as
there is no ambiguity, dialog disappears, but you can hide it by
canceling keys Esc, F10 and left and right arrow keys. If Complete:
show all is disabled, the dialog pops up only if you press M-Tab for
the second time, for the first time MC just beeps.
--- pine 4.33
* Origin: Hе удивляйся - именно так и сходят с ума (2:5070/156.89@fidonet)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/17604726b5a74.html, оценка из 5, голосов 10
|