=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.72 retrieving revision 1.73 diff -c -r1.72 -r1.73 *** src/usr.bin/tmux/tmux.1 2009/08/18 16:21:04 1.72 --- src/usr.bin/tmux/tmux.1 2009/08/19 10:39:50 1.73 *************** *** 1,4 **** ! .\" $OpenBSD: tmux.1,v 1.72 2009/08/18 16:21:04 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" --- 1,4 ---- ! .\" $OpenBSD: tmux.1,v 1.73 2009/08/19 10:39:50 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: August 18 2009 $ .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: August 19 2009 $ .Dt TMUX 1 .Os .Sh NAME *************** *** 1662,1667 **** --- 1662,1668 ---- Commands related to the status line are as follows: .Bl -tag -width Ds .It Xo Ic command-prompt + .Op Fl p Ar prompts .Op Fl t Ar target-client .Op Ar template .Xc *************** *** 1671,1678 **** to execute commands interactively. If .Ar template ! is specified, it is used as the command; any %% in the template will be ! replaced by what is entered at the prompt. .It Xo Ic confirm-before .Op Fl t Ar target-client .Ar command --- 1672,1701 ---- to execute commands interactively. If .Ar template ! is specified, it is used as the command. ! If ! .Fl p ! is given, ! .Ar prompts ! is a comma-separated list of prompts which are displayed in order; otherwise ! a single prompt is displayed, constructed from ! .Ar template ! if it is present, or ! .Ql \&: ! if not. ! Before the command is executed, the first occurrence of the string ! .Ql %% ! and all occurences of ! .Ql %1 ! are replaced by the response to the first prompt, the second ! .Ql %% ! and all ! .Ql %2 ! are replaced with the response to the second prompt, and so on for further ! prompts. Up to nine prompt responses may be replaced ! .Ns ( Ql %1 ! to ! .Ns Ql %9 ) . .It Xo Ic confirm-before .Op Fl t Ar target-client .Ar command *************** *** 1926,1931 **** --- 1949,1955 ---- .Bd -literal -offset indent bind-key b set-option status bind-key / command-prompt "split-window 'exec man %%'" + bind-key S command-prompt "new-window -n %1 'ssh %1'" .Ed .Sh SEE ALSO .Xr pty 4