Re: Adding kmscon to terminfo database.

Jocelyn Falempe <[email protected]> Mon, 8 Jun 2026 10:14:44 +0200
Newsgroups gmane.comp.lib.ncurses.bugs
Message-ID <[email protected]>
On 08/06/2026 10:12, Jocelyn Falempe wrote:
> On 07/06/2026 16:30, Thomas Dickey wrote:
>> 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,
>>>>>>>
>>>>>>> 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.
>>>>>>
>>>>>> thanks (I don't see it as default in rawhide -- when might that 
>>>>>> happen?)
>>>>>
>>>>> It just got merged last night:
>>>>> https://src.fedoraproject.org/rpms/redhat-systemd-presets/pull- 
>>>>> request/3
>>>>
>>>> I see redhat-systemd-presets-102-2.fc45.noarch in my updated rawhide 
>>>> machine,
>>>> the kmscon package is dropped from the list (and the console is 
>>>> still "linux").
>>>>
>>>
>>> Yes the preset is applied on new installation, if you are updating an
>>> existing rawhide install, it will stay on fbcon.
>>>
>>> to enable kmscon, you need to run this:
>>>
>>> sudo ln -s /usr/lib/systemd/system/[email protected]
>>> /etc/systemd/system/[email protected]
>>>
>>> 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', -.
>>
> 
> Thanks for taking time to test, and fix the terminfo file for kmscon.
> I will update the one in kmscon with your fixes.
> 
>> However, in testing, the console froze more than once, necessitating a 
>> reboot.
>> I noted one of the freezes for vttest; the other was in rendering Unicode
>> around U+8000.
> 
> Hum ok, I will see if I can reproduce it.
> If you find bugs, don't hesitate to open an issue in kmscon [1] or 
> libtsm [2] directly.

with the links:

[1] https://github.com/kmscon/kmscon/issues
[2] https://github.com/kmscon/libtsm/issues
> 
> 
>>
>> (also, I saw flash working -- once -- and not later: a bug)
> 
> flash and blink are not implemented, so I'm more surprised that it did 
> work once.
>