On Tue, 17 Nov 2009, Szak�ts Viktor wrote:
> Some more random questions:
> - On my OS X system mouse always generates chars on screen, instead of moving 
> any mouse pointer.
>   Even in xterm. How can that be fixed?

You will have to exactly check what this character means.
Probably your terminal program uses non standard escap sequence for
mouse events or you have wrong terminal description in your termcap/terminfo
database or simply TERM envvar is wrongly set.
BTW what echo $TERM shows and what terminal program you are using?

> - When I login using my admin acc in terminal, left/right keys don't work, 
> instead I see 'A' and 'B' chars.
>   Also the colors are missing.

The same problem as above.
   mc -c
forces using colors even if termcap/terminfo do not contain valid entries
for color output.
Anyhow it does not seems to be MC problem.

> - I use keyboard cut/paste using Shift+Arrows a lot. Any replacement for that 
> in MC?

It will depend on used window manager. I.e. I can use mouse to mark any text
and paste it using middle key or SHIFT+INSERT and it's not done by MC but
by terminal program and how it's integrated with the desktop. Please remember
that MC can be executed on completely different computers then the one you
are using directly so the sense of C&P buffer is different here.
Anyhow except the access to main desktop C&P buffer given by terminal program
MC has own copy & past buffer which you can use between different MC instances
on the same user account. You can safe any block in this buffer by pressing
CTRL+F (in fact it's a simple file so you can use many different buffers/files)
and the past it using F15 (or SHIFT+F5).
Of course extended Fn keys needs well configured terminal.

> > - I want to put current file name into command line. How can I do that? 
> > (Ctrl+Enter in Far do the job).
> It's Esc then Enter.
> > - Find file command shortcut is "M-?". What does it mean?
> I've found that file find is Ctrl+S then you type filename you look for.
> BTW file selection is Ctrl+T on OS X if anyone is interested.

If you look closer at inkey code in inkey.ch then you will find that
all keys like:
   CTRL+[A-Z]
give values which can be calculated as ASC( "[A-Z]" ) - 64 and the same
fact exists in all terminal programs. So if your terminal program does
not accept some key combination which has corresponding direct value <n>
between 1 and 26 then you can simply use CTRL+<letter> where <letter>
is <n>-th letter, i.e. CTRL+ENTER is CHR(10) and it's the same as
CTRL+M because M is 10-th letter, etc.
CTRL+<letter> combinations works in practice with all devices, as you
can see they are supported for a long time (though looks that even hipper
advanced Clipper users forgot about it ;-)) and very often helps to resolve
problems with non standard keyboards. After 25 years of PC domination
we have again many devices like PDA or cellar phones with often really
strange keyboards so the problem will return in the future.

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