[Y-devel] Configuration programs
Alberto González alyen at usuarios.retecal.es
Thu Feb 26 22:05:23 GMT 2004
I've started to figure how to make some config programs. I think there
could be 2 or 3 different configuration programs:
* A shell based one (PERL?).
* A ncurses one.
* A graphical one using Y's widgets.
The graphical one can't be done right now as there aren't much widgets.
The ncurses one could have a kernel menuconfig's look (consistency in
the look-and-feel doesn't have to be only in Y).
The PERL one shoul be basic, just as xf86config, but culd read the
existent default.conf to show as default option the one in that file.
To allow installing new modules without having to recompile those tools
information about each module should be into a separate file in the
directory the module is located on.
When the program is started it stores all the modules info into a tree
structure and dinamically generates its UI. The structure of those files
might be XML or INI-like, or whatever other format. For example:
[Module]
name=fbdev
category=video
depends=
[longname]
C=Framebuffer Video Driver
es=Controlador de video framebuffer
fr=...
ru=...
...
[description]
C=This is the basic video driver used ...
es=Es el controlador básico usado para ...
fr=...
ru=...
...
Themes could also have a similar info file structure.
Regards,
Alberto
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved