aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-04-06 22:16:33 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-04-06 22:16:33 +0000
commit536fc24653d51daf8f0015e68dd4191a9a989205 (patch)
treebf2c81cf3f126bd8f26e395d0a8305460d2844ea /tmux.1
parent95832241aa6b1af0bc3bc09fad33462f807e59a3 (diff)
downloadrtmux-536fc24653d51daf8f0015e68dd4191a9a989205.tar.gz
rtmux-536fc24653d51daf8f0015e68dd4191a9a989205.tar.bz2
rtmux-536fc24653d51daf8f0015e68dd4191a9a989205.zip
PatchSet 870
Date: 2011/03/27 21:27:26 Author: nicm Branch: HEAD Tag: (none) Log: Give each pane created in a tmux server a unique id (starting from 0), put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.113
1 files changed, 12 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index a8e7737a..4beb152d 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.296 2011-03-19 23:27:35 tcunha Exp $
+.\" $Id: tmux.1,v 1.297 2011-04-06 22:16:33 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -453,6 +453,17 @@ select-window -t:+2
When dealing with a session that doesn't contain sequential window indexes,
they will be correctly skipped.
.Pp
+.Nm
+also gives each pane created in a server an identifier consisting of a
+.Ql %
+and a number, starting from zero.
+A pane's identifier is unique for the life of the
+.Nm
+server and is passed to the child process of the pane in the
+.Ev TMUX_PANE
+environment variable.
+It may be used alone to target a pane or the window containing it.
+.Pp
.Ar shell-command
arguments are
.Xr sh 1