Re: Mouse 1006

Stephane Chazelas <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.