Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Term-Title CPAN distribution.

Report information
The Basics
Id: 34236
Status: resolved
Priority: 0/
Queue: Term-Title

People
Owner: Nobody in particular
Requestors: davidp [...] preshweb.co.uk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Support for GNU screen window titles
Hi, Useful module, neatly encapsulates the business of setting terminal titles. One little addition I think would be useful (at least for me) is support for GNU Screen. The following trivial patch adds support: [davidp@supernova:~/Term]$ diff -u Title.pm.orig Title.pm --- Title.pm.orig 2008-03-19 13:03:36.000000000 +0000 +++ Title.pm 2008-03-19 13:15:28.000000000 +0000 @@ -24,6 +24,10 @@ pre => "\033]2;", post => "\007", }, + 'screen' => { + pre => "\ek", + post => "\e\\", + }, 'mswin32' => sub { my ($title, @optional) = @_; my $c = Win32::Console->new(); Brief testing shows it works correctly, at least in the following screen versions: Screen version 3.09.10 (FAU) 4-Sep-01 Screen version 4.00.02 (FAU) 5-Dec-03 Screen version 4.00.03 (FAU) 23-Oct-06
On Wed Mar 19 09:29:53 2008, BIGPRESH wrote: Show quoted text
> The following trivial patch adds support:
Adding patch as an attachment to the ticket, as, for me at least, all indentation was ruined when viewing it in the ticket body.
--- Title.pm.orig 2008-03-19 13:03:36.000000000 +0000 +++ Title.pm 2008-03-19 13:15:28.000000000 +0000 @@ -24,6 +24,10 @@ pre => "\033]2;", post => "\007", }, + 'screen' => { + pre => "\ek", + post => "\e\\", + }, 'mswin32' => sub { my ($title, @optional) = @_; my $c = Win32::Console->new();
Subject: Re: [rt.cpan.org #34236] Support for GNU screen window titles
Date: Wed, 19 Mar 2008 09:46:38 -0400
To: bug-Term-Title [...] rt.cpan.org
From: "David Golden" <dagolden [...] cpan.org>
Awesome! Thanks very much for that. I'll release 0.03 shortly.
On Wed Mar 19 09:47:01 2008, DAGOLDEN wrote: Show quoted text
> Awesome! Thanks very much for that. I'll release 0.03 shortly.
Whoah - now that's what you call swift and responsive! Nice one, cheers!
It was an easy patch and I have a highly automated release system. :-)