aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * If no target client is specified to commands which accept one, try to guess theNicholas Marriott2009-10-05
| | | | | | | | | | | | current client, in a similar manner to how sessions already work: if the current session can be established and has only one client, use that; otherwise use the most recently created client.
| * tweak previous;Jason McIntyre2009-10-04
| |
| * Get / and ? the right way round in vi mode, and use : for goto line rather thanNicholas Marriott2009-10-04
| | | | | | | | g.
| * Check for already locked/suspended clients in server_lock_client rather thanNicholas Marriott2009-10-04
| | | | | | | | its callers.
| * Add a key string for space ("Space") and document the names, suggested byNicholas Marriott2009-10-04
| | | | | | | | guenther@. Also document how to bind " and ', suggested by miod@.
| * C-v and M-v too.Nicholas Marriott2009-10-04
| |
| * Support C-n/C-p with emacs keys in choice mode, also fix a comment.Nicholas Marriott2009-10-04
| |
| * New lock-client and lock-session commands to lock an individual client or allNicholas Marriott2009-09-24
| | | | | | | | clients attached to a session respectively.
| * Don't allow locked or suspended clients to limit the size of active clients.Nicholas Marriott2009-09-24
| |
| * Remove PROMPT_HIDDEN code which is now unused.Nicholas Marriott2009-09-23
| |
| * Support -c like sh(1) to execute a command, useful when tmux is a loginNicholas Marriott2009-09-23
| | | | | | | | | | | | | | shell. Suggested by halex@. This includes another protocol version increase (the last for now) so again restart the tmux server before upgrading.
| * On SIGTERM, just abandon any suspended/locked clients and leave them to it,Nicholas Marriott2009-09-23
| | | | | | | | | | otherwise the server will hang around (refusing new connections) until they exit properly.
| * Don't die if the client is detaching (the tty has been closed) after waking upNicholas Marriott2009-09-23
| | | | | | | | from locking.
| * Remove the internal tmux locking and instead detach each client and run theNicholas Marriott2009-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the clientNicholas Marriott2009-09-23
| | | | | | | | | | | | | | into the server. This is another (the second of four) protocol version changes coming this morning, so again the server should be killed before upgrading.
| * Don't attempt to open() the tty path, rely on the client sending its stdin fdNicholas Marriott2009-09-23
| | | | | | | | | | | | | | | | | | with imsg and fatal if it doesn't, then set the FD_CLOEXEC flag in tty_init instead of tty_open to prevent them leaking into child processes if any are created between the two calls. This bumps the protocol version, so the tmux server should be killed before upgrading.
| * Be more careful about what flags are cleared when opening the terminal,Nicholas Marriott2009-09-22
| | | | | | | | otherwise the opened/started flags are cleared and the terminal never released.
| * Permit multiple prefix keys to be defined, separated by commas, for example:Nicholas Marriott2009-09-22
| | | | | | | | | | | | | | 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.
| * Use KEYC_NONE constant instead of 0 on init.Nicholas Marriott2009-09-21
| |
| * Nuke -i option which isn't used anymore.Nicholas Marriott2009-09-21
| |
| * Use option print function for info messages as well.Nicholas Marriott2009-09-21
| |
| * Move common code from show-options and show-window-options into a function.Nicholas Marriott2009-09-21
| |
| * zap trailing whitespace;Jason McIntyre2009-09-21
| |
| * Drop tiny union from option struct.Nicholas Marriott2009-09-21
| |
| * Key options were implemented as a number so these struct members are unused.Nicholas Marriott2009-09-21
| |
| * run-shell command to run a shell command without opening a window, sendingNicholas Marriott2009-09-20
| | | | | | | | stdout to output mode.
| * Nuke unused variables and fix stupid error message.Nicholas Marriott2009-09-20
| |
| * Move some common and untidy code for window link/unlink into generic functionsNicholas Marriott2009-09-20
| | | | | | | | instead of duplicating it in move/link window..
| * Regularise some fatal messages.Nicholas Marriott2009-09-20
| |
| * New option, set-titles-string, to allow the window title to be specified (asNicholas Marriott2009-09-18
| | | | | | | | | | for status-left/right) if set-titles is on. Also only update the title when the status line is being redrawn.
| * Rather than constructing an entire termios struct from ttydefaults.h, just letNicholas Marriott2009-09-16
| | | | | | | | | | forkpty do it and then alter the bits that should be changed after fork. A little neater and more portable.
| * Enclose repeated buffer draining code in a new msgbuf_drain()Jacek Masiulaniec2009-09-15
| | | | | | | | | | | | function, which is additionally exported for use by others. From nicm@, who reminded me that tmux is now using buffer.c, too.
| * Stick line length to what is actually used (removing an optimization thatNicholas Marriott2009-09-15
| | | | | | | | | | | | | | | | allowed it to be bigger), and use clear line/EOL sequences rather than spaces in copy/scroll mode. This fixes xterm copy/paste from tmux which treats trailing spaces differently from clearing a line with the escape sequences. Reported by martynas@.
| * The default terminal size should be 80x24, not 80x25.Nicholas Marriott2009-09-15
| |
| * Nuke unused server_client_index function, pointed out by martynas@.Nicholas Marriott2009-09-14
| |
| * Doh, trim variables unused now.Nicholas Marriott2009-09-12
| |
| * Tidy some common code for destroying sessions into a new function.Nicholas Marriott2009-09-12
| |
| * tmux always outputs \177 for backspace, so explicitly set VERASE to \177 forNicholas Marriott2009-09-12
| | | | | | | | new windows.
| * Permit options such as status-bg to be configured using the entire 256 colourNicholas Marriott2009-09-10
| | | | | | | | palette by setting "colour0" to "colour255".
| * While the display-panes indicator is on screen, make the number keys select theNicholas Marriott2009-09-07
| | | | | | | | pane with that index.
| * Reference count clients and sessions rather than relying on a saved index forNicholas Marriott2009-09-07
| | | | | | | | cmd-choose-*.
| * Tiny cleanup.Matthias Kilian2009-09-07
| | | | | | | | ok nicm@
| * Give each paste buffer a size member instead of requiring them to beNicholas Marriott2009-09-07
| | | | | | | | zero-terminated.
| * Permit embedded colour and attributes in status-left and status-right using newNicholas Marriott2009-09-07
| | | | | | | | #[] special characters, for example #[fg=red,bg=blue,blink].
| * Only redraw all clients once when the backoff timer expires rather than everyNicholas Marriott2009-09-05
| | | | | | | | | | | | second all the time. Reported by Simon Nicolussi.
| * Tidy main and make it a bit easier to read.Nicholas Marriott2009-09-04
| |
| * Tell the user when sleeping due to password backoff.Nicholas Marriott2009-09-04
| |
| * Fix a race condition when asking a client to take over the terminal (switchingNicholas Marriott2009-09-02
| | | | | | | | | | | | | | | | | | | | | | | | to a different poll loop): If a MSG_READY was followed very quickly by a MSG_EXIT (for example if doing "tmux new 'exit'"), both messages could be read as part of the same imsg_read in the first client poll loop. The MSG_READY would then cause a switch to the second client loop, which would immediately call poll(2) again, causing the client to hang forever waiting for an exit message that it already had. Change to call imsg_get to process any existing messages before polling.
| * When shutting down the server, expect clients to be polite and exit when askedNicholas Marriott2009-09-02
| | | | | | | | with the right message.
| * That was the wrong fix. MSG_ERROR should set the error and the client shouldNicholas Marriott2009-09-02
| | | | | | | | | | | | use the error and exit on MSG_EXIT (it was being handled in the default case). Undo the last change, move the errstr check into the MSG_EXIT case, and add a comment.