version 1.271, 2012/01/30 20:48:28 |
version 1.272, 2012/01/31 15:52:21 |
|
|
.Ar dst-window . |
.Ar dst-window . |
.It Xo Ic new-window |
.It Xo Ic new-window |
.Op Fl adkP |
.Op Fl adkP |
|
.Op Fl c Ar start-directory |
.Op Fl n Ar window-name |
.Op Fl n Ar window-name |
.Op Fl t Ar target-window |
.Op Fl t Ar target-window |
.Op Ar shell-command |
.Op Ar shell-command |
|
|
is not specified, the value of the |
is not specified, the value of the |
.Ic default-command |
.Ic default-command |
option is used. |
option is used. |
|
.Fl c |
|
specifies the working directory in which the new window is created. |
|
It may have an absolute path or one of the following values (or a subdirectory): |
|
.Bl -column "XXXXXXXXXXXX" "XXXXXXXXXXXXXXXXXXXXXXXX" -offset indent |
|
.It Li "Empty string" Ta "Current pane's directory" |
|
.It Li "~" Ta "User's home directory" |
|
.It Li "-" Ta "Where session was started" |
|
.It Li "." Ta "Where server was started" |
|
.El |
.Pp |
.Pp |
When the shell command completes, the window closes. |
When the shell command completes, the window closes. |
See the |
See the |
|
|
commands. |
commands. |
.It Xo Ic split-window |
.It Xo Ic split-window |
.Op Fl dhvP |
.Op Fl dhvP |
|
.Op Fl c Ar start-directory |
.Oo Fl l |
.Oo Fl l |
.Ar size | |
.Ar size | |
.Fl p Ar percentage Oc |
.Fl p Ar percentage Oc |