aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * 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.
| * Set exittype for error exit as well as the error string.Nicholas Marriott2009-09-02
| |
| * Accept -l to make it easier for people who use tmux as a login shell to useNicholas Marriott2009-09-02
| | | | | | | | $SHELL. Originally from martynas@, tweaked by me.
| * When incorrect passwords are entered, behave similarly to login(1) and backoffNicholas Marriott2009-09-02
| | | | | | | | for a bit. Based on a diff from martynas@.
| * Add a transpose-chars command in edit mode (C-t in emacs mode only). From KalleNicholas Marriott2009-09-02
| | | | | | | | Olavi Niemitalo.
| * If forking a login shell or if SHELL is otherwise not useful, set it to theNicholas Marriott2009-09-01
| | | | | | | | default shell. Based on a diff from martynas@.
| * When using tmux as a login shell, there is currently no way to specify a shellNicholas Marriott2009-09-01
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Use "Password:" with no space for password prompts and don't display a *s forNicholas Marriott2009-09-01
| | | | | | | | | | the password, like pretty much everything else. From martynas@ with minor tweaks by me.
| * Sort cases same as getopt argument, from martynas.Nicholas Marriott2009-09-01
| |
| * Add a new display-panes command, with two options (display-panes-colour andNicholas Marriott2009-08-31
| | | | | | | | | | display-panes-time), which displays a visual indication of the number of each pane.
| * squash typoStefan Sperling2009-08-31
| | | | | | | | ok nicm@
| * Don't call tty_free unless the client is a terminal, otherwise tty_init hasn'tNicholas Marriott2009-08-31
| | | | | | | | been called and it may end up doing close(0). From Kalle Olavi Niemitalo.
| * Initialise the arg2 pointer properly (also free it when freeing theNicholas Marriott2009-08-26
| | | | | | | | others). Fixes crashes with J in malloc_options reported by oga.
| * Make this work when the clock is in small characters as well. Doh.Nicholas Marriott2009-08-26
| |
| * Fix clock mode in black and white terminals now that tty.c tries to fixNicholas Marriott2009-08-26
| | | | | | | | reverse.
| * Print -l and -p when showing command, pointed out by Tiago Cunha.Nicholas Marriott2009-08-25
| |
| * These should #include <ctype.h>.Nicholas Marriott2009-08-25
| |
| * Add a choose-client command and extend choose-{session,window} to accept aNicholas Marriott2009-08-25
| | | | | | | | | | | | | | | | | | | | | | template. After a choice is made, %% (or %1) in the template is replaced by the name of the session, window or client suitable for -t and the result executed as a command. So, for example, "choose-window "killw -t '%%'"" will kill the selected window. The defaults if no template is given are (as now) select-window for choose-window, switch-client for choose-session, and detach-client for choose-client (now bound to D).
| * gcc2 doesn't understand attributes on function pointers.Nicholas Marriott2009-08-24
| |
| * Add some other obvious variables to update-environment (WINDOWID SSH_ASKPASSNicholas Marriott2009-08-23
| | | | | | | | | | SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION) so they are updated in the session environment on new/attach.
| * Some code tidying.Nicholas Marriott2009-08-23
| |
| * When using source-file, run the commands in the context of the source-fileNicholas Marriott2009-08-23
| | | | | | | | | | command rather than with no context. This makes things like attach work from a file.
| * The cursession member in struct cmd_ctx is always either curclient->session orNicholas Marriott2009-08-23
| | | | | | | | NULL when curclient is also NULL, so just eliminate it.
| * Check the return value of strunvis against -1 not NULL.Nicholas Marriott2009-08-23
| |
| * Emulate dch/dch1 if missing by redrawing the entire line.Nicholas Marriott2009-08-21
| |
| * Move reading termios settings to before tty_open alters them, and expand theNicholas Marriott2009-08-21
| | | | | | | | comment.
| * Ugh, committed the wrong version of this change and got both solutions ratherNicholas Marriott2009-08-21
| | | | | | | | than just the second. Remove unused assignment.
| * When moving up or down in copy mode, save the cursor position and size of theNicholas Marriott2009-08-21
| | | | | | | | | | | | last line with content (width != 0) and use it to determine if the cursor should be at the end of the line. Fixes problem of the cursor always jumping to the end of the line when scrolling past a blank line.
| * Fix grid_expand_line so it actually works when the required size is bigger thanNicholas Marriott2009-08-21
| | | | | | | | 2 * the current size.
| * A few trivial optimisations: no need to check for zero size if callingNicholas Marriott2009-08-20
| | | | | | | | | | | | buffer_ensure in buffer.c; expand grid lines by a greater increase than one each time; and don't read UTF-8 data unless it actually needs to be checked when overwriting a cell.
| * Nuke unused variable.Nicholas Marriott2009-08-20
| |
| * Handle the device attributes (DA) escape sequence.Nicholas Marriott2009-08-19
| |
| * tweak previous;Jason McIntyre2009-08-19
| |
| * Don't read beyond the edge of the screen when searching (dies with debugNicholas Marriott2009-08-19
| | | | | | | | enabled).