Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78816 - [PATCH] GNU Screen titles
Summary: [PATCH] GNU Screen titles
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-20 07:27 UTC by Philip Nilsson
Modified: 2005-07-19 16:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the patch (gnu-screen-titles.patch,647 bytes, patch)
2005-01-20 07:28 UTC, Philip Nilsson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Nilsson 2005-01-20 07:27:26 UTC
The attached patch patches Portage's output.py::xtermTitle
to add support for titles in GNU Screen, it does so by
checking if the TERM starts with 'screen' (Screen uses
either 'screen' or 'screen.previousterm' (screen.linux in my
case) for TERM). If so, it sends a magic string that updates
the window's title to what an xterm window would get. The
magic string always works if you are using Screen because it
is a terminal emulator.

I've been using this patch for 2-3 months without problems,
portage-2.0.51-r3 - portage-2.0.51-r14 on the x86 platform.

  See screen (1) ,,TITLES (naming windows)'' for information
on the magic string.
  See screen (1) ,,THE VIRTUAL TERMINAL'' for information on
the TERM naming conventions.
Comment 1 Philip Nilsson 2005-01-20 07:28:48 UTC
Created attachment 49038 [details, diff]
the patch
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2005-01-20 07:34:53 UTC
This is already in ~arch.
Comment 3 Philip Nilsson 2005-01-20 07:59:18 UTC
Ah, that's good :)
Comment 4 Jonathan Sailor 2005-07-19 11:09:23 UTC
Does anybody know why this was removed from portage 2.0.51.20? The changelog mentions
  17 Apr 2005; Jason Stubbs <jstubbs@gentoo.org> pym/output.py: Reverted the
  feature to make use of screen titles.
but doesn't say why.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-07-19 16:44:40 UTC
bug 75670