Re: [PATCH] typo in style_apply_update - fixes attrs in status bar

2014-03-01 Thread Stephen Thirlwall
03/2014 6:42 pm, Nicholas Marriott wrote: > Apply is meant to replace, apply_update to add. So I think the function is > right. More likely the call should be style_apply. > > > ---- Original message > From: Stephen Thirlwall > Date: 01/03/2014 00:28 (GMT+01:00) &g

[PATCH] typo in style_apply_update - fixes attrs in status bar

2014-02-28 Thread Stephen Thirlwall
Hi, Since 1.9 my status bar hasn't been rendering correctly, and it looks like there may have been a typo when factoring out style_apply_update in this commit 945339b443affdaaca260605e15b5a3b9a3c6e16 status.c has a number of changes like this [1]: - fg = options_get_number(&s->options, "st

Re: tmux 1.7 has been released

2012-10-13 Thread Stephen Thirlwall
On 13/10/2012 10:29 PM, Thomas Adam wrote: > Hi all, > > I've just released tmux 1.7 -- details here: Congratulations and a big thank-you to everyone involved! -- Don't let slow site performance ruin your business. Dep

Re: How to run tmux commands from remote ssh session

2012-08-22 Thread Stephen Thirlwall
On 23/08/12 5:32 AM, Pavlos Parissis wrote:> On 21 August 2012 13:14, Stephen Thirlwall wrote: >> On 21/08/12 8:10 PM, Nicholas Marriott wrote: >>> Hi >>> >>> You need to ssh back into the server running tmux to run the command. >> >&g

Re: How to run tmux commands from remote ssh session

2012-08-21 Thread Stephen Thirlwall
On 21/08/12 8:10 PM, Nicholas Marriott wrote: > Hi > > You need to ssh back into the server running tmux to run the command. Thanks Nicholas. Seems so obvious now :) Steve -- Live Security Virtual Conference Exclusive

Re: How to run tmux commands from remote ssh session

2012-08-21 Thread Stephen Thirlwall
the tmux's `command-prompt` command, which lets you enter tmux > commands directly. Personally I use it to create new sessions, by entering > `new -s session_name` into the command prompt. > > Hope this helps :) > > > -jimeh > > On Monday, 20 August 2012 at 03

How to run tmux commands from remote ssh session

2012-08-19 Thread Stephen Thirlwall
Lets say I've got a tmux session running locally with two windows, and in window 2 I run: ssh remotehost So I've got window 1 with a local shell, and window 2 with a remote shell. In window 1 I can do things like tmux lsp or tmux split-window, but window 2 is a 2nd-class citizen: tmux doesn't wo

Re: bash text substitution in tmux

2012-08-14 Thread Stephen Thirlwall
On 14/08/12 5:39 PM, Thomas Adam wrote: > On Tue, Aug 14, 2012 at 05:33:59PM +1000, Stephen Thirlwall wrote: >> Can the choose-list command be executed from the command-line? >> >> eg. tmux choose-list -l$( generate-list-somehow ) >> >> I only get a 'must be

Re: bash text substitution in tmux

2012-08-14 Thread Stephen Thirlwall
On 14/08/12 5:00 PM, Thomas Adam wrote: > On 14 August 2012 07:19, Stephen Thirlwall wrote: >> On 14/08/12 10:41 AM, Stephen Thirlwall wrote: >>> [...] >>> I'd be happy to take a look at implementing this. >> >> (replying to myself...) &g

Re: bash text substitution in tmux

2012-08-13 Thread Stephen Thirlwall
On 14/08/12 10:41 AM, Stephen Thirlwall wrote: >[...] > I'd be happy to take a look at implementing this. (replying to myself...) How about implementing this as a command? choose-completion [-s source-window] [-t target-window] [template] -s is the window to scrape the search-str

Re: bash text substitution in tmux

2012-08-13 Thread Stephen Thirlwall
On 13/08/12 8:27 PM, Sinbad wrote: > s it possible to enter text into a command by matching > the partial text in the command with the shell output just > like the autocomplete in vim using ctrl-p and ctrl-n. > > example: > > $some_cmd > some output > words more words > $out > $output > > i am not

Re: How to share information between panes of a window

2012-05-06 Thread Stephen Thirlwall
On 6/05/12 6:39 PM, Romain Francoise wrote: > Stephen Thirlwall writes: > >> Ideally, I'd like to be able to query the value of TVIM_PANE_ID from >> any pane in that particular window. > >> Note that there may be a tvim pane in multiple windows, so this needs >

How to share information between panes of a window

2012-05-05 Thread Stephen Thirlwall
I have a problem that I hope someone may have a nice solution to. I've been developing a bash function called tvim, which combines vim and tmux in a way that suits my workflow nicely. There is a single vim pane that gets created (and re-created) on demand. +---++

[PATCH] client_width/_height swapped

2012-02-01 Thread Stephen Thirlwall
Hi, I noticed that client_width and client_height were the wrong way around in format.c (in v1.6) Here's a trivial fix. Steve Index: format.c === --- format.c(revision 2691) +++ format.c(working copy) @@ -303,8 +303,8 @@

Re: Building the latest revision fails

2011-12-19 Thread Stephen Thirlwall
Are you trying to build this using homebrew on a mac by any chance? This looks suspiciously like a problem I ran into recently. If so, as root, do: # echo $(brew --prefix)/share/aclocal >> /usr/share/aclocal/dirlist Steve On 19/12/11 5:40 PM, Kyohey Kurazeko wrote: > Hi there, > > I tried to

Re: tmux and less -E

2011-10-17 Thread Stephen Thirlwall
I get no output in tmux, screen, or a normal shell. Adding the -X flag to less gives me the desired output in all three. -X or --no-init Disables sending the termcap initialization and deinitialization strings to the terminal. This is sometimes desirable i