When I emerging something, emerge sets descriptive title on my xterm (for ex. "Compiling/merging smth". If it finishes normally the title is set back to original, but if I hit Ctrl-C while emerge is working the title "Compiling/merging smth" remains although emerge process is killed. Reproducible: Always Steps to Reproduce: 1. emerge <any-action> <any_package> 2. Hit CTRL-C Actual Results: Title of xterm is still reporting the status of emerge progress. Expected Results: After catching SIGINT, emerge should set xterm title back to original
Don't actually know should I add this comment to this bug or file a new one, but still.... I decided to try KDE's Konsole terminal emulator and now after I do: # emerge -s <package> Konsole title is wrong: Before I issued the command above it was "Shell - Konsole" and after it became "xterm - Shell - Konsole". It seems that emerge thinks that there is only one terminal emulator -- Xterm :). If you think that this bug should be reported seporately, please tell me, I'll do it.
Created attachment 15419 [details, diff] patch for emerge it seems atexit function doesn't work. so I replaced it with "signal" function.
Created attachment 15420 [details, diff] patch for emerge
*** Bug 21755 has been marked as a duplicate of this bug. ***
fixed in sys-apps/portage-2.0.49_pre18