[Bug 535074] New: zypper should show the progress in the console title bar
http://bugzilla.novell.com/show_bug.cgi?id=535074 Summary: zypper should show the progress in the console title bar Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 6 Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: mar.pollo@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-2.4 Firefox/3.5.2 On gentoo, the "emerge" command-line package manager utility shows the progress in the console's title bar (when using a console under a GUI), it would be nice if zypper could do the same. Just displaying "zypper (34/90)" in the title bar (and removing that message at exit) would allow users to minimize that window and do something else but continue to watch the progress without switching window. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535074
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535074#c1
Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=535074
User mls@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535074#c2
--- Comment #2 from Michael Schröder
http://bugzilla.novell.com/show_bug.cgi?id=535074
User poletti.marco@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535074#c3
--- Comment #3 from Marco Poletti
This depends very much on the terminal. If you really want to implement this, you'll have to compare $TERM to some known types. If the type matches, you can send some escape sequence that changes the window title to stdout.
For xterm, it's ESC]0;<string>^G (ESC = \033 ^G = \007)
This will change the title to <string>, but there is no simple way to restore the title to the old value (what does emerge do when it's done?).
emerge does nothing :-) (itself). The trick to restore a meaningful title is done in /etc/bash/bashrc, setting PROMPT_COMMAND to change the shell title (with escapes based on the shell type) to something like "user@hostname: ~/Desktop". I attach the file /etc/bash/bashrc used by Sabajon (a flavour of Gentoo). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=535074
https://bugzilla.novell.com/show_bug.cgi?id=535074#c4
--- Comment #4 from Dominik Heidler
participants (1)
-
bugzilla_noreply@novell.com