summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
AgeCommit message (Collapse)Author
2010-06-29replace some magic mouse constants with defines for clarity. ok nicmTed Unangst
2010-06-29Custom layouts. list-windows command displays the layout as a string (such asNicholas 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-28Send all three of stdin, stdout, stderr from the client to the server, so thatNicholas 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-27Store the current working directory in the session, change the default-pathNicholas Marriott
option to default to empty and make that mean that the stored session CWD is used.
2010-06-27New option, detach-on-destroy, to set what happens to a client when the sessionNicholas 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-26Use server_destroy_session() for kill-session.Nicholas Marriott
2010-06-26Setting the cmdlist pointer in the bind-key to NULL to prevent it being freedNicholas 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-21Add a choose-buffer command for easier use of the paste buffer stack.Nicholas Marriott
2010-06-21Extend the -t:+ and -t:- window targets for next and previous window toNicholas Marriott
accept an offset such as -t:+2. From Tiago Cunha.
2010-06-21Having a list of winlinks->alerts for each session is stupid, just storeNicholas Marriott
the alert flags directly in the winlink itself.
2010-06-21Rename activity->alert in a couple of functions for consistency.Nicholas Marriott
2010-06-21Give tmux sockets (but not the containing folder) groupNicholas Marriott
permissions. This allows hardlinks to the sockets to be used more easily.
2010-06-21Ensure we overwrite UTF-8 wide characters properly, and never overwriteNicholas Marriott
characters we weren't overlapping. Fixes "disappearing wide characters" glitch. From Micah Cowan.
2010-06-14Last change erroneously used the target argument for looking up theNicholas 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.
2010-06-14Add a missing command and some missing Ic, from Tiago Cunha.Nicholas Marriott
2010-06-06Use a macro-based mask for obtaining a key or modifier-set from theNicholas Marriott
combination. Display C-@, etc, as C-Space, in list-keys. By Micah Cowan.
2010-06-05Couple of missing command aliases/flags, from Tiago Cunha.Nicholas Marriott
2010-06-05Fix problems with window sizing seen by Raghavendra D Prabhu whenNicholas Marriott
starting tmux from .xinitrc. One of the very few things the server relies on the client for now is to pass through a message on SIGWINCH, but there is a condition where potentially a SIGWINCH may be lost during the transition from unattached (main.c) to attached (client.c). So trigger a size change immediately after the client installs its SIGWINCH handler. Also, when the terminal is resized, reset the scroll region and cursor position. Previously, we were clearing our saved idea of these, but in fact some terminals do not reset them on resize, so this caused problems during redraw. While here make a resize to the same size not cause a redraw and rename the tmux.out output log file to include the tmux PID.
2010-06-05Support the status_replace # replacement sequences in the pipe-paneNicholas Marriott
command, thanks to Andrea Barisani.
2010-06-05Shut up gcc4 warnings.Nicholas Marriott
2010-06-05This ioctl(TIOCGWINSZ) call is no longer necessary, the result is neverNicholas Marriott
used and the server now does it later on the tty fd directly.
2010-06-05Fix binding of C-Space/C-@, from Micah Cowan.Nicholas Marriott
2010-06-05Make start-of-line work the same as end-of-line on wrapped lines (jumpNicholas Marriott
to real start if at edge of screen). By Micah Cowan.
2010-05-31When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott
in copy mode. Also support the scroll wheel, although xterm strangely does not ignore it in application mouse mode, causing redraw artifacts when scrolling up (other terminals appear to be better behaved).
2010-05-30Better to say "command key bindings" since we've just called themNicholas Marriott
command keys.
2010-05-30There is no real reason not to list all the key bindings here ratherNicholas Marriott
than just a selection.
2010-05-26Move imsg into libutil and add a man page.Nicholas Marriott
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt
2010-05-25Don't die if the client has been detached when the job finishes, justNicholas Marriott
don't display the output.
2010-05-25Fix an out-of-date comment.Nicholas Marriott
2010-05-23Pass in the session, rather than the client, to window modes' key()Nicholas Marriott
function. We were only ever using the client to find the session anyway. This allows send-key to work properly for manipulating copy mode from outside tmux. From Micah Cowan.
2010-05-19Enhance paste-buffer to allow lines to be separated by any string, fromNicholas Marriott
Andrea Barisani.
2010-05-14Colour+attribute options for status line alerts, from Alex Alexander.Nicholas Marriott
2010-05-14Accept (and document) "none" instead of "default" for attributes as itNicholas Marriott
is clearer and avoids confusion with default colours.
2010-05-14Use $OpenBSD$.Nicholas Marriott
2010-05-12Catch SIGHUP and terminate if running as a client. This prevents clientsJoel Sing
from being left hanging around when, for example, a SSH session is disconnected. ok nicm@
2010-05-05Identical behaviour to select-prompt can now be obtained withNicholas Marriott
command-prompt, so remove select-prompt and change ' to be bound to command-prompt -p index "select-window -t :%%".
2010-05-04Put this back in with the initialisation in the right order.Nicholas Marriott
2010-05-04Revert last change, it appears to be broken somehow.Nicholas Marriott
2010-05-03Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott
and reset SIGCHLD after fork to fix problems with some shells. From Romain Francois.
2010-05-03Make C-] and other punctuation-based control key combinations work again.Ryan Thomas McBride
ok nicm
2010-05-02sort options.Igor Sobrado
2010-04-28Make the active pane border have a green foreground instead ofNicholas Marriott
background by default.
2010-04-28Fix crash when resizing in copy mode, when cursor can end up outside screen.Nicholas Marriott
Reported by Romain Francois, fixed by Micah Cowan.
2010-04-27imsg.h does not need sys/tree.h.Nicholas Marriott
ok eric
2010-04-25Add a tiled layout, originally from Liam Bedford a while ago, fixed upNicholas Marriott
by me.
2010-04-23When converting A-Z into a control character, want to subtract 64 notNicholas Marriott
65... whoops.
2010-04-21Mark zombie windows as dead in choose-window list, from Romain Francoise.Nicholas Marriott
2010-04-21Rewrite key string conversions to be readable and to work properly forNicholas Marriott
multiple modifiers.
2010-04-18Catch SIGCHLD to avoid a zombie, from patrick keshishian.Nicholas Marriott