Re: set-titles not working

2011-12-20 Thread Thomas Adam
On Tue, Dec 20, 2011 at 08:31:22AM -0500, Josh Audette wrote:
> 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.

Have you not heard of Shift + Ins?

-- Thomas Adam

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

--
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


Re: set-titles not working

2011-12-20 Thread Josh Audette
On Mon, Dec 19, 2011 at 08:16:53PM +, 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


Re: set-titles not working

2011-12-19 Thread Nicholas Marriott
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.



On Fri, Dec 09, 2011 at 11:38:53AM -0500, Josh Audette wrote:
> On Thu, Dec 08, 2011 at 01:21:55AM +, Nicholas Marriott wrote:
> > No it looks fine. So what's happening? you turn on set-titles but tmux
> > does not change the title? Can your run tmux -v for a bit then
> > kill it and send me the logs?
> 
> Logged out of all currently running tmuxes, then ran:
> 
> tmux -v
> 
> ... from a fresh xterm.  Did "vi foo" from it, then exited, and logged
> out.
> 
> I think I see in tmux-out-10358.log that it did try to write the title,
> but I'm not knowledgeable enough to know if it is doing so correctly or
> why it didn't work.
> 
> Logs are attached in logs.tar.bz2
> 
> 
> Best regards,
> Josh Audette



--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: set-titles not working

2011-12-09 Thread Josh Audette
On Thu, Dec 08, 2011 at 01:21:55AM +, Nicholas Marriott wrote:
> No it looks fine. So what's happening? you turn on set-titles but tmux
> does not change the title? Can your run tmux -v for a bit then
> kill it and send me the logs?

Logged out of all currently running tmuxes, then ran:

tmux -v

... from a fresh xterm.  Did "vi foo" from it, then exited, and logged
out.

I think I see in tmux-out-10358.log that it did try to write the title,
but I'm not knowledgeable enough to know if it is doing so correctly or
why it didn't work.

Logs are attached in logs.tar.bz2


Best regards,
Josh Audette


logs.tar.bz2
Description: Binary data
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: set-titles not working

2011-12-07 Thread Nicholas Marriott
No it looks fine. So what's happening? you turn on set-titles but tmux
does not change the title? Can your run tmux -v for a bit then kill
it and send me the logs?


On Wed, Dec 07, 2011 at 11:50:31AM -0500, Josh Audette wrote:
> On Tue, Dec 06, 2011 at 03:43:23PM -0500, Josh Audette wrote:
> > On Tue, Dec 06, 2011 at 08:20:23PM +, Nicholas Marriott wrote:
> > > Can you run "tmux info" and send the output?
> > 
> > 
> > laphroaig {norm} [15:36:06] <~> tmux info
> >
> > ... lots of output ...
> >
> > 155: XT: (flag) true
> 
> Hi Nicholas,
> 
> Did you spot anything obviously wrong from my "tmux info"?  I notice the
> XT flag is true, which I gather is what it should be.  Nothing stood out
> at me to help me understand why titles don't work for me, but your
> knowledge in this realm is far greater than mine, so I humbly request
> that you share anything that might help.
> 
> 
> Best regards,
> Josh Audette

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: set-titles not working

2011-12-07 Thread Josh Audette
On Tue, Dec 06, 2011 at 03:43:23PM -0500, Josh Audette wrote:
> On Tue, Dec 06, 2011 at 08:20:23PM +, Nicholas Marriott wrote:
> > Can you run "tmux info" and send the output?
> 
> 
> laphroaig {norm} [15:36:06] <~> tmux info
>
> ... lots of output ...
>
> 155: XT: (flag) true

Hi Nicholas,

Did you spot anything obviously wrong from my "tmux info"?  I notice the
XT flag is true, which I gather is what it should be.  Nothing stood out
at me to help me understand why titles don't work for me, but your
knowledge in this realm is far greater than mine, so I humbly request
that you share anything that might help.


Best regards,
Josh Audette

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: set-titles not working

2011-12-06 Thread Josh Audette
On Tue, Dec 06, 2011 at 08:20:23PM +, Nicholas Marriott wrote:
> Can you run "tmux info" and send the output?


laphroaig {norm} [15:36:06] <~> tmux info
tmux 1.5, pid 2141, started Tue Dec  6 10:31:27 2011
socket path /tmp//tmux-1000/default, debug level 0
system is Linux 3.1.0-1-amd64 #1 SMP Mon Nov 14 08:02:25 UTC 2011 x86_64
configuration file is /home/norm/.tmux.conf
protocol version is 6

Clients:
 0: /dev/pts/0 (8, 11): 0 [239x68 xterm bs=177] [flags=0x1/0x38, references=0]
 1: /dev/pts/1 (17, 20): 1 [250x68 xterm bs=177] [flags=0x1/0x38, references=0]

Sessions: [5/10]
 0: 0: 1 windows (created Tue Dec  6 10:31:27 2011) [239x67] [flags=0x0]
   0: bash [239x67] [flags=0x8, references=1, last layout=-1]
 0: /dev/pts/2 2142 13 3991/3994, 1198160 bytes; UTF-8 92/3994, 42070 bytes
 1: /dev/pts/5 2435 16 8661/8718, 1309590 bytes; UTF-8 0/8718, 0 bytes
 2: /dev/pts/3 2239 14 98/111, 24115 bytes; UTF-8 0/111, 0 bytes
 3: /dev/pts/4 2338 15 15/79, 4570 bytes; UTF-8 0/79, 0 bytes
 1: 1: 1 windows (created Tue Dec  6 10:32:19 2011) [250x67] [flags=0x0]
   0: weechat 0.3.6 [250x67] [flags=0x8, references=1, last layout=-1]
 0: /dev/pts/6 2621 22 11/11, 6875 bytes; UTF-8 0/11, 0 bytes
 1: /dev/pts/8 2836 24 55/55, 34045 bytes; UTF-8 52/55, 41550 bytes
 2: /dev/pts/7 2720 23 67/67, 39560 bytes; UTF-8 59/67, 67960 bytes

Terminals:
xterm [references=2, flags=0x0]:
 1: acsc: (string) ``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
 0: AX: (flag) true
 2: bel: (string) \007
 3: blink: (string) \033[5m
 4: bold: (string) \033[1m
 5: Cc: (string) \033]12;%p1%s\007
 6: civis: (string) \033[?25l
 7: clear: (string) \033[H\033[2J
 8: cnorm: (string) \033[?12l\033[?25h
 9: colors: (number) 8
10: Cr: (string) \033]112\007
11: Cs: (string) \033[%p1%d q
12: csr: (string) \033[%i%p1%d;%p2%dr
13: Csr: (string) \033[2 q
14: cub: (string) \033[%p1%dD
15: cub1: (string) \010
16: cud: (string) \033[%p1%dB
17: cud1: (string) \012
18: cuf: (string) \033[%p1%dC
19: cuf1: (string) \033[C
20: cup: (string) \033[%i%p1%d;%p2%dH
21: cuu: (string) \033[%p1%dA
22: cuu1: (string) \033[A
23: dch: (string) \033[%p1%dP
24: dch1: (string) \033[P
25: dim: [missing]
26: dl: (string) \033[%p1%dM
27: dl1: (string) \033[M
28: el: (string) \033[K
29: el1: (string) \033[1K
30: enacs: [missing]
31: fsl: (string) \007
32: home: (string) \033[H
33: hpa: (string) \033[%i%p1%dG
34: ich: (string) \033[%p1%d@
35: ich1: [missing]
36: il: (string) \033[%p1%dL
37: il1: (string) \033[L
38: invis: (string) \033[8m
39: is1: [missing]
40: is2: (string) \033[!p\033[?3;4l\033[4l\033>
41: is3: [missing]
42: kcbt: (string) \033[Z
43: kcub1: (string) \033OD
44: kcud1: (string) \033OB
45: kcuf1: (string) \033OC
46: kcuu1: (string) \033OA
47: kDC: (string) \033[3;2~
48: kDC3: (string) \033[3;3~
49: kDC4: (string) \033[3;4~
50: kDC5: (string) \033[3;5~
51: kDC6: (string) \033[3;6~
52: kDC7: (string) \033[3;7~
53: kdch1: (string) \033[3~
54: kDN: (string) \033[1;2B
55: kDN3: (string) \033[1;3B
56: kDN4: (string) \033[1;4B
57: kDN5: (string) \033[1;5B
58: kDN6: (string) \033[1;6B
59: kDN7: (string) \033[1;7B
60: kend: (string) \033OF
61: kEND: (string) \033[1;2F
62: kEND3: (string) \033[1;3F
63: kEND4: (string) \033[1;4F
64: kEND5: (string) \033[1;5F
65: kEND6: (string) \033[1;6F
66: kEND7: (string) \033[1;7F
67: kf1: (string) \033OP
68: kf10: (string) \033[21~
69: kf11: (string) \033[23~
70: kf12: (string) \033[24~
71: kf13: (string) \033[1;2P
72: kf14: (string) \033[1;2Q
73: kf15: (string) \033[1;2R
74: kf16: (string) \033[1;2S
75: kf17: (string) \033[15;2~
76: kf18: (string) \033[17;2~
77: kf19: (string) \033[18;2~
78: kf2: (string) \033OQ
79: kf20: (string) \033[19;2~
80: kf3: (string) \033OR
81: kf4: (string) \033OS
82: kf5: (string) \033[15~
83: kf6: (string) \033[17~
84: kf7: (string) \033[18~
85: kf8: (string) \033[19~
86: kf9: (string) \033[20~
87: kHOM: (string) \033[1;2H
88: kHOM3: (string) \033[1;3H
89: kHOM4: (string) \033[1;4H
90: kHOM5: (string) \033[1;5H
91: kHOM6: (string) \033[1;6H
92: kHOM7: (string) \033[1;7H
93: khome: (string) \033OH
94: kIC: (string) \033[2;2~
95: kIC3: (string) \033[2;3~
96: kIC4: (string) \033[2;4~
97: kIC5: (string) \033[2;5~
98: kIC6: (string) \033[2;6~
99: kIC7: (string) \033[2;7~
100: kich1: (string) \033[2~
101: kLFT: (string) \033[1;2D
102: kLFT3: (string) \033[1;3D
103: kLFT4: (string) \033[1;4D
104: kLFT5: (string) \033[1;5D
105: kLFT6: (string) \033[1;6D
106: kLFT7: (string) \033[1;7D
107: kmous: (string) \033[M
108: knp: (string) \033[6~
109: kNXT: (string) \033[6;2~
110: kNXT3: (string) \033[6;3~
111: kNXT4: (string) \033[6;4~
112: kNXT5: (string) \033[6;5~
113: kNXT6: (string) \033[6;6~
114: kNXT7: (string) \033[6;7~
115: kpp: (string) \033[5~
116: kPRV: (string) \033[5;2~
117: kPRV3: (string) \033[5;3~
118: kPRV4: (string) \033[5;4~
119: kPRV5: (string) \033[5;5~
120: kPRV6: (string) \033[5;6~
121: kPRV7: (string) \033[5;7~
122: kRIT: (string) \033[1;2C
123: kRIT3: (string) \033[1;3C

Re: set-titles not working

2011-12-06 Thread Nicholas Marriott
Can you run "tmux info" and send the output?


On Tue, Dec 06, 2011 at 02:13:12PM -0500, Josh Audette wrote:
> On Tue, Dec 06, 2011 at 02:03:45PM -0500, Josh Audette wrote:
> > On Tue, Dec 06, 2011 at 09:32:35AM +, Nicholas Marriott wrote:
> > > What is TERM set to outside tmux?
> > > 
> > > You are probably using a terminal which does not correctly have the XT
> > > option set in terminfo so tmux doesn't know it is able to set the
> > > title (this was changed recently to be more strict).
> > 
> > Sorry, I didn't see your response anmd thought that this email had not
> > gotten through, so I emailed the list again :(
> > 
> > TERM is "xterm" outside of tmux, and "screen" inside.
> > 
> > 
> > I've forgotten how to see what the terminfo is; I'll figure that out
> > and reply shortly.
> 
> If I run "show -g" on the new laptop I see this:
> 
> terminal-overrides
> "*88col*:colors=88,*256col*:colors=256,xterm*:XT:Ms=\E]52;%p1%s;%p2%s\007:Cc=\E]12;%p1%s\007:Cr=\E]112\007:Cs=\E[%p1%d
> q:Csr=\E[2 q"
> 
> 
> 
> Best regards,
> Josh Audette

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: set-titles not working

2011-12-06 Thread Josh Audette
On Tue, Dec 06, 2011 at 02:03:45PM -0500, Josh Audette wrote:
> On Tue, Dec 06, 2011 at 09:32:35AM +, Nicholas Marriott wrote:
> > What is TERM set to outside tmux?
> > 
> > You are probably using a terminal which does not correctly have the XT
> > option set in terminfo so tmux doesn't know it is able to set the
> > title (this was changed recently to be more strict).
> 
> Sorry, I didn't see your response anmd thought that this email had not
> gotten through, so I emailed the list again :(
> 
> TERM is "xterm" outside of tmux, and "screen" inside.
> 
> 
> I've forgotten how to see what the terminfo is; I'll figure that out
> and reply shortly.

If I run "show -g" on the new laptop I see this:

terminal-overrides
"*88col*:colors=88,*256col*:colors=256,xterm*:XT:Ms=\E]52;%p1%s;%p2%s\007:Cc=\E]12;%p1%s\007:Cr=\E]112\007:Cs=\E[%p1%d
q:Csr=\E[2 q"



Best regards,
Josh Audette

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: set-titles not working

2011-12-06 Thread Josh Audette
On Tue, Dec 06, 2011 at 09:32:35AM +, Nicholas Marriott wrote:
> What is TERM set to outside tmux?
> 
> You are probably using a terminal which does not correctly have the XT
> option set in terminfo so tmux doesn't know it is able to set the
> title (this was changed recently to be more strict).

Sorry, I didn't see your response anmd thought that this email had not
gotten through, so I emailed the list again :(

TERM is "xterm" outside of tmux, and "screen" inside.


I've forgotten how to see what the terminfo is; I'll figure that out and
reply shortly.

Cheers, Josh

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: set-titles not working

2011-12-06 Thread Nicholas Marriott
What is TERM set to outside tmux?

You are probably using a terminal which does not correctly have the XT
option set in terminfo so tmux doesn't know it is able to set the title
(this was changed recently to be more strict).


On Wed, Nov 30, 2011 at 09:28:28PM -0500, Josh Audette wrote:
> I've been working on this problem on and off all day, and I just can't
> seem to find a solution, so I think it's time to ask here.
> 
> I've got Debian testing/Wheezy amd64 installed on this new Thinkpad
> T420.
> 
> tmux 1.5 and xterm 276 installed from Debian packages.
> 
> show -g says
> set-titles on
> set-titles-string "tmux - #S:#I.#P (#W)"
> 
> I'm happy to copy-paste the rest of the settings if it will help; not
> doing it now to avoid a cluttered email.
> 
> On my about-to-die laptop (tmux 1.2 from source, xterm 235 from
> etch/lenny packages) I have the same settings, and they work fine.  In
> fact, I copied my .tmux.conf to the new laptop.  After changing the
> up-pane down-pane bindings, it worked well.  Except for this window
> title issue.
> 
> While in tmux, if I edit a file in vi, the title bar changes, and
> changes back to plain "xterm" when I exit vi instead of the expected
> title.
> 
> Hopefully someone can set me on the right path, suggest changes I might
> try, or at least put a soft pillow between my head and the desk I'm
> banging it on.
> 
> 
> Cheers, Josh
> 
> --
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point of 
> discussion for anyone considering optimizing the pricing and packaging model 
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: set-titles not working with urxvt

2011-11-26 Thread Nicholas Marriott
Add the XT flag, either in the terminfo itself or with
terminal-overrides, try

set -ga terminal-overrides ",rxvt*:XT"



On Sat, Nov 26, 2011 at 04:09:30PM +0100, Matthias Lederhofer wrote:
> Hi,
> 
> tmux does not set the title for me when using urxvt.  It does work in
> xterm.  I'm using:
> - Debian squeeze 64 Bit
> - rxvt-unicode (urxvt) v9.07 - released: 2009-12-27
>   (TERM=rxvt-unicode)
> - XTerm(261) (TERM=xterm)
> I've created a new user without any configuration files to verify that
> the problem is not depending on my Xresources or any other per-user
> configuration files.
> 
> The 1.3 version in debian squeeze does not have this problem.  When I
> compiled the latest SVN version (2642) the problem showed up.  I've
> run git bisect to find the commit and it seems to be introduced in
> commit 2492:
> > Sync OpenBSD patchset 904:
> > 
> > Use the tsl and fsl terminfo(5) capabilities to update terminal title
> > and automatically fill them in on terminals with the XT capability
> > (which means their title setting is xterm-compatible). From hsim at
> > gmx.li.
> 
> --
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users