On Mon, Dec 19, 2011 at 08:16:53PM +0000, Nicholas Marriott wrote:
> Can you do this:
> 
> printf '\033]0;abc\007'; sleep 10
> 
> outside tmux.
> 
> If your title doesn't change, your terminal doesn't support it, tmux
> is changing it correctly by the look of it.

Thanks for taking the time to revisit this issue.

I tried invoking uxterm and title changing worked, so I went back and
looked at my XTerm resources.  Here's what bit me:

XTerm*allowSendEvents: true

This resource was set on my old laptop which did have set-titles
working, so I didn't even consider it.

A comment in my file says "! Allows Sawfish keyboard-paste to work".  My
old laptop has no middle-mouse button and the touchpad buttons were
inconveniently placed -- had to move hand away from keyboard to paste --
so I used this Sawfish extension that lets me bind a keystroke (I used
ALT+ENTER) to paste the buffer as if middle-mouse-click.

The man page for xterm says allowSendEvents forcefully disables several
other functions, including allowTitleOps.

I guess sometime between the xterm on my old laptop and the new one,
they discovered the security risk of allowSendEvents and made it disable
several other resources.  Certainly set-titles worked fine on my old
laptop with this resource set.


Best regards,
Josh Audette

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to