Re: Adding kmscon to terminfo database.

Thomas Dickey <[email protected]> Sun, 7 Jun 2026 10:30:18 -0400
Newsgroups gmane.comp.lib.ncurses.bugs
Message-ID <[email protected]>
--PO2uSYDvOJXChgYw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 05, 2026 at 11:30:16PM +0200, Jocelyn Falempe wrote:
> On 05/06/2026 22:13, Thomas Dickey wrote:
> > On Wed, Jun 03, 2026 at 09:15:11AM +0200, Jocelyn Falempe wrote:
> > > On 03/06/2026 00:36, Thomas Dickey wrote:
> > > > On Tue, Jun 02, 2026 at 04:05:47PM +0200, Jocelyn Falempe wrote:
> > > > > Hi,
> > > > >=20
> > > > > I'm the current maintainer of kmscon, a linux userspace terminal,=
 that aims
> > > > > to replace fbcon.
> > > > > It should be the default in the upcoming Fedora 45 release.
> > > >=20
> > > > thanks (I don't see it as default in rawhide -- when might that hap=
pen?)
> > >=20
> > > It just got merged last night:
> > > https://src.fedoraproject.org/rpms/redhat-systemd-presets/pull-reques=
t/3
> >=20
> > I see redhat-systemd-presets-102-2.fc45.noarch in my updated rawhide ma=
chine,
> > the kmscon package is dropped from the list (and the console is still "=
linux").
> >=20
>=20
> Yes the preset is applied on new installation, if you are updating an
> existing rawhide install, it will stay on fbcon.
>=20
> to enable kmscon, you need to run this:
>=20
> sudo ln -s /usr/lib/systemd/system/[email protected]
> /etc/systemd/system/[email protected]
>=20
> sudo systemctl restart kmsconvt@tty3

I did that, but still had to enable the service.

That let me test it, and complete the terminal description.

I made these changes (mine on the left):

comparing kmscon to kmscon.
	xenl: T, F.
	cbt: '\E[Z', -.
	flash: '\E[?5h$<200/>\E[?5l', -.
	ich1: '\E[@', -.
	kLFT: '\E[1;2D', -.
	kRIT: '\E[1;2C', -.
	kbs: '^?', '^H'.
	kcbt: '\E[Z', -.
	kf13: '\E[25~', -.
	kf14: '\E[26~', -.
	kf15: '\E[28~', -.
	kf16: '\E[29~', -.
	kf17: '\E[31~', -.
	kf18: '\E[32~', -.
	kf19: '\E[33~', -.
	kf20: '\E[34~', -.
	kf21: '\E[23;2~', -.
	kf22: '\E[24;2~', -.
	kmous: '\E[M', -.
	u6: '\E[%i%d;%dR', -.
	u7: '\E[6n', -.
	u8: '\E[?%[;0123456789]c', -.
	u9: '\E[c', -.
	RV: '\E[>c', -.
	ch1: -, '\E[@'.
	rv: '\E\\[>[0-9]+;[0-9]+;[0-9]+c', -.

However, in testing, the console froze more than once, necessitating a rebo=
ot.
I noted one of the freezes for vttest; the other was in rendering Unicode
around U+8000.

(also, I saw flash working -- once -- and not later: a bug)
=20
> also if you want better font, you can install the freetype plugin with:
>=20
> sudo dnf install kmscon-freetype
>=20
> and restart kmscon.
>=20
> Best regards,
>=20
> --=20
>=20
> Jocelyn
>=20
>=20

--=20
Thomas E. Dickey <[email protected]>
https://invisible-island.net

--PO2uSYDvOJXChgYw
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmolgHkACgkQzCr0RyFn
vgMUWAwAnRqLjoAJFRvGVU434WdEOHyjZ8oGlJG6tyYHd3BBrULj8+zfbWQTKk4W
uMZ8EWPo63j/z9RsfTXuguJUlBuxJZ2yTExYcF9F/g5iTIs1ED3b6dQQ2bobPTeE
7PQ2eot21Ui5PAWKqQPbSZrags/21TeZpLnXtTDRWjIrq7TtW5blnxTZSdrK7HqC
X5VGVCo7osHI7brAC5936m17hPRI1djVqbi5fySPBSFbUSLVWbbLr6q9DiAXghMW
qlSjlFlIsYCwh+oY/Y8AhZl4rU2t3TSYIPQIlMQ826QdFSNFNWWHK5m2niRu266k
DxkifHMEC8P33EDqKg9kLuvC/RXA5BUFf3a4LkiA0BKr6bMJT9jiMQcsVi0fltpq
ntNMZM1xU2vReGNe9tCnQ3l1Goxs3FfWSgTNJMw5qgk9fhOB7JyvoZ0hEPR5ju9j
Erfrg7KHPIPmJLD71GCS0uLrBFN8zrWvHU/Abe2CAHAWJYbQCOynkC/MSLuAgCSz
68SLh6St
=NsJO
-----END PGP SIGNATURE-----

--PO2uSYDvOJXChgYw--