[terminal] we should optimize the display of pacman's progress #39
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
applications/manjaro-settings-manager#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: philmmanjaro
Currently we have it like this:
We should find a way to change/optimize our display of pacman progress outputs in MSM.
Created by: philmmanjaro
Maybe we can use something similar as in pamac to make it not printing out several lines of same content but instead the real progress bars of pacman.
Created by: Kirek
I will check it out
Created by: philmmanjaro
This four times in a row depends on the terminal. If you use lxterminal you have it also there. So this is pretty "normal" ;)
Created by: NuLogicSystems
So there's nothing that can be done? Clemens thinks it's trying to install these packages 4 times each and hanging the system, If he thinks this then so will the end user.
Created by: philmmanjaro
please install lxterminal on your end and install one package and you will see the same. It is just how a terminal displays the output, in this case the progressbar of pacman downloading or installing packages. This is a visual problem. No package will be installed 4 times in a row. However the terminal of XFCE and KDE has not the problem so has pamac. With octopi it depends on the terminal used. With pretty "normal" I ment, that other terminals have the same issue. Ramon is already checking the issue ...
Created by: philmmanjaro
Ok, to clarify the issue here. It doesn't matter which terminal you use, but how you display the output. If you have a dynamic terminal it works as pacman has a progressbar. This is a normal pacman -Syu output:
Now if you create a bash script with that command as content and execute it you will get something like this:
So instead of:
The static output is:
This should clarify the issue here ...
Created by: philmmanjaro
This means on a dynamic terminal pacman can refresh the one line as in a progressbar, on a static terminal pacman simply prints each line, which might look awkward.
Created by: philmmanjaro
@AJSlye: can you check if this fixed it for you?
a5c88aa009You can find it within kcm-msm 0.4.80.r375.a5c88aa-1 currently in testing/unstable.Created by: philmmanjaro
Just tested it with 15.12-pre1. It works. Now we need a backport to 0.4.x branch ;)
Created by: NuLogicSystems
Yes, let's. ;)
On Sun, Nov 8, 2015 at 9:43 AM, Philip Müller notifications@github.com
wrote:
Created by: Kirek
I think this was fixed some time ago