On Sun, Oct 27, 2013 at 04:38:41PM +0100, [email protected] wrote:
> # HG changeset patch
> # User Fabian Groffen <[email protected]>
> # Date 1382887758 -3600
> #      Sun Oct 27 16:29:18 2013 +0100
> # Branch gentoo-1.5.22
> # Node ID 47fe4a09fcb9ae3c6b7563ba148001e3b86d6e58
> # Parent  720bd257fb7f2454222fc0549fe4b129410f7ca3
> fix xterm-titles patch not to always set both window and icon title
> 
> diff --git a/curs_main.c b/curs_main.c
> --- a/curs_main.c
> +++ b/curs_main.c
> @@ -111,7 +111,7 @@ static const char *No_visible = N_("No v
>  extern size_t UngetCount;
>  
>  /* de facto standard escapes for tsl/fsl */
> -static char *tsl = "\033]0;";
> +static char *tsl = "\033]2;";
>  static char *fsl = "\007";
>  
>  /* terminal status capability check. terminfo must have been initialized. */

As I recall it, the reason for setting both was that some terminal emulators
do not match the documented behavior for this control - such as "screen",
which (depending on whether your version has my fix or not...) long translated
the 0 to 1 (effectively using only the icon title).  Changing it to use the
window title may not work that well.

-- 
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to