Mailinglist Archive: yast-devel (77 mails)

< Previous Next >
Re: [yast-devel] Is there a way to turn off/ reduce output in autoyast?
  • From: Stefan Hundhammer <sh@xxxxxxx>
  • Date: Fri, 30 Jan 2009 15:15:58 +0100
  • Message-id: <200901301515.58624.sh@xxxxxxx>
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 <sh@xxxxxxx> Penguin by conviction.
YaST2 Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Nürnberg, Germany
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups