screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse 1006


From: Stephane Chazelas
Subject: Re: Mouse 1006
Date: Wed, 27 Jan 2016 21:47:22 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]