On 2008-09-12, Paulo Matias <[EMAIL PROTECTED]> wrote:
> If the package is being installed together with a lot of the packages
> that already display install messages, then all the messages would be
> displayed, one at a time, to the user like the following:
>
> (1/3) upgrading abc
> [#######################] 100%
> (abc install messages go here)
> (2/3) upgrading ion-3
> [#######################] 100%
> (ion-3 install messages go here)
> (3/3) upgrading xyz
> [#######################] 100%
> (xyz install messages go here)
> bash-3.2#

In this case there's a problem with the user noticing the message, if
there's more than a screenfull of packages installed.

> Otherwise, what if I put
>
>  for i in `seq 3`; do echo -ne '\a'; sleep 1; done

... and this is unlikely to help in that case, as the user is likely
to just go for a coffee.

> And, otherwise, what if I put
>
>  echo "Press ENTER to continue"; read

This (or at least having to write 'yes' or so) will be ok by the
license, as the message is certainly prominent. (But as a user I 
would be annoyed by the message stopping the installation process. 
The best solution would be to display all the messages after 
installation, install packages with messages that require confirmation
last, or do some kind of parallel install. But if the package system
is too primitive for that, stopping the installation by a query is
pretty much the only option.)

-- 
Tuomo

Reply via email to