[Patch] Small typo fix in manpage

2010-01-27 Thread Micah Cowan
Index: tmux.1 === --- tmux.1.orig +++ tmux.1 @@ -578,7 +578,7 @@ and .Em emacs-choice for keys used when choosing from lists (such as produced by the -.Ic window-choose +.Ic choose-window command) or in output mode; and .Em vi-co

Re: Discovery re auto-titling and status-line formatting

2010-01-27 Thread Micah Cowan
Micah Cowan wrote: > So, I recently discovered that if automatic window-renaming is on > (default), it's possible for a program's name to influence how the > window is rendered in the status bar[...] Here's a slightly more easily-extensible version of that program, written in Python (2.6 or higher

Setting screen-256color automatically

2010-01-27 Thread Micah Cowan
I added the following line in my .tmux.conf: if 'test "$(tput colors)" = "256"' 'set -g default-terminal screen-256color' (all on one line, in the conf file) I tested it, it worked, I'm done. Or so I thought. The behavior I actually experience is, to me at least, very very odd. Sometimes (about

Re: [Patch] status-drawing crash

2010-01-27 Thread Nicholas Marriott
Ah yeah it assumes that if the cellsizes match they are also the same as sx, which they don't have to be. It should be fixed to use cellsize probably, since if they are the same there isn't any point in checking further. On Wed, Jan 27, 2010 at 12:38:08PM -0800, Micah Cowan wrote: > Nicholas Marr

Re: [Patch] status-drawing crash

2010-01-27 Thread Micah Cowan
Nicholas Marriott wrote: >> Bad memory accesses occurs when we get to the call to grid_compare() >> after the "out:" label. Inside grid_compare(), the inner loop assumes >> that both grids use their entire horizontal space on each line. > > Hmm. It explicitly checks they are the same size (gla->ce

Re: [Patch] status-drawing crash

2010-01-27 Thread Nicholas Marriott
Committed, thanks. On Mon, Jan 25, 2010 at 07:34:02PM -0800, Micah Cowan wrote: > I found a bug that can cause the status bar to crash when the > window-list fills up. It only manifests when status-left is empty. > > The cause was a one-off in status.c. During calculation of how much > space wil

Re: [Patch] vi-copy word-movement improvements

2010-01-27 Thread Nicholas Marriott
I've committed the e diff, I'll look at the other one later on. On Mon, Jan 25, 2010 at 11:09:44PM -0800, Micah Cowan wrote: > New version of the patch. It's now split into two separate diffs, and > meant to apply after your reworking of window_copy_cursor_next_word > (which isn't in Sourceforge

Re: [Patch] status-drawing crash

2010-01-27 Thread Nicholas Marriott
On Mon, Jan 25, 2010 at 07:34:02PM -0800, Micah Cowan wrote: > I found a bug that can cause the status bar to crash when the > window-list fills up. It only manifests when status-left is empty. > > The cause was a one-off in status.c. During calculation of how much > space will be available to the

Re: Couple of issues from tmux vs screen

2010-01-27 Thread Levesque, Jean-Yves
On Wed, Jan 27, 2010 at 12:33, Micah Cowan wrote: > Nicholas Marriott wrote: > > On Wed, Jan 27, 2010 at 10:05:14AM -0500, Levesque, Jean-Yves wrote: > >>All, > >> > >>first post. I did not find the answer to my questions ion the web. > >>I am starting to use tmux and I like it so far

Re: Couple of issues from tmux vs screen

2010-01-27 Thread Micah Cowan
Nicholas Marriott wrote: > On Wed, Jan 27, 2010 at 10:05:14AM -0500, Levesque, Jean-Yves wrote: >>All, >> >>first post. I did not find the answer to my questions ion the web. >>I am starting to use tmux and I like it so far. However there are two >>small issues that keep me from lea

Re: Couple of issues from tmux vs screen

2010-01-27 Thread Nicholas Marriott
On Wed, Jan 27, 2010 at 10:05:14AM -0500, Levesque, Jean-Yves wrote: >All, > >first post. I did not find the answer to my questions ion the web. >I am starting to use tmux and I like it so far. However there are two >small issues that keep me from leaving screen yet. > >- The b

Couple of issues from tmux vs screen

2010-01-27 Thread Levesque, Jean-Yves
All, first post. I did not find the answer to my questions ion the web. I am starting to use tmux and I like it so far. However there are two small issues that keep me from leaving screen yet. - The bash prompt withing tmux does not change when I change directories. This works outside tmux and