I have a handful of Gentoo boxes that I maintain, and I regularly find myself running emerges on some or all of them via ssh at the same time (e.g. for weekly updates) in a tabbed gnome-terminal window. It gets a bit confusing because all of the sessions' titles look much the same. It would be nice if the terminal window title text displayed while emerge was running included the hostname - for example, instead of: Jobs: 20 of 21 complete, 1 running Load avg: 5.98, 6.65, 6.74 it was: Jobs@athena: 20 of 21 complete, 1 running Load avg: 5.98, 6.65, 6.74 ...where "athena" is the hostname. This could potentially be put behind a command-line option vs. being default behavior. Potential simple fix attached. Reproducible: Always Steps to Reproduce: 1. Open sessions to three different Gentoo boxes in a tabbed terminal window 2. Merge lots of stuff on all three boxes simultaneously 3. Look at the tab labels in the terminal window - which machine is which?
Created attachment 674743 [details, diff] Potential minimal fix
I was just informed of the existing $HOSTNAME behavior. That's sufficient, but it should be documented on the emerge man page...