Re: new web site opens new tab/page for every link

2015-06-04 Thread Nicholas Marriott
Works fine for me. On Thu, Jun 04, 2015 at 01:13:09PM -0400, Helmut K. C. Tessarek wrote: > I'm not sure, if this was intended, but on the new web site, every time you > click on a link a new tab is opened. > > Cheers, > K. C. > > -- > regards Helmut K. C. Tessarek > lookup http://sks.pkqs.n

Re: git repo

2015-06-03 Thread Nicholas Marriott
On Wed, Jun 03, 2015 at 05:02:39PM -0700, Suraj N. Kurapati wrote: > On Thu, 4 Jun 2015 00:54:42 +0100, Nicholas Marriott wrote: > > I've moved the git repo to: https://github.com/tmux/tmux > > Hurray! Thank you for accepting this much requested change! :) > > Will p

git repo

2015-06-03 Thread Nicholas Marriott
I've moved the git repo to: https://github.com/tmux/tmux The old one will be deleted soon. -- ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sou

moving mailing lists

2015-06-03 Thread Nicholas Marriott
Hi all I'm moving the mailing lists to Google Groups: tmux-users to tmux-us...@googlegroups.com tmux-cvs to tmux-...@googlegroups.com Subscribe by mailing: tmux-users+subscr...@googlegroups.com tmux-git+subscr...@googlegroups.com I'll delete the SF mailing lists in a few days s

Re: 379400c broke status-right #(interpolation)

2015-05-29 Thread Nicholas Marriott
Hi This commit changed status stuff to go directly to formats rather than having an intermediate step (we have been working towards this for a while in small increments). Part of that change was to not include the output if the job failed, instead to print the return value (the "' probably). I th

Re: Bring back choose-list

2015-05-29 Thread Nicholas Marriott
Hi It did not fit either with the purpose of tmux itself or with the (less fragmented, more consolidated) direction we have been taking choose mode. I would like to see this taken further again and make choose-tree/buffer/client less customizable but more powerful, which will probably happen when

Re: The Error in Tmux's compile

2015-05-29 Thread Nicholas Marriott
Hi Either you don't have libevent installed or your libevent install is messed up. On Fri, May 29, 2015 at 10:28:20AM +0800, 1964882...@qq.com wrote: >Hi all: >i meet a error when compileing tmux-1.9a >i only hava gcc 4.4, i can't update it beacuse i have no permissions for >it;

Re: [RFC] config options - considering the possibility multiple status lines

2015-05-25 Thread Nicholas Marriott
I think I'd make it so you could add a number to the end of the required options, so status-left-0, status-left-1, etc. No number could be the same as 0. On Mon, May 25, 2015 at 09:57:26AM +0930, Daniel Cotton wrote: > I've been toying with the idea of adding the ability to have multiple > status

Re: Bug report: Mouse click on right pane when left pane focused doesn't change focus

2015-05-24 Thread Nicholas Marriott
Are you sure you don't need mouse-utf8 turned on? Does it work if you make your terminal smaller? On Sat, May 23, 2015 at 09:27:59PM +, Robert Irelan wrote: >Subject: Mouse click on right pane when left pane focused doesn't >change focus >Ever since I've started running tmux 2.1

Re: tmux 2.0 lags when creating or splitting windows

2015-05-22 Thread Nicholas Marriott
More likely something in your tcsh profiles or the system ones Original message From: alphachi Date:22/05/2015 17:11 (GMT+00:00) To: Nicholas Marriott Cc: "list: tmux" Subject: Re: tmux 2.0 lags when creating or splitting windows OK, I created a new user

Re: tmux 2.0 lags when creating or splitting windows

2015-05-22 Thread Nicholas Marriott
Hi If you create a new user without the default profiles etc, does it lag too? On Fri, May 22, 2015 at 03:39:15PM +0800, alphachi wrote: >Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0, >libevent2 2.0.22_1 > >When starting tmux in uxterm, I have to wait about

Re: Regression with set-titles-string in 2.0?

2015-05-21 Thread Nicholas Marriott
On Thu, May 21, 2015 at 11:55:42AM +0100, Nicholas Marriott wrote: > I think that all the status jobs stuff needs to be moved into formats, > but it needs a bit of thinking. Something like this: Index: cmd-refresh-client.c =

Re: Regression with set-titles-string in 2.0?

2015-05-21 Thread Nicholas Marriott
I think that all the status jobs stuff needs to be moved into formats, but it needs a bit of thinking. At the moment the jobs are run every status-interval with the last two complete sets of output kept. For formats it's a bit more fiddly because we could have many formats coming from different p

Re: Tmux 1.8 cored on Solaris while selecting in pane

2015-05-21 Thread Nicholas Marriott
Hi IIRC this is a bug in Solaris libcurses. I think when we found it before someone reported it to whoever owned Solaris at the time and they said they weren't going to fix it. I suggest you just turn off set-clipboard. On Thu, May 21, 2015 at 10:06:28AM +0200, Martin ??eh??k wrote: > Hello, >

Re: Need help with debugging tmux crash

2015-05-19 Thread Nicholas Marriott
; ground >input_parse: 'S' ground >input_parse: 'E' ground >input_parse: '|' ground >input_parse: ' ' ground >input_parse: ' ' ground >input_parse: ' ' ground >input_parse: ' '

Re: Need help with debugging tmux crash

2015-05-19 Thread Nicholas Marriott
Hi You could run with -vvv and see if there is anything in the logs. Make sure cores aren't turned off (ulimit -c). But it may be fixed in later versions anyway. On Mon, May 18, 2015 at 11:33:11AM +0530, Ankit Sharda wrote: >Hello, > >We have a CentOS 6.5 server that we use as a deve

Re: [PATCH] Use wcwidth(1) to calculate character width

2015-05-18 Thread Nicholas Marriott
1]http://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt . >"A" means ambiguous width as described in >[2]http://www.unicode.org/reports/tr11/#Definitions . >Kohei Suzuki >[3]eagle...@gmail.com >2015-05-18 23:16 GMT+09:00 Nicholas Marriott ><[4]nicho

Re: [PATCH] Use wcwidth(1) to calculate character width

2015-05-18 Thread Nicholas Marriott
us width characters? >It is set to 1 by default, and users can set it to 2 by `set-option >ambiguous-width 2` . >Is it acceptable? >Kohei Suzuki >[1]eagle...@gmail.com > 2015-05-18 2:08 GMT+09:00 Nicholas Marriott ><[2]nicholas.marri...@gmail.co

Re: [PATCH] Use wcwidth(1) to calculate character width

2015-05-17 Thread Nicholas Marriott
Hi We can't do this because tmux must know the width of the UTF-8 character but the locale may not be UTF-8. On Mon, May 18, 2015 at 01:59:11AM +0900, Kohei Suzuki wrote: >Several characters' width are depending on locale. They're called East >Asian Width. For instance, U+03B1 (GREEK SM

Re: [PATCH] configure: Use silent rules (reduced CC output)

2015-05-17 Thread Nicholas Marriott
No thanks, this makes build logs much more useless. On Sun, May 17, 2015 at 04:12:59AM +0100, Thomas Adam wrote: > As of automake-1.11, it's now possible to tell automake that the compiler > output is "hidden", producing output almost identical to compiling on > OpenBSD. The effects of this are

Re: Bell on "background" window only

2015-05-12 Thread Nicholas Marriott
Try this please to add bell-action other for bell in not current window. I don't think we want an option to alter the visual bell message, I don't think bells are used that much. You could probably script changing the title by looking at window_bell_flag (or tmux showmsgs). Index: options-table

Re: tmux "using" removable media? Why & how to stop it.

2015-05-11 Thread Nicholas Marriott
Probably either a session or window was created with the working directory inside the removable media. You can change session wd with attach -c, windows you will need to kill. On Mon, May 11, 2015 at 12:54:23AM -0700, Porcelain Mouse wrote: > Dear TMUX Users, > > Has anyone else observed this?

Re: Is there a way to switch between panes while keeping the pane zoomed?

2015-05-10 Thread Nicholas Marriott
Something like: tmux bind if -F '#{window_zoomed}' 'selectp -t:.+; resizep -Z' 'selectp -t:.+' You'll need a recent tmux. On Sat, May 09, 2015 at 02:39:38PM -0400, Steven Lu wrote: >I hadn't had a need for this until now where I am setting up my iPhone for >doing work inside tmux from e

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-09 Thread Nicholas Marriott
... > > input_parse is logging what tmux receives from the terminal, in this > case it is "cat" printing "^[^[[D". > > So the additional ^[ was sent to the terminal, and cat echoed it. When I say terminal here I mean the pty inside tmux pane of course, not the terminal emulator outside tmux. -

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-09 Thread Nicholas Marriott
On Sat, May 09, 2015 at 11:38:09AM +0200, Leonardo Brondani Schenkel wrote: > On 07/05/2015 13:48, Nicholas Marriott wrote: > > +tmux-users > > > > > > On Thu, May 07, 2015 at 10:01:03AM +0100, Nicholas Marriott wrote: > >> Hi > >> > >> Wel

Re: [PATCH] Update environment when switching sessions

2015-05-07 Thread Nicholas Marriott
Applied to OpenBSD now, will be in SF at next sync up. Thanks! On Wed, Apr 01, 2015 at 11:00:43AM +0100, Si Beaumont wrote: > On Wed, 01 Apr 2015 at 01:24, Thomas Adam wrote: > > On Tue, Mar 31, 2015 at 08:56:15AM +0100, Si Beaumont wrote: > > > + update = options_get_string(&glob

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-07 Thread Nicholas Marriott
+tmux-users On Thu, May 07, 2015 at 10:01:03AM +0100, Nicholas Marriott wrote: > Hi > > Well that explains it, since you have kLFT3=\Eb tmux will send M-Left > instead of M-b for \Eb (and Option+Left since your terminal sends \Eb > for that too). > > > > On Thu,

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-07 Thread Nicholas Marriott
Hi "new key ^[b: 0x301f (M-Left)" Are you sure your tmux is unmodified? Did you use "infocmp -x" when dumping the terminfo entries you sent? If not, try "infocmp -x nsterm" and look for kLFT3. On Thu, May 07, 2015 at 09:43:15AM +0200, Leonardo Brondani Schenkel wrote: > On 07/05/15 00:31, Thom

Re: display-panes missing pane size when status-position == top

2015-05-07 Thread Nicholas Marriott
Thanks. I made a slightly different change which passes the flag in from screen_redraw_draw_panes. Shows how many people use the status line at the top... On Thu, May 07, 2015 at 03:14:30AM +, John O'Meara wrote: >I noticed today that when status-position is set to top and the >disp

Re: change pane problem

2015-05-07 Thread Nicholas Marriott
Hi Bind the keys without -r. On Thu, May 07, 2015 at 11:07:01AM +0800, Cody Chan wrote: > Hi, all tmux users, I have a problem, when I'm using > prefix+M-left/right/down/up to change pane, if I keep hitting > left/right/down/up without the prefix after one combination of prefix > and the M-arrow,

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-06 Thread Nicholas Marriott
Yes of course, sorry. On Wed, May 06, 2015 at 11:31:51PM +0100, Thomas Adam wrote: > On 6 May 2015 at 22:42, Nicholas Marriott wrote: > > Hmm weird. > > > > There is nothing in the nsterm terminfo to make tmux think that M-b is > > actually M-Left. > > > >

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-06 Thread Nicholas Marriott
ed, May 06, 2015 at 09:09:22PM +0200, Leonardo Brondani Schenkel wrote: > On 06/05/2015 20:49, Nicholas Marriott wrote: > > Are you sure it is \[b not \[[b? > > Positive. Just double checked via cat: ^[b. In Terminal.app preferences > it's shown as \033b. > > > >

Re: freebsd install from git source

2015-05-06 Thread Nicholas Marriott
Do you have libtool installed? If so then your autoconf is probably either too old or too new. Original message From: jungle Boogie Date:06/05/2015 21:04 (GMT+00:00) To: tmux-users Subject: freebsd install from git source Hello All, I grabbed tmux git repo, cd to its d

Re: How to access session environment variable from running window

2015-05-06 Thread Nicholas Marriott
tmux can't affect variables in panes that already contain a running process. The only way is to set them yourself (perhaps by getting the values from tmux getenv). Original message From: Enrico Ghirardi Date:06/05/2015 16:31 (GMT+00:00) To: tmux-users Subject: How to acc

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-06 Thread Nicholas Marriott
Are you sure it is \[b not \[[b? Original message From: Leonardo Brondani Schenkel Date:06/05/2015 16:50 (GMT+00:00) To: Nicholas Marriott Cc: tmux-users@lists.sourceforge.net Subject: Re: Q: tmux sending different key escape codes for Option+Left/Right depending on

Re: How to switch window without loading the shell init?

2015-05-06 Thread Nicholas Marriott
if ( -e ~/.alias) then >* * * * source ~/.alias >endif >But it looks like that .alias is still getting loaded on doing >split-window. > >Also from man tcsh, I don't think that tcsh has anything like a "profile" > setup that bash has. >

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-06 Thread Nicholas Marriott
Hi What does the terminal actually send outside tmux for Option+Left? You should be able to see by running "cat" and then pressing the keys. On Wed, May 06, 2015 at 04:59:12PM +0200, Leonardo Brondani Schenkel wrote: > Hello, > > I'm using tmux 1.9a in Terminal.app 343.7 (OS X 10.10). I notic

Re: How to switch window without loading the shell init?

2015-05-06 Thread Nicholas Marriott
Most shells have a way to specify different init files for interactive and noninteractive shells (such as setting ENV in .profile for ksh). Or if you're using a sh-like shell you could do something like this in the profile: case "$-" in *i*) export SHELL_CONFIG_LOADED=1 ;; esac

Re: [PATCH] Window reference printable flag/format option

2015-05-06 Thread Nicholas Marriott
le_flags(struct session *s flags[pos++] = '-'; if (wl->window->flags & WINDOW_ZOOMED) flags[pos++] = 'Z'; - if (pos == 0) - flags[pos++] = ' '; flags[pos] = '\0'; return (xstrdup(flags));

Re: Patch to add "exit copy mode when scrolling past bottom" + option

2015-05-03 Thread Nicholas Marriott
scroll_region_* are for something else (the scroll region). This would need a new format. Which would be a reasonable solution. On Sun, May 03, 2015 at 04:26:18PM +0200, Enrico Ghirardi wrote: > On Sun, May 3, 2015 at 1:28 AM, Thomas Adam wrote: > > I haven't tested this, but I don't think this

Re: [PATCH] Window reference printable flag/format option

2015-05-03 Thread Nicholas Marriott
Hi format_defaults_window can't rely on ft->s being set. Perhaps you want to put it in format_defaults_winlink, although check if that always has the session. I don't think it's good that every window in a grouped session should suddenly grow a +. Possibly you should just add the format and then

Re: nvim colorscheme in tmux-4 screenshot

2015-05-01 Thread Nicholas Marriott
It is nvim, Thomas was looking at the old screenshot or something. I don't know what the colour scheme is, it came from someone called mhi^ on #tmux on IRC. On Thu, Apr 30, 2015 at 09:58:31AM -0700, Suraj N. Kurapati wrote: > On Thu, 30 Apr 2015 15:58:12 +0100, Thomas Adam wrote: > > On Wed, Apr

Re: Mouse-using applications inside tmux, in wide terminals

2015-05-01 Thread Nicholas Marriott
Probably you need to either set mouse-utf8 or use a terminal which supports SGR mouse mode. On Thu, Apr 30, 2015 at 07:39:01PM -0500, Elliott Cable wrote: > So, I can use the mouse to adjust `tmux` panes in Terminals wider than > 223 characters (I'm not sure *how*, as theoretically the xterm > se

Re: [PATCH] Hide cursor while drawing borders

2015-04-30 Thread Nicholas Marriott
Hi We should do it for all redraw functions. Does this work instead? Also fixes tty_draw_line. Index: server-client.c === RCS file: /cvs/src/usr.bin/tmux/server-client.c,v retrieving revision 1.136 diff -u -p -r1.136 server-client.c

Re: running a bash function from with in tmux.

2015-04-30 Thread Nicholas Marriott
Put it in a shell script and run that? On Thu, Apr 30, 2015 at 07:06:57AM +0530, Sinbad wrote: >can anyone shed some light on this. >On Wed, Apr 29, 2015 at 7:06 PM, Sinbad <[1]sinbad.sin...@gmail.com> >wrote: > > Hi, > I have a user defined bash function which takes one st

Re: [PATCH] Adding incremental search and search highlighting

2015-04-29 Thread Nicholas Marriott
Ok, is this good to go? On Wed, Apr 22, 2015 at 12:36:14AM +0100, Nicholas Marriott wrote: > Hi > > I made a few changes to your first diff, please take a look. Notably: > > - update to latest git > - renamed some functions and variables to be shorter > - split window_

Re: Tmux control mode shrinks sessions, quits when attach -d

2015-04-29 Thread Nicholas Marriott
It's just another client. You can set the size somehow. switch-client -C maybe, or something with -C anyway Original message From: Tony Narlock Date:29/04/2015 20:14 (GMT+00:00) To: tmux-users Subject: Tmux control mode shrinks sessions, quits when attach -d Tmux 1.9, D

Re: crash when using tmux-resurrect

2015-04-29 Thread Nicholas Marriott
This is probably fixed already in OpenBSD, you can try this: --- cmd-find.c Tue Apr 28 10:36:13 2015 +++ /usr/src/usr.bin/tmux/cmd-find.cWed Apr 29 00:05:40 2015 @@ -242,10 +243,13 @@ cmd_find_current_session_with_client(struct cmd_find_s struct window_pane *wp; /* If t

Re: Interfacing with tmux through other languages without shell commands? Libevent? Shared libraries?

2015-04-29 Thread Nicholas Marriott
Hi You can use tmux control mode. On Wed, Apr 29, 2015 at 10:19:48AM -0500, Tony Narlock wrote: >Greetings, >I notice that tmux uses libevent. I maintain a project for interfacing >with tmux through Python.** It's pretty robust, essentially it lets you >control tmux servers, sess

Re: [PATCH] Don't segfault on NULL tty.path

2015-04-28 Thread Nicholas Marriott
Actually I think I already fixed this? On Tue, Apr 28, 2015 at 04:58:51PM +0100, Thomas Adam wrote: > When checking a client's tty path, don't segfault if it's NULL. > --- > cmd-find.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/cmd-find.c b/cmd-find.c > index fab3849..3ac9936 100

Re: [PATCH] Don't segfault on NULL tty.path

2015-04-28 Thread Nicholas Marriott
I don't think we should enter this function at all in that case, or perhaps just not do the loop Original message From: Thomas Adam Date:28/04/2015 16:58 (GMT+00:00) To: tmux-users@lists.sourceforge.net Cc: Thomas Adam Subject: [PATCH] Don't segfault on NULL tty.path W

Re: [PATCH] Workaround to avoid unzoom when clicking into a zoomed pane, for dragging and copying

2015-04-27 Thread Nicholas Marriott
Applied to OpenBSD, will be in SF at the next sync. Thanks! On Sun, Apr 26, 2015 at 11:15:54PM +0200, Jose Antonio Delgado Alfonso wrote: > This works for me. > > Thanks. > > On 26/04/15 22:14, Nicholas Marriott wrote: > > Please try this instead: > > &

Re: [PATCH] Workaround to avoid unzoom when clicking into a zoomed pane, for dragging and copying

2015-04-26 Thread Nicholas Marriott
Please try this instead: Index: cmd-select-pane.c === RCS file: /cvs/src/usr.bin/tmux/cmd-select-pane.c,v retrieving revision 1.21 diff -u -p -r1.21 cmd-select-pane.c --- cmd-select-pane.c 19 Apr 2015 21:05:27 - 1.21 +++ cm

Re: per-pane status line (similar to ticket 21)

2015-04-25 Thread Nicholas Marriott
r 2015 18:33:59 - 1.501 +++ tmux.h 25 Apr 2015 21:03:19 - @@ -936,6 +936,9 @@ struct window_pane { struct screen *screen; struct screenbase; + struct screenstatus_screen; + size_t status_size; + /* Saved in alternative scre

Re: per-pane status line (similar to ticket 21)

2015-04-25 Thread Nicholas Marriott
Hi I like the other diff a bit more than yours so I think I will go with it, does it meet your needs too, or any comments? On Mon, Apr 20, 2015 at 09:02:52AM -0400, John O'Meara wrote: >Hi list, > >I had made a patch for myself to add a per-pane status bar a few weeks >ago, and saw

Re: [PATCH] Adding incremental search and search highlighting

2015-04-21 Thread Nicholas Marriott
kas >2014-11-01 0:35 GMT+00:00 **ukasz Pi**tkowski ><[1]lukaspiatkow...@gmail.com>: > > Hi Felix, > > I didn't have time to work on this, last few months were really busy. I > will try to rebase my changes on top of current revision and

Re: [PATCH] Give descriptive message when no sessions present

2015-04-21 Thread Nicholas Marriott
tmux. Just felt that >the error message should be more descriptive explaining the most common >reason for connection being refused. > > On Apr 15, 2015 8:33 PM, "Nicholas Marriott" ><[1]nicholas.marri...@gmail.com> wrote: > > We could change

Re: [PATCH] Allow custom key tables for e.g. multiple keystroke?bindings.

2015-04-20 Thread Nicholas Marriott
I applied this to OpenBSD now; it'll be in SF later sometime. On Mon, Apr 13, 2015 at 03:21:52PM +, Ross Hadden wrote: > Keith Amling palantir.com> writes: > > > > > > > > Or are you thinking of creating the table after running the set > command? > > > > > This shouldn't work - you should

Re: per-pane status line (similar to ticket 21)

2015-04-20 Thread Nicholas Marriott
Here is the diff I have been sitting on for ages, mostly written by Jonathan Slenders. I remembered it only doing top status lines but in fact it does both. IIRC there are still some issues, particularly with the mouse. I expect you will need to wait until SourceForge is synced from OpenBSD befor

Re: per-pane status line (similar to ticket 21)

2015-04-20 Thread Nicholas Marriott
Thanks I will take a look at this at some point (possibly not soon though!). On Mon, Apr 20, 2015 at 09:02:52AM -0400, John O'Meara wrote: >Hi list, > >I had made a patch for myself to add a per-pane status bar a few weeks >ago, and saw yesterday that there was a ticket open for a si

Re: [patch] Make jump-to keys repeat correctly

2015-04-20 Thread Nicholas Marriott
Applied to OpenBSD now, thanks, will be in SF at next sync. On Sun, Apr 19, 2015 at 03:21:21PM -0700, Jacob Niehus wrote: > This patch implements the changes described in my pull request here: > https://sourceforge.net/p/tmux/tmux-code/merge-requests/13/ > > In summary, it makes 'T' and 't' repea

Re: [PATCH] Allow custom key tables for e.g. multiple keystroke?bindings.

2015-04-19 Thread Nicholas Marriott
It needs a bit of love again after the mouse keys stuff that just went in so it may not be for a while... On Sun, Apr 19, 2015 at 10:45:38PM +0100, Nicholas Marriott wrote: > We don't need a merge request, I'll commit it when I'm happy with it. Thanks > > > On Sun,

Re: patch for setting pane background color

2015-04-19 Thread Nicholas Marriott
I've applied this to OpenBSD now, thanks! On Thu, Apr 16, 2015 at 09:59:49PM -0500, J Raynor wrote: > > I like this, don't see any other problems so far. > > I applied your patch and looked it over. I don't see any problems, either. -

Re: [PATCH] Allow custom key tables for e.g. multiple keystroke?bindings.

2015-04-19 Thread Nicholas Marriott
h someone else's hard work!** >Your name should be on this. >Thanks, >~Ross > On Mon, Apr 13, 2015 at 5:30 PM Nicholas Marriott ><[1]nicholas.marri...@gmail.com> wrote: > > Here's the latest diff. > > It actually seems to work fi

Re: patch for setting pane background color

2015-04-15 Thread Nicholas Marriott
gc->flags & GRID_FLAG_FG256)) { + gc->fg = pgc->fg; + gc->flags |= (pgc->flags & GRID_FLAG_FG256); + } else if (wp == wp->window->active && + (agc->fg != 8 || (agc->flags & GRID_FLA

Re: Negative length limit?

2015-04-15 Thread Nicholas Marriott
in a safe way with UTF-8 (like utf8_trimcstr does for start of string). The short form #24T is no longer supported. On Wed, Apr 15, 2015 at 05:54:57PM +0200, Cejka Rudolf wrote: > Nicholas Marriott wrote (2015/04/14): > > Don't see a problem with this, can you add a line to t

Re: [PATCH] Give descriptive message when no sessions present

2015-04-15 Thread Nicholas Marriott
error message should be more descriptive explaining the most common >reason for connection being refused. > >On Apr 15, 2015 8:33 PM, "Nicholas Marriott" ><[1]nicholas.marri...@gmail.com> wrote: > > We could change it to something like "couldn

Re: [PATCH] Give descriptive message when no sessions present

2015-04-15 Thread Nicholas Marriott
s you think that >there is something wrong with the connection. > >If it's not possible to patch the code, maybe atleast an entry can be >added at the end of the manpage detailing that "Connection Refused" most >probably means sessions are not present.

Re: [PATCH] Give descriptive message when no sessions present

2015-04-15 Thread Nicholas Marriott
Hi I think the current message is fine. We describe what is meant by "server" in the first few paragraphs of the man page. On Wed, Apr 15, 2015 at 08:06:58PM +0530, Karthik K wrote: > --- > client.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/client.c

Re: [tmux:tickets] #186 Moving tmux repo to Github

2015-04-15 Thread Nicholas Marriott
We don;t click our fingers and it moves, there are lots of things to consider, it will take work and there needs to be good reasons. On Wed, Apr 15, 2015 at 10:42:26AM +0200, Roberto wrote: >I agree 100% with this. >On Tue, Apr 14, 2015 at 9:40 PM, Karthik <[1]hash...@users.sf.net> wrote:

Re: Negative length limit?

2015-04-14 Thread Nicholas Marriott
Don't see a problem with this, can you add a line to the manpage too? On Fri, Apr 10, 2015 at 07:00:03PM +0200, Cejka Rudolf wrote: > Hello, > would it be possible to allow negative length limit in format > specification? For example, #{=10:pane_title} include first 10 > characters, while #{=-1

Re: [PATCH] Allow custom key tables for e.g. multiple keystroke?bindings.

2015-04-13 Thread Nicholas Marriott
Here's the latest diff. It actually seems to work fine, although I haven't done a lot of testing. IIRC I wasn't wild about the cmd-list-keys.c and cmd-bind-key.c changes; certainly lsk -T should error on an unknown table, same as bind -T. I think the manpage bits could do with some improvement to

Re: [PATCH] Allow custom key tables for e.g. multiple keystroke bindings.

2015-04-13 Thread Nicholas Marriott
I made a load of changes and sent them to the author but he didn't respond and I haven't had time to pick it up again. I'll send the latest to you when I get home if you want to continue with it. IIRC it was pretty much done just needed testing and maybe man page... Original message --

Re: [PATCH] Update environment when switching sessions

2015-04-13 Thread Nicholas Marriott
probably, thanks. it looks ok but i'm not sure if it is a good idea On Mon, Apr 13, 2015 at 09:13:29AM +0100, Si Beaumont wrote: > On Wed, 01 Apr 2015 at 11:00, Si Beaumont wrote: > > On Wed, 01 Apr 2015 at 01:24, Thomas Adam wrote: > > > On Tue, Mar 31, 2015 at 08:56:15AM +0100, Si Beaumont wrot

Re: patch for setting pane background color

2015-04-12 Thread Nicholas Marriott
On Sun, Apr 12, 2015 at 07:25:43PM -0500, J Raynor wrote: > This line in the patch for tmux.1 looks wrong: > > +.Fl P ). > > I think there has to be a space between the parenthesis and the > period. Without it, the parenthesis gets treated as a flag and a dash > is put before it. Whoops, yes, I

Re: patch for setting pane background color

2015-04-11 Thread Nicholas Marriott
On Sat, Apr 11, 2015 at 12:57:00AM -0500, J Raynor wrote: > > On thing that occurred to me now is that display-panes uses a > > target-client but this diff makes it need a target-pane sometimes which > > is an issue for hooks command parsing. Not sure if we can workaround it > > easily enough with

Re: patch for bug in window_copy_append_selection

2015-04-07 Thread Nicholas Marriott
cool, applied, thanks On Sun, Apr 05, 2015 at 12:47:14AM -0500, J Raynor wrote: > Yes, this fixes it. > > On Tue, Mar 31, 2015 at 12:51 PM, Nicholas Marriott > wrote: > > Hi > > > > Would this fix it i

Re: patch for setting pane background color

2015-04-01 Thread Nicholas Marriott
Hi This looks good. I've made a few changes, notably adding a tty_draw_pane wrapper around tty_draw_line since it is mostly called with wp->screen. Also I think there is no reason -g and -P can't be used together. We'll need both these diffs together or it won't work in tmux itself so I've put t

Re: [PATCH] Add format for reading session activity

2015-03-31 Thread Nicholas Marriott
Applied to OpenBSD now, thanks On Fri, Feb 27, 2015 at 04:40:07PM +0900, Takatoshi Matsumoto wrote: > Hi, this patch adds session_activity and session_activity_string. > With these additions, it's possible to do some operations to sessions by > active time from CLI. > > e.g. getting last active

Re: patch for bug in window_copy_append_selection

2015-03-31 Thread Nicholas Marriott
Hi Would this fix it instead? Index: paste.c === RCS file: /cvs/src/usr.bin/tmux/paste.c,v retrieving revision 1.26 diff -u -p -r1.26 paste.c --- paste.c 5 Nov 2014 23:25:02 - 1.26 +++ paste.c 31 Mar 2015 17:50:54 -

Re: [PATCHv2 1/4] make PROTOCOL_VERSION unsigned

2015-03-31 Thread Nicholas Marriott
Hi After some thought I decided to leave PROTOCOL_VERSION as it is. I've applied most of your second diff (the format specifiers) except I have left enums as %d (their type is dependent on the compiler and I think GCC is wrong to warn as if they are unsigned). I've applied the capture-pane part (

Re: 2 different TERMS

2015-03-29 Thread Nicholas Marriott
If you use different sessions for console and X, set default-terminal differently for each (use set-option without -g). If you use the same session you will need to pick one (screen or screen-256color) and live with it, or change it when you attach. On Sun, Mar 29, 2015 at 11:52:06AM +0200, Eli

Re: if-shell not working in tmux 1.9/1.9a on Debian Jessie

2015-03-26 Thread Nicholas Marriott
Does it work if you change the condition to: case "`tmux -V`" in *1.9*) true;; *) false;; esac On Wed, Mar 25, 2015 at 11:53:57PM -0600, Robert LeBlanc wrote: >I'm trying to make my .tmux.conf work for both 1.8 and 1.9 while >depreciating the old syntax. I can't get 1.9 (from Debian

Re: Linebreak issues with tmux + zoom + ipython shell

2015-03-13 Thread Nicholas Marriott
Does this happen without tmux if you eg maximize and unmaximize an xterm? On Fri, Mar 13, 2015 at 04:06:00PM +1100, Martin wrote: >Hi all, >I'm a daily user of tmux and wondered if anyone else is using it** >together with ipython, since I run into an annoying issue regularly.** >

Re: The history of tmux

2015-03-11 Thread Nicholas Marriott
All the commit history is in git, we don't need a list somewhere else. On Wed, Mar 11, 2015 at 11:24:54AM +, Thomas Adam wrote: > On Tue, Mar 10, 2015 at 03:12:05PM +, David Chanters wrote: > > On 16 February 2015 at 15:59, Thomas Adam wrote: > > > % git log | egrep -o '(from |by )[A-Z

Re: Mouse emulation

2015-03-11 Thread Nicholas Marriott
It'll be after the next release in a few months. On Wed, Mar 11, 2015 at 11:10:33AM +, Paul Gideon Dann wrote: >On 11 March 2015 at 11:00, Paul Gideon Dann <[1]pdgid...@gmail.com> wrote: > > Hi there, > > Commit 353d1825d5a3a6efb1c3c71d9afbb96ba57cc948 states: > > "Reve

Re: Tmux output dots continuously

2015-03-11 Thread Nicholas Marriott
Try adding set -g default-shell '/bin/bash' to tmux.conf. Also it is not a good idea to use /etc/tmux.conf for this because tmux will look for it automatically, try using a different filename. On Wed, Mar 11, 2015 at 11:13:21AM +0800, Wang Sen wrote: >Description > > >I'm

Re: [PATCH] Adding incremental search and search highlighting

2015-03-09 Thread Nicholas Marriott
d?** Incremental search would be >a great feature to have and is on the TODO list. >Thanks. >-FR >On Fri, Aug 8, 2014 at 11:21 AM, Nicholas Marriott ><[3]nicholas.marri...@gmail.com> wrote: > > Hi > > Your mail

Re: patch for setting pane background color

2015-03-02 Thread Nicholas Marriott
Ok thanks. I will look at these diffs (or any new ones if you've sent them) again after OpenBSD unlocks which I guess will probably be a few weeks. On Mon, Feb 23, 2015 at 10:33:51PM -0600, J Raynor wrote: > I've attached a patch that adds the BCE functionality I did before. > It's more concise

Re: [PATCHv2 1/4] make PROTOCOL_VERSION unsigned

2015-03-02 Thread Nicholas Marriott
Ok these look good I will apply them when OpenBSD unlocks. On Sun, Feb 22, 2015 at 04:21:01PM -0500, Ben Boeckel wrote: > Signed-off-by: Ben Boeckel > --- > tmux.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tmux.h b/tmux.h > index e296ac7..87ed093 100644 > --- a/t

Re: Random characters appear after copying

2015-02-27 Thread Nicholas Marriott
No, it should be screen inside tmux. You could change the one outside which is probably set to xterm, but you aren't using xterm. Probably try TERM=xfce. Or just leave set-clipboard off instead. On Fri, Feb 27, 2015 at 10:35:24AM +0100, Paolo Bolzoni wrote: > The env variable TERM value is "scr

Re: Random characters appear after copying

2015-02-27 Thread Nicholas Marriott
Fix TERM or turn off set-clipboard. On Thu, Feb 26, 2015 at 04:14:17PM +0100, Paolo Bolzoni wrote: > Dear list, > > I have a strange problem, I am using tmux started inside a xfce4 > terminal[1]. tmux usually works fine, but when I am using more than > one pane and I copy something oftern random

Re: Entering tmux control mode without attaching session

2015-02-26 Thread Nicholas Marriott
No, it's a client like any other, you have to attach to a session. On Wed, Feb 25, 2015 at 07:40:05PM -0600, Jared Stafford wrote: > I was trying to write a script that uses control mode to monitor > window changes. However, if I run "tmux -C", it creates a new session > and attaches to it. If I

Re: [tmux:tickets] #174 Copy in copy mode without leaving copy mode

2015-02-25 Thread Nicholas Marriott
Ah yes you're right, I missed that, the previous diff is fine then. On Tue, Feb 24, 2015 at 06:02:35PM -0600, J Raynor wrote: > > I think you want only 2 or 3 arguments to be valid, 4 should be an > > error. Otherwise this looks fine. > > You already can't pass 4 arguments. The check for -t in

Re: [tmux:tickets] #174 Copy in copy mode without leaving copy mode

2015-02-25 Thread Nicholas Marriott
I think you want only 2 or 3 arguments to be valid, 4 should be an error. Otherwise this looks fine. On Sun, Feb 22, 2015 at 11:13:22PM -0600, J Raynor wrote: > > You could maybe make copy-selection accept an argument like copy-pipe. I > > wouldn't make it do the full getopt dance just yet but ju

Re: tmux in uninterruptible sleep (D) state bug

2015-02-23 Thread Nicholas Marriott
Does it go away if you run "ulimit -c0" before running your program? On Mon, Feb 23, 2015 at 08:54:44AM +, Nicholas Marriott wrote: > Your program just recurses forever until it blows up the stack. It > doesn't have any effect on tmux whatsoever here. Sounds like a bu

Re: tmux in uninterruptible sleep (D) state bug

2015-02-23 Thread Nicholas Marriott
Your program just recurses forever until it blows up the stack. It doesn't have any effect on tmux whatsoever here. Sounds like a bug somewhere else in your system, I'd guess kernel. On Sun, Feb 22, 2015 at 10:32:51PM -0300, Gonzalo Ciruelos wrote: >Hello, >For some weeks now I'm having

Re: [PATCH 3/4] tty_term: use an unsigned int for flags

2015-02-22 Thread Nicholas Marriott
No particular reason but I don't think we should change them, I'd just cast it or leave the warning. On Sun, Feb 22, 2015 at 02:03:17PM -0500, Ben Boeckel wrote: > On Sun, Feb 22, 2015 at 18:46:33 +0000, Nicholas Marriott wrote: > > I always use int for flags. > > Any r

Re: [PATCH 3/4] tty_term: use an unsigned int for flags

2015-02-22 Thread Nicholas Marriott
I always use int for flags. On Sun, Feb 22, 2015 at 11:34:25AM -0500, Ben Boeckel wrote: > Signed-off-by: Ben Boeckel > --- > tmux.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tmux.h b/tmux.h > index e296ac7..1ba0e83 100644 > --- a/tmux.h > +++ b/tmux.h > @@ -1093

Re: [PATCH 1/4] fix format specifiers

2015-02-22 Thread Nicholas Marriott
Looks good but I think PROTOCOL_VERSION should just be made unsigned. On Sun, Feb 22, 2015 at 11:34:23AM -0500, Ben Boeckel wrote: > GCC5 is warning about these things more it seems. > > Signed-off-by: Ben Boeckel > --- > client.c | 6 +++--- > cmd-respawn-pane.c | 2 +- > colour.c

  1   2   3   4   5   6   7   8   9   10   >