2016-01-27 06:51:57 -0600, Tao Zhang:
> Hi,
> 
> I need to run a program that requires mouse 1006 protocol in Screen, and I
> found the mouse reporting of the program is not right with my customized
> terminfo, which support 1006 protocol.
> 
> So I'm wondering whether Screen supports the 1006 reporting. If it doesn't
> and you have some ideas how I can enable this, please let me know.
[...]

There has to be a better way to do it, but (assuming the host
terminal supports that mode) you can always add:

termcapinfo * mb=\E[?1006h

to your ~/.screenrc

And then, you enable the 1006 mouse mode within screen with:

tput blink

And then:

printf '\e[?1000h'

to enable mouse tracking.

-- 
Stephane

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users
  • Mouse 1006 Tao Zhang
    • Re: Mouse 1006 Stephane Chazelas

Reply via email to