Re: tmux server crushed due to last-pane command.

2014-07-21 Thread Nicholas Marriott
Can you please try latest tmux from git? On Wed, Jul 16, 2014 at 02:20:32PM +0800, ? wrote: >Dear all,** >My tmux server was crushed. >Below is the scenario described in detail. >1. There were two sessions (work and test) opened at the same time. >2. Each session conta

Re: Passing session name to external command in status bar

2014-07-21 Thread Nicholas Marriott
Hi Why not do this entirely in status_find_job? On Tue, Jul 15, 2014 at 12:50:02PM -0400, Elliot Saba wrote: >The diff is available > > here:**[1]https://gist.githubusercontent.com/staticfloat/9e58c9a479a9f541cc6c/raw/c8ad7d9ad8486e8382c06fcb01865fd216010eb1/preexpand.diff >-E > >

Wall and Write messages disappear

2014-07-21 Thread Adam Carrgilson (NBI)
When a wall or write message is sent through to a terminal inside of tmux, any further interaction with the terminal completely resets things such that it appears that the message was never there rather than the default terminal behaviour to leave the message there. Is there a way I can get aro

Re: Passing session name to external command in status bar

2014-07-21 Thread Elliot Saba
I think I didn't fully understand how your code worked when I started; yes, since all I'm doing is calling `format_expand()`, you should be able to do everything from within status_find_job(). -E On Mon, Jul 21, 2014 at 3:27 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hi > > Wh

Re: Extended function keys

2014-07-21 Thread Balazs Kezes
On 2014-07-15 22:00 -0400, Bryan Mills wrote: > With tmux, the escape keys aren't recognized. Presumably something in > the screen-256color termcap is off. $ infocmp screen-256color | grep kf kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EO

Re: [tmux:tickets] #141 Command to display whether already in a session

2014-07-21 Thread Balazs Kezes
On 2014-07-17 17:32 +, eydaimon wrote: > Similar to command such as `has-session` this command would simply > display whether the current terminal is already in a tmux session. How about just checking for the TMUX environment variable? $ function tmux_in_session() { ! test -z "$TMUX";

Re: [tmux:tickets] #138 Left-clicking sometimes causes continuation of scroll wheel events

2014-07-21 Thread Balazs Kezes
On 2014-06-30 02:11 +, Eric Christopherson wrote: > However, it seems that if I left-click within such a pane after having > scrolled, the left-click down causes an additional scroll event Some features were stripped from Marcel's original patch when it was applied to tmux. Unfortunately the c

Re: tmux, zsh, vim mode

2014-07-21 Thread Balazs Kezes
On 2014-07-14 18:42 -0700, Sean Hafeez wrote: > In zsh, hitting ESC + some vim command like b (back word) works, $ > works, etc. Hitting ESC 0 does not take me to the start of the line. > Everything else seems to work. Just to confirm, this doesn't work only in tmux, right? If you quit tmux and tr

Re: [tmux:tickets] #143 tmux not respecting/carrying over disabled control flow

2014-07-21 Thread Balazs Kezes
On 2014-07-17 23:14 +, C_G wrote: > Running into an issue with processes spawned by tmux; I've got "stty > -ixon" in the environment of my parent shell, Ctrl+S is not being > trapped, as expected, but the moment I run tmux, even if it only > spawns my shell, this stops being respected. I'm not

Re: Wall and Write messages disappear

2014-07-21 Thread Balazs Kezes
On 2014-07-21 11:05 +, Adam Carrgilson (NBI) wrote: > When a wall or write message is sent through to a terminal inside of > tmux, any further interaction with the terminal completely resets > things such that it appears that the message was never there rather > than the default terminal behavi

Re: [tmux:tickets] #142 enhancement: add `-n window-name` argument to break-pane

2014-07-21 Thread Balazs Kezes
On 2014-07-17 18:02 +, Seth Milliken wrote: > I'd like to create tmux bindings to "toggle" a window in and out of > the current layout by using `join-pane` and `break-pane -d` > respectively. The problem is that when I toggle the window out with > `break-pane -d`, the resulting window does not