On Tue, 17 Nov 2009, Mindaugas Kavaliauskas wrote:

Hi,

> >In summary it's very simple and clear as long as you know how it works
> >and also very flexible so it's hard to returned to DOS or Windows and
> >use Norton Commander or FAR Manager.
> Why do you can call it flexible? What are advantages of such MC
> behavior (in comparison to pressing Ctrl+O and continuing to enter
> command)?

It very flexible for me because bkg task are still executed and
not interrupted when I activate panels by CTRL+O. I use this fact
very often and when some commands are working in backgrounds I'm
operating on foreground panels activated by CTRL+O.

> A few more questions about MC:
> - Let's say I want to see .gz file in plain (or hex) format. I do
> not want F3 to unpack it. How can I do that?

SHIFT+F3

> - I want to put current file name into command line. How can I do
> that? (Ctrl+Enter in Far do the job).

In the same way (it's CTRL+J in both cases and on some terminals
CTRL+ENTER works like CTRL+J) anyhow in MC you have much more
possibilities. Of course you can use keystrokes like CTRL+J or
ESC + a / A (current or second panel path) but I usually found
macros much more flexible, i.e. try:
   echo "Current dir: %d, current file %f"
or:
   echo "secind panel dir: %D, and file %F"

> - Find file command shortcut is "M-?". What does it mean?

M- means META KEY (usually ALT on PC keyboards)
M-? means ALT + "?", if you are using ENGLISH PC keyboard then you
will have to hit SHIFT + "/" to take "?" character, so for you this
key combination probably means ALT + SHIFT + "/". If you are using
keyboard where "?" character is generated in different way (i.e.
directly) then final combination can be different.
If you are using terminal where META key cannot be used in combination
with some other shift keys then you can use single ESC hit as META key,
i.e. ESC, SHIFT + "/" will work on all terminals.

BTW ^- means CTRL. i.e. ^Q means CTRL+Q

> - Does MC editor has column block marking? In Far such block can be
> marked using Alt+arrows. Alt+arrows throws me out of edit window and
> I see OC, OB, OD, or OA in command line.

Yes it has. It's activated by F13 or SHIFT+F3 (you should see "C" in
status line instead of "B" when column marking is activated).

> Other unsupported keys also tends to put garbage into command line.

Yes, if MC does not understand some escape key sequence then it simply
cannot decode it as complex key. But it's common behavior for all terminal
programs which do not receive events directly from hardware but as stream
of characters. I cannot help you here though you can use some MC extensions
like user defined key sequences to inform it about such sequences and
expected behavior or at least define them as dummy ones to strip them from
the input stream.

> I'll have more question after I'll need to make some job on Linux.

I'll try to answer.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to