Visitar URL original
GitHub - tmux/tmux: tmux source code
The Wayback Machine - https://web.archive.org/web/20191212220658/https://github.com/tmux/tmux
Skip to content
tmux source code
C Roff Yacc Shell M4 Awk Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Oct 29, 2019
compat Missing headers from compat/asprintf.c, from cyyever at outlook dot com. Sep 16, 2019
logo Add tmux logo, createed by Jason Long. Apr 28, 2015
presentations Add a couple of presentations I wrote a few years ago. One for the il… Jun 4, 2015
regress Add a config. Jun 18, 2019
tools Fix gseq use in RGB colour script. Apr 28, 2019
.gitignore Add yacc(1) bits. May 23, 2019
.mailmap Add to .mailmap. Jul 19, 2016
.travis.yml Update .travis.yml from master. May 29, 2019
CHANGES Add to CHANGES. Dec 10, 2019
COPYING There is no examples directory anymore. Mar 26, 2019
Makefile.am Merge branch 'obsd-master' Dec 12, 2019
README cc, make, libevent, ncurses are dependencies for all builds so no nee… Jul 17, 2019
README.ja Japanese README from Kohei Takada. Jul 4, 2018
SYNCING Update release text. May 29, 2017
alerts.c Redrawing status is needed after changing window flags or title does not Dec 28, 2017
arguments.c Merge branch 'obsd-master' Jul 9, 2019
attributes.c Style nits in function arguments. Dec 3, 2019
autogen.sh Bump automake and autoconf versions. Mar 22, 2017
cfg.c Merge branch 'obsd-master' Dec 12, 2019
client.c Merge branch 'obsd-master' Dec 12, 2019
cmd-attach-session.c If a window appears in only one attached session, there is no point in Nov 29, 2019
cmd-bind-key.c Add an additional {} syntax for defining strings in the configuration May 27, 2019
cmd-break-pane.c Make a best effort to set xpixel and ypixel for each pane and add Nov 28, 2019
cmd-capture-pane.c Rewrite the code for reading and writing files. Now, if the client is Dec 12, 2019
cmd-choose-tree.c Add a flag to reverse sort in the various choose modes, from Benjamin Aug 16, 2019
cmd-command-prompt.c Replace the split parser code (cfg.c and cmd-string.c) with a single May 23, 2019
cmd-confirm-before.c Replace the split parser code (cfg.c and cmd-string.c) with a single May 23, 2019
cmd-copy-mode.c Treat keys in identify mode (display-panes) specially and handle them May 7, 2019
cmd-detach-client.c Get rid of the extra layer of flags and cmd_prepare() and just store the Apr 22, 2017
cmd-display-menu.c Change display-menu from taking a single string to a set of arguments, May 28, 2019
cmd-display-message.c Remove a leftover abort and some fixes from cppcheck. May 30, 2019
cmd-display-panes.c Pass keys that aren't 0-9 on to normal key processing when display-panes Jun 26, 2019
cmd-find-window.c Add -r to find-window for regex instead of fnmatch. Jun 20, 2019
cmd-find.c Merge branch 'obsd-master' Jun 12, 2019
cmd-if-shell.c Use the right client for if -b. Jul 17, 2019
cmd-join-pane.c Merge branch 'obsd-master' Nov 18, 2019
cmd-kill-pane.c Fix parsing of DA with only one argument in the response and add 65 f… Nov 14, 2019
cmd-kill-server.c Mass rename struct cmd_q to struct cmdq_item and related. Oct 16, 2016
cmd-kill-session.c Break new window and pane creation common code from various commands and Apr 17, 2019
cmd-kill-window.c Get rid of the extra layer of flags and cmd_prepare() and just store the Apr 22, 2017
cmd-list-buffers.c In order that people can use formats like #D in #() in the status line May 1, 2017
cmd-list-clients.c In order that people can use formats like #D in #() in the status line May 1, 2017
cmd-list-keys.c Use a malloc'd buffer for lsk since commands can be very long, from G… Nov 27, 2019
cmd-list-panes.c In order that people can use formats like #D in #() in the status line May 1, 2017
cmd-list-sessions.c Support for windows larger than visible on the attached client. This has Oct 18, 2018
cmd-list-windows.c In order that people can use formats like #D in #() in the status line May 1, 2017
cmd-load-buffer.c Rewrite the code for reading and writing files. Now, if the client is Dec 12, 2019
cmd-lock-server.c Get rid of the extra layer of flags and cmd_prepare() and just store the Apr 22, 2017
cmd-move-window.c Get rid of the extra layer of flags and cmd_prepare() and just store the Apr 22, 2017
cmd-new-session.c Change new-session -A without a session name (that is, no -s option Nov 14, 2019
cmd-new-window.c Add a "latest" window-size option which tries to size windows based on Sep 19, 2019
cmd-parse.y Add function to the right file. Dec 12, 2019
cmd-paste-buffer.c Merge branch 'obsd-master' Apr 22, 2017
cmd-pipe-pane.c Merge branch 'obsd-master' Mar 18, 2019
cmd-queue.c Rewrite the code for reading and writing files. Now, if the client is Dec 12, 2019
cmd-refresh-client.c Store xpixel/ypixel from TIOCGWINSZ and add formats. Nov 28, 2019
cmd-rename-session.c Allow no client for rename-session, from Ryan Freeman. Apr 11, 2018
cmd-rename-window.c Fix a regression: do not warn about no client in rename-window. Mar 26, 2018
cmd-resize-pane.c Add support for percentage sizes for resize-pane ("-x 10%"). Also change Oct 15, 2019
cmd-resize-window.c Make a best effort to set xpixel and ypixel for each pane and add Nov 28, 2019
cmd-respawn-pane.c Support multiple occurances of the same argument. Use this for a new Apr 28, 2019
cmd-respawn-window.c Add a "latest" window-size option which tries to size windows based on Sep 19, 2019
cmd-rotate-window.c Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to Aug 14, 2019
cmd-run-shell.c Add a cmdq_continue function rather than twiddling the flag directly. Jun 18, 2019
cmd-save-buffer.c Merge branch 'obsd-master' Dec 12, 2019
cmd-select-layout.c Set the window size as well as the layout size when using the preset Apr 17, 2019
cmd-select-pane.c Make select-pane -P set window-active-style also to match previous Sep 24, 2019
cmd-select-window.c Merge hooks into options and make each one an array option. This allows Apr 26, 2019
cmd-send-keys.c Add -F flag to send-keys to expand formats in search-backward and Nov 7, 2019
cmd-set-buffer.c Mass rename struct cmd_q to struct cmdq_item and related. Oct 16, 2016
cmd-set-environment.c Get rid of the extra layer of flags and cmd_prepare() and just store the Apr 22, 2017
cmd-set-option.c Add a per-pane option set. Pane options inherit from window options (so Jun 20, 2019
cmd-show-environment.c Get rid of the extra layer of flags and cmd_prepare() and just store the Apr 22, 2017
cmd-show-messages.c Merge branch 'obsd-master' Aug 23, 2018
cmd-show-options.c Merge branch 'obsd-master' Jun 20, 2019
cmd-source-file.c Merge branch 'obsd-master' Dec 12, 2019
cmd-split-window.c Merge branch 'obsd-master' Oct 15, 2019
cmd-swap-pane.c Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to Aug 14, 2019
cmd-swap-window.c Fix swap-window -d to work as intended, GitHub issue 1879 from Sam St… Sep 16, 2019
cmd-switch-client.c Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to Aug 14, 2019
cmd-unbind-key.c Bad merge. Jan 25, 2017
cmd-wait-for.c Add a cmdq_continue function rather than twiddling the flag directly. Jun 18, 2019
cmd.c Do not lazily use BUFSIZ for "I don't care what size" when building Nov 27, 2019
colour.c Add support for underscore colours with Setulc capability, mostly from Jun 27, 2019
compat.h Check each _PATH_* define individually (Solaris has paths.h but not a… Dec 3, 2019
configure.ac Bump version again. Jul 29, 2019
control-notify.c Rewrite the code for reading and writing files. Now, if the client is Dec 12, 2019
control.c Rewrite the code for reading and writing files. Now, if the client is Dec 12, 2019
environ.c options_array_item_value cannot return NULL. Apr 25, 2019
example_tmux.conf -attr -> -style. May 6, 2019
file.c Do not check if client is dead if it is NULL. Dec 12, 2019
format-draw.c Add push-default and pop-default in styles to change the default colours Sep 15, 2019
format.c Merge branch 'obsd-master' Nov 28, 2019
grid-view.c grid_view_delete_cells does need to clear, GitHub issue 1871. Aug 16, 2019
grid.c Style nits in function arguments. Dec 3, 2019
input-keys.c Merge branch 'obsd-master' Nov 18, 2019
input.c Bump the escape sequence timeout to five seconds to allow for longer Nov 28, 2019
job.c Merge branch 'obsd-master' Jun 28, 2019
key-bindings.c Remove client menu, I don't think it adds anything. Dec 2, 2019
key-string.c Add an option to set the key sent by backspace for those whose system Nov 14, 2019
layout-custom.c Make a best effort to set xpixel and ypixel for each pane and add Nov 28, 2019
layout-set.c Make a best effort to set xpixel and ypixel for each pane and add Nov 28, 2019
layout.c Simplify code to work out if an extra line is needed in the cell. Jul 15, 2019
log.c Merge branch 'obsd-master' Sep 24, 2019
mdoc2man.awk Generate tmux.1 using mdoc2man.awk on Solaris, issue brought up and c… Apr 16, 2013
menu.c Change menu key bindings to Up and Down and also close it on any mouse Sep 25, 2019
mode-tree.c Do not crash in tree modes if the pane is only 1 in width, reported by Dec 12, 2019
names.c Allow ispunct() as well as isalnum() when parsing initial window names. Jul 21, 2017
notify.c Merge branch 'obsd-master' May 7, 2019
options-table.c Merge branch 'obsd-master' Nov 28, 2019
options.c Style nits in function arguments. Dec 3, 2019
osdep-aix.c Update my email address. Jan 19, 2016
osdep-cygwin.c Update my email address. Jan 19, 2016
osdep-darwin.c Warning fixes from Carlo Marcelo Arenas Belón. Apr 10, 2019
osdep-dragonfly.c Update my email address. Jan 19, 2016
osdep-freebsd.c Fixes for GNU/kFreeBSD from James Clarke. Nov 21, 2018
osdep-hpux.c Update my email address. Jan 19, 2016
osdep-linux.c Remove EVENT_* variables from environment after initializing libevent… Mar 21, 2018
osdep-netbsd.c Use KERN_PROC_CWD on NetBSD, from Leonardo Taccari. Jun 20, 2019
osdep-openbsd.c Merge branch 'obsd-master' Oct 12, 2016
osdep-sunos.c Some __unused. Mar 21, 2017
osdep-unknown.c Update my email address. Jan 19, 2016
paste.c Merge branch 'obsd-master' Apr 2, 2019
proc.c Merge branch 'obsd-master' Jul 14, 2017
regsub.c REG_STARTEND is not portable, but it turns out we don't actually need Nov 27, 2019
resize.c If a window appears in only one attached session, there is no point in Nov 29, 2019
screen-redraw.c Mark pane status line jobs with FORMAT_STATUS also so it redraws when Jul 24, 2019
screen-write.c Parse out DA features. Nov 28, 2019
screen.c Merge branch 'obsd-master' Nov 15, 2019
server-client.c Merge branch 'obsd-master' Dec 12, 2019
server-fn.c Merge branch 'obsd-master' Dec 12, 2019
server.c Merge branch 'obsd-master' Jun 20, 2019
session.c Merge branch 'obsd-master' Apr 27, 2019
spawn.c Merge branch 'obsd-master' Nov 28, 2019
status.c Redraw status line if size changes, GitHub issue 1762. Also fix length May 28, 2019
style.c Add push-default and pop-default in styles to change the default colours Sep 15, 2019
tmux.1 Merge branch 'obsd-master' Nov 28, 2019
tmux.c Merge branch 'obsd-master' Oct 14, 2019
tmux.h Merge branch 'obsd-master' Dec 12, 2019
tty-acs.c Change a couple of ACS characters to be more sensible and add a few May 17, 2019
tty-keys.c Parse out DA features. Nov 28, 2019
tty-term.c Merge branch 'obsd-master' Nov 28, 2019
tty.c Do not set cursor colour to default unless it has been changed, GitHub Dec 11, 2019
utf8.c Merge branch 'obsd-master' Nov 25, 2019
window-buffer.c Merge branch 'obsd-master' Dec 3, 2019
window-client.c Style nits in function arguments. Dec 3, 2019
window-clock.c DECRC and DECSC apparently need to preserve origin mode as well, based Mar 12, 2019
window-copy.c Tweak previous to check the wrapped flag and stop if not set. Dec 11, 2019
window-tree.c Merge branch 'obsd-master' Dec 3, 2019
window.c Merge branch 'obsd-master' Dec 12, 2019
xmalloc.c Add xrecallocarray. Nov 28, 2019
xmalloc.h Merge branch 'obsd-master' Nov 28, 2019
xterm-keys.c Up to now, tmux sees \033\033[OA as M-Up and since we turned on May 7, 2017

README.md

Welcome to tmux!

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

This release runs on OpenBSD, FreeBSD, NetBSD, Linux, OS X and Solaris.

Dependencies

tmux depends on libevent 2.x, available from this page.

It also depends on ncurses, available from this page.

Installation

From release tarball

To build and install tmux from a release tarball, use:

./configure && make
sudo make install

tmux can use the utempter library to update utmp(5), if it is installed - run configure with --enable-utempter to enable this.

From version control

To get and build the latest from version control - note that this requires autoconf, automake and pkg-config:

git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make

Contributing

Bug reports, feature suggestions and especially code contributions are most welcome. Please send by email to:

tmux-users@googlegroups.com

Or open a GitHub issue or pull request. Please read this document before opening an issue.

There is a list of suggestions for contributions. Please feel free to ask on the mailing list if you're thinking of working on something or need further information.

Documentation

For documentation on using tmux, see the tmux.1 manpage. View it from the source tree with:

nroff -mdoc tmux.1|less

A small example configuration is in example_tmux.conf.

And a bash(1) completion file at:

https://github.com/imomaliev/tmux-bash-completion

For debugging, run tmux with -v or -vv to generate server and client log files in the current directory.

Support

The tmux mailing list for general discussion and bug reports is:

https://groups.google.com/forum/#!forum/tmux-users

Subscribe by sending an email to:

tmux-users+subscribe@googlegroups.com

You can’t perform that action at this time.