[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-dialog - an interface to apt using 'dialog'



Hi,

Cool! 

Random comments that may be useful to someone:

 - there's no way you can write a tree view similar to gnome-apt 
   without writing C code - maybe you could write some C primitives 
   then export them to Perl - but only C via libapt-pkg is going 
   to be fast enough, because every time a package's delete/keep/
   install state changes, you have to update the whole tree.

   I tried getting around this for a while with gnome-apt, but 
   Jason brought me to my senses.

 - Will someone *please* just write the stupid terminal frontend!!
   ;-)

   (we have at least three independent attempts to write some kind 
    of frontend, but no one is working on the official ones! clearly this 
    has to be in C though.)

Based on gnome-apt, I would guess the terminal frontend is around five or
six thousand lines of code (grep ';' method). It's not really that big a
task, though it isn't trivial... 

Havoc





Reply to: