Summary: | sys-apps/portage: [PATCH] xterm title not restored after SIGCONT | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Fabio Rossi <rossi.f> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | vincent |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Restores last written title string on SIGCONT |
Description
Fabio Rossi
2005-05-01 13:52:10 UTC
Well, the title is reset when the next package is merged. We can't do anything more than that, because SIGSTOP can't be caught and handled. We can't do more than what we already do. Sorry. I realize this bug is years old, but I would love to see it get fixed. I often suspend and resume emerge, to stop things lagging if I need to quickly do something in the middle of an intensive compilation. I made a quick patch that restores the last written title string on SIGCONT. It works for me, but it's purely an example--it probably fits poorly with your code organization/style. It's patched on the latest git (5a5e51a2737a). Created attachment 227459 [details, diff]
Restores last written title string on SIGCONT
(In reply to Vincent Launchbury from comment #3) > Created attachment 227459 [details, diff] [details, diff] > Restores last written title string on SIGCONT Since bug 476104, the xterm title code will need to be integrated with the scheduler's sigcont handler: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ba8b9b3212e75cc8e539617cce9632c0b9bcc03c |