• Re: Bug#1013246: RFS: kmscon/9.0.0-1 [ITP] -- Simple terminal emulator

    From Adam Borowski@21:1/5 to Victor Westerhuis on Mon Jun 20 01:00:01 2022
    On Sun, Jun 19, 2022 at 11:02:54PM +0200, Victor Westerhuis wrote:
    * Package name : kmscon
    Version : 9.0.0-1

    kmscon (9.0.0-1) unstable; urgency=medium
    .
    * Initial release (Closes: #1004919)

    Hi!
    I've uploaded to NEW, as the basic packaging looks good in general.

    Integration with Debian conventions, though, requires some work.

    The biggest problem: there's only a .service file but no init script,
    making kmscon work only with systemd but not with any other init/rc
    system.

    It fails to set term settings, making cooked mode not work until something
    else (eg. bash) messes with them. This makes eg. backspace not work on
    the login prompt.

    It probably should run getty instead of inventing its own stuff.

    /etc/issue should be printed before the login prompt.


    There's also a bunch of upstreamish issues, such as application keypad mode
    not working, or failing to either support existing mouse daemons (such as consolation) or providing its own mouse handling, but such stuff seems more
    fit for the upstream bug tracker.


    Meow!
    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Loongarch's name is loong.
    ⢿⡄⠘⠷⠚⠋⠀
    ⠈⠳⣄⠀⠀⠀⠀

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Dickey@21:1/5 to Adam Borowski on Mon Jun 20 12:20:01 2022
    On Mon, Jun 20, 2022 at 12:52:20AM +0200, Adam Borowski wrote:
    On Sun, Jun 19, 2022 at 11:02:54PM +0200, Victor Westerhuis wrote:
    * Package name : kmscon
    Version : 9.0.0-1

    kmscon (9.0.0-1) unstable; urgency=medium
    .
    * Initial release (Closes: #1004919)

    Hi!
    I've uploaded to NEW, as the basic packaging looks good in general.

    Integration with Debian conventions, though, requires some work.

    The biggest problem: there's only a .service file but no init script,
    making kmscon work only with systemd but not with any other init/rc
    system.

    It fails to set term settings, making cooked mode not work until something

    The TSM developer says in the README:

    This library is very similar to libvte of the gnome project. However, libvte is
    highly bound to GTK+, which makes it unsuitable for non-graphics projects that
    need to parse escape sequences. Instead, TSM tries to restrict its API to
    terminal emulation only. Furthermore, TSM does not try to establish a new
    terminal emulation standard, but instead keeps compatibility as close to xterm
    as possible. This is why the TERM variable can be set to xterm-color256 with any
    TSM based terminal emulator.

    (because the terminal behavior doesn't come close to xterm, that's
    going to produce bug reports)

    else (eg. bash) messes with them. This makes eg. backspace not work on
    the login prompt.

    It probably should run getty instead of inventing its own stuff.

    /etc/issue should be printed before the login prompt.


    There's also a bunch of upstreamish issues, such as application keypad mode not working, or failing to either support existing mouse daemons (such as consolation) or providing its own mouse handling, but such stuff seems more fit for the upstream bug tracker.

    The libtsm upstream bug tracker doesn't show much recent activity
    (and glancing over the libtsm source, can readily see that there are
    a lot of problems yet to be reported - perhaps this package will do that).

    To start with, it's not "VT100 compatible".

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

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

    iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmKwR1YACgkQzCr0RyFn vgP1Kgv/SbJcQOHmOvuoHtclyd6SrxIHG3ftFVGhoreA38F5JrmVcZDcstIksuOR VGS/1C9DYp5tSdOSvxcfZHoZ59pVDjtkkiQgyh3YGoTJsVskHE4rcOrdM8Qe3uTh JoVlFEX7SSEGaEdt+33Jql0rTzDH/19QbsZdFftoIkhi0KFUwajo/X7YVqH7zujn VOIPil0VTL7wm33XKKi11QeJ7Ekhz7gVcdjXFbjtNIITjdeIcjpJFFiwCpVaiVy5 m7TflTzb+ttNQG82wh2EBoyk8GH/T/mzliLg7vvSFfaG+nAJDWaxZChwoCOK/Ba4 mh0z5VNVAwEgTuHXebwpeMAIta2VhkYmU8YXR8smRIo8fW3nEl9KbyS5xhF/2SZk fnzT3fVru6esgWtiFKs9e0/4CzGKYe8MHbOdW1bhX8yY52Rtnfv62BhX1JcDbwlQ 5JcUL50lMLfiJKSowGb99ugYVkcJ8BKbswx5w0iElugl9Gv2HJpKtIv2xzXBBqhQ
    zXD9h3il
    =V/g0
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Victor Westerhuis@21:1/5 to All on Tue Jun 21 16:40:01 2022
    Op 20-06-2022 om 00:52 schreef Adam Borowski:
    On Sun, Jun 19, 2022 at 11:02:54PM +0200, Victor Westerhuis wrote:
    * Package name : kmscon
    Version : 9.0.0-1

    kmscon (9.0.0-1) unstable; urgency=medium
    .
    * Initial release (Closes: #1004919)

    Hi!
    I've uploaded to NEW, as the basic packaging looks good in general.
    Thanks for that. I'll keep an eye on the NEW queue.

    Integration with Debian conventions, though, requires some work.

    The biggest problem: there's only a .service file but no init script,
    making kmscon work only with systemd but not with any other init/rc
    system.
    I'd be happy to include an init script or even try my hand at one myself.

    It fails to set term settings, making cooked mode not work until something else (eg. bash) messes with them. This makes eg. backspace not work on
    the login prompt.
    There is definitely room for improvement. Upstream is very responsive,
    so I will see what I can do.

    It probably should run getty instead of inventing its own stuff. >
    /etc/issue should be printed before the login prompt.
    A similar issue was already reported upstream (https://github.com/Aetf/kmscon/issues/24), but I agree that it's
    something I should look into.


    There's also a bunch of upstreamish issues, such as application keypad mode not working, or failing to either support existing mouse daemons (such as consolation) or providing its own mouse handling, but such stuff seems more fit for the upstream bug tracker.


    Meow!
    --
    Victor Westerhuis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Victor Westerhuis@21:1/5 to All on Tue Jun 21 16:20:01 2022
    Op 20-06-2022 om 12:09 schreef Thomas Dickey:
    On Mon, Jun 20, 2022 at 12:52:20AM +0200, Adam Borowski wrote:
    On Sun, Jun 19, 2022 at 11:02:54PM +0200, Victor Westerhuis wrote:
    * Package name : kmscon
    Version : 9.0.0-1

    kmscon (9.0.0-1) unstable; urgency=medium
    .
    * Initial release (Closes: #1004919)

    Hi!
    I've uploaded to NEW, as the basic packaging looks good in general.

    Integration with Debian conventions, though, requires some work.

    The biggest problem: there's only a .service file but no init script,
    making kmscon work only with systemd but not with any other init/rc
    system.

    It fails to set term settings, making cooked mode not work until something

    The TSM developer says in the README:

    This library is very similar to libvte of the gnome project. However, libvte is
    highly bound to GTK+, which makes it unsuitable for non-graphics projects that
    need to parse escape sequences. Instead, TSM tries to restrict its API to
    terminal emulation only. Furthermore, TSM does not try to establish a new
    terminal emulation standard, but instead keeps compatibility as close to xterm
    as possible. This is why the TERM variable can be set to xterm-color256 with any
    TSM based terminal emulator.

    (because the terminal behavior doesn't come close to xterm, that's
    going to produce bug reports)
    This text from the README is also included in the description of the
    binary packages from src:libtsm.

    Do you think that the text needs to be changed for a next upload? Or
    should I add a warning message?

    else (eg. bash) messes with them. This makes eg. backspace not work on
    the login prompt.

    It probably should run getty instead of inventing its own stuff.

    /etc/issue should be printed before the login prompt.


    There's also a bunch of upstreamish issues, such as application keypad mode >> not working, or failing to either support existing mouse daemons (such as
    consolation) or providing its own mouse handling, but such stuff seems more >> fit for the upstream bug tracker.

    The libtsm upstream bug tracker doesn't show much recent activity
    (and glancing over the libtsm source, can readily see that there are
    a lot of problems yet to be reported - perhaps this package will do that).

    To start with, it's not "VT100 compatible".

    The upstream maintainer of the packaged libtsm fork is the same as the
    upstream maintainer for kmscon and they've been very responsive when
    issues came up while packaging kmscon and libtsm.

    I will work with them to improve the quality for future releases.
    --
    Victor Westerhuis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Dickey@21:1/5 to Victor Westerhuis on Wed Jun 22 01:20:01 2022
    On Tue, Jun 21, 2022 at 04:13:40PM +0200, Victor Westerhuis wrote:
    Op 20-06-2022 om 12:09 schreef Thomas Dickey:
    On Mon, Jun 20, 2022 at 12:52:20AM +0200, Adam Borowski wrote:
    On Sun, Jun 19, 2022 at 11:02:54PM +0200, Victor Westerhuis wrote:
    * Package name : kmscon
    Version : 9.0.0-1

    kmscon (9.0.0-1) unstable; urgency=medium
    .
    * Initial release (Closes: #1004919)

    Hi!
    I've uploaded to NEW, as the basic packaging looks good in general.

    Integration with Debian conventions, though, requires some work.

    The biggest problem: there's only a .service file but no init script, making kmscon work only with systemd but not with any other init/rc system.

    It fails to set term settings, making cooked mode not work until something

    The TSM developer says in the README:

    This library is very similar to libvte of the gnome project. However, libvte is
    highly bound to GTK+, which makes it unsuitable for non-graphics projects that
    need to parse escape sequences. Instead, TSM tries to restrict its API to
    terminal emulation only. Furthermore, TSM does not try to establish a new
    terminal emulation standard, but instead keeps compatibility as close to xterm
    as possible. This is why the TERM variable can be set to xterm-color256 with any
    TSM based terminal emulator.

    (because the terminal behavior doesn't come close to xterm, that's
    going to produce bug reports)
    This text from the README is also included in the description of the binary packages from src:libtsm.

    Do you think that the text needs to be changed for a next upload? Or should
    I add a warning message?

    It won't have much effect :-)

    else (eg. bash) messes with them. This makes eg. backspace not work on the login prompt.

    It probably should run getty instead of inventing its own stuff.

    /etc/issue should be printed before the login prompt.


    There's also a bunch of upstreamish issues, such as application keypad mode
    not working, or failing to either support existing mouse daemons (such as consolation) or providing its own mouse handling, but such stuff seems more
    fit for the upstream bug tracker.

    The libtsm upstream bug tracker doesn't show much recent activity
    (and glancing over the libtsm source, can readily see that there are
    a lot of problems yet to be reported - perhaps this package will do that).

    To start with, it's not "VT100 compatible".

    The upstream maintainer of the packaged libtsm fork is the same as the upstream maintainer for kmscon and they've been very responsive when issues came up while packaging kmscon and libtsm.

    I noticed (reading the source code of course) that it identifies itself via a DA1 response that doesn't correspond to any existing terminal, with non-VT100 options that turn out to be all unimplemented.

    I will work with them to improve the quality for future releases.

    sounds good

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

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

    iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmKyTzsACgkQzCr0RyFn vgN51QwAzNrc0fG4iZ03mNyZqN+r2guBLLbCTzrORB7194CmZKf3FR+R8zxe4/gk up5md1nFhAvEJ9Qg4+AEs1YGQyd7Q/nSMxKg+4JcJyyEory5IHUSrkqOuO/Mdupd DZ+LEKAm4GTgZ5UxWQFYJE6Q1UPgUX5f/6tCT1h/C4/yjc8M+4b1voQ31/eH+Ka3 T40+GsH20vaAqvw7Tl3UdjZJk73zqELvGpfmDoRN+gLYQ1fwnZk9me8Ol6gaEgys sSKeDh5dAh/udt4LpMOU/oxh+ncSbn+eyjeZ4M0OMum7Zvs1UFmN4bvfk/hv4ML0 22V2l+yMEAwdUekQprYeZZ62Qw/TiZcEPr3CjKj0yuuXHujg8eyFni8Fz8Bx9y4b A7Yzy3suAGfYU8RkfPTgfk6RYy0BraZ+AaFekc4b4zvU6AmWhxN9LvPIj9UbJHHf /iODF+anLIG1jX+56QntAgjEukmczN05aanJ6hUEkzc2bxuFKt7p9gMtsc6praD+
    Xj/ldkIG
    =o6TW
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)