aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
Commit message (Collapse)AuthorAge
* Add a per-pane option set. Pane options inherit from window options (sonicm2019-06-20
| | | | | | | | | | | | there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p. Change remain-on-exit and window-style/window-active-style to be pane options (some others will be changed later). This makes select-pane -P and -g unnecessary so no longer document them (they still work) and no longer document set-window-option and show-window-options in favour of set-option -w and show-options -w.
* Merge hooks into options and make each one an array option. This allowsnicm2019-04-26
| | | | | | | multiple commands to be easily bound to one hook. set-hook and show-hooks remain but they are now variants of set-option and show-options. show-options now has a -H flag to show hooks (by default they are not shown).
* Do not use PWD unless it actually matches the real working directory.nicm2018-11-22
|
* Improve error message if creating socket parent directory fails, fromnicm2018-01-12
| | | | Thomas Adam for GitHub issue 1215.
* Prefer PWD for current directory if present in client, from Wei Zhao innicm2018-01-01
| | | | GitHub issue 1183.
* Make shell_command a global like other stuff rather than making it annicm2017-07-12
| | | | exception and using callback argument.
* Try C.UTF-8 which is also a commonly useful locale on some platforms,nicm2017-07-03
| | | | from Romain Francoise.
* Do not need getopt.h.nicm2017-04-22
|
* Use fdforkpty() instead of our own unwrapped versions.nicm2017-04-20
|
* Style nits and a missing cast.nicm2017-04-19
|
* Memory leak, from David CARLIER.nicm2017-04-16
|
* Use uid_t for UID not u_int.nicm2017-03-21
|
* Style nits.nicm2017-02-16
|
* Open /dev/ptm before pledge() and save it to be used for PTMGET laternicm2017-01-23
| | | | | | (this means inlining forkpty()). ok deraadt
* Major tidy up and rework of options tree and set-option/show-optionsnicm2017-01-15
| | | | | | | | commands this pushes more of the code into options.c and ties it more closely to the options table rather than having an unnecessary split. Also add support for array options (will be used later). Only (intentional) user visible change is that show-options output is now passed through vis(3) with VIS_DQ so quotes are escaped.
* Simplify appending to string options.nicm2017-01-12
|
* Spacing nits.nicm2016-12-09
|
* Add static in window-*.c and move some internal functions out of tmux.h.nicm2016-10-11
|
* Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
|
* Use getprogname() instead of __progname to make portability easier.nicm2016-05-27
|
* Fix up a couple of long lines.nicm2016-05-04
|
* If setlocale("en_US.UTF-8") succeeds, then don't do the check for UTF-8nicm2016-03-05
| | | | | | | locale since if it isn't UTF-8 the system is broken anyway. If it fails, try "" and check for UTF-8 with nl_langinfo(CODESET) rather than wcwidth(). Based on a diff from schwarze@, nl_langinfo also suggested by stsp@.
* Although we always have en_US.UTF-8 on OpenBSD, some platforms do not,nicm2016-03-05
| | | | | so fall back to setlocale(LC_CTYPE, ""). tmux requires a UTF-8 locale, so check with wcwidth() on a UTF-8 character after setlocale().
* Remove unused variables, from Michal Mazurek.nicm2016-03-01
|
* Use system wcwidth() instead of carrying around UTF-8 width tables.nicm2016-03-01
|
* I no longer use my SourceForge address so replace it.nicm2016-01-19
|
* Add hooks infrastructure, basic commands (set-hook, show-hooks) and anicm2015-12-08
| | | | | | couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam.
* Make environ_set va_args and use it to tidy up some calls. Also add anicm2015-11-24
| | | | missing word in manpage (from jmc).
* Shell command from -c doesn't have to be global, pass it as an argument.nicm2015-11-24
|
* Tidy the code that works out the socket path, and just use the full pathnicm2015-11-24
| | | | in the global socket_path rather than copying it.
* Remove malloc_options DEBUG bit.nicm2015-11-24
|
* Remove the -I part of show-messages which isn't really that useful; thenicm2015-11-24
| | | | | server start time can now be accessed with a new start_time format (use: tmux display -p '#{t:start_time}')
* Make the log stuff a bit tidier with some helper functions.nicm2015-11-24
|
* Add getpw to pledge, makes tmux work in YP environments, discovered bynicm2015-11-22
| | | | matthieu, ok deraadt
* Instead of separate tables for different types of options, give eachnicm2015-11-20
| | | | option a scope type (server, session, window) in one table.
* Accidentally turned off pledge, turn it back on.nicm2015-11-15
|
* Push stdout and stderr to clients more aggressively, and add an event tonicm2015-11-14
| | | | continue if the send fails.
* tmux is UTF-8, so if $TMUX is set (tmux running in tmux), the client isnicm2015-11-12
| | | | UTF-8. Also try to make the existing checks more readable.
* Nuke the utf8 and status-utf8 options and make tmux only a UTF-8nicm2015-11-12
| | | | | terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on).
* Drop mouse-utf8 option and always turn on UTF-8 mouse if the client saysnicm2015-11-11
| | | | it supports UTF-8.
* Like options, move the environ struct into environ.c.nicm2015-10-28
|
* Move struct options into options.c.nicm2015-10-27
|
* Break the common process set up, event loop and imsg dispatch codenicm2015-10-27
| | | | | between server and client out into a separate internal API. This will make it easier to add another process.
* Let's see if anyone screams about not being able to specify $TMPDIRderaadt2015-10-25
| | | | | | | | | for their tmux sockets. (Over the years, I have seen $TMPDIR set up worse than /tmp many times, and don't know how this practice infected other parts of the system. Nothing uses tmpdir(3), nor a huge-temporary-file program like sort.) ok nicm
* tmux can call pledge() in main with large set and then reduce itnicm2015-10-23
| | | | | slightly in the server to "stdio rpath wpath cpath fattr unix recvfd proc exec tty ps".
* Move tzset() from log_open to main.nicm2015-09-14
|
* A couple of style nits.nicm2015-09-03
|
* Work out config file when needed not at startup.nicm2015-09-01
|
* Path from $TMUX does not need to be global anymore.nicm2015-08-30
|
* Login shell can be a client flag, and move the exec code into client.c.nicm2015-08-30
|