Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78816

Summary: [PATCH] GNU Screen titles
Product: Portage Development Reporter: Philip Nilsson <leffeman>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: jsailor
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the patch

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