Re: Adding kmscon to terminfo database.
Thomas Dickey <[email protected]> Mon, 8 Jun 2026 14:54:15 -0400
| Newsgroups | gmane.comp.lib.ncurses.bugs |
|---|---|
| Message-ID | <[email protected]> |
--dbgMlKKyaLLgCgfn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Jun 08, 2026 at 10:12:50AM +0200, Jocelyn Falempe wrote:
> On 07/06/2026 16:30, Thomas Dickey wrote:
=2E..
> > (also, I saw flash working -- once -- and not later: a bug)
>=20
> flash and blink are not implemented, so I'm more surprised that it did wo=
rk
> once.
infocmp kmscon:
flash=3D\E[?5h$<200/>\E[?5l,
That's using DECSCNM, which is in the source code here:
tsm-render.c:142: if (con->flags & TSM_SCREEN_INVERSE)
tsm-screen.c:1029: if (!(old & TSM_SCREEN_INVERSE) && (flags & TSM_SCREEN_I=
NVERSE))
tsm-screen.c:1060: if ((old & TSM_SCREEN_INVERSE) && (flags & TSM_SCREEN_IN=
VERSE))
tsm-vte.c:1659: TSM_SCREEN_INVERSE);
tsm-vte.c:1662: TSM_SCREEN_INVERSE);
case 5: /* DECSCNM */
set_reset_flag(vte, set, TSM_VTE_FLAG_INVERSE_SCREEN_MODE);
if (set)
tsm_screen_set_flags(vte->con,
TSM_SCREEN_INVERSE);
else
tsm_screen_reset_flags(vte->con,
TSM_SCREEN_INVERSE);
continue;
/* TODO: do some more sophisticated inverse here. When
* INVERSE mode is set, we should instead just select
* inverse colors instead of switching background and
* foreground */
if (con->flags & TSM_SCREEN_INVERSE)
attr.inverse =3D !attr.inverse;
if (in_sel || was_sel) {
was_sel =3D false;
attr.inverse =3D !attr.inverse;
}
--=20
Thomas E. Dickey <[email protected]>
https://invisible-island.net
--dbgMlKKyaLLgCgfn
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmonD9cACgkQzCr0RyFn
vgPVpwwAmIBafO3z90VYP31OMt1OxOVpTcVSvC+09Y2nWN9+YNVjWuidVB8U4GHO
dz6eqz/h+lZ+FGVXYmk/32bzG/pHOUVM8lKTpjIminG9FL/REZMiDdIHFgMKUuS/
xqVFK9ZcZ/64nesGPh4bre9vxzTlB749rj//JryeciuCCn8GF7BAmLQMuUedMK6S
ssUEvUV/ItKMz8G5KVrvelCIYaQeTc/ncALpbXpszhppStSY3M9JW0azkKPxXYK6
vGe7eXol/VT+QLNckzlYfg+e30XvrNQb0+qd7lSgq0d4d8FKs51xMR3lOq+QsK1J
nr7+S9Kxc4twCrVeBKuCbAIUiTUz1/V63mpMYDSNC4VglKFgnnx94zxfS/vgBr4+
6ks4ga7LYOSy9QVjD0xf5eSwZQFcKaDdqg6aG5sMQmWEdc8qCa2/WBla0Y8AbrqX
fFlkEgcEZEPje8ArFL0+qnOdxW/cmBIRtCkIYmwd5aUGPviQclMKJ//zKTBwawHM
dm+j/Wdu
=EDY1
-----END PGP SIGNATURE-----
--dbgMlKKyaLLgCgfn--