diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-12-30 23:16:19 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-12-30 23:16:19 +0000 |
commit | de34f30d82fbe5af3397b33b8447b0f89819f317 (patch) | |
tree | c8b7d9ad6076ce018124cccf9498e0f2545c7a24 /usr.bin/tmux/tmux.1 | |
parent | f86a8cbba3c4969f3c12fc7107790af4c8538407 (diff) |
Change from a per-session stack of buffers to one global stack which is
much more convenient and also simplifies lot of code. This renders
copy-buffer useless and makes buffer-limit now a server option.
By Tiago Cunha.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r-- | usr.bin/tmux/tmux.1 | 36 |
1 files changed, 10 insertions, 26 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 752c836046c..46b254e1c13 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.197 2010/12/27 19:57:31 jmc Exp $ +.\" $OpenBSD: tmux.1,v 1.198 2010/12/30 23:16:18 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -14,7 +14,7 @@ .\" 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: December 27 2010 $ +.Dd $Mdocdate: December 30 2010 $ .Dt TMUX 1 .Os .Sh NAME @@ -1594,6 +1594,10 @@ Available window options are listed under .Pp Available server options are: .Bl -tag -width Ds +.It Ic buffer-limit Ar number +Set the number of buffers; as new buffers are added to the top of the stack, +old ones are removed from the bottom if necessary to maintain this maximum +length. .It Ic escape-time Set the time in milliseconds for which .Nm @@ -1626,10 +1630,6 @@ window of that session, means all bells are ignored and .Ic current means only bell in windows other than the current window are ignored. -.It Ic buffer-limit Ar number -Set the number of buffers kept for each session; as new buffers are added to -the top of the stack, old ones are removed from the bottom if necessary to -maintain this maximum length. .It Ic default-command Ar shell-command Set the command used for new windows (if not specified when the window is created) to @@ -2567,29 +2567,16 @@ This command works only from inside .It Ic clear-history Op Fl t Ar target-pane .D1 (alias: Ic clearhist ) Remove and free the history for the specified pane. -.It Xo Ic copy-buffer -.Op Fl a Ar src-index -.Op Fl b Ar dst-index -.Op Fl s Ar src-session -.Op Fl t Ar dst-session -.Xc -.D1 (alias: Ic copyb ) -Copy a session paste buffer to another session. -If no sessions are specified, the current one is used instead. -.It Xo Ic delete-buffer -.Op Fl b Ar buffer-index -.Op Fl t Ar target-session -.Xc +.It Ic delete-buffer Op Fl b Ar buffer-index .D1 (alias: Ic deleteb ) Delete the buffer at .Ar buffer-index , or the top buffer if not specified. -.It Ic list-buffers Op Fl t Ar target-session +.It Ic list-buffers .D1 (alias: Ic lsb ) -List the buffers in the given session. -.It Xo Ic load-buffer +List the global buffers. +.It Xo Ic load-buffer .Op Fl b Ar buffer-index -.Op Fl t Ar target-session .Ar path .Xc .D1 (alias: Ic loadb ) @@ -2618,7 +2605,6 @@ flag means to do no replacement (equivalent to a separator of LF). .It Xo Ic save-buffer .Op Fl a .Op Fl b Ar buffer-index -.Op Fl t Ar target-session .Ar path .Xc .D1 (alias: Ic saveb ) @@ -2629,7 +2615,6 @@ The option appends to rather than overwriting the file. .It Xo Ic set-buffer .Op Fl b Ar buffer-index -.Op Fl t Ar target-session .Ar data .Xc .D1 (alias: Ic setb ) @@ -2637,7 +2622,6 @@ Set the contents of the specified buffer to .Ar data . .It Xo Ic show-buffer .Op Fl b Ar buffer-index -.Op Fl t Ar target-session .Xc .D1 (alias: Ic showb ) Display the contents of the specified buffer. |