Annotation of src/usr.bin/tmux/tmux.1, Revision 1.17
1.17 ! nicm 1: .\" $OpenBSD: tmux.1,v 1.16 2009/06/24 22:49:56 nicm Exp $
1.1 nicm 2: .\"
3: .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
4: .\"
5: .\" Permission to use, copy, modify, and distribute this software for any
6: .\" purpose with or without fee is hereby granted, provided that the above
7: .\" copyright notice and this permission notice appear in all copies.
8: .\"
9: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13: .\" WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
14: .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
15: .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16: .\"
1.16 nicm 17: .Dd $Mdocdate: June 24 2009 $
1.1 nicm 18: .Dt TMUX 1
19: .Os
20: .Sh NAME
21: .Nm tmux
1.6 jmc 22: .Nd terminal multiplexer
1.1 nicm 23: .Sh SYNOPSIS
24: .Nm tmux
25: .Bk -words
26: .Op Fl 28dqUuv
27: .Op Fl f Ar file
28: .Op Fl L Ar socket-name
29: .Op Fl S Ar socket-path
30: .Op Ar command Op Ar flags
31: .Ek
32: .Sh DESCRIPTION
33: .Nm
1.6 jmc 34: is a terminal multiplexer: it enables a number of terminals to be accessed and
1.1 nicm 35: controlled from a single terminal.
36: .Pp
37: .Nm
38: runs as a server-client system.
39: A server is created automatically when necessary and holds a number of
40: .Em sessions ,
41: each of which may have a number of
42: .Em windows
43: linked to it.
44: A window may be split on screen into one or more
45: .Em panes ,
46: each of which is a separate terminal.
47: Any number of
48: .Em clients
49: may connect to a session, or the server
50: may be controlled by issuing commands with
51: .Nm .
52: Communication takes place through a socket, by default placed in
53: .Pa /tmp .
54: .Pp
55: The options are as follows:
56: .Bl -tag -width "XXXXXXXXXXXX"
57: .It Fl 2
58: Force
59: .Nm
60: to assume the terminal supports 256 colours.
61: .It Fl 8
62: Like
63: .Fl 2 ,
1.6 jmc 64: but indicates that the terminal supports 88 colours.
1.1 nicm 65: .It Fl d
66: Force
67: .Nm
68: to assume the terminal supports default colours.
69: .It Fl f Ar file
70: Specify an alternative configuration file.
71: By default,
72: .Nm
73: will look for a config file at
74: .Pa ~/.tmux.conf .
75: The configuration file is a set of
76: .Nm
77: commands which are executed in sequence when the server is first started.
78: .It Fl L Ar socket-name
79: .Nm
80: stores the server socket in a directory under
81: .Pa /tmp ;
82: the default socket is named
83: .Em default .
84: This option allows a different socket name to be specified, allowing several
85: independent
86: .Nm
87: servers to be run.
88: Unlike
89: .Fl S
90: a full path is not necessary: the sockets are all created in the same
91: directory.
1.2 nicm 92: .Pp
93: If the socket is accidentally removed, the
1.6 jmc 94: .Dv SIGUSR1
1.2 nicm 95: signal may be sent to the
96: .Nm
97: server process to recreate it.
1.4 sobrado 98: .It Fl q
1.6 jmc 99: Prevent the server sending various informational messages, for example when
1.4 sobrado 100: window flags are altered.
1.1 nicm 101: .It Fl S Ar socket-path
102: Specify a full alternative path to the server socket.
103: If
104: .Fl S
105: is specified, the default socket directory is not used and any
106: .Fl L
107: flag is ignored.
108: .It Fl U
109: Unlock the server.
110: .It Fl u
111: .Nm
1.14 nicm 112: attempts to guess if the terminal is likely to support UTF-8 by checking the
113: first of the
114: .Ev LC_ALL ,
115: .Ev LC_CTYPE
116: and
1.2 nicm 117: .Ev LANG
1.14 nicm 118: environment variables to be set for the string "UTF-8".
1.5 nicm 119: This is not always correct: the
1.2 nicm 120: .Fl u
121: flag explicitly informs
122: .Nm
1.6 jmc 123: that UTF-8 is supported.
1.1 nicm 124: .It Fl v
125: Request verbose logging.
126: This option may be specified multiple times for increasing verbosity.
127: Log messages will be saved into
128: .Pa tmux-client-PID.log
129: and
130: .Pa tmux-server-PID.log
131: files in the current directory, where
132: .Em PID
1.6 jmc 133: is the PID of the server or client process.
1.1 nicm 134: .It Ar command Op Ar flags
135: This specifies one of a set of commands used to control
136: .Nm ,
1.6 jmc 137: as described in the following sections.
138: If no command and flags are specified, the
1.1 nicm 139: .Ic new-session
140: command is assumed.
141: .El
142: .Sh QUICK START
1.6 jmc 143: To create a new
144: .Nm
145: session running
1.1 nicm 146: .Xr vi 1 :
147: .Pp
148: .Dl $ tmux new-session vi
149: .Pp
150: Most commands have a shorter form, known as an alias.
151: For new-session, this is
152: .Ic new :
153: .Pp
154: .Dl $ tmux new vi
155: .Pp
156: Alternatively, the shortest unambiguous form of a command is accepted.
157: If there are several options, they are listed:
158: .Bd -literal -offset indent
159: $ tmux n
160: ambiguous command: n, could be: new-session, new-window, next-window
161: .Ed
162: .Pp
163: Within an active session, a new window may be created by typing
1.7 jmc 164: .Ql C-b c
165: (Ctrl
1.1 nicm 166: followed by the
1.6 jmc 167: .Ql b
1.7 jmc 168: key
169: followed by the
170: .Ql c
1.6 jmc 171: key).
1.1 nicm 172: .Pp
173: Windows may be navigated with:
174: .Ql C-b 0
175: (to select window 0),
176: .Ql C-b 1
177: (to select window 1), and so on;
178: .Ql C-b n
179: to select the next window; and
180: .Ql C-b p
181: to select the previous window.
182: .Pp
183: A session may be detached using
184: .Ql C-b d
185: and reattached with:
186: .Pp
187: .Dl $ tmux attach-session
188: .Pp
189: Typing
190: .Ql C-b \&?
191: lists the current key bindings in the current window; up and down may be used
192: to navigate the list or
1.6 jmc 193: .Ql q
1.1 nicm 194: to exit from it.
1.13 nicm 195: .Pp
196: Commands to be run when the
197: .Nm
198: server is started may be placed in the
1.15 jmc 199: .Pa ~/.tmux.conf
1.13 nicm 200: configuration file.
201: Common examples include:
1.15 jmc 202: .Pp
203: Changing the default prefix key:
1.13 nicm 204: .Bd -literal -offset indent
205: set-option -g prefix C-a
206: unbind-key C-b
207: bind-key C-a send-prefix
208: .Ed
209: .Pp
210: Turning the status line off, or changing its colour:
211: .Bd -literal -offset indent
212: set-option -g status off
213: set-option -g status-bg blue
214: .Ed
215: .Pp
1.15 jmc 216: Setting other options, such as the default command,
217: or locking after 30 minutes of inactivity:
1.13 nicm 218: .Bd -literal -offset indent
219: set-option -g default-command "exec /bin/ksh"
220: set-option -g lock-after-time 1800
221: .Ed
1.15 jmc 222: .Pp
223: Creating new key bindings:
1.13 nicm 224: .Bd -literal -offset indent
225: bind-key b set-option status
226: bind-key / command-prompt "split-window 'exec man %%'"
227: .Ed
1.1 nicm 228: .Sh KEY BINDINGS
229: .Nm
230: may be controlled from an attached client by using a key combination of a
231: prefix key,
232: .Ql C-b
1.6 jmc 233: (Ctrl-b) by default, followed by a command key.
1.1 nicm 234: .Pp
235: Some of the default key bindings include:
236: .Pp
1.6 jmc 237: .Bl -tag -width Ds -offset 3n -compact
238: .It c
239: Create new window.
240: .It d
1.1 nicm 241: Detach current client.
1.6 jmc 242: .It l
243: Move to last (previously selected) window in the current session.
244: .It n
1.1 nicm 245: Change to next window in the current session.
1.6 jmc 246: .It p
1.1 nicm 247: Change to previous window in the current session.
1.6 jmc 248: .It t
1.1 nicm 249: Display a large clock.
1.6 jmc 250: .It \&?
1.1 nicm 251: List current key bindings.
252: .El
253: .Pp
254: A complete list may be obtained with the
255: .Ic list-keys
256: command (bound to
257: .Ql \&?
258: by default).
259: Key bindings may be changed with the
260: .Ic bind-key
261: and
262: .Ic unbind-key
263: commands.
264: .Sh HISTORY
265: .Nm
266: maintains a configurable history buffer for each window.
1.6 jmc 267: By default, up to 2000 lines are kept; this can be altered with the
1.1 nicm 268: .Ic history-limit
269: option (see the
270: .Ic set-option
271: command below).
272: .Sh MODES
273: A
274: .Nm
275: window may be in one of several modes.
276: The default permits direct access to the terminal attached to the window.
277: The others are:
278: .Bl -tag -width Ds
279: .It Em output mode
280: This is entered when a command which produces output, such as
281: .Ic list-keys ,
282: is executed from a key binding.
283: .It Em scroll mode
284: This is entered with the
285: .Ic scroll-mode
286: command (bound to
287: .Ql =
288: by default) and permits the window history buffer to be inspected.
289: .It Em copy mode
290: This permits a section of a window or its history to be copied to a
291: .Em paste buffer
292: for later insertion into another window.
293: This mode is entered with the
294: .Ic copy-mode
295: command, bound to
296: .Ql [
297: by default.
298: .El
299: .Pp
1.6 jmc 300: The keys available depend on whether emacs or vi mode is selected
301: (see the
1.1 nicm 302: .Ic mode-keys
303: option).
304: The following keys are supported as appropriate for the mode:
305: .Bl -column "FunctionXXXXXXXXXXXX" "viXXXXXX" "emacs" -offset indent
306: .It Sy "Function" Ta Sy "vi" Ta Sy "emacs"
307: .It Li "Start of line" Ta "0 or ^" Ta "C-a"
308: .It Li "Clear selection" Ta "Escape" Ta "C-g"
309: .It Li "Copy selection" Ta "Enter" Ta "M-w"
310: .It Li "Cursor down" Ta "j" Ta "Down"
311: .It Li "End of line" Ta "$" Ta "C-e"
312: .It Li "Cursor left" Ta "h" Ta "Left"
313: .It Li "Next page" Ta "C-f" Ta "Page down"
314: .It Li "Next word" Ta "w" Ta "M-f"
315: .It Li "Previous page" Ta "C-u" Ta "Page up"
316: .It Li "Previous word" Ta "b" Ta "M-b"
317: .It Li "Quit mode" Ta "q" Ta "Escape"
318: .It Li "Cursor right" Ta "l" Ta "Right"
319: .It Li "Start selection" Ta "Space" Ta "C-Space"
320: .It Li "Cursor up" Ta "k" Ta "Up"
1.2 nicm 321: .It Li "Paste buffer" Ta "p" Ta "C-y"
1.1 nicm 322: .El
323: .Pp
1.2 nicm 324: The paste buffer key pastes the first line from the top paste buffer on the
325: stack.
1.1 nicm 326: .Sh BUFFERS
327: .Nm
328: maintains a stack of
329: .Em paste buffers
330: for each session.
331: Up to the value of the
332: .Ic buffer-limit
333: option are kept; when a new buffer is added, the buffer at the bottom of the
334: stack is removed.
335: Buffers may be added using
336: .Ic copy-mode
337: or the
338: .Ic set-buffer
339: command, and pasted into a window using the
340: .Ic paste-buffer
341: command.
342: .Sh PANES AND LAYOUTS
343: Each window displayed by
344: .Nm
345: may be split into one or more
346: .Em panes ;
347: each pane takes up a certain area of the display and is a separate terminal.
348: A window may be split into panes using the
349: .Ic split-window
350: command.
351: .Pp
352: Panes are numbered beginning from zero; in horizontal layouts zero is the
353: leftmost pane and in vertical the topmost.
354: .Pp
355: Panes may be arranged using several layouts.
356: The layout may be cycled with the
357: .Ic next-layout
358: command (bound to
359: .Ql C-space
360: by default), the current pane may be changed with the
361: .Ic up-pane
362: and
363: .Ic down-pane
364: commands and the
365: .Ic rotate-window
366: and
367: .Ic swap-pane
368: commands may be used to swap panes without changing the window layout.
369: .Pp
370: The following layouts are supported:
371: .Bl -tag -width Ds
372: .It Ic active-only
1.6 jmc 373: Only the active pane is shown \(en all other panes are hidden.
1.1 nicm 374: .It Ic even-horizontal
375: Panes are spread out evenly from left to right across the window.
376: .It Ic even-vertical
377: Panes are spread evenly from top to bottom.
1.2 nicm 378: .It Ic main-horizontal
379: A large (main) pane is shown at the top of the window and the remaining panes are
1.6 jmc 380: spread from left to right in the leftover space at the bottom.
1.2 nicm 381: Use the
382: .Em main-pane-height
383: window option to specify the height of the top pane.
1.1 nicm 384: .It Ic main-vertical
1.2 nicm 385: Similar to
386: .Ic main-horizontal
387: but the large pane is placed on the left and the others spread from top to
388: bottom along the right.
389: See the
390: .Em main-pane-width
391: window option.
1.6 jmc 392: .It Ic manual
393: Manual layout splits windows vertically (running across); only with this layout
394: may panes be resized using the
395: .Ic resize-pane
396: command.
1.1 nicm 397: .El
1.8 nicm 398: .Sh STATUS LINE
399: .Nm
400: includes an optional status line which is displayed in the bottom line of each
401: terminal.
402: By default, the status line is enabled (it may be disabled with the
403: .Ic status
404: session option) and contains, from left-to-right: the name of the current
405: session in square brackets; the window list; the current window title in double
406: quotes; and the time and date.
407: .Pp
408: The status line is made of three parts: configurable left and right sections
409: (which may contain dynamic content such as the time or output from a shell
410: command, see the
411: .Ic status-left ,
412: .Ic status-left-length ,
413: .Ic status-right ,
414: and
415: .Ic status-right-length
416: options below), and a central window list.
417: The window list shows the index, name and (if any) flag of the windows
418: present in the current session in ascending numerical order.
419: The flag is one of the following symbols appended to the window name:
420: .Bl -column "Symbol" "Meaning" -offset indent
421: .It Sy "Symbol" Ta Sy "Meaning"
422: .It Li "*" Ta "Denotes the current window."
423: .It Li "-" Ta "Marks the last window (previously selected)."
424: .It Li "#" Ta "Window is monitored and activity has been detected."
425: .It Li "!" Ta "A bell has occurred in the window."
426: .It Li "+" Ta "Window is monitored for content and it has appeared."
427: .El
428: .Pp
429: The # symbol relates to the
430: .Ic monitor-activity
431: and + to the
432: .Ic monitor-content
433: window options.
434: The window name is printed in inverted colours if an alert (bell, activity or
435: content) is present.
436: .Pp
437: The colour and attributes of the status line may be configured, the entire status line using
438: the
439: .Ic status-attr ,
440: .Ic status-fg
441: and
442: .Ic status-bg
443: session options and individual windows using the
444: .Ic window-status-attr ,
445: .Ic window-status-fg
446: and
447: .Ic window-status-bg
448: window options.
449: .Pp
450: The status line is automatically refreshed at interval if it has changed, the interval may be
451: controlled with the
452: .Ic status-interval
453: session option.
1.1 nicm 454: .Sh COMMANDS
455: This section contains a list of the commands supported by
456: .Nm .
457: Most commands accept the optional
458: .Fl t
459: argument with one of
460: .Ar target-client ,
461: .Ar target-session
462: or
463: .Ar target-window .
464: These specify the client, session or window which a command should affect.
465: .Ar target-client
466: is the name of the
467: .Xr pty 4
468: file to which the client is connected, for example
469: .Pa /dev/ttyp1 .
470: Clients may be listed with the
471: .Ic list-clients
472: command.
473: .Pp
474: .Ar target-session
475: is either the name of a session (as listed by the
476: .Ic list-sessions
1.6 jmc 477: command) or the name of a client,
1.1 nicm 478: .Ar target-client ,
1.6 jmc 479: in which case the session attached to the client is used.
1.1 nicm 480: An
481: .Xr fnmatch 3
482: pattern may be used to match the session name.
483: If a session is omitted when required,
484: .Nm tmux
485: attempts to use the current session; if no current session is available, the
486: most recently created is chosen.
487: If no client is specified, the current client is chosen, if possible, or an
488: error is reported.
489: .Pp
490: .Ar target-window
491: specifies a window in the form
492: .Em session Ns \&: Ns Em index ,
493: for example mysession:1.
494: The session is in the same form as for
495: .Ar target-session .
496: .Em session ,
497: .Em index
498: or both may be omitted.
499: If
500: .Em session
501: is omitted, the same rules as for
502: .Ar target-session
503: are followed; if
504: .Em index
505: is not present, the current window for the given session is used.
1.6 jmc 506: When the argument does not contain a colon,
1.1 nicm 507: .Nm
508: first attempts to parse it as window index; if that fails, an attempt is made
509: to match a session or client name.
510: .Pp
511: Multiple commands may be specified together as part of a
512: .Em command sequence .
1.6 jmc 513: Each command should be separated by spaces and a semicolon;
1.1 nicm 514: commands are executed sequentially from left to right.
515: A literal semicolon may be included by escaping it with a backslash (for
516: example, when specifying a command sequence to
517: .Ic bind-key ) .
518: .Pp
519: Examples include:
520: .Bd -literal -offset indent
521: refresh-client -t/dev/ttyp2
522:
523: rename-session -tfirst newname
524:
525: set-window-option -t:0 monitor-activity on
526:
527: new-window ; split-window -d
528:
529: bind-key D detach-client \e\; lock-server
530: .Ed
531: .Pp
532: The following commands are available:
533: .Bl -tag -width Ds
534: .It Xo Ic attach-session
535: .Op Fl d
536: .Op Fl t Ar target-session
537: .Xc
538: .D1 (alias: Ic attach )
539: Create a new client in the current terminal and attach it to a session.
540: If
541: .Fl d
542: is specified, any other clients attached to the session are detached.
543: .Pp
544: If no server is started,
545: .Ic attach-session
546: will attempt to start it; this will fail unless sessions are created in the
547: configuration file.
548: .It Xo Ic bind-key
549: .Op Fl r
550: .Ar key Ar command Op Ar arguments
551: .Xc
552: .D1 (alias: Ic bind )
553: Bind key
554: .Ar key
555: to
556: .Ar command .
557: Keys may be specified prefixed with
558: .Ql C-
559: or
560: .Ql ^
1.6 jmc 561: for Ctrl keys, or
1.1 nicm 562: .Ql M-
1.6 jmc 563: for Alt (meta) keys.
1.1 nicm 564: The
565: .Fl r
566: flag indicates this key may repeat, see the
567: .Ic repeat-time
568: option.
569: .It Xo Ic break-pane
570: .Op Fl d
571: .Op Fl p Ar pane-index
572: .Op Fl t Ar target-window
573: .Xc
1.17 ! nicm 574: .D1 (alias: Ic breakp )
1.1 nicm 575: Break the current pane off from its containing window to make it the only pane
576: in a new window.
577: If
578: .Fl d
579: is given, the new window does not become the current window.
580: .It Xo Ic choose-session
581: .Op Fl t Ar target-window
582: .Xc
583: Put a window into session choice mode, where the session for the current
584: client may be selected interactively from a list.
585: This command works only from inside
586: .Nm .
587: .It Xo Ic choose-window
588: .Op Fl t Ar target-window
589: .Xc
590: Put a window into window choice mode, where the window for the session
591: attached to the current client may be selected interactively from a list.
592: This command works only from inside
593: .Nm .
1.2 nicm 594: .It Xo Ic clear-history
595: .Op Fl p Ar pane-index
596: .Op Fl t Ar target-window
597: .Xc
1.17 ! nicm 598: .D1 (alias: Ic clearhist )
1.2 nicm 599: Remove and free the history for the specified pane.
1.1 nicm 600: .It Xo Ic clock-mode
601: .Op Fl t Ar target-window
602: .Xc
603: Display a large clock.
604: .It Xo Ic command-prompt
605: .Op Fl t Ar target-client
606: .Op Ar template
607: .Xc
608: Open the command prompt in a client.
609: This may be used from inside
610: .Nm
611: to execute commands interactively.
612: If
613: .Ar template
614: is specified, it is used as the command; any %% in the template will be
615: replaced by what is entered at the prompt.
616: .It Xo Ic confirm-before
617: .Op Fl t Ar target-client
618: .Ar command
619: .Xc
1.17 ! nicm 620: .D1 (alias: Ic confirm )
1.1 nicm 621: Ask for confirmation before executing
622: .Ar command .
623: This command works only from inside
624: .Nm .
625: .It Xo Ic copy-buffer
626: .Op Fl a Ar src-index
627: .Op Fl b Ar dst-index
628: .Op Fl s Ar src-session
629: .Op Fl t Ar dst-session
630: .Xc
1.17 ! nicm 631: .D1 (alias: Ic copyb )
1.1 nicm 632: Copy a session paste buffer to another session.
633: If no sessions are specified, the current one is used instead.
634: .It Xo Ic copy-mode
635: .Op Fl u
636: .Op Fl t Ar target-window
637: .Xc
638: Enter copy mode.
639: The
640: .Fl u
641: option scrolls one page up.
642: .It Xo Ic delete-buffer
643: .Op Fl b Ar buffer-index
644: .Op Fl t Ar target-session
645: .Xc
646: .D1 (alias: Ic deleteb )
647: Delete the buffer at
648: .Ar buffer-index ,
649: or the top buffer if not specified.
650: .It Xo Ic detach-client
651: .Op Fl t Ar target-client
652: .Xc
653: .D1 (alias: Ic detach )
654: Detach the current client if bound to a key, or the specified client with
655: .Fl t .
656: .It Xo Ic down-pane
657: .Op Fl p Ar pane-index
658: .Op Fl t Ar target-window
659: .Xc
660: .D1 (alias: Ic downp )
661: Move down a pane.
662: .It Xo Ic find-window
663: .Op Fl t Ar target-window
664: .Ar match-string
665: .Xc
666: .D1 (alias: Ic findw )
1.16 nicm 667: Search for the
668: .Xr fnmatch 3
669: pattern
1.1 nicm 670: .Ar match-string
671: in window names, titles, and visible content (but not history).
672: If only one window is matched, it'll be automatically selected, otherwise a
673: choice list is shown.
674: This command only works from inside
675: .Nm .
676: .It Xo Ic has-session
677: .Op Fl t Ar target-session
678: .Xc
679: .D1 (alias: Ic has )
680: Report an error and exit with 1 if the specified session does not exist.
681: If it does exist, exit with 0.
682: .It Xo Ic kill-pane
683: .Op Fl p Ar pane-index
684: .Op Fl t Ar target-window
685: .Xc
686: .D1 (alias: Ic killp )
687: Destroy the given pane.
688: .It Xo Ic kill-server
689: .Xc
690: Kill the
691: .Nm
692: server and clients and destroy all sessions.
693: .It Xo Ic kill-session
694: .Op Fl t Ar target-session
695: .Xc
696: Destroy the given session, closing any windows linked to it and no other
697: sessions, and detaching all clients attached to it.
698: .It Xo Ic kill-window
699: .Op Fl t Ar target-window
700: .Xc
701: .D1 (alias: Ic killw )
702: Kill the current window or the window at
703: .Ar target-window ,
704: removing it from any sessions to which it is linked.
705: .It Xo Ic last-window
706: .Op Fl t Ar target-session
707: .Xc
708: .D1 (alias: Ic last )
709: Select the last (previously selected) window.
710: If no
711: .Ar target-session
712: is specified, select the last window of the current session.
713: .It Xo Ic link-window
714: .Op Fl dk
715: .Op Fl s Ar src-window
716: .Op Fl t Ar dst-window
717: .Xc
718: .D1 (alias: Ic linkw )
719: Link the window at
720: .Ar src-window
721: to the specified
722: .Ar dst-window .
723: If
724: .Ar dst-window
725: is specified and no such window exists, the
726: .Ar src-window
727: is linked there.
728: If
729: .Fl k
730: is given and
731: .Ar dst-window
732: exists, it is killed, otherwise an error is generated.
733: If
734: .Fl d
735: is given, the newly linked window is not selected.
736: .It Xo Ic list-buffers
737: .Op Fl t Ar target-session
738: .Xc
739: .D1 (alias: Ic lsb )
740: List the buffers in the given session.
741: .It Xo Ic list-clients
742: .Xc
743: .D1 (alias: Ic lsc )
744: List all clients attached to the server.
745: .It Xo Ic list-commands
746: .Xc
747: .D1 (alias: Ic lscm )
748: List the syntax of all commands supported by
749: .Nm .
750: .It Xo Ic list-keys
751: .Xc
752: .D1 (alias: Ic lsk )
753: List all key bindings.
754: .It Xo Ic list-sessions
755: .Xc
756: .D1 (alias: Ic ls )
757: List all sessions managed by the server.
758: .It Xo Ic list-windows
759: .Op Fl t Ar target-session
760: .Xc
761: .D1 (alias: Ic lsw )
762: List windows in the current session or in
763: .Ar target-session .
764: .It Xo Ic load-buffer
765: .Op Fl b Ar buffer-index
766: .Op Fl t Ar target-session
767: .Ar path
768: .Xc
769: .D1 (alias: Ic loadb )
770: Load the contents of the specified paste buffer from
771: .Ar path .
772: .It Xo Ic lock-server
773: .Xc
774: .D1 (alias: Ic lock )
775: Lock the server until a password is entered.
776: .It Xo Ic move-window
777: .Op Fl d
778: .Op Fl s Ar src-window
779: .Op Fl t Ar dst-window
780: .Xc
781: .D1 (alias: Ic movew )
782: This is similar to
783: .Ic link-window ,
784: except the window at
785: .Ar src-window
786: is moved to
787: .Ar dst-window .
788: .It Xo Ic new-session
789: .Op Fl d
790: .Op Fl n Ar window-name
791: .Op Fl s Ar session-name
792: .Op Ar command
793: .Xc
794: .D1 (alias: Ic new )
795: Create a new session with name
796: .Ar session-name .
797: The new session is attached to the current terminal unless
798: .Fl d
799: is given.
800: .Ar window-name
801: and
802: .Ar command
803: are the name of and command to execute in the initial window.
804: .It Xo Ic new-window
805: .Op Fl d
806: .Op Fl n Ar window-name
807: .Op Fl t Ar target-window
808: .Op Ar command
809: .Xc
810: .D1 (alias: Ic neww )
811: Create a new window.
812: If
813: .Fl d
814: is given, the session does not make the new window the current window.
815: .Ar target-window
816: represents the window to be created.
817: .Ar command
818: is the command to execute.
819: If
820: .Ar command
821: is not specified, the default command is used.
822: .Pp
823: The
824: .Ev TERM
825: environment variable must be set to
826: .Dq screen
827: for all programs running
828: .Em inside
829: .Nm .
830: New windows will automatically have
831: .Dq TERM=screen
832: added to their environment, but care must be taken not to reset this in shell
833: start-up files.
834: .It Xo Ic next-layout
835: .Op Fl t Ar target-window
836: .Xc
837: .D1 (alias: Ic nextl )
838: Move a window to the next layout and rearrange the panes to fit.
839: .It Xo Ic next-window
1.9 nicm 840: .Op Fl a
1.1 nicm 841: .Op Fl t Ar target-session
842: .Xc
843: .D1 (alias: Ic next )
844: Move to the next window in the session.
1.9 nicm 845: If
1.12 jmc 846: .Fl a
1.9 nicm 847: is used, move to the next window with a bell, activity or content alert.
1.1 nicm 848: .It Xo Ic paste-buffer
849: .Op Fl d
850: .Op Fl b Ar buffer-index
851: .Op Fl t Ar target-window
852: .Xc
853: .D1 (alias: Ic pasteb )
854: Insert the contents of a paste buffer into the current window.
855: .It Xo Ic previous-window
1.9 nicm 856: .Op Fl a
1.1 nicm 857: .Op Fl t Ar target-session
858: .Xc
859: .D1 (alias: Ic prev )
860: Move to the previous window in the session.
1.9 nicm 861: With
862: .Fl a ,
863: move to the previous window with a bell, activity or content alert.
1.1 nicm 864: .It Xo Ic refresh-client
865: .Op Fl t Ar target-client
866: .Xc
867: .D1 (alias: Ic refresh )
868: Refresh the current client if bound to a key, or a single client if one is given
869: with
870: .Fl t .
871: .It Xo Ic rename-session
872: .Op Fl t Ar target-session
873: .Ar new-name
874: .Xc
875: .D1 (alias: Ic rename )
876: Rename the session to
877: .Ar new-name .
878: .It Xo Ic rename-window
879: .Op Fl t Ar target-window
880: .Ar new-name
881: .Xc
882: .D1 (alias: Ic renamew )
883: Rename the current window, or the window at
884: .Ar target-window
885: if specified, to
886: .Ar new-name .
887: .It Xo Ic resize-pane
888: .Op Fl DU
889: .Op Fl p Ar pane-index
890: .Op Fl t Ar target-window
891: .Op Ar adjustment
892: .Xc
893: .D1 (alias: Ic resizep )
894: Resize a pane, upward with
895: .Fl U
896: (the default) or downward with
897: .Fl D .
898: The
899: .Ar adjustment
900: is given in lines (the default is 1).
901: .It Xo Ic respawn-window
902: .Op Fl k
903: .Op Fl t Ar target-window
904: .Op Ar command
905: .Xc
906: .D1 (alias: Ic respawnw )
907: Reactive a window in which the command has exited (see the
908: .Ic remain-on-exit
909: window option).
910: If
911: .Ar command
912: is not given, the command used when the window was created is executed.
913: The window must be already inactive, unless
914: .Fl k
915: is given, in which case any existing command is killed.
916: .It Xo Ic rotate-window
917: .Op Fl DU
918: .Op Fl t Ar target-window
919: .Xc
920: .D1 (alias: Ic rotatew )
921: Rotate the positions of the panes within a window, either upward (numerically
922: lower) with
923: .Fl U
924: or downward (numerically higher).
925: .It Xo Ic save-buffer
926: .Op Fl a
927: .Op Fl b Ar buffer-index
928: .Op Fl t Ar target-session
929: .Ar path
930: .Xc
931: .D1 (alias: Ic saveb )
932: Save the contents of the specified paste buffer to
933: .Ar path .
934: The
935: .Fl a
936: option appends to rather than overwriting the file.
937: .It Xo Ic scroll-mode
938: .Op Fl u
939: .Op Fl t Ar target-window
940: .Xc
941: Enter scroll mode.
942: The
943: .Fl u
944: has the same meaning as in the
945: .Ic copy-mode
946: command.
1.2 nicm 947: .It Xo Ic select-layout
948: .Op Fl t Ar target-window
949: .Ar layout-name
950: .Xc
1.17 ! nicm 951: .D1 (alias: selectl )
1.2 nicm 952: Choose a specific layout for a window.
1.1 nicm 953: .It Xo Ic select-pane
954: .Op Fl p Ar pane-index
955: .Op Fl t Ar target-window
956: .Xc
957: .D1 (alias: Ic selectp )
958: Make pane
959: .Ar pane-index
960: the active pane in window
961: .Ar target-window .
962: .It Xo Ic select-prompt
963: .Op Fl t Ar target-client
964: .Xc
965: Open a prompt inside
966: .Ar target-client
967: allowing a window index to be entered interactively.
968: .It Xo Ic select-window
969: .Op Fl t Ar target-window
970: .Xc
971: .D1 (alias: Ic selectw )
972: Select the window at
973: .Ar target-window .
974: .It Xo Ic send-keys
975: .Op Fl t Ar target-window
976: .Ar key Ar ...
977: .Xc
978: .D1 (alias: Ic send )
979: Send a key or keys to a window.
980: Each argument
981: .Ar key
982: is the name of the key (such as
983: .Ql C-a
984: or
985: .Ql npage
986: ) to send; if the string is not recognised as a key, it is sent as a series of
987: characters.
988: All arguments are sent sequentially from first to last.
989: .It Xo Ic send-prefix
990: .Op Fl t Ar target-window
991: .Xc
992: Send the prefix key to a window as if it was pressed.
993: .It Xo Ic server-info
994: .Xc
995: .D1 (alias: Ic info )
996: Show server information and terminal details.
997: .It Xo Ic set-buffer
998: .Op Fl b Ar buffer-index
999: .Op Fl t Ar target-session
1000: .Ar data
1001: .Xc
1002: .D1 (alias: Ic setb )
1003: Set the contents of the specified buffer to
1004: .Ar data .
1005: .It Xo Ic set-option
1006: .Op Fl gu
1007: .Op Fl t Ar target-session
1008: .Ar option Ar value
1009: .Xc
1010: .D1 (alias: Ic set )
1011: Set an option.
1012: If
1013: .Fl g
1014: is specified, the option is set as a global option.
1015: Global options apply to all sessions which don't have the option explicitly
1016: set.
1017: If
1018: .Fl g
1019: is not used, the option applies only to
1020: .Ar target-session .
1021: The
1022: .Fl u
1023: flag unsets an option, so a session inherits the option from the global
1024: options - it is not possible to unset a global option.
1025: .Pp
1026: Possible options are:
1027: .Bl -tag -width Ds
1028: .It Xo Ic bell-action
1029: .Op Ic any | Ic none | Ic current
1030: .Xc
1031: Set action on window bell.
1032: .Ic any
1033: means a bell in any window linked to a session causes a bell in the current
1034: window of that session,
1035: .Ic none
1036: means all bells are ignored and
1037: .Ic current
1038: means only bell in windows other than the current window are ignored.
1039: .It Ic buffer-limit Ar number
1040: Set the number of buffers kept for each session; as new buffers are added to
1041: the top of the stack, old ones are removed from the bottom if necessary to
1042: maintain this maximum length.
1043: .It Ic default-command Ar command
1044: Set the command used for new windows (if not specified when the window is
1045: created) to
1046: .Ar command .
1047: The default is
1.3 pyr 1048: .Dq exec $SHELL -l .
1.1 nicm 1049: .It Ic default-path Ar path
1050: Set the default working directory for processes created from keys, or
1051: interactively from the prompt.
1052: The default is the current working directory when the server is started.
1053: .It Ic history-limit Ar lines
1054: Set the maximum number of lines held in window history.
1055: This setting applies only to new windows - existing window histories are not
1056: resized and retain the limit at the point they were created.
1057: .It Ic lock-after-time Ar number
1058: Lock the server after
1059: .Ar number
1060: seconds of inactivity.
1061: The default is off (set to 0).
1062: This has no effect as a session option; it must be set as a global option using
1063: .Fl g .
1064: .It Ic message-attr Ar attributes
1065: Set status line message attributes, where
1066: .Ar attributes
1067: is either
1068: .Ic default
1069: or a comma-delimited list of one or more of:
1070: .Ic bright
1071: (or
1072: .Ic bold ) ,
1073: .Ic dim ,
1074: .Ic underscore ,
1075: .Ic blink ,
1076: .Ic reverse ,
1077: .Ic hidden ,
1078: or
1079: .Ic italics .
1080: .It Ic message-bg Ar colour
1081: Set status line message background colour, where
1082: .Ar colour
1083: is one of:
1084: .Ic black ,
1085: .Ic red ,
1086: .Ic green ,
1087: .Ic yellow ,
1088: .Ic blue ,
1089: .Ic magenta ,
1090: .Ic cyan ,
1091: .Ic white
1092: or
1093: .Ic default .
1094: .It Ic message-fg Ar colour
1095: Set status line message foreground colour.
1096: .It Ic prefix Ar key
1097: Set the current prefix key.
1098: .It Ic repeat-time Ar number
1099: Allow multiple commands to be entered without pressing the prefix-key again
1100: in the specified
1101: .Ar number
1102: milliseconds (the default is 500).
1103: Whether a key repeats may be set when it is bound using the
1104: .Fl r
1105: flag to
1106: .Ic bind-key .
1107: Repeat is enabled for the default keys of the
1108: .Ic up-pane ,
1109: .Ic down-pane ,
1110: .Ic resize-pane-up ,
1111: and
1112: .Ic resize-pane-down
1113: commands.
1114: .It Xo Ic set-remain-on-exit
1115: .Op Ic on | Ic off
1116: .Xc
1117: Set the
1118: .Ic remain-on-exit
1119: window option for any windows first created in this session.
1120: .It Xo Ic set-titles
1121: .Op Ic on | Ic off
1122: .Xc
1123: Attempt to set the window title using the \ee]2;...\e007 xterm code and
1124: the terminal appears to be an xterm.
1.11 nicm 1125: This option is off by default.
1.6 jmc 1126: Note that elinks
1.1 nicm 1127: will only attempt to set the window title if the STY environment
1128: variable is set.
1129: .It Xo Ic status
1130: .Op Ic on | Ic off
1131: .Xc
1132: Show or hide the status line.
1133: .It Ic status-attr Ar attributes
1134: Set status line attributes.
1135: .It Ic status-bg Ar colour
1136: Set status line background colour.
1137: .It Ic status-fg Ar colour
1138: Set status line foreground colour.
1139: .It Ic status-interval Ar interval
1140: Update the status bar every
1141: .Ar interval
1142: seconds.
1143: By default, updates will occur every 15 seconds.
1144: A setting of zero disables redrawing at interval.
1145: .It Xo Ic status-keys
1146: .Op Ic vi | Ic emacs
1147: .Xc
1.6 jmc 1148: Use vi or emacs-style
1.1 nicm 1149: key bindings in the status line, for example at the command prompt.
1150: Defaults to emacs.
1151: .It Ic status-left Ar string
1152: Display
1153: .Ar string
1154: to the left of the status bar.
1155: .Ar string
1156: will be passed through
1157: .Xr strftime 3
1158: before being used.
1159: By default, the session name is shown.
1160: .Ar string
1161: may contain any of the following special character pairs:
1162: .Bl -column "Character pair" "Replaced with" -offset indent
1163: .It Sy "Character pair" Ta Sy "Replaced with"
1164: .It Li "#(command)" Ta "First line of command's output"
1165: .It Li "#H" Ta "Hostname of local host"
1166: .It Li "#S" Ta "Session name"
1167: .It Li "#T" Ta "Current window title"
1168: .It Li "##" Ta "A literal" Ql #
1169: .El
1170: .Pp
1171: Where appropriate, these may be prefixed with a number to specify the maximum
1172: length, for example
1173: .Ql #24T .
1.10 nicm 1174: .Pp
1.12 jmc 1175: By default, UTF-8 in
1.10 nicm 1176: .Ar string
1177: is not interpreted, to enable UTF-8, use the
1178: .Ic status-utf8
1179: option.
1.1 nicm 1180: .It Ic status-left-length Ar length
1181: Set the maximum
1182: .Ar length
1183: of the left component of the status bar.
1184: The default is 10.
1185: .It Ic status-right Ar string
1186: Display
1187: .Ar string
1188: to the right of the status bar.
1189: By default, the date and time will be shown.
1190: As with
1191: .Ic status-left ,
1192: .Ar string
1193: will be passed to
1.10 nicm 1194: .Xr strftime 3 ,
1195: character pairs are replaced, and UTF-8 is dependent on the
1196: .Ic status-utf8
1197: option.
1.1 nicm 1198: .It Ic status-right-length Ar length
1199: Set the maximum
1200: .Ar length
1201: of the right component of the status bar.
1202: The default is 40.
1.10 nicm 1203: .Pp
1204: .It Xo Ic status-utf8
1205: .Op Ic on | Ic off
1206: .Xc
1207: Instruct
1208: .Nm
1209: to treat top-bit-set characters in the
1210: .Ic status-left
1211: and
1212: .Ic status-right
1213: strings as UTF-8; notably, this is important for wide characters.
1214: This option defaults to off.
1.1 nicm 1215: .El
1216: .It Xo Ic set-password
1217: .Op Fl c
1218: .Ar password
1219: .Xc
1220: .D1 (alias: Ic pass )
1221: Set the server password.
1222: If the
1223: .Fl c
1224: option is given, a pre-encrypted password may be specified.
1225: By default, the password is blank, thus any entered password will be accepted
1226: when unlocking the server (see the
1227: .Ic lock-server
1228: command).
1229: To prevent variable expansion when an encrypted password is read from a
1230: configuration file, enclose it in single quotes (').
1231: .It Xo Ic set-window-option
1232: .Op Fl gu
1233: .Op Fl t Ar target-window
1234: .Ar option Ar value
1235: .Xc
1236: .D1 (alias: Ic setw )
1237: Set a window-specific option.
1238: The
1239: .Fl g
1240: and
1241: .Fl u
1242: flags work similarly to the
1243: .Ic set-option
1244: command.
1245: .Pp
1246: Supported options are:
1247: .Bl -tag -width Ds
1248: .It Xo Ic aggressive-resize
1249: .Op Ic on | Ic off
1250: .Xc
1251: Aggressively resize the chosen window.
1252: This means that
1253: .Nm
1254: will resize the window to the size of the smallest session for which it is the
1255: current window, rather than the smallest session to which it is attached.
1256: The window may resize when the current window is changed on another sessions;
1.6 jmc 1257: this option is good for full-screen programs which support
1258: .Dv SIGWINCH
1259: and poor for interactive programs such as shells.
1.1 nicm 1260: .It Xo Ic automatic-rename
1261: .Op Ic on | Ic off
1262: .Xc
1263: Control automatic window renaming.
1264: When this setting is enabled,
1265: .Nm
1266: will attempt - on supported platforms - to rename the window to reflect the
1267: command currently running in it.
1268: This flag is automatically disabled for an individual window when a name
1269: is specified at creation with
1270: .Ic new-window or
1271: .Ic new-session ,
1272: or later with
1273: .Ic rename-window .
1274: It may be switched off globally with:
1275: .Bd -literal -offset indent
1276: set-window-option -g automatic-rename off
1277: .Ed
1278: .It Ic clock-mode-colour Ar colour
1279: Set clock colour.
1280: .It Xo Ic clock-mode-style
1281: .Op Ic 12 | Ic 24
1282: .Xc
1283: Set clock hour format.
1284: .It Ic force-height Ar height
1285: .It Ic force-width Ar width
1286: Prevent
1287: .Nm
1288: from resizing a window to greater than
1289: .Ar width
1290: or
1291: .Ar height .
1292: A value of zero restores the default unlimited setting.
1.2 nicm 1293: .It Ic main-pane-width Ar width
1294: .It Ic main-pane-height Ar height
1295: Set the width or height of the main (left or top) pane in the
1296: .Ic main-horizontal
1297: or
1298: .Ic main-vertical
1299: layouts.
1.1 nicm 1300: .It Ic mode-attr Ar attributes
1301: Set window modes attributes.
1302: .It Ic mode-bg Ar colour
1303: Set window modes background colour.
1304: .It Ic mode-fg Ar colour
1305: Set window modes foreground colour.
1306: .It Xo Ic mode-keys
1307: .Op Ic vi | Ic emacs
1308: .Xc
1.6 jmc 1309: Use vi or emacs-style
1.1 nicm 1310: key bindings in scroll and copy modes.
1311: Key bindings default to emacs.
1312: .It Xo Ic monitor-activity
1313: .Op Ic on | Ic off
1314: .Xc
1315: Monitor for activity in the window.
1316: Windows with activity are highlighted in the status line.
1317: .It Xo Ic monitor-content Ar match-string
1318: .Xc
1.6 jmc 1319: Monitor content in the window.
1320: When
1.16 nicm 1321: .Xr fnmatch 3
1322: pattern
1.1 nicm 1323: .Ar match-string
1324: appears in the window, it is highlighted in the status line.
1325: .It Xo Ic remain-on-exit
1326: .Op Ic on | Ic off
1327: .Xc
1328: A window with this flag set is not destroyed when the program running in it
1329: exits.
1330: The window may be reactivated with the
1331: .Ic respawn-window
1332: command.
1333: .It Xo Ic utf8
1334: .Op Ic on | Ic off
1335: .Xc
1336: Instructs
1337: .Nm
1338: to expect UTF-8 sequences to appear in this window.
1339: .It Ic window-status-attr Ar attributes
1340: Set status line attributes for a single window.
1341: .It Ic window-status-bg Ar colour
1342: Set status line background colour for a single window.
1343: .It Ic window-status-fg Ar colour
1344: Set status line foreground colour for a single window.
1345: .It Xo Ic xterm-keys
1346: .Op Ic on | Ic off
1347: .Xc
1348: If this option is set,
1349: .Nm
1350: will generate
1351: .Xr xterm 1 -style
1352: function key sequences; these have a number included to indicate modifiers such
1.6 jmc 1353: as Shift, Alt or Ctrl.
1.1 nicm 1354: .El
1355: .It Xo Ic show-buffer
1356: .Op Fl b Ar buffer-index
1357: .Op Fl t Ar target-session
1358: .Xc
1359: .D1 (alias: Ic showb )
1360: Display the contents of the specified buffer.
1361: .It Xo Ic show-options
1362: .Op Fl t Ar target-session
1363: .Ar option Ar value
1364: .Xc
1365: .D1 (alias: Ic show )
1366: Show the currently set options.
1367: If a
1368: .Ar target-session
1369: is specified, the options for that session are shown; otherwise, the global
1370: options are listed.
1371: .It Xo Ic show-window-options
1372: .Op Fl t Ar target-window
1373: .Ar option Ar value
1374: .Xc
1375: .D1 (alias: Ic showw )
1376: List the current options for the given window.
1377: .It Xo Ic source-file
1378: .Ar path
1379: .Xc
1380: .D1 (alias: Ic source )
1381: Execute commands from
1382: .Ar path .
1383: .It Xo Ic split-window
1384: .Op Fl d
1385: .Oo Fl l
1386: .Ar lines |
1387: .Fl p Ar percentage Oc
1388: .Op Fl t Ar target-window
1389: .Op Ar command
1390: .Xc
1391: .D1 (alias: splitw )
1392: Creates a new window by splitting it vertically.
1393: The
1394: .Fl l
1395: and
1396: .Fl p
1397: options specify the size of the new window in lines, or as a percentage,
1398: respectively.
1399: All other options have the same meaning as in the
1400: .Ic new-window
1401: command.
1402: .Pp
1403: A few notes with regard to panes:
1404: .Bl -enum -compact
1405: .It
1406: If attempting to split a window with less than eight lines, an error will be
1407: shown.
1408: .It
1409: If the window is resized, as many panes are shown as can fit without reducing
1410: them below four lines.
1411: .It
1412: The minimum pane size is four lines (including the separator line).
1413: .It
1414: The panes are indexed from top (0) to bottom, with no numbers skipped.
1415: .El
1416: .It Xo Ic start-server
1417: .Xc
1418: .D1 (alias: Ic start )
1419: Start the
1420: .Nm
1421: server, if not already running, without creating any sessions.
1422: .It Xo Ic suspend-client
1423: .Op Fl c target-client
1424: .Xc
1425: .D1 (alias: Ic suspendc )
1.6 jmc 1426: Suspend a client by sending
1427: .Dv SIGTSTP
1428: (tty stop).
1.1 nicm 1429: .It Xo Ic swap-pane
1430: .Op Fl dDU
1431: .Op Fl p Ar src-index
1432: .Op Fl t Ar target-window
1433: .Op Fl q Ar dst-index
1434: .Xc
1435: .D1 (alias: Ic swapp )
1436: Swap two panes within a window.
1437: If
1438: .Fl U
1439: is used, the pane is swapped with the pane above (before it numerically);
1440: .Fl D
1441: swaps with the pane below (the next numerically); or
1442: .Ar dst-index
1443: may be give to swap with a specific pane.
1444: .It Xo Ic swap-window
1445: .Op Fl d
1446: .Op Fl s Ar src-window
1447: .Op Fl t Ar dst-window
1448: .Xc
1449: .D1 (alias: Ic swapw )
1450: This is similar to
1451: .Ic link-window ,
1452: except the source and destination windows are swapped.
1453: It is an error if no window exists at
1454: .Ar src-window .
1455: .It Xo Ic switch-client
1456: .Op Fl c Ar target-client Fl t Ar target-session
1457: .Xc
1458: .D1 (alias: Ic switchc )
1459: Switch the current session for client
1460: .Ar target-client
1461: to
1462: .Ar target-session .
1463: .It Xo Ic unbind-key
1464: .Ar key
1465: .Xc
1466: .D1 (alias: Ic unbind )
1467: Unbind the key bound to
1468: .Ar key .
1469: .It Xo Ic unlink-window
1470: .Op Fl t Ar target-window
1471: .Xc
1472: .D1 (alias: Ic unlinkw )
1473: Unlink
1474: .Ar target-window .
1475: A window may be unlinked only if it is linked to multiple sessions - windows may
1476: not be linked to no sessions.
1477: .It Xo Ic up-pane
1478: .Op Fl p Ar pane-index
1479: .Op Fl t Ar target-window
1480: .Xc
1481: .D1 (alias: Ic upp )
1482: Move up a pane.
1483: .El
1484: .Sh FILES
1.6 jmc 1485: .Bl -tag -width "~/.tmux.confXXX" -compact
1.1 nicm 1486: .It Pa ~/.tmux.conf
1.6 jmc 1487: Default
1.1 nicm 1488: .Nm
1.6 jmc 1489: configuration file.
1.1 nicm 1490: .El
1491: .Sh SEE ALSO
1492: .Xr pty 4
1493: .Sh AUTHORS
1494: .An Nicholas Marriott Aq nicm@users.sourceforge.net