FS#6378 - pacman 3: output issues
Attached to Project:
Pacman
Opened by Aaron Griffin (phrakture) - Thursday, 08 February 2007, 16:02 GMT
Opened by Aaron Griffin (phrakture) - Thursday, 08 February 2007, 16:02 GMT
|
Details
This is a general bug for our great output issues introduced
in the version 8 and 9 RCs. There are a number, so please
add new ones, including output, as a comment.
1) redirection to a file works (report by Roman) 2) progress bar duplication 3) missing newlines in some output There's probably a bunch. Real screenshots would be great. |
This task depends upon
I don't remember if they were fixed after that.
pacman-output-2.png (35.9 KiB)
It's bad I don't have rights to edit/remove comments. :(
# pacman -S foo --debug > blah
# Do you want to shoop da woop? [Y/n]
of course, typical 2>&1 > blah redirection will break this, but then pacman will also appear to hang as it waits for input.
1) when downloading file pacman displays sizes from 0K to 999K, and from 1M to 999M,
but IMO it would be better to display sizes from 1M up to 10M as 1,0M to 9,9M
2) pacman cuts packages names not very good,
for example on standard 80 char width screen it cuts beryl-plugins-unsupported as beryl-plugins-unsupport
I propose to cut long names in such way that they will look like beryl-plugins-unsuppo.. so there will be clear evidence that package name was cut.
3) while doing an update few minutes ago I noticed that pacman displayed "upgrading php-suhosin..." two times.
4) while pacman displays "upgrading php-suhosin..." and then post_upgrade() output, in pacman.log it uses reverse order - first post_upgrade() output, then "upgraded php-suhosin (5.2.0-4 -> 5.2.1-1)". IMO pacman.log's order should be changed.
Please sorry for the absence of screenshots, I did latest updates in plain text console.
If you need some clarifications I may reproduce these quirks in vmware or gnome terminal to get screenshots.
2) Yeah a "..." might be a good idea. Just curious though, does ellipsis (...) translate from language to language?
3 & 4 I will look at in alike 1-2 hours
An PS - you can use fbgrab to take console screenshots 8) Not saying they're required, just that they're fun.
2) I don't understand what you mean by "translate from language to language" :-/
Thanks for reminding about fbgrab, I totally forgot about it. :)
I meant, does "..." make sense for internationalized stuff. You know, like how the French quote things «like this» (lets see if html entities work) etc etc
4 might be more difficult, I'll look into it later.
The current order is:
upgrading...
post_upgrade
upgraded...
To me, this makes sense, as even though post_upgrade implies "after the upgrade" the whole process isn't complete until post_upgrade is run
I think I'm going to close this out. Feel free to open another FR for the ordering of these messages, but I'm of the opinion that it is correct.