Re: tmux 1.9 released: A note for users/packagers

2014-02-21 Thread hubert depesz lubaczewski
On Fri, Feb 21, 2014 at 08:31:41AM -0500, Aaron Schrab wrote: > At 13:15 +0100 21 Feb 2014, hubert depesz lubaczewski > wrote: > >2. is there a way to upgrade tmux without killing programs that run > > under it? > > In the past I've avoided the need to kill some p

Re: tmux 1.9 released: A note for users/packagers

2014-02-21 Thread hubert depesz lubaczewski
On Thu, Feb 20, 2014 at 09:50:40PM +, Thomas Adam wrote: > talk to an older tmux server. The "fix" for this is usually to restart the > tmux server; I'm hoping this is clear enough, and that this is propagated to > the user. Debian allows for this with changelogs, for example. I'm > assuming

Re: Get notification when other users views the same window

2014-01-09 Thread hubert depesz lubaczewski
On Thu, Jan 09, 2014 at 02:09:58PM +, Nicholas Marriott wrote: > This should fix the make install thing: OK. What about changing the multi-user patch so that it would also show when there are multiple sessions with the same set of windows cloned (preferably taking into account active window in

Re: Get notification when other users views the same window

2014-01-09 Thread hubert depesz lubaczewski
On Mon, Jan 06, 2014 at 03:46:50PM +, Nicholas Marriott wrote: > Try this please, which will let you do for example: > > set -g status-left '#{?session_many_attached,yes,no}' > > To show if a session is attached to multiple clients. Hi, First - sorry for laggin in test. Got busy. So, tested

Re: [tmux:tickets] #89 window-status-activity-bg and fg are swapped

2014-01-02 Thread hubert depesz lubaczewski
On Wed, Jan 01, 2014 at 11:42:03AM +, Johnny Halfmoon wrote: > The commands 'window-status-activity-bg' and -fg are swapped in > functionality, ie. bg will set the foreground color an fg will set the > background color in v1.8. Any chance you have "reverse" enabled? Check with: tmux show-windo

Re: [tmux:tickets] #90 monitor-activity is not recognized as a command

2014-01-02 Thread hubert depesz lubaczewski
On Wed, Jan 01, 2014 at 11:48:12AM +, Johnny Halfmoon wrote: > **Status:** open > **Labels:** 1.8 monitor activity > **Created:** Wed Jan 01, 2014 11:48 AM UTC by Johnny Halfmoon > **Last Updated:** Wed Jan 01, 2014 11:48 AM UTC > **Owner:** nobody > > monitor-activity is not recognized as a

Re: Get notification when other users views the same window

2013-12-24 Thread hubert depesz lubaczewski
On Tue, Dec 24, 2013 at 03:41:32PM +, Nicholas Marriott wrote: > Not at the moment but it probably wouldn't be too hard to add a format so you > could do #{?whatever,&,} That would be great. I usually see when other connect (since I have larger screen, so I get immediately lots of "dots" arou

Re: window with panes from other windows?

2013-12-24 Thread hubert depesz lubaczewski
On Tue, Dec 24, 2013 at 03:38:51PM +, Nicholas Marriott wrote: > No, panes can't appear in multiple windows Any chance for such feature in future? Also - could it be in any way "hacked together" with current functionality? Some kind of "screenshot, display in pane, wait, repeat"? Best regard

window with panes from other windows?

2013-12-24 Thread hubert depesz lubaczewski
Hi, I have following situation: session named "repack" in it, 9 windows named: - control - c1m - c2m - c3m - c4m - c5m - c6m - c7m - c8m All c?m windows have 3 panes (0,1,2). Now. I'd like to add new window that would have 8 panes - showing content of all repack:c*m.0 Is it somehow possible? Be

Get notification when other users views the same window

2013-12-24 Thread hubert depesz lubaczewski
Hi, I hope that mentioning "gnu screen" is not a problem, but it's the easiest way to explain my situation. If you'll start screen normally, add some windows/screens in it, and you have "sensible" status bar set you might see: depesz@h3po4 > 0$ -bash 1$ -bash 2$ -bash 3-$ -bash [4$ -bash] N

Re: Is it possible to use windows key as modifier for keybindings in tmux running in rxvt?

2013-11-11 Thread hubert depesz lubaczewski
On Mon, Nov 11, 2013 at 08:00:42AM +0100, Nicholas Marriott wrote: > If you run "cat" outside tmux then press the key, what does it show? > If nothing then you can't map it unless you can configure your > terminal to make it send something. Also - cat doesn't show anything for pressing "alt" or "c

Re: Is it possible to use windows key as modifier for keybindings in tmux running in rxvt?

2013-11-11 Thread hubert depesz lubaczewski
On Mon, Nov 11, 2013 at 08:00:42AM +0100, Nicholas Marriott wrote: > If you run "cat" outside tmux then press the key, what does it show? > If nothing then you can't map it unless you can configure your > terminal to make it send something. It doesn't show anything, and I am aware of this. That's

Is it possible to use windows key as modifier for keybindings in tmux running in rxvt?

2013-11-10 Thread hubert depesz lubaczewski
Hi, the subject is pretty descriptive, but let me describe it a bit more. I'm running urxvt, and inside of it, I have tmux (1.8). In my tmux, I use a some "bind-key -n ..." commands, like: bind-key -n M-d new-window -n andy 'exec ssh -t andy' Would it be possible (or, how could I do it) so that

Re: Wandering selection

2011-04-19 Thread hubert depesz lubaczewski
On Tue, Apr 19, 2011 at 11:27:51AM -0700, Micah Cowan wrote: > If that's the case, then I suspect you may find it easier to reproduce > the problem by hitting Enter enough times that the prompt is at the > bottom of the pane, and then hit Enter another time to get a scroll to > trigger. tried this

Re: Wandering selection

2011-04-19 Thread hubert depesz lubaczewski
On Tue, Apr 19, 2011 at 07:10:16PM +0100, Nicholas Marriott wrote: > Assuming you are talking about konsole mouse selection not tmux > copy-mode selection. yes, that's mouse selection. sorry. as for xterm. hmm .. i'll try, although it's easily repeatable problem. Best regards, depesz -- The b

Wandering selection

2011-04-19 Thread hubert depesz lubaczewski
hi, have tmux (1.4), and following problem: My tmux is split into 3 panes, like this: ++ || ++ || ++ || || || || || || || ++ panes 1 and 2 (f

Re: windows within panes?

2011-02-18 Thread hubert depesz lubaczewski
On Thu, Feb 17, 2011 at 09:51:29PM +, Stroller wrote: > > On 17/2/2011, at 9:29pm, Harish Narayanappa wrote: > > ... > > http://tmux.sourceforge.net/tmux5.png is one of the screen shots on the > > tmux home page. On the upperleft pane one see that it has 3 windows. > > > > How can this be ac

Re: Maybe you'll find it useful (or some bugs/problems with it?)

2011-01-30 Thread hubert depesz lubaczewski
On Fri, Jan 28, 2011 at 09:37:16PM +0100, clemens fischer wrote: > On Tue-2011/01/25-14:23 hubert depesz lubaczewski wrote in > <20110125132342.ga18...@depesz.com>: > > > To help me with it, I wrote simple script (attached to this mail), which > > perhaps you will f

Maybe you'll find it useful (or some bugs/problems with it?)

2011-01-25 Thread hubert depesz lubaczewski
hi, i'm using (as headers show) mutt as my mail client. And i'm not using it on my computer, but rather on remote server via ssh. Since ssh connections sometimes die, I tend to run mutt on screen (previously) or tmux (lately). To help me with it, I wrote simple script (attached to this mail), whi

Re: Close session on single pane exit?

2011-01-25 Thread hubert depesz lubaczewski
On Tue, Jan 25, 2011 at 10:17:34AM +, Nicholas Marriott wrote: > Run eg "top; tmux kill-session -t mutt" in the righthand pane. quite simple, thanks. Best regards, depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: dep...@depesz.com / aim:depe

Close session on single pane exit?

2011-01-25 Thread hubert depesz lubaczewski
hi, I'd like to achieve following feature: i'm starting tmux, with single window, 2 panes, with layout like this: +---+-+ | | | | | | | | | | | | +---+-+ in both panes i run some programs, but I'd like to make it work the way that if i'd ev

Re: 2 questions about working with tmux

2011-01-18 Thread hubert depesz lubaczewski
On Tue, Jan 18, 2011 at 04:02:24PM +, Julio Merino wrote: > On 1/12/11 4:30 PM, hubert depesz lubaczewski wrote: > > [...] > > when I then attach to the terminal, all lines that have been *already* > > outputted by test.pl, are badly wrapped:, and it looks like this: &g

Re: 2 questions about working with tmux

2011-01-14 Thread hubert depesz lubaczewski
On Fri, Jan 14, 2011 at 09:21:06PM +, Nicholas Marriott wrote: > did you get this working? yes. with sh autogen.sh. worked. Best regards, depesz -- Protect Your Site and Customers from Malware Attacks Learn about

Can this be done better/simpler?

2011-01-13 Thread hubert depesz lubaczewski
Hi, thanks to the help in here, and on irc, I was able to write this simple script: #!/bin/bash if tmux has -t test >/dev/null 2>&1 then exec tmux attach -t test fi tmux new-session -s test "exec tail -f /var/log/syslog/$( date '+%Y-%m-%d' )/system/ke

Re: 2 questions about working with tmux

2011-01-13 Thread hubert depesz lubaczewski
On Wed, Jan 12, 2011 at 09:32:00PM +, Nicholas Marriott wrote: > tmux new\; detach This is great. it does set the size sensibly. > rather than new -d > you can resize the panes after you've created them > tmux new -d\; splitw -d\; resizep -U 100\; resizep -D 1\; attach tried it again on tmux

Re: 2 questions about working with tmux

2011-01-13 Thread hubert depesz lubaczewski
On Wed, Jan 12, 2011 at 09:43:35PM +, Nicholas Marriott wrote: > try this, against CVS HEAD got cvs head, applied patch, but I don't know how to compile it. there is no "configure", only "configure.ac". I tried to "autoconf", but it errored out: =$ autoconf configure.ac:7: error: possibly u

Re: 2 questions about working with tmux

2011-01-13 Thread hubert depesz lubaczewski
On Wed, Jan 12, 2011 at 09:32:00PM +, Nicholas Marriott wrote: > someone else asked for a way to set the initial size but they didn't > really give a convincing use case so i didn't do it > > what you can do to get it the right size is do > > tmux new\; detach > > rather than new -d > > you

Re: 2 questions about working with tmux

2011-01-12 Thread hubert depesz lubaczewski
On Wed, Jan 12, 2011 at 12:58:27PM -0500, Patrick Shanahan wrote: > * hubert depesz lubaczewski [01-12-11 11:53]: > > > > that is - I use 3 panels, split horizontally, with the top 2 having > > predefined, fixed height of 10 lines. > > > > Now - I know I can

2 questions about working with tmux

2011-01-12 Thread hubert depesz lubaczewski
hi I'm trying to migrate away from screen (biggest selling point for tmux is (for me) that it doesn't preallocate memory for history). but while working on migration I hit 2 problems that I can't solve. first problem - too small window. I work on rather large terminals, but when I start new *det