[RFC] Rewriting sade(8)

Alexander Leidinger Alexander at Leidinger.net
Thu Apr 8 14:39:47 UTC 2010

Quoting Dag-Erling Smørgrav <des at des.no> (from Thu, 08 Apr 2010  
16:15:27 +0200):

> Alexander Leidinger <Alexander at Leidinger.net> writes:
>> Dag-Erling Smørgrav <des at des.no> writes:
>> > There have been at least three or four attempts to do this in the
>> > past.  One of them was even fully funded by the FreeBSD Foundation.
>> > They all failed.
>> I was told a lot of people tried to make the WITH_CTF part working
>> without the need to use -DWITH_CTF each time at the command line and
>> failed. Nevertless I did it. So telling something is not possible
>> because other people tried and failed is ridiculous.
> It's not ridiculous, it's experience.  *Painful* experience over a
> period of nearly 15 years.
>> BTW: I do not think you talk about a partition editor, but about the
>> complete sysinstall.
> Yes and no.  I'm talking about making the user interface pluggable,
> i.e. run the same program (whether sysinstall or sade) with, say, an
> ncurses interface on the console and a gtk interface in X.

I did not suggest to run the same program and get different  
interfaces. My suggestion was to have a backend-lib and a frontend.  
The backend containing the "business-logic", and the frontend being  
the presentation layer. If you want a GTK GUI, write a new frontend.
In the case of sysinstall and sade, both use some kind of curses  
interface, my suggestion was to the lib as they are both 2 different  
kind of frontends (two different kinds of point of view regarding the  
required functionality).

I was misunderstanding your idea in the beginning, I was understanding  
the description of jhb better. It surely is an applicable idea (and an  
improvement to what we have currently), but it looks like it is  
limiting what we could do with sade (the frontend part, not the  
backend part) if it would be decoupled from sysinstall.


BOFH excuse #144:

Too few computrons available

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137

More information about the freebsd-current mailing list