keystrokes depending on position and content on the screen.
> >
> > At least implement xterm mouse reporting without the ability to disable
> > it. Even that will be safer.
>
> Yes - I guess that is the direction I should be looking at.
> My idea was that I send an escape sequence from the terminal to mc
> giving the type of mouse-click and the position. Something like:
> "M-mouse 1 down;03;56". It would then work from many different
> terminals, provided they can translate their mouse-clicks to the required
> string.
My idea is almost exactly what xterm does.
rxvtRef.txt says the sequence "Esc [ M <b> <x> <y>" report mouse position.
Did I understand you correctly that mc would ignore this sequence if it does not come from a proper xterm?
Ferdi :-)
-----oooooOOOOOOOooooo-----
Ferdi Louw Internet:ferdi gpvno co za
INET web/ftp site: http://www.gpvno.co.za/
Tel. +27(12)803-6501(work) +27(83)287-5735(cel)
+27(12)803-4131(fax) +27(12)80-432-68(home)
S-mail: GP van Niekerk Ondernemings, 211 Roos Street,
Meyerspark, 0184, Pretoria, South Africa
Private: 505 Graniet Street, Silverton, 0184, Pretoria
-----oooooOOOOOOOooooo-----
Never do card tricks for the group you play poker with.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]