bug-ncurses
[Top][All Lists]
Advanced

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

Re: vte-256color gives stray input bytes when enabling mouse events (sin


From: Benno Schulenberg
Subject: Re: vte-256color gives stray input bytes when enabling mouse events (since 20230514)
Date: Sun, 15 Oct 2023 11:41:05 +0200
User-agent: Mozilla Thunderbird


Op 14-10-2023 om 20:28 schreef Thomas Dickey:
        Patch #224 - 2007/2/11
        * add  control  sequences  for enabling/disabling focus in/out event
          reporting (request by Bram Moolenaar).

Turning the feature on in xterm's building block (xterm+sm+1006) which
happens to be used in the VTE description seemed safe enough.

Does libvte actually support the focus-in/focus-out events and is it
just xfce4-terminal that does not handle them?


well... updating the "xfce" entry and adding "xfce-256color" would be
helpful.  But if it's still an old version of VTE, then there's not
much more that I can do.

What is old?  My xfce4-terminal is version 1.0.4, and links against
libvte-2.91.so.0.6800.0.  Version 0.68 of libvte does not seem old.


On an up-to-date Manjaro system, xfce4-terminal is version 1.1.0 and
links against libvte-2.91.so.0.7400.0.  There the behavior is worse:
when Alt+Tabbing to another window and back, nano acts as if ^O was
typed, receiving the sequence 1B 5B 4F 1B 5B 49 twice.  :/

With the vte-2007, vte-2008, and vte-2012 terminal descriptions this
and the other problem do not occur.

Anyway, doing `infocmp -I -x vte-256color > nwvte`, editing that file
to delete the "1004;" and renaming the description to "vte-256good",
and then running `tic -x nwvte`, a new terminal description is created
in ~/.terminfo/v/.  (Mentioning this just to document for myself how
to do this.)  Using TERM=vte-256good, nano now of course works fine
on an Xfce Terminal.

Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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