=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.271 retrieving revision 1.272 diff -c -r1.271 -r1.272 *** src/usr.bin/tmux/tmux.1 2012/01/30 20:48:28 1.271 --- src/usr.bin/tmux/tmux.1 2012/01/31 15:52:21 1.272 *************** *** 1,4 **** ! .\" $OpenBSD: tmux.1,v 1.271 2012/01/30 20:48:28 jmc Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" --- 1,4 ---- ! .\" $OpenBSD: tmux.1,v 1.272 2012/01/31 15:52:21 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" *************** *** 14,20 **** .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: January 30 2012 $ .Dt TMUX 1 .Os .Sh NAME --- 14,20 ---- .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: January 31 2012 $ .Dt TMUX 1 .Os .Sh NAME *************** *** 1224,1229 **** --- 1224,1230 ---- .Ar dst-window . .It Xo Ic new-window .Op Fl adkP + .Op Fl c Ar start-directory .Op Fl n Ar window-name .Op Fl t Ar target-window .Op Ar shell-command *************** *** 1254,1259 **** --- 1255,1269 ---- is not specified, the value of the .Ic default-command 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 When the shell command completes, the window closes. See the *************** *** 1453,1458 **** --- 1463,1469 ---- commands. .It Xo Ic split-window .Op Fl dhvP + .Op Fl c Ar start-directory .Oo Fl l .Ar size | .Fl p Ar percentage Oc