Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-09 | Set cause when failing due to linking a window to itself, from Martin | Nicholas Marriott | |
Pieuchot. | |||
2010-10-05 | Skip NULL entries in the sessions list when choosing the next session, | Nicholas Marriott | |
from Simon Olofsson. | |||
2010-09-28 | Nuke a leftover RB tree declaration spotted by blambert. | Nicholas Marriott | |
2010-09-26 | Two new options: | Nicholas Marriott | |
- server option "exit-unattached" makes the server exit when no clients are attached, even if sessions are present; - session option "destroy-unattached" destroys a session once no clients are attached to it. These are useful for preventing tmux remaining in the background where it is undesirable and when using tmux as a login shell to keep a limit on new sessions. | |||
2010-09-26 | Modify the permissions on the socket when adding or removing +x to show | Nicholas Marriott | |
attached sessions, rather than replacing them. | |||
2010-09-25 | detach-on-destroy is a session option, not server. | Nicholas Marriott | |
2010-09-11 | Ugh. Pass the right type into tty_term_has. Teaches me to make last | Nicholas Marriott | |
minute changes :-/. | |||
2010-09-11 | Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid | Nicholas Marriott | |
terminals (I'm looking at you, putty) which disable the vt100 ACS mode switching sequences in UTF-8 mode. Also on terminals without ACS at all, use ASCII equivalents where obvious. | |||
2010-09-11 | Ignore terminal overrides settings without a value. | Nicholas Marriott | |
2010-09-11 | When resizing the copy mode screen, don't allow it to end up with the | Nicholas Marriott | |
viewable position beyond the size of the history. | |||
2010-09-08 | Add -n and -p flags to switch-client to move to the next and previous | Nicholas Marriott | |
session (yes, it doesn't match window/pane, but so what, nor does switch-client). Based on a diff long ago from "edsouza". | |||
2010-09-08 | Do not crash if the screen size is too small for the indicator in copy mode. | Nicholas Marriott | |
2010-09-01 | Simplify xterm modifier detection by treating as a bitmask + 1. Spotted | Nicholas Marriott | |
by and diff from Emanuele Giaquinta. | |||
2010-09-01 | Reset running jobs when the status line is enabled or disabled as well, | Nicholas Marriott | |
some people have it bound to a key. | |||
2010-08-31 | Add missing prototype. | Nicholas Marriott | |
2010-08-25 | When destroying a pane, reset any mode (which reenables pane | Nicholas Marriott | |
bufferevent) before freeing the bufferevent. | |||
2010-08-23 | Can't call event_del() without event_set() first - so call event_set() | Nicholas Marriott | |
when setting up the client. | |||
2010-08-22 | MSG_EXIT can now have a return code in the message, so check for that | Nicholas Marriott | |
size as well. Stops the client fatal()ing on exit. | |||
2010-08-19 | Do not call event_del() for signals after fork(), just use sigaction() | Nicholas Marriott | |
directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless. | |||
2010-08-19 | Do not need to dup() the tty fd sent from the client because it is | Nicholas Marriott | |
already dup()d again later. Fixes a leak seen by espie@. | |||
2010-08-11 | Do not allow duplicate session names to be created, reported by Dominik | Nicholas Marriott | |
Honnef, patch from Thomas Adam. | |||
2010-08-11 | Handle failure to change mode, to avoid dying when switching into copy | Nicholas Marriott | |
mode when already in a different mode. Reported by "Florian". | |||
2010-08-11 | Usage string fixes from Ben Boeckel. | Nicholas Marriott | |
2010-08-11 | Treat trying to link or move to the same window as an error to avoid | Nicholas Marriott | |
removing it accidentally. | |||
2010-08-11 | Change the way backoff works. Instead of stopping reading from the pty | Nicholas Marriott | |
when the client tty backs up too much, just stop updating the tty and only update the internal screen. Then when the tty recovers, force a redraw. This prevents a dodgy client from causing other clients to go into backoff while still allowing tmux to be responsive (locally) when seeing lots of output. | |||
2010-08-11 | Show which pane is active in the list-panes output, suggested by Dominik | Nicholas Marriott | |
Honnef. | |||
2010-08-04 | switch back to kqueue for now, since (a) kqueue has been fixed to deal | Theo de Raadt | |
with strange devices and (b) since there appears to be a bull in the poll code in libevent as well... requested by nicm who is away | |||
2010-07-28 | dup() the stdin fd so it isn't closed twice (once for stdin, once for tty). | Nicholas Marriott | |
2010-07-24 | When changing so that the client passes its stdout and stderr as well as | Nicholas Marriott | |
stdin up to the server, I forgot one essential point - the tmux server could now be both the producer and consumer. This happens when tmux is run inside tmux, as well as when piping tmux commands together. So, using stdio(3) was a bad idea - if sufficient data was written, this could block in write(2). When that happened and the server was both producer and consumer, it deadlocks. Change to use libevent bufferevents for the client stdin, stdout and stderr instead. This is trivial enough for output but requires a callback mechanism to trigger when stdin is finished. This relies on the underlying polling mechanism for libevent to work with whatever devices to which the user could redirect stdin, stdout or stderr, hence the change to use poll(2) over kqueue(2) for tmux. | |||
2010-07-24 | kqueue(2) is currently broken when used with /dev/null and a few other | Nicholas Marriott | |
devices. An upcoming fix for some problems with the client stdout/stderr handling relies on it working, so make tmux force libevent to use poll(2) via EVENT_NOKQUEUE, until we have fixed kqueue. | |||
2010-07-22 | Fix a crash: if remain-on-exit is set and the pane has exited, the | Nicholas Marriott | |
buffers may not be valid, so do not try to disable/enable them when switching to copy mode. | |||
2010-07-19 | Don't return if in the current window since we may want to report a bell | Nicholas Marriott | |
(if bell-action any/current), just clear the flag so the status line doesn't show the bell. | |||
2010-07-19 | Send the \n to stdout with the message, not stderr... doh. | Nicholas Marriott | |
2010-07-15 | some escapes i missed; | Jason McIntyre | |
2010-07-14 | Make pane/window wrapping more logical (so with 10 windows, +10 from | Nicholas Marriott | |
window 5 stays in the same place), and tidy the code. From Tiago Cunha. | |||
2010-07-11 | Return the command client return code with MSG_EXIT now that MSG_ERROR and | Nicholas Marriott | |
MSG_PRINT are unused. New clients should be compatible with old tmux servers but vice versa may print an error. | |||
2010-06-29 | replace some magic mouse constants with defines for clarity. ok nicm | Ted Unangst | |
2010-06-29 | Custom layouts. list-windows command displays the layout as a string (such as | Nicholas Marriott | |
"bb62,159x48,0,0{79x48,0,0,79x48,80,0}") and it can be applied to another window (with the same number of panes or fewer) using select-layout. | |||
2010-06-28 | Send all three of stdin, stdout, stderr from the client to the server, so that | Nicholas Marriott | |
commands can directly make use of them. This means that load-buffer and save-buffer can have "-" as the file to read from stdin or write to stdout. This is a protocol version bump so the tmux server will need to be restarted after upgrade (or an older client used). | |||
2010-06-27 | Store the current working directory in the session, change the default-path | Nicholas Marriott | |
option to default to empty and make that mean that the stored session CWD is used. | |||
2010-06-27 | New option, detach-on-destroy, to set what happens to a client when the session | Nicholas Marriott | |
it is attached to is destroyed. If on (the default), it is detached; if off, it is switched to the most recently active session. | |||
2010-06-26 | Use server_destroy_session() for kill-session. | Nicholas Marriott | |
2010-06-26 | Setting the cmdlist pointer in the bind-key to NULL to prevent it being freed | Nicholas Marriott | |
after the command is executing is bogus because it may still be needed if the same command is going to be executed again (for example if you "bind-key a bind-key b ..."). Making a copy is hard, so instead add a reference count to the cmd_list. While here, also print bind-key -n and the rest of the flags properly. Fixes problem reported by mcbride@. | |||
2010-06-21 | Add a choose-buffer command for easier use of the paste buffer stack. | Nicholas Marriott | |
2010-06-21 | Extend the -t:+ and -t:- window targets for next and previous window to | Nicholas Marriott | |
accept an offset such as -t:+2. From Tiago Cunha. | |||
2010-06-21 | Having a list of winlinks->alerts for each session is stupid, just store | Nicholas Marriott | |
the alert flags directly in the winlink itself. | |||
2010-06-21 | Rename activity->alert in a couple of functions for consistency. | Nicholas Marriott | |
2010-06-21 | Give tmux sockets (but not the containing folder) group | Nicholas Marriott | |
permissions. This allows hardlinks to the sockets to be used more easily. | |||
2010-06-21 | Ensure we overwrite UTF-8 wide characters properly, and never overwrite | Nicholas Marriott | |
characters we weren't overlapping. Fixes "disappearing wide characters" glitch. From Micah Cowan. | |||
2010-06-14 | Last change erroneously used the target argument for looking up the | Nicholas Marriott | |
client which caused pipe-pane to fail when used from the command line. Instead pass NULL which should use the current client. Spotted by Tiago Cunha. |