[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about triggering KEY_MOUSE
From: |
Thomas Dickey |
Subject: |
Re: Question about triggering KEY_MOUSE |
Date: |
Tue, 1 Jan 2019 19:42:37 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Jan 01, 2019 at 05:20:21PM -0600, Bryan Christ wrote:
> Timothy,
>
> Even with passing the -x param to infocmp, I still don't see XM defined for
> the four I queried:
> xterm, konsole, xfce, rxvt
Four examples for "XM",
+ xterm:
It's in the original terminfo source for "xterm" in ncurses.
However, packagers (on multiple systems) have interfered with that,
splicing together the example terminfo from the _xterm_ source
and overwriting the entry which I constructed for _ncurses_.
The _xterm_ source doesn't have the extension.
+ konsole:
The ncurses terminfo bases its mouse behavior on xterm-r6.
Looks like I overlooked konsole when adding SGR 1006 to the
mouse behavior, though it seems to be supported in the source.
+ xfce:
ncurses has this aliased to vte-2008; but since XFCE terminal
is just another wrapper around VTE, if you happen to be using
some newer VTE underneath, that would be addressed by using
one of the dated "vte" entries.
+ rxvt:
That only implements the original xterm mouse protocol.
urxvt is different - another story...
> On Tue, Jan 1, 2019 at 5:09 PM Timothy Allen <address@hidden> wrote:
>
> > On Tue, 2019-01-01 at 16:57 -0600, Bryan Christ wrote:
> > > That makes sense, but I'm looking in the terminfo for xterm and rxvt
> > > (using infocmp) and not seeing XM in either one.
> >
> > "XM" is one of ncurses' "user-defined" capabilities, as described in
> > user_caps(5). Make sure you pass the "-x" flag to infocmp to see them.
> >
> >
>
> --
> Bryan
> <><
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature
- Re: Question about triggering KEY_MOUSE, (continued)
- Re: Question about triggering KEY_MOUSE, Timothy Allen, 2019/01/01
- Re: Question about triggering KEY_MOUSE, Bryan Christ, 2019/01/01
- Re: Question about triggering KEY_MOUSE, Timothy Allen, 2019/01/01
- Re: Question about triggering KEY_MOUSE, Bryan Christ, 2019/01/01
- Re: Question about triggering KEY_MOUSE, Timothy Allen, 2019/01/01
- Re: Question about triggering KEY_MOUSE, Bryan Christ, 2019/01/01
- Re: Question about triggering KEY_MOUSE, Timothy Allen, 2019/01/02
- Re: Question about triggering KEY_MOUSE, Bryan Christ, 2019/01/02
- Re: Question about triggering KEY_MOUSE, Timothy Allen, 2019/01/02
- Re: Question about triggering KEY_MOUSE, Bryan Christ, 2019/01/03
- Re: Question about triggering KEY_MOUSE,
Thomas Dickey <=
- Re: Question about triggering KEY_MOUSE, Bryan Christ, 2019/01/01
Re: Question about triggering KEY_MOUSE, Thomas Dickey, 2019/01/01
Re: Question about triggering KEY_MOUSE, Patrick, 2019/01/01
Re: Question about triggering KEY_MOUSE, Thomas Dickey, 2019/01/01