summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
AgeCommit message (Collapse)Author
2009-11-24Add a -p flag to display-message to print the output rather than displaying inNicholas Marriott
the status line, this allows things like "display -p '#W'" to find the current window index.
2009-11-22Add cursor keys to the key names list.Nicholas Marriott
2009-11-19Two new options, window-status-format and window-status-current-format, whichNicholas Marriott
allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
2009-11-19tweak previous;Jason McIntyre
2009-11-19Revert to xterm-keys off by default. It was on as an experiment to see if theNicholas Marriott
option could be removed, but it affects vi, so we have to keep the option, and a conservative default is better.
2009-11-19Don't interpret #() for display-message, it usually doesn't make sense and mayNicholas Marriott
leak commands.
2009-11-18Cleanup by moving various (mostly horrible) little bits handling UTF-8 gridNicholas Marriott
data into functions in a new file, grid-utf8.c, and use sizeof intead of UTF8_DATA. Also nuke trailing whitespace from tmux.1, reminded by jmc.
2009-11-18Add a per-client log of status line messages displayed while that clientNicholas Marriott
exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client.
2009-11-18Mark -n keys with (no prefix) rather than [].Nicholas Marriott
2009-11-10There is no real standard for modifier plus function keys. Previously, tmuxNicholas Marriott
output some from rxvt but in other ways did the same as xterm or other terminals, but this is a bit inconsistent. xterm's method is fairly sensible and we already support it (xterm-keys), so enable it by default instead.
2009-11-03Add an activity time for clients, like for sessions, and change session andNicholas Marriott
client lookup to pick the most recently used rather than the most recently created - this is much more useful when used interactively and (because the activity time is set at creation) should have no effect on source-file. Based on a problem reported by Jan Johansson.
2009-11-03Fix vi page up mode key (from naddy), add missing half page keys, and sort.Nicholas Marriott
2009-11-01Missing setenv/showenv aliases.Nicholas Marriott
2009-10-25Remove -d from tmux.1 as well.Nicholas Marriott
2009-10-25[ is a punctuation character and should be escaped with Ql. Although theNicholas Marriott
current groff version we have seems to handle it fine, other versions are not so tolerant.
2009-10-24-a option to kill all except current pane. From Tiago Cunha, thanks!Nicholas Marriott
2009-10-21Tweak descriptions for up/down pane to be clearer.Nicholas Marriott
2009-10-13Add mode keys to move the cursor to the top, middle and bottom of the screen.Nicholas Marriott
H/M/L in vi mode and M-R/M-r in emacs (bottom of screen not bound in emacs).
2009-10-12Permit attributes to be turned off in #[] by prefixing with "no", for exampleNicholas Marriott
"noblink".
2009-10-11punctuation fix;Jason McIntyre
2009-10-11Add a pipe-pane command to allow a pane to be piped to a shell command, forNicholas Marriott
example: pipe-pane 'cat >~/out' No arguments stops outputing and closes the pipe; the -o flag toggles a pipe and on and off (useful for key bindings). Suggested by espie@.
2009-10-11Switch run-shell over to queue the command in the background like #().Nicholas Marriott
2009-10-10-scroll mode which is dead.Nicholas Marriott
2009-10-10Split list-panes off from list-windows.Nicholas Marriott
2009-10-10Rather than running status-left, status-right and window title #() with popenNicholas Marriott
immediately every redraw, queue them up and run them in the background, starting each once every status-interval. The actual status line uses the output from the last run. This brings several advantages: - tmux itself may be called from inside #() without causing the server to hang; - likewise, sleep or similar doesn't cause the server to block; - commands aren't run excessively often when redrawing; - commands shared by status-left and status-right, or used multiple times, will only be run once. run-shell and if-shell still use system()/popen() but will be changed over to use this too later.
2009-10-10New option, mouse-select-pane. If on, the mouse may be used to select theNicholas Marriott
current pane. Suggested by sthen@ and also by someone else ages ago who I have forgotten.
2009-10-10Add "grouped sessions" which have independent name, options, current window andNicholas Marriott
so on but where the linked windows are synchronized (ie creating, killing windows and so on are mirrored between the sessions). A grouped session may be created by passing -t to new-session. Had this around for a while, tested by a couple of people.
2009-10-10Support for individual session idle time locking. May be enabled by turning offNicholas Marriott
the lock-server option (it is on by default). When this is off, each session locks when it has been idle for the lock-after-time setting. When on, the entire server locks when ALL sessions have been idle for their individual lock-after-time settings. This replaces one global-only option (lock-after-time) with another (lock-server), but the default behaviour is usually preferable so there don't seem to be many alternatives. Diff/idea largely from Thomas Adam, tweaked by me.
2009-10-09Add a simple synchronize-panes window option: when set, all input to any paneNicholas Marriott
that is part of the window is also sent to all other panes in the same window. Suggested by several, most recently Tomasz Pajor.
2009-10-07Support J and K for scroll up and scroll down in copy mode with vi keys,Nicholas Marriott
suggested by martynas.
2009-10-06Remove scroll mode which is now redundant, copy mode should be used instead.Nicholas Marriott
The = key binding now does nothing.
2009-10-06Make C-Up and C-Down in copy mode scroll the screen up and down one lineNicholas Marriott
without moving the cursor, like Up and Down in scroll mode (which will shortly disappear).
2009-10-04tweak previous;Jason McIntyre
2009-10-04Get / and ? the right way round in vi mode, and use : for goto line rather thanNicholas Marriott
g.
2009-10-04Add a key string for space ("Space") and document the names, suggested byNicholas Marriott
guenther@. Also document how to bind " and ', suggested by miod@.
2009-09-24New lock-client and lock-session commands to lock an individual client or allNicholas Marriott
clients attached to a session respectively.
2009-09-23Support -c like sh(1) to execute a command, useful when tmux is a loginNicholas Marriott
shell. Suggested by halex@. This includes another protocol version increase (the last for now) so again restart the tmux server before upgrading.
2009-09-23Remove the internal tmux locking and instead detach each client and run theNicholas Marriott
command specified by a new option "lock-command" (by default "lock -np") in each client. This means each terminal has to be unlocked individually but simplifies the code and allows the system password to be used to unlock. Note that the set-password command is gone, so it will need to be removed from configuration files, and the -U command line flag has been removed. This is the third protocol version change so again it is best to stop the tmux server before upgrading.
2009-09-22Permit multiple prefix keys to be defined, separated by commas, for example:Nicholas Marriott
set -g prefix ^a,^b Any key in the list acts as the prefix. The send-prefix command always sends the first key in the list.
2009-09-21zap trailing whitespace;Jason McIntyre
2009-09-20run-shell command to run a shell command without opening a window, sendingNicholas Marriott
stdout to output mode.
2009-09-18New option, set-titles-string, to allow the window title to be specified (asNicholas Marriott
for status-left/right) if set-titles is on. Also only update the title when the status line is being redrawn.
2009-09-10Permit options such as status-bg to be configured using the entire 256 colourNicholas Marriott
palette by setting "colour0" to "colour255".
2009-09-07While the display-panes indicator is on screen, make the number keys select theNicholas Marriott
pane with that index.
2009-09-07Permit embedded colour and attributes in status-left and status-right using newNicholas Marriott
#[] special characters, for example #[fg=red,bg=blue,blink].
2009-09-02Accept -l to make it easier for people who use tmux as a login shell to useNicholas Marriott
$SHELL. Originally from martynas@, tweaked by me.
2009-09-02When incorrect passwords are entered, behave similarly to login(1) and backoffNicholas Marriott
for a bit. Based on a diff from martynas@.
2009-09-02Add a transpose-chars command in edit mode (C-t in emacs mode only). From KalleNicholas Marriott
Olavi Niemitalo.
2009-09-01When using tmux as a login shell, there is currently no way to specify a shellNicholas Marriott
to be used as a login shell inside tmux, so add a default-shell session option. This sets the shell invoked as a login shell when the default-command option is empty. The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell or /bin/sh is valid first. Based on a diff from martynas@, changed by me to be a session option rather than a window option.
2009-08-31Add a new display-panes command, with two options (display-panes-colour andNicholas Marriott
display-panes-time), which displays a visual indication of the number of each pane.