Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
See the status of emerge (like pacman)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Sat May 19, 2018 6:44 am    Post subject: See the status of emerge (like pacman) Reply with quote

When emerging are there way(s) to display a statusbar in current terminal, like pacman, something like this?

Code:
 [####################                   ] 55%
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Sat May 19, 2018 7:33 am    Post subject: Reply with quote

depending on the terminal you are using, plus multiplexers like tmux, emerge can already report its progress, however it's in the form of "5 of 100".
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Sat May 19, 2018 7:54 am    Post subject: Reply with quote

I'm using konsole and/or xfce4-terminal (bash)
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 723
Location: /home

PostPosted: Sat May 19, 2018 1:10 pm    Post subject: Reply with quote

Try with FEATURES="candy", dont remember what it exactly did but I think it was a progress bar like you wanted.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Sat May 19, 2018 1:13 pm    Post subject: Reply with quote

Yes, i have it already since install, but it might interfere with my -q option, don't want to see all verbose output, just a simple line would be nice.
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Sat May 19, 2018 6:52 pm    Post subject: Reply with quote

EMERGE_DEFAULT_OPTS="--quiet-build"
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Sat May 19, 2018 6:58 pm    Post subject: Reply with quote

I have EMERGE_DEFAULT_OPTS="--ask --autounmask-write=y --quiet --jobs 12 --load-average 12"

Is there a status bar with --quiet-build option set?
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Sat May 19, 2018 7:06 pm    Post subject: Reply with quote

There's no status bar, let's say you're emerging 12 packages, you would see something like 'Emerging 1 of 12 name_of_the_package' , something like that, can't remember now.
After package one is emerged you would see new line 'Emerging 2 of 12....'
I don't know if there's a way to have just one line and a status bar, like you described in your first post.
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 222

PostPosted: Sat May 19, 2018 7:43 pm    Post subject: Reply with quote

Ah, i see. That's what the --quiet option does as far as i can tell at least.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum