bug-ncurses
[Top][All Lists]
Advanced

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

vte-256color gives stray input bytes when enabling mouse events (since 2


From: Benno Schulenberg
Subject: vte-256color gives stray input bytes when enabling mouse events (since 20230514)
Date: Sat, 14 Oct 2023 16:05:48 +0200
User-agent: Mozilla Thunderbird


Hi,

Since ncurces-6.4-20230514, making mouse events visible
generates the byte sequence 1B 5B 49 on the input stream
when using the vte-256color terminal description on an
Xfce Terminal.  Going back to ncurses-6.4-20230506 these
bytes do not appear.

I noticed this while toggling mouse support in nano with
M-M: when toggling it on, nano does a PageUp, as 1B 5B 49
(ESC [ I) is the escape sequence for PgUp on a BSD console.

Comparing the older and the newer vte-256color terminal
descriptions yields nothing:

  $ infocmp vte-256color-old vte-256color-new
  comparing vte-256color-old to vte-256color-new.
      comparing booleans.
      comparing numbers.
      comparing strings.

But looking at the hex dumps, there appears to be a "1004;"
added in the newer description.

Maybe I'm somehow compiling ncurses wrong?  I build it like
this:

  export NCURSESW_LIBS="-l:libncursesw.so -L/usr/local/lib"

  ./configure -C --enable-widec --enable-pc-files --with-shared \
        --without-ada --without-manpages --without-tests \
        --without-cxx-binding --disable-stripping \
        --disable-rpath-hack --disable-termcap --prefix=/usr/local

Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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