
* Tong Sun mlist4suntong@yahoo.com [20070422 06:15]:
Is it possible for grml scripts to use the debconf's method to interact with the user? I mean, debconf allows us to define the frontend that we feel most comfortable to use, be it readline, dialog or xdialog, etc.
Seems currently all grml scripts uses dialog. It looks nice, but I have to say I really hate dialog. I prefer readline, nice and simple. And most importantly, it leave a clear trace of what questions were asked and what choice/answers I've made.
,---- [ http://www.fifi.org/doc/debconf-doc/tutorial.html ] | Debconf should be used whenever your package needs to output | something to the user, or ask a question. I'll assume you already | have a package that does this and you want to convert it to use | debconf. `----
For me debconf is something for use with Debian packages, not for user scripts.
Switching from dialog to debconf would break the OS compability, the scripts could not be used outside of Debian then. As I use some of my scripts on other platforms as well that's nothing I really want to do. Especially as it will become even harder for contributors to make patches against scripts, because they would have to learn about debconf first - whereas dialog is pretty straight forward.
Of course, if you find any dialog based grml-scripts which are Debian/grml only and think debconf would be a great benefit, feel free to provide a prototype.
regards, -mika-