[dev] [sbase] New branch for sbase+ubase

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Wed, 13 Mar 2024 11:27:29 +0100

Hi,

I have pushed a new branch called ubase-merge that has all
the files from ubase in the directory ubase of the root directory
in the repository. You can still see the full history of a file
in that directory using something like git log --follow.

I am thinking about the new layout, and for now I was considering
something like:

        - posix (tools defined by POSIX)
        - misc (helpful tools not defined by POSIX).
        - linux (tools that only make sense in linux)
        - curses-terminfo (tools with dependency of terminfo, like clean and reset).
        - curses-dummy (curses tools implementation without using terminfo).
        - libutil (library with utility functions)
        - libsys (library with system dependant functions).


The separation between curses and curses-dummy is because we have
currently some curses tools implemented using hardcoded sequences
instead of using terminfo to locate the correct sequences for the
terminal used. While this would work in the majority of terminal
emulators (because almost all of them emulate vt100 compatible
emulatros) it would not work in many cases. It is a good idea
to keep them because it reduces the dependencies of the project,
and it makes easier to bootstrap systems. But I think we can also
implement the correct solutions and select what is the option
at build time.

it was commented to have functions that isolated the system dependencies
between different systems, and I thought that instead of adding them
to libutil it was better to define a new library only for that
purpose.

Please, give your opinion.

Regards,
Received on Wed Mar 13 2024 - 11:27:29 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 13 2024 - 11:36:10 CET