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

2015-05-06 Thread John O'Meara
I noticed today that when status-position is set to top and the display-panes command is run, panes which touch the top don't have the size info displayed in the corner, and other panes get their size info embedded in their upper border (actually, I think the size is printed, just on the status lin

change pane problem

2015-05-06 Thread Cody Chan
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, the focus will keep changing between panes, but what I want is, if you want to change pane, you h

tmux 2.0 released

2015-05-06 Thread Thomas Adam
Hi all, I'm pleased to announce the release of tmux 2.0. Please take a look here: https://sourceforge.net/projects/tmux/files/tmux/tmux-2.0/ for the release tarball and changes introduced in to 2.0. Please let any packagers know of this release. Any questions, do please ask. On behalf of eve

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. > > > > Please run "TERM=nsterm tmux -Ltest -f/

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

2015-05-06 Thread Thomas Adam
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. > > Please run "TERM=nsterm tmux -Ltest -f/dev/null new" then press Option+Left That should be: TERM=nsterm tmux - -Ltest -f/dev/nul

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

2015-05-06 Thread Nicholas Marriott
Hmm weird. There is nothing in the nsterm terminfo to make tmux think that M-b is actually M-Left. Please run "TERM=nsterm tmux -Ltest -f/dev/null new" then press Option+Left a few times, then exit tmux and send me the tmux-server-*.log that will be in the current directory. On Wed, May 06, 201

Re: freebsd install from git source

2015-05-06 Thread jungle Boogie
On 6 May 2015 at 14:11, J Raynor wrote: > I think I've seen the error with AC_SEARCH_LIBS and m4_pattern_allow > before. Try installing pkgconf if you don't already have it > installed, and then rerun autogen.sh. Good job and thanks for the help! % tmux -V tmux 2.0 I recommend the readme be am

Re: freebsd install from git source

2015-05-06 Thread J Raynor
I think I've seen the error with AC_SEARCH_LIBS and m4_pattern_allow before. Try installing pkgconf if you don't already have it installed, and then rerun autogen.sh. On Wed, May 6, 2015 at 3:40 PM, jungle Boogie wrote: > Hi Nicholas, > On 6 May 2015 at 13:31, Nicholas Marriott wrote: >> Do yo

Re: freebsd install from git source

2015-05-06 Thread jungle Boogie
Hi Nicholas, On 6 May 2015 at 13:31, Nicholas Marriott wrote: > Do you have libtool installed? If so then your autoconf is probably either > too old or too new. > Yes, just installed libtool 2.4.6. Where's that fall on the cut off? -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.inf

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

freebsd install from git source

2015-05-06 Thread jungle Boogie
Hello All, I grabbed tmux git repo, cd to its dir, sh autogen.sh and now error: % sh autogen.sh configure.ac:19: installing 'etc/compile' configure.ac:11: installing 'etc/config.guess' configure.ac:11: installing 'etc/config.sub' configure.ac:9: installing 'etc/install-sh' configure.ac:9: install

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

2015-05-06 Thread Leonardo Brondani Schenkel
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. > > Original message > From: Leonardo Brondani Schenkel > Date:06/05/2015 16:50 (GMT+00:00) > To: Nichol

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 $TER

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

2015-05-06 Thread Leonardo Brondani Schenkel
> On 06 May 2015, at 17:21, Nicholas Marriott > wrote: > What does the terminal actually send outside tmux for Option+Left? ^[b. It's an explicit binding that comes pre-configured by default in Terminal.app (but can be changed). It does not change if the terminal is in application mode or not (e

How to access session environment variable from running window

2015-05-06 Thread Enrico Ghirardi
Hi, is there a way to access session environment variables from an already running window? In my example I: 1- create a session then detach from it 2- start a new shell set an environment variable (the variable is included in the update-environment string) 3- attach to old session from this she

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

2015-05-06 Thread Kaushal
I tried that but as I mentioned in the parallel thread, tcsh was still load first as my default-shell was tcsh. Changing default-shell to /bin/sh and default-command to tcsh fixed everything. I now just need to make sure that I pass in a bash/sh compatiable command instead of a tcsh/csh command.

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

2015-05-06 Thread Kaushal
That worked wonders! Thanks. It happens that the existing commands I have like bind S split-window "tmux ls | percol --initial-index `tmux ls | awk '/attached.$/ {print NR-1}'` | cut -d':' -f 1 | xargs tmux switch-client -t" are sh compatible too. On Wed, May 6, 2015 at 11:16 AM Nicholas Marr

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

2015-05-06 Thread Nicholas Marriott
Change your default-shell to /bin/sh so that new windows started with a command will get /bin/sh and set default-command to tcsh so you get tcsh? On Wed, May 06, 2015 at 03:11:43PM +, Kaushal wrote: >Thanks for the quick replies. But unfortunately, I have to use the tcsh >shell and I

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

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

2015-05-06 Thread Leonardo Brondani Schenkel
Hello, I'm using tmux 1.9a in Terminal.app 343.7 (OS X 10.10). I noticed by accident that when I press Option+Left/Right I get different escape codes, depending if the $TERM variable outside tmux is set to 'nsterm' or 'xterm'. For example, when pressing Option+Left: $TERM=='nsterm': ^[^[OD or ^[

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

2015-05-06 Thread Kaushal
Thanks for the quick replies. But unfortunately, I have to use the tcsh shell and I can put in my custom init stuff only in a ~/.alias which is sourced by a company maintained ~/.cshrc. In that ~/.cshrc, I already have: # skip remaining setup if not an interactive shell if ($?USER == 0 || $?promp

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: How to switch window without loading the shell init?

2015-05-06 Thread Chas. Owens
It sounds like your heavy weight initializing is being done in .bashrc as opposed to .bash_profile or .profile. The .bashrc config file is intended to barely bootstrap your environment and .bash_profile (or .profile) is intended to make an interactive shell usable. One option would be to use a di

How to switch window without loading the shell init?

2015-05-06 Thread Kaushal
Hi, I use the tmux split-window function only temporarily at times to do some quick selections from a list using percol. Examples: # switch to another session by name bind S split-window "tmux ls | percol --initial-index `tmux ls | awk '/attached.$/ {print NR-1}'` | cut -d':' -f 1 | xargs tmux

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

2015-05-06 Thread Nicholas Marriott
Index: cmd-kill-window.c === RCS file: /cvs/src/usr.bin/tmux/cmd-kill-window.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -p -r1.16 -r1.17 --- cmd-kill-window.c 22 Oct 2014 23:11:41 - 1.16 +++ cmd-kill-windo