Bug#223344: debconf-set and debconf-get clear the screen
On Sun, Dec 07, 2003 at 10:21:11PM -0500, Joey Hess wrote:
> Package: cdebconf
> Severity: normal
>
> For some reason cdebconf starts its frontend when the debconf-set and
> debconf-get commands are run. Enough to clear the screen anyway. Of
> course debconf-get also outputs its result to stderr. This could be
> better.
I just committed a change in cdebconf/src/frontend.c which might help
there. It adds a new 'none' frontend so that debconf-set and debconf-get
can be replaced by commands like
echo get foo/bar |\
DEBIAN_FRONTEND=none debconf-communicate |\
sed -e 's/^[0-9]* //'
If this works, a more user-friendly approach is to have debconf-set and
debconf-get be symlinks to debconf-communicate, and add few lines to
behave in a different manner according to executable name.
Denis
Reply to: