On Donnerstag, 29. Januar 2009, Roberto Angelino wrote:
Customer is asking question with respect to the display, not the log file. So during installation, the rpms are filying by in the little dialog window with progress bar. Is there a way to limit that output? Or even the display period?
Ah, you mean the output to that NCurses window that displays the package name
and description as each one is installed, not the log. Sorry, I had
misunderstood that.
AFAICS, the only way to suppress that output would be to patch some YCP code ,
and I don't think this is an option for an end user. Even worse, the relevant
code is all in YCP modules which are byte-compiled on the installation media,
so that byte code would have to be regenerated after patching the YCP code. I
don't think this can realistically be done.
But is that output really a performance bottleneck? Or is it more a "gut
feeling" that this customer has?
The NCurses library is really efficient at that: For every screen operation,
it sends only the difference between the old screen content and the new
screen content to the terminal (plus escape sequences to position the cursor
etc.).
CU
--
Stefan Hundhammer