Bug#223344: debconf-set and debconf-get clear the screen

2004-01-30 Thread Denis Barbier
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#223344: debconf-set and debconf-get clear the screen

2003-12-09 Thread Joey Hess
Of course debconf-get and debconf-set are not part of cdebconf, they are
in rootskel. Looking at their current implementation, and after spending
some time last night fixing debconf-get to at least be usable, though,
it's clear to me that their problems can only really be solved by
writing them to ude the cdebconf library directly, probably as part of
cdebconf. So I guess this bug is a wishlist in that direction.

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#223344: debconf-set and debconf-get clear the screen

2003-12-08 Thread Joey Hess
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.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dragon 2.4.22 #1 Sun Oct 12 15:11:10 EDT 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

-- 
see shy jo


signature.asc
Description: Digital signature