tmux called as screen

2011-03-23 Thread Saku Ytti
(just to point out, this appears to be individually thought by number
of people 
http://lists.freebsd.org/pipermail/freebsd-arch/2009-September/009540.html)

It would be grand if tmux could be installed as 'screen' hardlink, and
upon when called would have rudimentary screen compatibility mode for
switches and for UI i.e. no statusbar, ^a as as control key and both
control and no-control variants for next/previous/new window etc.
I'd expect that lot more admins are aware of tmux and its benefits
than end users and this way, we could migrate whole bunch of users to
tmux transparently.

Thanks,
-- 
  ++ytti

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux called as screen

2011-03-23 Thread Nicholas Marriott
Hi

There is no chance of tmux having a screen emulation mode, but if
someone would care to write an sh script that makes tmux command line
act a bit like screen then I will ship it.

It could even set things up so it looks like screen easily enough...


On Wed, Mar 23, 2011 at 12:25:10PM +0200, Saku Ytti wrote:
> (just to point out, this appears to be individually thought by number
> of people 
> http://lists.freebsd.org/pipermail/freebsd-arch/2009-September/009540.html)
> 
> It would be grand if tmux could be installed as 'screen' hardlink, and
> upon when called would have rudimentary screen compatibility mode for
> switches and for UI i.e. no statusbar, ^a as as control key and both
> control and no-control variants for next/previous/new window etc.
> I'd expect that lot more admins are aware of tmux and its benefits
> than end users and this way, we could migrate whole bunch of users to
> tmux transparently.
> 
> Thanks,
> -- 
>   ++ytti
> 
> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux called as screen

2011-03-23 Thread Nicholas Marriott
Hi

On Wed, Mar 23, 2011 at 02:43:12PM +0200, Saku Ytti wrote:
> On 23 March 2011 14:30, Nicholas Marriott  wrote:
> 
> > There is no chance of tmux having a screen emulation mode, but if
> > someone would care to write an sh script that makes tmux command line
> > act a bit like screen then I will ship it.
> 
> Maybe we were thinking completely different level of emulation. I was
> thinking mostly recognizing -d and -r switches for deteach+attach or
> just attach and parsing of tmux-screen.rc instead of tmux.rc.

Both those things could be done trivially with a shell script to
recognise the arguments and convert to tmux-style commands.

> 
> I believe power users can adapt tmux directly and general users could
> be fooled with these small changes into believing it is screen enough
> to work comfortably with it, without relearning anything.
> 
> -- 
>   ++ytti

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux called as screen

2011-03-23 Thread Saku Ytti
On 23 March 2011 14:30, Nicholas Marriott  wrote:

> There is no chance of tmux having a screen emulation mode, but if
> someone would care to write an sh script that makes tmux command line
> act a bit like screen then I will ship it.

Maybe we were thinking completely different level of emulation. I was
thinking mostly recognizing -d and -r switches for deteach+attach or
just attach and parsing of tmux-screen.rc instead of tmux.rc.

I believe power users can adapt tmux directly and general users could
be fooled with these small changes into believing it is screen enough
to work comfortably with it, without relearning anything.

-- 
  ++ytti

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux under windows using cygwin

2011-03-23 Thread Andrew Schulman
> On Tue, Dec 28, 2010 at 01:14:06PM +0100, Hamlet DArcy wrote:
> > Hi all, 
> > 
> > Is it possible to run tmux under Windows using cygwin? Can anyone point to 
> > a how-to on this or any other relevant information? 
>
> Nope, not until Cgywin supports passing file descriptors over a Unix
> domain socket.

Hi everyone.  First post here.  

I'm resurrecting this old thread to see if I can get a little more
information about what the problem is with Cygwin.  Nicholas, can you
please tell me anything more about this problem, or point me to any mailing
list discussions of it?  I looked around and found a mention of yours that
"tmux uses the SCM_RIGHTS OOB data mechanism to pass a file descriptor". Is
that the issue?

The reason I ask is that I'd like to engage the Cygwin developers and see
if there's any possibility of working through or around this.  If there is
I'd be willing to package tmux for Cygwin.  libevent builds in Cygwin with
no problem.

Thanks,
Andrew.


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux under windows using cygwin

2011-03-23 Thread Nicholas Marriott
Hi

On Wed, Mar 23, 2011 at 09:54:59AM -0400, Andrew Schulman wrote:
> > On Tue, Dec 28, 2010 at 01:14:06PM +0100, Hamlet DArcy wrote:
> > > Hi all, 
> > > 
> > > Is it possible to run tmux under Windows using cygwin? Can anyone point 
> > > to a how-to on this or any other relevant information? 
> >
> > Nope, not until Cgywin supports passing file descriptors over a Unix
> > domain socket.
> 
> Hi everyone.  First post here.  
> 
> I'm resurrecting this old thread to see if I can get a little more
> information about what the problem is with Cygwin.  Nicholas, can you
> please tell me anything more about this problem, or point me to any mailing
> list discussions of it?  I looked around and found a mention of yours that
> "tmux uses the SCM_RIGHTS OOB data mechanism to pass a file descriptor". Is
> that the issue?

Yes, we need to be able to pass the stdin, stdout, stderr file
descriptors from each tmux client to the tmux server. This happens by
sending control messages (of type SOL_SOCKET/SCM_RIGHTS) over the tmux
Unix domain socket.

See http://www.openbsd.org/cgi-bin/man.cgi?query=CMSG_DATA. The CMSG API
is also described in SUS and RFC2292.

Working around this lack in tmux is not trivial, we would need to wrap a
lot of stuff to pass the data around ourselves over a couple of
sockets. Possible but very messy.

Some other programs seem to be in the same boat for at least some of
their features, for example Dovecot.

> 
> The reason I ask is that I'd like to engage the Cygwin developers and see
> if there's any possibility of working through or around this.  If there is
> I'd be willing to package tmux for Cygwin.  libevent builds in Cygwin with

At one point OpenSSH needed this for some feature and there was a
discussion about maybe how to add it but I gather it is not easy and
whatever happened it has not so far happened.

> no problem.
> 
> Thanks,
> Andrew.
> 
> 
> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: tmux called as screen

2011-03-23 Thread Saku Ytti
On 23 March 2011 14:47, Nicholas Marriott  wrote:

>> Maybe we were thinking completely different level of emulation. I was
>> thinking mostly recognizing -d and -r switches for deteach+attach or
>> just attach and parsing of tmux-screen.rc instead of tmux.rc.
>
> Both those things could be done trivially with a shell script to
> recognise the arguments and convert to tmux-style commands.

Sure, I don't argue that either solution would be complex. Shell
script couldn't be static, as it would need to have knowledge where in
this system tmux.rc lives (and subsequently where tmux-screen.rc). Of
course you could build the shell script compile time too. I guess it
purely matter of taste which approach is more kosher.

-- 
  ++ytti

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Tmux starts slowing down badly after long periods of execution

2011-03-23 Thread Samer Atiani
I'm still getting this problem at least once a day and its beginning to make
tmux unusable for me. To summarize the problem again, tmux starts to freeze
intermittently after periods of use ranging from 3-8 hours. During
intermittent freezes, tmux doesn't act on keyboard events quickly, freezes
for about 3-5 seconds then all pent up keyboard events would be acted upon
(whether they are tmux commands or keyboard events to programs running in a
tmux window). After every freeze, there is a period of 5-10 minutes where
tmux behaves normally, and then I see the freeze again. The only solution to
this problem is to close everything, including tmux, and restart everything.

I installed Ubuntu 10.10 from scratch on two separate machines and installed
tmux using apt-get. Even after I did that 'tmux -V' does not work, but I
found out that the version is 1.3 by typing :info at tmux command mode.

Here is how my usual tmux session looks like:

1- I run tmux in a custom compiled urxvt terminal, but I've also seen the
problem happen in stock gnome-terminal that comes with Ubuntu 10.10.
2- I aliased tmux to tmux -2 to force 256 colors.
3- My usual tmux session looks like this:
* 1 window for finch (a command line IM client) with activity monitoring
turned on.
* 2-3 windows with vim open in them editing files.
* 2-3 windows with ssh sessions open in them.

If you need my .tmux.conf file you can see it here:
https://github.com/satiani/init/blob/master/.tmux.conf

I'm willing to collect any more information you want me to, I love tmux and
would be distressed if I had to drop it and go back to screen because of the
frequent freezes.

Many thanks,
Samer

On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert wrote:

> Hi,
>
> I package tmux for Debian which gets from time to time synced from Ubuntu.
> But
> as far as I know there is no version of tmux-1.4 in Ubuntu 10.04 (which has
> 1.1-1) and 9.04 (which has 0.8-5). So I assume you have received tmux from
> another source probably from Debian's experimental repository which has a
> fix for
> the EPOLL bug on Linux.
>
> Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
> > tmux -V does not work indeed. But from inside tmux, I typed :info in the
> > tmux command mode, and it showed tmux 1.4.
> This has worked in every (packaged) version of tmux. There must be
> something
> wrong with your installation.
> Nevertheless I am interested if this bug is reproducible.
>
> Best regards,
>
> Karl Ferdinand Ebert
>
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Tmux starts slowing down badly after long periods of execution

2011-03-23 Thread Nicholas Marriott
Change this:

set-option -g status-right '#[fg=black]#(date +"%a %b %d %Y %R")'

To this:

set-option -g status-right '#[fg=black]%a %b %d %Y %R'


On Wed, Mar 23, 2011 at 11:20:31AM -0400, Samer Atiani wrote:
>I'm still getting this problem at least once a day and its beginning to
>make tmux unusable for me. To summarize the problem again, tmux starts to
>freeze intermittently after periods of use ranging from 3-8 hours. During
>intermittent freezes, tmux doesn't act on keyboard events quickly, freezes
>for about 3-5 seconds then all pent up keyboard events would be acted upon
>(whether they are tmux commands or keyboard events to programs running in
>a tmux window). After every freeze, there is a period of 5-10 minutes
>where tmux behaves normally, and then I see the freeze again. The only
>solution to this problem is to close everything, including tmux, and
>restart everything.
> 
>I installed Ubuntu 10.10 from scratch on two separate machines and
>installed tmux using apt-get. Even after I did that 'tmux -V' does not
>work, but I found out that the version is 1.3 by typing :info at tmux
>command mode.
> 
>Here is how my usual tmux session looks like:
> 
>1- I run tmux in a custom compiled urxvt terminal, but I've also seen the
>problem happen in stock gnome-terminal that comes with Ubuntu 10.10.
>2- I aliased tmux to tmux -2 to force 256 colors.
>3- My usual tmux session looks like this:
>* 1 window for finch (a command line IM client) with activity monitoring
>turned on.
>* 2-3 windows with vim open in them editing files.
>* 2-3 windows with ssh sessions open in them.
> 
>If you need my .tmux.conf file you can see it here:
>[1]https://github.com/satiani/init/blob/master/.tmux.conf
> 
>I'm willing to collect any more information you want me to, I love tmux
>and would be distressed if I had to drop it and go back to screen because
>of the frequent freezes.
> 
>Many thanks,
>Samer
> 
>On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert
><[2]kfeb...@gmail.com> wrote:
> 
>  Hi,
> 
>  I package tmux for Debian which gets from time to time synced from
>  Ubuntu. But
>  as far as I know there is no version of tmux-1.4 in Ubuntu 10.04 (which
>  has
>  1.1-1) and 9.04 (which has 0.8-5). So I assume you have received tmux
>  from
>  another source probably from Debian's experimental repository which has
>  a fix for
>  the EPOLL bug on Linux.
> 
>  Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
>  > tmux -V does not work indeed. But from inside tmux, I typed :info in
>  the
>  > tmux command mode, and it showed tmux 1.4.
>  This has worked in every (packaged) version of tmux. There must be
>  something
>  wrong with your installation.
>  Nevertheless I am interested if this bug is reproducible.
> 
>  Best regards,
>  Karl Ferdinand Ebert
> 
> References
> 
>Visible links
>1. https://github.com/satiani/init/blob/master/.tmux.conf
>2. mailto:kfeb...@gmail.com

> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar

> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Hi all,

Trying to resize-pane by 1 row or column and it just does a select-pane
instead.  Here is the relative output from the list-keys command:

 Up: (repeat) select-pane -U
   Down: (repeat) select-pane -D
   Left: (repeat) select-pane -L
  Right: (repeat) select-pane -R
   M-Up: (repeat) resize-pane -U 5
 M-Down: (repeat) resize-pane -D 5
 M-Left: (repeat) resize-pane -L 5
M-Right: (repeat) resize-pane -R 5
   C-Up: (repeat) resize-pane -U
 C-Down: (repeat) resize-pane -D
 C-Left: (repeat) resize-pane -L
C-Right: (repeat) resize-pane -R

I've tried this as a user with no ~/tmux.conf file. I'm running tmux v1.4 on
RHEL 5.5.

Even added the following explicitly in the ~/.tmux.conf file:

bind -r C-Upresize-pane -U
bind -r C-Down  resize-pane -D
bind -r C-Left  resize-pane -L
bind -r C-Right resize-pane -R

Tried both the left Ctrl and right Ctrl keys.

Thanks,

Mike
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
Works for me.

Are you sure your terminal shows different things for C-Up and Up? (Run
cat outside tmux then press them and make sure it shows different things
for the two keys.)


On Wed, Mar 23, 2011 at 12:45:43PM -0400, mbm329 wrote:
>Hi all,
> 
>Trying to resize-pane by 1 row or column and it just does a select-pane
>instead. �Here is the relative output from the list-keys command:
> 
>� � �Up: (repeat) select-pane -U
>� �Down: (repeat) select-pane -D
>� �Left: (repeat) select-pane -L
>� Right: (repeat) select-pane -R
>� �M-Up: (repeat) resize-pane -U 5
>�M-Down: (repeat) resize-pane -D 5
>�M-Left: (repeat) resize-pane -L 5
>M-Right: (repeat) resize-pane -R 5
>� �C-Up: (repeat) resize-pane -U
>�C-Down: (repeat) resize-pane -D
>�C-Left: (repeat) resize-pane -L
>C-Right: (repeat) resize-pane -R
> 
>I've tried this as a user with no ~/tmux.conf file. I'm running tmux v1.4
>on RHEL 5.5.
> 
>Even added the following explicitly in the ~/.tmux.conf file:
> 
>bind -r C-Up � �resize-pane -U
>bind -r C-Down �resize-pane -D
>bind -r C-Left �resize-pane -L
>bind -r C-Right resize-pane -R
> 
>Tried both the left Ctrl and right Ctrl keys.
>Thanks,
> 
>Mike

> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar

> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Tmux starts slowing down badly after long periods of execution

2011-03-23 Thread Nicholas Marriott
this has been covered before, tmux runs status-left and -right through
strftime(3) itself so you are asking it to run a new command like 'date
+"Wed Mar 23 2011 17:01"' every minute. until very recently these
commands were persistent so each minute it would allocate a new job
entry and cause tmux to use a lot of memory


On Wed, Mar 23, 2011 at 12:52:23PM -0400, Samer Atiani wrote:
>Interesting, is that whats causing the problem?
> 
>I'm curious to hear an explanation.
> 
>Thanks!
>Samer
> 
>On Wed, Mar 23, 2011 at 11:46 AM, Nicholas Marriott
><[1]nicholas.marri...@gmail.com> wrote:
> 
>  Change this:
> 
>  set-option -g status-right '#[fg=black]#(date +"%a %b %d %Y %R")'
> 
>  To this:
> 
>  set-option -g status-right '#[fg=black]%a %b %d %Y %R'
> 
>  On Wed, Mar 23, 2011 at 11:20:31AM -0400, Samer Atiani wrote:
>  > � �I'm still getting this problem at least once a day and its
>  beginning to
>  > � �make tmux unusable for me. To summarize the problem again, tmux
>  starts to
>  > � �freeze intermittently after periods of use ranging from 3-8 hours.
>  During
>  > � �intermittent freezes, tmux doesn't act on keyboard events quickly,
>  freezes
>  > � �for about 3-5 seconds then all pent up keyboard events would be
>  acted upon
>  > � �(whether they are tmux commands or keyboard events to programs
>  running in
>  > � �a tmux window). After every freeze, there is a period of 5-10
>  minutes
>  > � �where tmux behaves normally, and then I see the freeze again. The
>  only
>  > � �solution to this problem is to close everything, including tmux,
>  and
>  > � �restart everything.
>  >
>  > � �I installed Ubuntu 10.10 from scratch on two separate machines and
>  > � �installed tmux using apt-get. Even after I did that 'tmux -V' does
>  not
>  > � �work, but I found out that the version is 1.3 by typing :info at
>  tmux
>  > � �command mode.
>  >
>  > � �Here is how my usual tmux session looks like:
>  >
>  > � �1- I run tmux in a custom compiled urxvt terminal, but I've also
>  seen the
>  > � �problem happen in stock gnome-terminal that comes with Ubuntu
>  10.10.
>  > � �2- I aliased tmux to tmux -2 to force 256 colors.
>  > � �3- My usual tmux session looks like this:
>  > � �* 1 window for finch (a command line IM client) with activity
>  monitoring
>  > � �turned on.
>  > � �* 2-3 windows with vim open in them editing files.
>  > � �* 2-3 windows with ssh sessions open in them.
>  >
>  > � �If you need my .tmux.conf file you can see it here:
>  > � �[1][2]https://github.com/satiani/init/blob/master/.tmux.conf
>  >
>  > � �I'm willing to collect any more information you want me to, I love
>  tmux
>  > � �and would be distressed if I had to drop it and go back to screen
>  because
>  > � �of the frequent freezes.
>  >
>  > � �Many thanks,
>  > � �Samer
>  >
>  > � �On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert
>  > � �<[2][3]kfeb...@gmail.com> wrote:
>  >
>  > � � �Hi,
>  >
>  > � � �I package tmux for Debian which gets from time to time synced
>  from
>  > � � �Ubuntu. But
>  > � � �as far as I know there is no version of tmux-1.4 in Ubuntu 10.04
>  (which
>  > � � �has
>  > � � �1.1-1) and 9.04 (which has 0.8-5). So I assume you have received
>  tmux
>  > � � �from
>  > � � �another source probably from Debian's experimental repository
>  which has
>  > � � �a fix for
>  > � � �the EPOLL bug on Linux.
>  >
>  > � � �Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
>  > � � �> tmux -V does not work indeed. But from inside tmux, I typed
>  :info in
>  > � � �the
>  > � � �> tmux command mode, and it showed tmux 1.4.
>  > � � �This has worked in every (packaged) version of tmux. There must
>  be
>  > � � �something
>  > � � �wrong with your installation.
>  > � � �Nevertheless I am interested if this bug is reproducible.
>  >
>  > � � �Best regards,
>  > � � �Karl Ferdinand Ebert
>  >
>  > References
>  >
>  > � �Visible links
>  > � �1. [4]https://github.com/satiani/init/blob/master/.tmux.conf
>  > � �2. mailto:[5]kfeb...@gmail.com
> 
>  >
>  
> --
>  > Enable your software for Intel(R) Active Management Technology to meet
>  the
>  > growing manageability and security demands of your customers.
>  Businesses
>  > are taking advantage of Intel(R) vPro (TM) technology - will your
>  software
>  > be a part of the solution? Download the Intel(R) Manageability Checker
>  > today! [6]http://p.sf.net/sfu/intel-dev2devmar
>  > ___

Re: Tmux starts slowing down badly after long periods of execution

2011-03-23 Thread Samer Atiani
Interesting, is that whats causing the problem?

I'm curious to hear an explanation.

Thanks!
Samer

On Wed, Mar 23, 2011 at 11:46 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> Change this:
>
> set-option -g status-right '#[fg=black]#(date +"%a %b %d %Y %R")'
>
> To this:
>
> set-option -g status-right '#[fg=black]%a %b %d %Y %R'
>
>
> On Wed, Mar 23, 2011 at 11:20:31AM -0400, Samer Atiani wrote:
> >I'm still getting this problem at least once a day and its beginning
> to
> >make tmux unusable for me. To summarize the problem again, tmux starts
> to
> >freeze intermittently after periods of use ranging from 3-8 hours.
> During
> >intermittent freezes, tmux doesn't act on keyboard events quickly,
> freezes
> >for about 3-5 seconds then all pent up keyboard events would be acted
> upon
> >(whether they are tmux commands or keyboard events to programs running
> in
> >a tmux window). After every freeze, there is a period of 5-10 minutes
> >where tmux behaves normally, and then I see the freeze again. The only
> >solution to this problem is to close everything, including tmux, and
> >restart everything.
> >
> >I installed Ubuntu 10.10 from scratch on two separate machines and
> >installed tmux using apt-get. Even after I did that 'tmux -V' does not
> >work, but I found out that the version is 1.3 by typing :info at tmux
> >command mode.
> >
> >Here is how my usual tmux session looks like:
> >
> >1- I run tmux in a custom compiled urxvt terminal, but I've also seen
> the
> >problem happen in stock gnome-terminal that comes with Ubuntu 10.10.
> >2- I aliased tmux to tmux -2 to force 256 colors.
> >3- My usual tmux session looks like this:
> >* 1 window for finch (a command line IM client) with activity
> monitoring
> >turned on.
> >* 2-3 windows with vim open in them editing files.
> >* 2-3 windows with ssh sessions open in them.
> >
> >If you need my .tmux.conf file you can see it here:
> >[1]https://github.com/satiani/init/blob/master/.tmux.conf
> >
> >I'm willing to collect any more information you want me to, I love
> tmux
> >and would be distressed if I had to drop it and go back to screen
> because
> >of the frequent freezes.
> >
> >Many thanks,
> >Samer
> >
> >On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert
> ><[2]kfeb...@gmail.com> wrote:
> >
> >  Hi,
> >
> >  I package tmux for Debian which gets from time to time synced from
> >  Ubuntu. But
> >  as far as I know there is no version of tmux-1.4 in Ubuntu 10.04
> (which
> >  has
> >  1.1-1) and 9.04 (which has 0.8-5). So I assume you have received
> tmux
> >  from
> >  another source probably from Debian's experimental repository which
> has
> >  a fix for
> >  the EPOLL bug on Linux.
> >
> >  Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
> >  > tmux -V does not work indeed. But from inside tmux, I typed :info
> in
> >  the
> >  > tmux command mode, and it showed tmux 1.4.
> >  This has worked in every (packaged) version of tmux. There must be
> >  something
> >  wrong with your installation.
> >  Nevertheless I am interested if this bug is reproducible.
> >
> >  Best regards,
> >  Karl Ferdinand Ebert
> >
> > References
> >
> >Visible links
> >1. https://github.com/satiani/init/blob/master/.tmux.conf
> >2. mailto:kfeb...@gmail.com
>
> >
> --
> > Enable your software for Intel(R) Active Management Technology to meet
> the
> > growing manageability and security demands of your customers. Businesses
> > are taking advantage of Intel(R) vPro (TM) technology - will your
> software
> > be a part of the solution? Download the Intel(R) Manageability Checker
> > today! http://p.sf.net/sfu/intel-dev2devmar
>
> > ___
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Thanks for the pointer.

Using PuTTY, here's the output:

$ cat
^[[A
^[OA
A

That's cat, return, Up, return, Ctrl+Up, return.  The A on a line by itself
was placed there by the return after Ctrl+Up.

Since you mentioned the terminal, I checked the Translation section and was
using "UTF-8".  I changed it to be "ISO-8859-1:1998 (Latin-1, West Europe)".
 Then just tried the "Default" profile instead of the profile I had for the
host.  All of them gave the same result with both the cat command outside of
tmux, and with attempts to resize the pane within tmux.  No luck so far.

Thanks,

Mike


On Wed, Mar 23, 2011 at 12:59 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> Works for me.
>
> Are you sure your terminal shows different things for C-Up and Up? (Run
> cat outside tmux then press them and make sure it shows different things
> for the two keys.)
>
>
> On Wed, Mar 23, 2011 at 12:45:43PM -0400, mbm329 wrote:
> >Hi all,
> >
> >Trying to resize-pane by 1 row or column and it just does a
> select-pane
> >instead.  Here is the relative output from the list-keys command:
> >
> > Up: (repeat) select-pane -U
> >   Down: (repeat) select-pane -D
> >   Left: (repeat) select-pane -L
> >  Right: (repeat) select-pane -R
> >   M-Up: (repeat) resize-pane -U 5
> > M-Down: (repeat) resize-pane -D 5
> > M-Left: (repeat) resize-pane -L 5
> >M-Right: (repeat) resize-pane -R 5
> >   C-Up: (repeat) resize-pane -U
> > C-Down: (repeat) resize-pane -D
> > C-Left: (repeat) resize-pane -L
> >C-Right: (repeat) resize-pane -R
> >
> >I've tried this as a user with no ~/tmux.conf file. I'm running tmux
> v1.4
> >on RHEL 5.5.
> >
> >Even added the following explicitly in the ~/.tmux.conf file:
> >
> >bind -r C-Upresize-pane -U
> >bind -r C-Down  resize-pane -D
> >bind -r C-Left  resize-pane -L
> >bind -r C-Right resize-pane -R
> >
> >Tried both the left Ctrl and right Ctrl keys.
> >Thanks,
> >
> >Mike
>
> >
> --
> > Enable your software for Intel(R) Active Management Technology to meet
> the
> > growing manageability and security demands of your customers. Businesses
> > are taking advantage of Intel(R) vPro (TM) technology - will your
> software
> > be a part of the solution? Download the Intel(R) Manageability Checker
> > today! http://p.sf.net/sfu/intel-dev2devmar
>
> > ___
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Thanks for the pointer.

Using PuTTY, here's the output:

$ cat
^[[A
^[OA
A

That's cat, return, Up, return, Ctrl+Up, return.  The A on a line by itself
was placed there by the return after Ctrl+Up.

Since you mentioned the terminal, I checked the Translation section and was
using "UTF-8".  I changed it to be "ISO-8859-1:1998 (Latin-1, West Europe)".
 Then just tried the "Default" profile instead of the profile I had for the
host.  All of them gave the same result with both the cat command outside of
tmux, and with attempts to resize the pane within tmux.  No luck so far.

Thanks,

Mike


On Wed, Mar 23, 2011 at 12:59 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> Works for me.
>
> Are you sure your terminal shows different things for C-Up and Up? (Run
> cat outside tmux then press them and make sure it shows different things
> for the two keys.)
>
>
> On Wed, Mar 23, 2011 at 12:45:43PM -0400, mbm329 wrote:
> >Hi all,
> >
> >Trying to resize-pane by 1 row or column and it just does a
> select-pane
> >instead.  Here is the relative output from the list-keys command:
> >
> > Up: (repeat) select-pane -U
> >   Down: (repeat) select-pane -D
> >   Left: (repeat) select-pane -L
> >  Right: (repeat) select-pane -R
> >   M-Up: (repeat) resize-pane -U 5
> > M-Down: (repeat) resize-pane -D 5
> > M-Left: (repeat) resize-pane -L 5
> >M-Right: (repeat) resize-pane -R 5
> >   C-Up: (repeat) resize-pane -U
> > C-Down: (repeat) resize-pane -D
> > C-Left: (repeat) resize-pane -L
> >C-Right: (repeat) resize-pane -R
> >
> >I've tried this as a user with no ~/tmux.conf file. I'm running tmux
> v1.4
> >on RHEL 5.5.
> >
> >Even added the following explicitly in the ~/.tmux.conf file:
> >
> >bind -r C-Upresize-pane -U
> >bind -r C-Down  resize-pane -D
> >bind -r C-Left  resize-pane -L
> >bind -r C-Right resize-pane -R
> >
> >Tried both the left Ctrl and right Ctrl keys.
> >Thanks,
> >
> >Mike
>
> >
> --
> > Enable your software for Intel(R) Active Management Technology to meet
> the
> > growing manageability and security demands of your customers. Businesses
> > are taking advantage of Intel(R) vPro (TM) technology - will your
> software
> > be a part of the solution? Download the Intel(R) Manageability Checker
> > today! http://p.sf.net/sfu/intel-dev2devmar
>
> > ___
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
These are usually the keys that are changed when the keypad is put into
cursor mode, these are all treated as up, down, left and right by tmux.

Try eg

set -g terminal-overrides '*:kUP5=\eOA'

Or \e[A if that doesn't work.

On Wed, Mar 23, 2011 at 02:43:36PM -0400, mbm329 wrote:
>Thanks for the pointer.
>Using PuTTY, here's the output:
>$ cat
>^[[A
>^[OA
>A
>That's cat, return, Up, return, Ctrl+Up, return. �The A on a line by
>itself was placed there by the return after Ctrl+Up.
>Since you mentioned the terminal, I checked the Translation section and
>was using "UTF-8". �I changed it to be "ISO-8859-1:1998 (Latin-1, West
>Europe)". �Then just tried the "Default" profile instead of the profile I
>had for the host. �All of them gave the same result with both the cat
>command outside of tmux, and with attempts to resize the pane within tmux.
>�No luck so far.
>Thanks,
>Mike
>On Wed, Mar 23, 2011 at 12:59 PM, Nicholas Marriott
><[1]nicholas.marri...@gmail.com> wrote:
> 
>  Works for me.
> 
>  Are you sure your terminal shows different things for C-Up and Up? (Run
>  cat outside tmux then press them and make sure it shows different things
>  for the two keys.)
> 
>  On Wed, Mar 23, 2011 at 12:45:43PM -0400, mbm329 wrote:
>  > � �Hi all,
>  >
>  > � �Trying to resize-pane by 1 row or column and it just does a
>  select-pane
>  > � �instead. �Here is the relative output from the list-keys command:
>  >
>  > � �� � �Up: (repeat) select-pane -U
>  > � �� �Down: (repeat) select-pane -D
>  > � �� �Left: (repeat) select-pane -L
>  > � �� Right: (repeat) select-pane -R
>  > � �� �M-Up: (repeat) resize-pane -U 5
>  > � ��M-Down: (repeat) resize-pane -D 5
>  > � ��M-Left: (repeat) resize-pane -L 5
>  > � �M-Right: (repeat) resize-pane -R 5
>  > � �� �C-Up: (repeat) resize-pane -U
>  > � ��C-Down: (repeat) resize-pane -D
>  > � ��C-Left: (repeat) resize-pane -L
>  > � �C-Right: (repeat) resize-pane -R
>  >
>  > � �I've tried this as a user with no ~/tmux.conf file. I'm running
>  tmux v1.4
>  > � �on RHEL 5.5.
>  >
>  > � �Even added the following explicitly in the ~/.tmux.conf file:
>  >
>  > � �bind -r C-Up � �resize-pane -U
>  > � �bind -r C-Down �resize-pane -D
>  > � �bind -r C-Left �resize-pane -L
>  > � �bind -r C-Right resize-pane -R
>  >
>  > � �Tried both the left Ctrl and right Ctrl keys.
>  > � �Thanks,
>  >
>  > � �Mike
> 
>  >
>  
> --
>  > Enable your software for Intel(R) Active Management Technology to meet
>  the
>  > growing manageability and security demands of your customers.
>  Businesses
>  > are taking advantage of Intel(R) vPro (TM) technology - will your
>  software
>  > be a part of the solution? Download the Intel(R) Manageability Checker
>  > today! [2]http://p.sf.net/sfu/intel-dev2devmar
> 
>  > ___
>  > tmux-users mailing list
>  > [3]tmux-users@lists.sourceforge.net
>  > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> References
> 
>Visible links
>1. mailto:nicholas.marri...@gmail.com
>2. http://p.sf.net/sfu/intel-dev2devmar
>3. mailto:tmux-users@lists.sourceforge.net
>4. https://lists.sourceforge.net/lists/listinfo/tmux-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Unfortunately, neither worked.  Any other ideas to try?


On Wed, Mar 23, 2011 at 2:50 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> These are usually the keys that are changed when the keypad is put into
> cursor mode, these are all treated as up, down, left and right by tmux.
>
> Try eg
>
> set -g terminal-overrides '*:kUP5=\eOA'
>
> Or \e[A if that doesn't work.
>
> On Wed, Mar 23, 2011 at 02:43:36PM -0400, mbm329 wrote:
> >Thanks for the pointer.
> >Using PuTTY, here's the output:
> >$ cat
> >^[[A
> >^[OA
> >A
> >That's cat, return, Up, return, Ctrl+Up, return.  The A on a line by
> >itself was placed there by the return after Ctrl+Up.
> >Since you mentioned the terminal, I checked the Translation section
> and
> >was using "UTF-8".  I changed it to be "ISO-8859-1:1998 (Latin-1, West
> >Europe)".  Then just tried the "Default" profile instead of the
> profile I
> >had for the host.  All of them gave the same result with both the cat
> >command outside of tmux, and with attempts to resize the pane within
> tmux.
> > No luck so far.
> >Thanks,
> >Mike
> >On Wed, Mar 23, 2011 at 12:59 PM, Nicholas Marriott
> ><[1]nicholas.marri...@gmail.com> wrote:
> >
> >  Works for me.
> >
> >  Are you sure your terminal shows different things for C-Up and Up?
> (Run
> >  cat outside tmux then press them and make sure it shows different
> things
> >  for the two keys.)
> >
> >  On Wed, Mar 23, 2011 at 12:45:43PM -0400, mbm329 wrote:
> >  >Hi all,
> >  >
> >  >Trying to resize-pane by 1 row or column and it just does a
> >  select-pane
> >  >instead.  Here is the relative output from the list-keys
> command:
> >  >
> >  > Up: (repeat) select-pane -U
> >  >   Down: (repeat) select-pane -D
> >  >   Left: (repeat) select-pane -L
> >  >  Right: (repeat) select-pane -R
> >  >   M-Up: (repeat) resize-pane -U 5
> >  > M-Down: (repeat) resize-pane -D 5
> >  > M-Left: (repeat) resize-pane -L 5
> >  >M-Right: (repeat) resize-pane -R 5
> >  >   C-Up: (repeat) resize-pane -U
> >  > C-Down: (repeat) resize-pane -D
> >  > C-Left: (repeat) resize-pane -L
> >  >C-Right: (repeat) resize-pane -R
> >  >
> >  >I've tried this as a user with no ~/tmux.conf file. I'm running
> >  tmux v1.4
> >  >on RHEL 5.5.
> >  >
> >  >Even added the following explicitly in the ~/.tmux.conf file:
> >  >
> >  >bind -r C-Upresize-pane -U
> >  >bind -r C-Down  resize-pane -D
> >  >bind -r C-Left  resize-pane -L
> >  >bind -r C-Right resize-pane -R
> >  >
> >  >Tried both the left Ctrl and right Ctrl keys.
> >  >Thanks,
> >  >
> >  >Mike
> >
> >  >
> >
>  
> --
> >  > Enable your software for Intel(R) Active Management Technology to
> meet
> >  the
> >  > growing manageability and security demands of your customers.
> >  Businesses
> >  > are taking advantage of Intel(R) vPro (TM) technology - will your
> >  software
> >  > be a part of the solution? Download the Intel(R) Manageability
> Checker
> >  > today! [2]http://p.sf.net/sfu/intel-dev2devmar
> >
> >  > ___
> >  > tmux-users mailing list
> >  > [3]tmux-users@lists.sourceforge.net
> >  > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users
> >
> > References
> >
> >Visible links
> >1. mailto:nicholas.marri...@gmail.com
> >2. http://p.sf.net/sfu/intel-dev2devmar
> >3. mailto:tmux-users@lists.sourceforge.net
> >4. https://lists.sourceforge.net/lists/listinfo/tmux-users
>
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
show me output of tmux info after restarting it with that in .tmux.conf


On Wed, Mar 23, 2011 at 03:12:31PM -0400, mbm329 wrote:
>Unfortunately, neither worked. �Any other ideas to try?
>On Wed, Mar 23, 2011 at 2:50 PM, Nicholas Marriott
><[1]nicholas.marri...@gmail.com> wrote:
> 
>  These are usually the keys that are changed when the keypad is put into
>  cursor mode, these are all treated as up, down, left and right by tmux.
> 
>  Try eg
> 
>  set -g terminal-overrides '*:kUP5=\eOA'
> 
>  Or \e[A if that doesn't work.
>  On Wed, Mar 23, 2011 at 02:43:36PM -0400, mbm329 wrote:
>  > � �Thanks for the pointer.
>  > � �Using PuTTY, here's the output:
>  > � �$ cat
>  > � �^[[A
>  > � �^[OA
>  > � �A
>  > � �That's cat, return, Up, return, Ctrl+Up, return. �The A on a line
>  by
>  > � �itself was placed there by the return after Ctrl+Up.
>  > � �Since you mentioned the terminal, I checked the Translation section
>  and
>  > � �was using "UTF-8". �I changed it to be "ISO-8859-1:1998 (Latin-1,
>  West
>  > � �Europe)". �Then just tried the "Default" profile instead of the
>  profile I
>  > � �had for the host. �All of them gave the same result with both the
>  cat
>  > � �command outside of tmux, and with attempts to resize the pane
>  within tmux.
>  > � ��No luck so far.
>  > � �Thanks,
>  > � �Mike
>  > � �On Wed, Mar 23, 2011 at 12:59 PM, Nicholas Marriott
>  > � �<[1][2]nicholas.marri...@gmail.com> wrote:
>  >
>  > � � �Works for me.
>  >
>  > � � �Are you sure your terminal shows different things for C-Up and
>  Up? (Run
>  > � � �cat outside tmux then press them and make sure it shows different
>  things
>  > � � �for the two keys.)
>  >
>  > � � �On Wed, Mar 23, 2011 at 12:45:43PM -0400, mbm329 wrote:
>  > � � �> � �Hi all,
>  > � � �>
>  > � � �> � �Trying to resize-pane by 1 row or column and it just does a
>  > � � �select-pane
>  > � � �> � �instead. �Here is the relative output from the list-keys
>  command:
>  > � � �>
>  > � � �> � �� � �Up: (repeat) select-pane -U
>  > � � �> � �� �Down: (repeat) select-pane -D
>  > � � �> � �� �Left: (repeat) select-pane -L
>  > � � �> � �� Right: (repeat) select-pane -R
>  > � � �> � �� �M-Up: (repeat) resize-pane -U 5
>  > � � �> � ��M-Down: (repeat) resize-pane -D 5
>  > � � �> � ��M-Left: (repeat) resize-pane -L 5
>  > � � �> � �M-Right: (repeat) resize-pane -R 5
>  > � � �> � �� �C-Up: (repeat) resize-pane -U
>  > � � �> � ��C-Down: (repeat) resize-pane -D
>  > � � �> � ��C-Left: (repeat) resize-pane -L
>  > � � �> � �C-Right: (repeat) resize-pane -R
>  > � � �>
>  > � � �> � �I've tried this as a user with no ~/tmux.conf file. I'm
>  running
>  > � � �tmux v1.4
>  > � � �> � �on RHEL 5.5.
>  > � � �>
>  > � � �> � �Even added the following explicitly in the ~/.tmux.conf
>  file:
>  > � � �>
>  > � � �> � �bind -r C-Up � �resize-pane -U
>  > � � �> � �bind -r C-Down �resize-pane -D
>  > � � �> � �bind -r C-Left �resize-pane -L
>  > � � �> � �bind -r C-Right resize-pane -R
>  > � � �>
>  > � � �> � �Tried both the left Ctrl and right Ctrl keys.
>  > � � �> � �Thanks,
>  > � � �>
>  > � � �> � �Mike
>  >
>  > � � �>
>  > � �
>  
> �--
>  > � � �> Enable your software for Intel(R) Active Management Technology
>  to meet
>  > � � �the
>  > � � �> growing manageability and security demands of your customers.
>  > � � �Businesses
>  > � � �> are taking advantage of Intel(R) vPro (TM) technology - will
>  your
>  > � � �software
>  > � � �> be a part of the solution? Download the Intel(R) Manageability
>  Checker
>  > � � �> today! [2][3]http://p.sf.net/sfu/intel-dev2devmar
>  >
>  > � � �> ___
>  > � � �> tmux-users mailing list
>  > � � �> [3][4]tmux-users@lists.sourceforge.net
>  > � � �> [4][5]https://lists.sourceforge.net/lists/listinfo/tmux-users
>  >
>  > References
>  >
>  > � �Visible links
>  > � �1. mailto:[6]nicholas.marri...@gmail.com
>  > � �2. [7]http://p.sf.net/sfu/intel-dev2devmar
>  > � �3. mailto:[8]tmux-users@lists.sourceforge.net
>  > � �4. [9]https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> References
> 
>Visible links
>1. mailto:nicholas.marri...@gmail.com
>2. mailto:nicholas.marri...@gmail.com
>3. http://p.sf.net/sfu/intel-dev2devmar
>4. mailto:tmux-users@lists.sourceforge.net
>5. https://lists.sourceforge.net/lists/listinfo/tmux-users
>6. mailto:nicholas.marri...@gmail.com
>7. http://p.sf.net/sfu/intel-dev2devmar
>8. mailto:tmux-users@lists.source

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Micah Cowan
On 03/23/2011 11:50 AM, Nicholas Marriott wrote:
> These are usually the keys that are changed when the keypad is put into
> cursor mode, these are all treated as up, down, left and right by tmux.
> 
> Try eg
> 
> set -g terminal-overrides '*:kUP5=\eOA'

That should be \e[OA shouldn't it?

-- 
Micah J. Cowan
http://micah.cowan.name/

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
Nope it is either \e[A or \eOA.


On Wed, Mar 23, 2011 at 12:27:06PM -0700, Micah Cowan wrote:
> On 03/23/2011 11:50 AM, Nicholas Marriott wrote:
> > These are usually the keys that are changed when the keypad is put into
> > cursor mode, these are all treated as up, down, left and right by tmux.
> > 
> > Try eg
> > 
> > set -g terminal-overrides '*:kUP5=\eOA'
> 
> That should be \e[OA shouldn't it?
> 
> -- 
> Micah J. Cowan
> http://micah.cowan.name/
> 
> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar
> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Micah Cowan
On 03/23/2011 11:43 AM, mbm329 wrote:
> Thanks for the pointer.
> 
> Using PuTTY, here's the output:
> 
> $ cat
> ^[[A
> ^[OA
> A

How about for: "tput smkx; cat; tput rmkx"? That'd be the situation tmux
would actually see them in.

-- 
Micah J. Cowan
http://micah.cowan.name/

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329

[mbmtest@test1 ~]$ tmux ls
failed to connect to server: Connection refused
[mbmtest@test1 ~]$ cat ~/.tmux.conf
set -g terminal-overrides '*:kUP5=\eOA'
[mbmtest@test1 ~]$ tmux

##

[mbmtest@test1 ~]$ tmux info
tmux 1.4, pid 13611, started Wed Mar 23 15:18:56 2011
socket path /tmp/tmux-500/default, debug level 0
system is Linux 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010
x86_64
configuration file is /home/mbmtest/.tmux.conf
protocol version is 6

Clients:
 0: /dev/pts/35 (8, 11): 0 [80x24 xterm] [flags=0x1/0x38, references=0]

Sessions: [5/10]
 0: 0: 1 windows (created Wed Mar 23 15:18:56 2011) [80x23] [flags=0x0]
   0: bash [80x23] [flags=0x8, references=1, last layout=-1]
 0: /dev/pts/36 13612 14 174/178, 25830 bytes; UTF-8 0/178, 0 bytes

Terminals:
xterm [references=1, 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: civis: (string) \033[?25l
 6: clear: (string) \033[H\033[2J
 7: cnorm: (string) \033[?12l\033[?25h
 8: colors: (number) 8
 9: csr: (string) \033[%i%p1%d;%p2%dr
10: cub: (string) \033[%p1%dD
11: cub1: (string) \010
12: cud: (string) \033[%p1%dB
13: cud1: (string) \012
14: cuf: (string) \033[%p1%dC
15: cuf1: (string) \033[C
16: cup: (string) \033[%i%p1%d;%p2%dH
17: cuu: (string) \033[%p1%dA
18: cuu1: (string) \033[A
19: dch: (string) \033[%p1%dP
20: dch1: (string) \033[P
21: dim: [missing]
22: dl: (string) \033[%p1%dM
23: dl1: (string) \033[M
24: el: (string) \033[K
25: el1: (string) \033[1K
26: enacs: [missing]
27: home: (string) \033[H
28: hpa: (string) \033[%i%p1%dG
29: ich: (string) \033[%p1%d@
30: ich1: [missing]
31: il: (string) \033[%p1%dL
32: il1: (string) \033[L
33: invis: (string) \033[8m
34: is1: [missing]
35: is2: (string) \033[!p\033[?3;4l\033[4l\033>
36: is3: [missing]
37: kcbt: (string) \033[Z
38: kcub1: (string) \033OD
39: kcud1: (string) \033OB
40: kcuf1: (string) \033OC
41: kcuu1: (string) \033OA
42: kDC: (string) \033[3;2~
43: kDC3: [missing]
44: kDC4: [missing]
45: kDC5: [missing]
46: kDC6: [missing]
47: kDC7: [missing]
48: kdch1: (string) \033[3~
49: kDN: (string) \033[1;2B
50: kDN3: [missing]
51: kDN4: [missing]
52: kDN5: (string) \033[1;5B
53: kDN6: (string) \033[1;6B
54: kDN7: [missing]
55: kend: (string) \033OF
56: kEND: (string) \033[1;2F
57: kEND3: [missing]
58: kEND4: [missing]
59: kEND5: [missing]
60: kEND6: [missing]
61: kEND7: [missing]
62: kf1: (string) \033OP
63: kf10: (string) \033[21~
64: kf11: (string) \033[23~
65: kf12: (string) \033[24~
66: kf13: (string) \033O2P
67: kf14: (string) \033O2Q
68: kf15: (string) \033O2R
69: kf16: (string) \033O2S
70: kf17: (string) \033[15;2~
71: kf18: (string) \033[17;2~
72: kf19: (string) \033[18;2~
73: kf2: (string) \033OQ
74: kf20: (string) \033[19;2~
75: kf3: (string) \033OR
76: kf4: (string) \033OS
77: kf5: (string) \033[15~
78: kf6: (string) \033[17~
79: kf7: (string) \033[18~
80: kf8: (string) \033[19~
81: kf9: (string) \033[20~
82: kHOM: (string) \033[1;2H
83: kHOM3: [missing]
84: kHOM4: [missing]
85: kHOM5: [missing]
86: kHOM6: [missing]
87: kHOM7: [missing]
88: khome: (string) \033OH
89: kIC: (string) \033[2;2~
90: kIC3: [missing]
91: kIC4: [missing]
92: kIC5: [missing]
93: kIC6: [missing]
94: kIC7: [missing]
95: kich1: (string) \033[2~
96: kLFT: (string) \033[1;2D
97: kLFT3: [missing]
98: kLFT4: [missing]
99: kLFT5: (string) \033[1;5D
100: kLFT6: (string) \033[1;6D
101: kLFT7: [missing]
102: kmous: (string) \033[M
103: knp: (string) \033[6~
104: kNXT: (string) \033[6;2~
105: kNXT3: [missing]
106: kNXT4: [missing]
107: kNXT5: [missing]
108: kNXT6: [missing]
109: kNXT7: [missing]
110: kpp: (string) \033[5~
111: kPRV: (string) \033[5;2~
112: kPRV3: [missing]
113: kPRV4: [missing]
114: kPRV5: [missing]
115: kPRV6: [missing]
116: kPRV7: [missing]
117: kRIT: (string) \033[1;2C
118: kRIT3: [missing]
119: kRIT4: [missing]
120: kRIT5: (string) \033[1;5C
121: kRIT6: (string) \033[1;6C
122: kRIT7: [missing]
123: kUP: (string) \033[1;2A
124: kUP3: [missing]
125: kUP4: [missing]
126: kUP5: (string) \\eOA
127: kUP6: (string) \033[1;6A
128: kUP7: [missing]
129: op: (string) \033[39;49m
130: rev: (string) \033[7m
131: ri: (string) \033M
132: rmacs: (string) \033(B
133: rmcup: (string) \033[?1049l
134: rmir: (string) \033[4l
135: rmkx: (string) \033[?1l\033>
136: setab: (string) \033[4%p1%dm
137: setaf: (string) \033[3%p1%dm
138: sgr0: (string) \033(B\033[m
139: smacs: (string) \033(0
140: smcup: (string) \033[?1049h
141: smir: (string) \033[4h
142: smkx: (string) \033[?1h\033=
143: smso: (string) \033[7m
144: smul: (string) \033[4m
145: vpa: (string) \033[%i%p1%dd
146: xenl: (flag) true

Jobs:
[mbmtest@test1 ~]$

##
Then with the \e[A suggestion:
[mbmtest@test1 ~]$ tmux info
tmux 1.4, pid 25669, started Wed Mar 23 15:35:39 2011
socket path /tmp/tmux-500/default, debug level 0
system is Linux 2.6.18-194.26.1.el5 #1 SMP Fr

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
Sorry use " not ' in .tmux.conf or \e won't be replaced:

set -g terminal-overrides "*:kUP5=\eOA"



On Wed, Mar 23, 2011 at 03:42:33PM -0400, mbm329 wrote:
>
>[mbmtest@test1�~]$ tmux ls
>failed to connect to server: Connection refused
>[mbmtest@test1�~]$ cat ~/.tmux.conf
>set -g terminal-overrides '*:kUP5=\eOA'
>[mbmtest@test1�~]$ tmux
>##
>
>[mbmtest@test1�~]$ tmux info
>tmux 1.4, pid 13611, started Wed Mar 23 15:18:56 2011
>socket path /tmp/tmux-500/default, debug level 0
>system is Linux 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010
>x86_64
>configuration file is /home/mbmtest/.tmux.conf
>protocol version is 6
>Clients:
>�0: /dev/pts/35 (8, 11): 0 [80x24 xterm] [flags=0x1/0x38, references=0]
>Sessions: [5/10]
>�0: 0: 1 windows (created Wed Mar 23 15:18:56 2011) [80x23] [flags=0x0]
>�� 0: bash [80x23] [flags=0x8, references=1, last layout=-1]
>�� � 0: /dev/pts/36 13612 14 174/178, 25830 bytes; UTF-8 0/178, 0 bytes
>Terminals:
>xterm [references=1, 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: civis: (string) \033[?25l
>�6: clear: (string) \033[H\033[2J
>�7: cnorm: (string) \033[?12l\033[?25h
>�8: colors: (number) 8
>�9: csr: (string) \033[%i%p1%d;%p2%dr
>10: cub: (string) \033[%p1%dD
>11: cub1: (string) \010
>12: cud: (string) \033[%p1%dB
>13: cud1: (string) \012
>14: cuf: (string) \033[%p1%dC
>15: cuf1: (string) \033[C
>16: cup: (string) \033[%i%p1%d;%p2%dH
>17: cuu: (string) \033[%p1%dA
>18: cuu1: (string) \033[A
>19: dch: (string) \033[%p1%dP
>20: dch1: (string) \033[P
>21: dim: [missing]
>22: dl: (string) \033[%p1%dM
>23: dl1: (string) \033[M
>24: el: (string) \033[K
>25: el1: (string) \033[1K
>26: enacs: [missing]
>27: home: (string) \033[H
>28: hpa: (string) \033[%i%p1%dG
>29: ich: (string) \033[%p1%d@
>30: ich1: [missing]
>31: il: (string) \033[%p1%dL
>32: il1: (string) \033[L
>33: invis: (string) \033[8m
>34: is1: [missing]
>35: is2: (string) \033[!p\033[?3;4l\033[4l\033>
>36: is3: [missing]
>37: kcbt: (string) \033[Z
>38: kcub1: (string) \033OD
>39: kcud1: (string) \033OB
>40: kcuf1: (string) \033OC
>41: kcuu1: (string) \033OA
>42: kDC: (string) \033[3;2~
>43: kDC3: [missing]
>44: kDC4: [missing]
>45: kDC5: [missing]
>46: kDC6: [missing]
>47: kDC7: [missing]
>48: kdch1: (string) \033[3~
>49: kDN: (string) \033[1;2B
>50: kDN3: [missing]
>51: kDN4: [missing]
>52: kDN5: (string) \033[1;5B
>53: kDN6: (string) \033[1;6B
>54: kDN7: [missing]
>55: kend: (string) \033OF
>56: kEND: (string) \033[1;2F
>57: kEND3: [missing]
>58: kEND4: [missing]
>59: kEND5: [missing]
>60: kEND6: [missing]
>61: kEND7: [missing]
>62: kf1: (string) \033OP
>63: kf10: (string) \033[21~
>64: kf11: (string) \033[23~
>65: kf12: (string) \033[24~
>66: kf13: (string) \033O2P
>67: kf14: (string) \033O2Q
>68: kf15: (string) \033O2R
>69: kf16: (string) \033O2S
>70: kf17: (string) \033[15;2~
>71: kf18: (string) \033[17;2~
>72: kf19: (string) \033[18;2~
>73: kf2: (string) \033OQ
>74: kf20: (string) \033[19;2~
>75: kf3: (string) \033OR
>76: kf4: (string) \033OS
>77: kf5: (string) \033[15~
>78: kf6: (string) \033[17~
>79: kf7: (string) \033[18~
>80: kf8: (string) \033[19~
>81: kf9: (string) \033[20~
>82: kHOM: (string) \033[1;2H
>83: kHOM3: [missing]
>84: kHOM4: [missing]
>85: kHOM5: [missing]
>86: kHOM6: [missing]
>87: kHOM7: [missing]
>88: khome: (string) \033OH
>89: kIC: (string) \033[2;2~
>90: kIC3: [missing]
>91: kIC4: [missing]
>92: kIC5: [missing]
>93: kIC6: [missing]
>94: kIC7: [missing]
>95: kich1: (string) \033[2~
>96: kLFT: (string) \033[1;2D
>97: kLFT3: [missing]
>98: kLFT4: [missing]
>99: kLFT5: (string) \033[1;5D
>100: kLFT6: (string) \033[1;6D
>101: kLFT7: [missing]
>102: kmous: (string) \033[M
>103: knp: (string) \033[6~
>104: kNXT: (string) \033[6;2~
>105: kNXT3: [missing]
>106: kNXT4: [missing]
>107: kNXT5: [missing]
>108: kNXT6: [missing]
>109: kNXT7: [missing]
>110: kpp: (string) \033[5~
>111: kPRV: (string) \033[5;2~
>112: kPRV3: [missing]
>113: kPRV4: [missing]
>114: kPRV5: [missing]
>115: kPRV6: [missing]
>116: kPRV7: [missing]
>117: kRIT: (string) \033[1;2C
>118: kRIT3: [missing]
>119: kRIT4: [missing]
>120: kRIT5: (string) \033[1;5C
>121: kRIT6: (string) \033[1;6C
>122: kRIT7: [missing]
>123: kUP: (string) \033[1;2A
>124: kUP3: [missing]
>125: kUP4: [mi

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
Note these will apply for any terminal, you may want to use TERM=putty
outside tmux (if your system supports it) and change all the * to putty.


On Wed, Mar 23, 2011 at 04:11:45PM -0400, mbm329 wrote:
>Ahhh yup, that worked like a champ.
> 
>set -g terminal-overrides
>"*:kUP5=\eOA,*:kDN5=\eOB,*:kLFT5=\eOD,*:kRIT5=\eOC"
>Works for up, down, left and right now.
>Thanks!
>On Wed, Mar 23, 2011 at 3:50 PM, Nicholas Marriott
><[1]nicholas.marri...@gmail.com> wrote:
> 
>  Sorry use " not ' in .tmux.conf or \e won't be replaced:
>  set -g terminal-overrides "*:kUP5=\eOA"
> 
>  On Wed, Mar 23, 2011 at 03:42:33PM -0400, mbm329 wrote:
>  > � �
>  > � �[mbmtest@test1�~]$ tmux ls
>  > � �failed to connect to server: Connection refused
>  > � �[mbmtest@test1�~]$ cat ~/.tmux.conf
>  > � �set -g terminal-overrides '*:kUP5=\eOA'
>  > � �[mbmtest@test1�~]$ tmux
>  > � �##
>  > � �
>  > � �[mbmtest@test1�~]$ tmux info
>  > � �tmux 1.4, pid 13611, started Wed Mar 23 15:18:56 2011
>  > � �socket path /tmp/tmux-500/default, debug level 0
>  > � �system is Linux 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT
>  2010
>  > � �x86_64
>  > � �configuration file is /home/mbmtest/.tmux.conf
>  > � �protocol version is 6
>  > � �Clients:
>  > � ��0: /dev/pts/35 (8, 11): 0 [80x24 xterm] [flags=0x1/0x38,
>  references=0]
>  > � �Sessions: [5/10]
>  > � ��0: 0: 1 windows (created Wed Mar 23 15:18:56 2011) [80x23]
>  [flags=0x0]
>  > � ��� 0: bash [80x23] [flags=0x8, references=1, last layout=-1]
>  > � ��� � 0: /dev/pts/36 13612 14 174/178, 25830 bytes; UTF-8 0/178, 0
>  bytes
>  > � �Terminals:
>  > � �xterm [references=1, 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: civis: (string) \033[?25l
>  > � ��6: clear: (string) \033[H\033[2J
>  > � ��7: cnorm: (string) \033[?12l\033[?25h
>  > � ��8: colors: (number) 8
>  > � ��9: csr: (string) \033[%i%p1%d;%p2%dr
>  > � �10: cub: (string) \033[%p1%dD
>  > � �11: cub1: (string) \010
>  > � �12: cud: (string) \033[%p1%dB
>  > � �13: cud1: (string) \012
>  > � �14: cuf: (string) \033[%p1%dC
>  > � �15: cuf1: (string) \033[C
>  > � �16: cup: (string) \033[%i%p1%d;%p2%dH
>  > � �17: cuu: (string) \033[%p1%dA
>  > � �18: cuu1: (string) \033[A
>  > � �19: dch: (string) \033[%p1%dP
>  > � �20: dch1: (string) \033[P
>  > � �21: dim: [missing]
>  > � �22: dl: (string) \033[%p1%dM
>  > � �23: dl1: (string) \033[M
>  > � �24: el: (string) \033[K
>  > � �25: el1: (string) \033[1K
>  > � �26: enacs: [missing]
>  > � �27: home: (string) \033[H
>  > � �28: hpa: (string) \033[%i%p1%dG
>  > � �29: ich: (string) \033[%p1%d@
>  > � �30: ich1: [missing]
>  > � �31: il: (string) \033[%p1%dL
>  > � �32: il1: (string) \033[L
>  > � �33: invis: (string) \033[8m
>  > � �34: is1: [missing]
>  > � �35: is2: (string) \033[!p\033[?3;4l\033[4l\033>
>  > � �36: is3: [missing]
>  > � �37: kcbt: (string) \033[Z
>  > � �38: kcub1: (string) \033OD
>  > � �39: kcud1: (string) \033OB
>  > � �40: kcuf1: (string) \033OC
>  > � �41: kcuu1: (string) \033OA
>  > � �42: kDC: (string) \033[3;2~
>  > � �43: kDC3: [missing]
>  > � �44: kDC4: [missing]
>  > � �45: kDC5: [missing]
>  > � �46: kDC6: [missing]
>  > � �47: kDC7: [missing]
>  > � �48: kdch1: (string) \033[3~
>  > � �49: kDN: (string) \033[1;2B
>  > � �50: kDN3: [missing]
>  > � �51: kDN4: [missing]
>  > � �52: kDN5: (string) \033[1;5B
>  > � �53: kDN6: (string) \033[1;6B
>  > � �54: kDN7: [missing]
>  > � �55: kend: (string) \033OF
>  > � �56: kEND: (string) \033[1;2F
>  > � �57: kEND3: [missing]
>  > � �58: kEND4: [missing]
>  > � �59: kEND5: [missing]
>  > � �60: kEND6: [missing]
>  > � �61: kEND7: [missing]
>  > � �62: kf1: (string) \033OP
>  > � �63: kf10: (string) \033[21~
>  > � �64: kf11: (string) \033[23~
>  > � �65: kf12: (string) \033[24~
>  > � �66: kf13: (string) \033O2P
>  > � �67: kf14: (string) \033O2Q
>  > � �68: kf15: (string) \033O2R
>  > � �69: kf16: (string) \033O2S
>  > � �70: kf17: (string) \033[15;2~
>  > � �71: kf18: (string) \033[17;2~
>  > � �72: kf19: (string) \033[18;2~
>  > � �73: kf2: (string) \033OQ
>  > � �74: kf20: (string) \033[19;2~
>  > � �75: kf3: (string) \033OR
>  > � �76: kf4: (string) \033OS
>  > � �77: kf5: (string) \033[15~
>  > � �78: kf6: (string) \033[17~
>  > � �79: kf7: (string) \033[18~
>  > � �80: kf8: (string) \033[19~
>  > � �81: kf9: (string

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Ahhh yup, that worked like a champ.

set -g terminal-overrides
"*:kUP5=\eOA,*:kDN5=\eOB,*:kLFT5=\eOD,*:kRIT5=\eOC"

Works for up, down, left and right now.

Thanks!


On Wed, Mar 23, 2011 at 3:50 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> Sorry use " not ' in .tmux.conf or \e won't be replaced:
>
> set -g terminal-overrides "*:kUP5=\eOA"
>
>
>
> On Wed, Mar 23, 2011 at 03:42:33PM -0400, mbm329 wrote:
> >
> >[mbmtest@test1 ~]$ tmux ls
> >failed to connect to server: Connection refused
> >[mbmtest@test1 ~]$ cat ~/.tmux.conf
> >set -g terminal-overrides '*:kUP5=\eOA'
> >[mbmtest@test1 ~]$ tmux
> >##
> >
> >[mbmtest@test1 ~]$ tmux info
> >tmux 1.4, pid 13611, started Wed Mar 23 15:18:56 2011
> >socket path /tmp/tmux-500/default, debug level 0
> >system is Linux 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT
> 2010
> >x86_64
> >configuration file is /home/mbmtest/.tmux.conf
> >protocol version is 6
> >Clients:
> > 0: /dev/pts/35 (8, 11): 0 [80x24 xterm] [flags=0x1/0x38,
> references=0]
> >Sessions: [5/10]
> > 0: 0: 1 windows (created Wed Mar 23 15:18:56 2011) [80x23]
> [flags=0x0]
> >   0: bash [80x23] [flags=0x8, references=1, last layout=-1]
> > 0: /dev/pts/36 13612 14 174/178, 25830 bytes; UTF-8 0/178, 0
> bytes
> >Terminals:
> >xterm [references=1, 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: civis: (string) \033[?25l
> > 6: clear: (string) \033[H\033[2J
> > 7: cnorm: (string) \033[?12l\033[?25h
> > 8: colors: (number) 8
> > 9: csr: (string) \033[%i%p1%d;%p2%dr
> >10: cub: (string) \033[%p1%dD
> >11: cub1: (string) \010
> >12: cud: (string) \033[%p1%dB
> >13: cud1: (string) \012
> >14: cuf: (string) \033[%p1%dC
> >15: cuf1: (string) \033[C
> >16: cup: (string) \033[%i%p1%d;%p2%dH
> >17: cuu: (string) \033[%p1%dA
> >18: cuu1: (string) \033[A
> >19: dch: (string) \033[%p1%dP
> >20: dch1: (string) \033[P
> >21: dim: [missing]
> >22: dl: (string) \033[%p1%dM
> >23: dl1: (string) \033[M
> >24: el: (string) \033[K
> >25: el1: (string) \033[1K
> >26: enacs: [missing]
> >27: home: (string) \033[H
> >28: hpa: (string) \033[%i%p1%dG
> >29: ich: (string) \033[%p1%d@
> >30: ich1: [missing]
> >31: il: (string) \033[%p1%dL
> >32: il1: (string) \033[L
> >33: invis: (string) \033[8m
> >34: is1: [missing]
> >35: is2: (string) \033[!p\033[?3;4l\033[4l\033>
> >36: is3: [missing]
> >37: kcbt: (string) \033[Z
> >38: kcub1: (string) \033OD
> >39: kcud1: (string) \033OB
> >40: kcuf1: (string) \033OC
> >41: kcuu1: (string) \033OA
> >42: kDC: (string) \033[3;2~
> >43: kDC3: [missing]
> >44: kDC4: [missing]
> >45: kDC5: [missing]
> >46: kDC6: [missing]
> >47: kDC7: [missing]
> >48: kdch1: (string) \033[3~
> >49: kDN: (string) \033[1;2B
> >50: kDN3: [missing]
> >51: kDN4: [missing]
> >52: kDN5: (string) \033[1;5B
> >53: kDN6: (string) \033[1;6B
> >54: kDN7: [missing]
> >55: kend: (string) \033OF
> >56: kEND: (string) \033[1;2F
> >57: kEND3: [missing]
> >58: kEND4: [missing]
> >59: kEND5: [missing]
> >60: kEND6: [missing]
> >61: kEND7: [missing]
> >62: kf1: (string) \033OP
> >63: kf10: (string) \033[21~
> >64: kf11: (string) \033[23~
> >65: kf12: (string) \033[24~
> >66: kf13: (string) \033O2P
> >67: kf14: (string) \033O2Q
> >68: kf15: (string) \033O2R
> >69: kf16: (string) \033O2S
> >70: kf17: (string) \033[15;2~
> >71: kf18: (string) \033[17;2~
> >72: kf19: (string) \033[18;2~
> >73: kf2: (string) \033OQ
> >74: kf20: (string) \033[19;2~
> >75: kf3: (string) \033OR
> >76: kf4: (string) \033OS
> >77: kf5: (string) \033[15~
> >78: kf6: (string) \033[17~
> >79: kf7: (string) \033[18~
> >80: kf8: (string) \033[19~
> >81: kf9: (string) \033[20~
> >82: kHOM: (string) \033[1;2H
> >83: kHOM3: [missing]
> >84: kHOM4: [missing]
> >85: kHOM5: [missing]
> >86: kHOM6: [missing]
> >87: kHOM7: [missing]
> >88: khome: (string) \033OH
> >89: kIC: (string) \033[2;2~
> >90: kIC3: [missing]
> >91: kIC4: [missing]
> >92: kIC5: [missing]
> >93: kIC6: [missing]
> >94: kIC7: [missing]
> >95: kich1: (string) \033[2~
> >96: kLFT: (string) \033[1;2D
> >97: kLFT3: [missing]
> >98: kLFT4: [missing]
> >99: kLFT5: (string) \033[1;5D
> >100: kLFT6: (string) \033[1;6D
> >101: kLFT7: [missing]
> >102: kmous: (string) \033[M
> >103: knp: (string) \033[6~
> >104: kNXT: (string) \033[6;2~
> >105: kNXT3: [missing]
> >106: kNXT4: [missing]
> >107: k

My dream: a pointy-clicky tmux frontend

2011-03-23 Thread Joshua Keroes
Imagine a reinvented terminal app.

First, let's use tmux as the backend. Users would get autodetech and the
safety that comes with it automatically. Session moves and dupes also come
free. We have this functionality today if you're clever with your startup
dotfiles. This isn't new.

Merging tmux and a terminal app together into one glorious zombified mutant
is much more interesting.

+ tmux could use app-level hotkeys without fear of stomping on someone else.
Goodbye ctrl-b 4, hello ctrl-4.

+ tmux would get pointy-clicky-draggy-reorderable tabs.

+ tmux would get draggable pane separators.

+ tmux would get moveable panes, too.

+ tmux could potentially get a fancier status bar since it could now use the
host's UI for bells and whistles. Growl and Gnotify come to mind.

+ Right-click could do useful things too. For example, right-clicking on a
tab or pane could display its available actions. Perhaps hovering over tabs
could display thumbnails.

+ Mouse gestures could be leveraged too: the "zoom out" gesture could
display thumbnails of all terminals just like Firefox, Chrome, or OSX.

These are just off the tip of my mind - I'm sure you can imagine plenty of
other places where a left-click or a right-click could help rather than
hinder.

Yes, I love my keyboard. Mice do have their place and can definitely help
tmux out. Contextual help and actions would make tmux management simpler for
those who don't want to open up the help page every time an infrequent task
pops up.

I asked the other half of this question on the iterm2 mailing list ("Wanna
zombify iterm2's brain with tmux?). George Nachman's already started working
on an API. He wrote:

> This is also my dream. I wrote a design doc, here:
http://tinyurl.com/6cm5pd9 [docs.google]
>
> The tmux maintainer expressed interest but I think he didn't have time to
do all the work required.
> If there are any talented C hackers out there who want to help out, this
is a big project that needs
> doing, and it will earn you a place in heaven.


-Joshua
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: My dream: a pointy-clicky tmux frontend

2011-03-23 Thread Nicholas Marriott
Yep this is a cool idea and I am happy but that George wrote up the
design doc but I haven't had time up to now although I did some basic
work and yes if anyone is interested in carrying on then let me know and
I will have time to give help if necessary.

Many of the changes are relatively simple. The key problem point is that
we need to be able to redirect the tmux output so that instead of or as
well as, for example, writing to a terminal in xterm format (dictated by
TERM=xterm) it can suitable format and send that output to ssh. This may
be as simple as added a callback hook or two into the tty code and a
fake tty struct instance for clients which need to do this, or it may be
more complex. Or possibly it might be better to do it in the screen or
grid code in some terminal-independent format.

I recently had a discussion with someone about another sort of
long-range idea: making tmux more network aware. This had some similar
themes - allowing the sessions and windows in a tmux server to be
controlled externally, in this case by another tmux server on another
host. A lot of the work that was in this design would probably make that
easier or at least help to work out the possibilites more fully.

Of course if there are any talented C hackers out there who want
something to do, there are plenty of other ideas. Recently I
particularly liked the one in this mail:

http://www.mail-archive.com/tmux-users@lists.sourceforge.net/msg01248.html

Which is quite simple but could make list-* commands so much more
flexible.


On Wed, Mar 23, 2011 at 05:34:05PM -0700, Joshua Keroes wrote:
>Imagine a reinvented terminal app.
>First, let's use tmux as the backend. Users would get autodetech and the
>safety that comes with it automatically. Session moves and dupes also come
>free.�We have this functionality today if you're clever with your startup
>dotfiles. This isn't new.
>Merging tmux and a terminal app together into one glorious zombified
>mutant is much more interesting.�
>+ tmux could use app-level hotkeys without fear of stomping on someone
>else. Goodbye ctrl-b 4, hello ctrl-4.
>+ tmux would get pointy-clicky-draggy-reorderable tabs.
>+ tmux would get draggable pane separators.
>+ tmux would get moveable panes, too.
>+ tmux could potentially get a fancier status bar since it could now use
>the host's UI for bells and whistles. Growl and Gnotify come to mind.
>+ Right-click could do useful things too. For example, right-clicking on a
>tab or pane could display its available actions. Perhaps hovering over
>tabs could display thumbnails.�
>+ Mouse gestures could be leveraged too: the "zoom out" gesture could
>display thumbnails of all terminals just like Firefox, Chrome, or OSX.
>These are just off the tip of my mind - I'm sure you can imagine plenty of
>other places where a left-click or a right-click could help rather than
>hinder.
>Yes, I love my keyboard. Mice do have their place and can definitely help
>tmux out. Contextual help and actions would make tmux management simpler
>for those who don't want to open up the help page every time an infrequent
>task pops up.
>I asked the other half of this question on the iterm2 mailing list ("Wanna
>zombify iterm2's brain with tmux?). George Nachman's already started
>working on an API. He wrote:
>> This is also my dream. I wrote a design doc,
>here:�[1]http://tinyurl.com/6cm5pd9�[docs.google]
>>�
>> The tmux maintainer expressed interest but I think he didn't have time
>to do all the work required.�
>> If there are any talented C hackers out there who want to help out, this
>is a big project that needs
>> doing, and it will earn you a place in heaven.
>-Joshua
> 
> References
> 
>Visible links
>1. http://tinyurl.com/6cm5pd9

> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar

> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.s

Re: Patch for wrapping wide chars

2011-03-23 Thread Nicholas Marriott
This makes sense to me although it is uglying (uglifying?) things up
even further :-).

Don't really have time to clean up that code and I'd probably only break
it again so let's go for this in the meantime?

Sorry it took so long...

I'm away again and not back for good until Sunday.

Cheers


On Fri, Mar 04, 2011 at 05:57:46PM -0800, Micah Cowan wrote:
> Hey Nicholas, please check this over for me.
> 
> This patch is intended to fix the wide-chars wrapping thing. I've
> attached a simple script to illustrate the problem, and a patch.
> 
> The patch is two parts: one is to let wrapping occur when the final wide
> character "overlaps" the end of the line; the other is to make sure that
> character actually gets placed at the correct location (first position
> of the _pane_ - wasn't working if the pane wasn't on the left).
> 
> I don't know this code all that terrifically well, so please look it
> over to make sure it makes sense.
> 
> -- 
> Micah J. Cowan
> http://micah.cowan.name/


> #msg='?? ??'
> msg='???'
> 
> chr=.
> 
> foo() {
> echo $msg$msg$msg$msg$msg$chr$msg$msg
> }
> 
> foo
> echo
> printf ' '; foo
> echo
> foo
> echo
> printf ' '; foo

> --
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d

> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users