Re: shift+pageup/pagedown

2011-03-03 Thread Kevin Goodsell
2011/3/3 Nicholas Marriott : > > I can't test offhand so I might be wrong but IIRC gnome-terminal only > does this when the application hasn't enabled the mouse? When it does, > gnome-terminal sends standard xterm mouse input. > I believe VTE (gnome-terminal) converts mouse wheel events to up/down

Pane-switching with mouse busted?

2011-03-03 Thread Micah Cowan
Not sure when this broke, but I just noticed today with fresh CVS, that if I click on the right-side pane in a left-right split, it doesn't select; selecting the left while in the right works. Mouse mode appears to still be active (since gnome-terminal shows a different cursor for the mouse when m

Re: [PATCH] Add support for passing control sequences to the underlying terminal

2011-03-03 Thread Kevin Goodsell
On Thu, Mar 3, 2011 at 12:08 PM, Nicholas Marriott wrote: > Oh hmm. Remind me why we need to do that? > What would the alternative be? There are a lot of escaping schemes that could be used, but surely some form of escaping is necessary if arbitrary strings are to be passed through (or an alterna

Re: shift+pageup/pagedown

2011-03-03 Thread Nicholas Marriott
On Thu, Mar 03, 2011 at 09:40:43PM +0100, Tomáš Čech wrote: > Hi again, > > On Thu, Feb 24, 2011 at 06:57:30PM +, Nicholas Marriott wrote: > >sure. let me know when you've got it working > > I'm not having that done yet but there is an update. > > 1] The problem seems to be more complex - no

Re: shift+pageup/pagedown

2011-03-03 Thread Tomáš Čech
Hi again, On Thu, Feb 24, 2011 at 06:57:30PM +, Nicholas Marriott wrote: sure. let me know when you've got it working I'm not having that done yet but there is an update. 1] The problem seems to be more complex - not only shift+pageup/pagedown would be fine, but also shift+up/down, mouse

Re: Feature request: make server-info easier to parse

2011-03-03 Thread Nicholas Marriott
Yes we could use the pty to look up panes, it is in the tty member of struct window_pane, they are completely unambiguous. Think we could do PID too. On Tue, Mar 01, 2011 at 05:05:02PM -0800, Felix Rosencrantz wrote: > On Mon, Feb 28, 2011 at 1:11 PM, Nicholas Marriott > wrote: > > > > On Mon,

Re: [PATCH] Add support for passing control sequences to the underlying terminal

2011-03-03 Thread Nicholas Marriott
Oh hmm. Remind me why we need to do that? On Thu, Mar 03, 2011 at 10:31:37AM -0800, Kevin Goodsell wrote: > On Thu, Mar 3, 2011 at 1:07 AM, Nicholas Marriott > wrote: > > This doesn't seem to work, I'm trying this in xterm: > > > > printf '\033Ptmux;\033]12;blue\007\033\\' > > > > Looks like it

Re: tmux does not start over SSH

2011-03-03 Thread Nicholas Marriott
On Thu, Mar 03, 2011 at 11:20:20AM +0100, C. Comren wrote: > >> I resolved the issue. The permissions on /dev/pty* and /dev/tty* were > >> wrong. I used strace to determine that. Maybe tmux could print an > >> error if these permissions are wrong. > > > > Well, we should log a problem when forkpty

Re: tmux: open terminal failed: missing or unsuitable terminal: xterm

2011-03-03 Thread Micah Cowan
(03/02/2011 09:10 PM), Vaibhav Bedia wrote: > Hi, > > I am using tmux-1.4. I just started getting the error (open terminal > failed: missing or unsuitable terminal: xterm) when trying to attach > to a pre-existing session. That error message would indicate that a terminfo database entry can't be

Re: [PATCH] Add support for passing control sequences to the underlying terminal

2011-03-03 Thread Kevin Goodsell
On Thu, Mar 3, 2011 at 1:07 AM, Nicholas Marriott wrote: > This doesn't seem to work, I'm trying this in xterm: > > printf '\033Ptmux;\033]12;blue\007\033\\' > > Looks like it is trimming out the second \033. I don't really > have time to investigate much further now, I guess you need a different

Re: tmux does not start over SSH

2011-03-03 Thread C. Comren
>> I resolved the issue. The permissions on /dev/pty* and /dev/tty* were >> wrong. I used strace to determine that. Maybe tmux could print an >> error if these permissions are wrong. > > Well, we should log a problem when forkpty fails but if it doesn't we > have already forked and there isn't a lo

Re: [PATCH] Add support for passing control sequences to the underlying terminal

2011-03-03 Thread Nicholas Marriott
This doesn't seem to work, I'm trying this in xterm: printf '\033Ptmux;\033]12;blue\007\033\\' Looks like it is trimming out the second \033. I don't really have time to investigate much further now, I guess you need a different state function to insert the keys after the escape (or a flag or som

Re: tmux: open terminal failed: missing or unsuitable terminal: xterm

2011-03-03 Thread Nicholas Marriott
Now that is weird. What libevent version? What platform - Linux? Please kill tmux entirely, run it with "strace -f -o strace.out tmux new" then detach and try to reattach and send me the file. On Thu, Mar 03, 2011 at 10:40:14AM +0530, Vaibhav Bedia wrote: > Hi, > > I am using tmux-1.4. I jus

Re: tmux does not start over SSH

2011-03-03 Thread Nicholas Marriott
On Tue, Mar 01, 2011 at 07:49:27PM +0100, C. Comren wrote: > I resolved the issue. The permissions on /dev/pty* and /dev/tty* were > wrong. I used strace to determine that. Maybe tmux could print an > error if these permissions are wrong. Well, we should log a problem when forkpty fails but if it