aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Add a flags member to the grid_line struct and use it to differentiate linesNicholas Marriott2009-08-08
| | | | | | | | | | wrapped at the screen edge from those terminated by a newline. Then use this when copying to combine wrapped lines together into one.
| * Change the way the grid is stored, previously it was:Nicholas Marriott2009-08-08
| | | | | | | | | | | | | | | | | | | | | | - a two-dimensional array of cells; - a two-dimensional array of utf8 data; - an array of line lengths. Now it is a single array of a new struct grid_line each of which represents a line and containts the length and an array of cells and an array of utf8 data. This will make it easier to add additional per-line members, such as flags.
| * If there is an error in the configuration file, don't just exit(1) as this canNicholas Marriott2009-08-07
| | | | | | | | | | | | | | | | | | | | | | cause the client to hang. Instead, send the error message, then mark the client as bad and start a normal shutdown so the server exits once the error is written. This also allows some code duplicating daemon(3) to be trimmed and logging to begin earlier. Prompted by Theo noticing the behaviour on error wasn't documented.
| * Move introduction section up into description. From jmc.Nicholas Marriott2009-08-07
| |
| * Using the alternative screen (smcup/rmcup) should also preserve the currentNicholas Marriott2009-08-07
| | | | | | | | | | | | colours and attributes. Found thanks to a report from Taylor Venable. While here also nuke a couple of extra blank lines.
| * tweak INTRODUCTION; from nicm and myselfJason McIntyre2009-08-06
| |
| * Clear the codes array earlier as tty_term_free could be called on error.Nicholas Marriott2009-08-05
| |
| * If colours are not supported by the terminal, try to emulate a colouredNicholas Marriott2009-08-05
| | | | | | | | | | | | | | | | background by setting or clearing the reverse attribute. This makes a few applications which don't use the reverse attribute themselves a little happier, and allows the status, message and mode options to have default attributes and fg/bg options that work as expected when set as reverse.
| * Add a -a flag to set-option and set-window-option to append to an existingNicholas Marriott2009-08-04
| | | | | | | | string value, useful for terminal-overrides.
| * restructure the layout of this page, moving the commands into variousJason McIntyre2009-08-04
| | | | | | | | | | | | subsections; lots of tweaks to come on the text from nicm and myself
| * Show the bell/activity/current status and the window title in the choice list.Nicholas Marriott2009-08-04
| |
| * Check for "UTF8" as well as "UTF-8" in LANG etc as it seems this may alsoNicholas Marriott2009-08-04
| | | | | | | | appear.
| * clean up some macro abuse in the commands section;Jason McIntyre2009-08-04
| |
| * Split the comparison into a function to make this code smaller and moreNicholas Marriott2009-08-03
| | | | | | | | understandable.
| * Don't try to free old string values (and crash) when they are overridden unlessNicholas Marriott2009-08-03
| | | | | | | | they were actually found in the source terminal description. Reported by jmc.
| * tweak previous;Jason McIntyre2009-08-03
| |
| * Add a terminal-overrides session option allowing individual terminfo(5) entriesNicholas Marriott2009-08-03
| | | | | | | | | | | | | | | | to be overridden. The 88col/256col checks are now moved into the default setting and out of the code. Also remove a couple of old workarounds for xterm and rxvt which are no longer necessary (tmux can emulate them if missing).
| * Fix checking of setupterm(3) error codes. While there include theMatthieu Herrb2009-08-02
| | | | | | | | name of the terminal type causing the error where relevant. ok nicm@.
| * Pass the ACS border characters through tty_get_acs so they appear correctly onNicholas Marriott2009-07-31
| | | | | | | | terminals which don't use the standard set.
| * Don't leak when rollling buffers off when the paste buffer limit is reached.Nicholas Marriott2009-07-30
| |
| * Plug some memory leaks.Nicholas Marriott2009-07-30
| |
| * Don't babysit people and let them try to load /dev/zero or (more useful)Nicholas Marriott2009-07-30
| | | | | | | | /dev/null if they want.
| * Remove some dead code found by clang.Nicholas Marriott2009-07-30
| |
| * tweak previous;Jason McIntyre2009-07-30
| |
| * Similar changes for server_msg_dispatch: use a switch instead of a lookup tableNicholas Marriott2009-07-30
| | | | | | | | and merge smaller functions inline.
| * There aren't many client message types or code to handle them so get rid of theNicholas Marriott2009-07-30
| | | | | | | | | | | | | | | | | | | | lookup table and use a switch, merge the tiny handler functions into it, and move the whole lot to client.c. Also change client_msg_dispatch to consume as many messages as possible and move the call to it to the right place so it checks for signals afterwards. Prompted by suggestions from eric@.
| * Tell the server when the client gets SIGTERM so it can clean up the terminalNicholas Marriott2009-07-30
| | | | | | | | properly, rather than just exiting.
| * Merge pane number into the target specification for pane commands. Instead ofNicholas Marriott2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | using -p index, a target pane is now addressed with the normal -t window form but suffixed with a period and a pane index, for example :0.2 or mysess:mywin.1. An unadorned number such as -t 1 is tried as a pane index in the current window, if that fails the same rules are followed as for a target window and the current pane in that window used. As a side-effect this now means that swap-pane can swap panes between different windows. Note that this changes the syntax of the break-pane, clear-history, kill-pane, resize-pane, select-pane and swap-pane commands.
| * new sentence, new line;Jason McIntyre2009-07-30
| |
| * Add a mode-mouse option to prevent tmux taking over the mouse in choice or copyNicholas Marriott2009-07-30
| | | | | | | | modes.
| * Add an additional heuristic to work out the current session when run from theNicholas Marriott2009-07-29
| | | | | | | | | | | | | | | | | | command line. The name of all slave ptys in the server is known, so if the client was run on a tty, look for any sessions containing that tty and use the most recently created. This is more reliable than looking at $TMUX if windows have been moved or linked between sessions.
| * Rename struct hdrtype to msgtype which is a better name and can be used evenNicholas Marriott2009-07-29
| | | | | | | | when struct hdr disappears.
| * Taking account of the "s, 22 not 24 is the maximum length of #T in status-rightNicholas Marriott2009-07-29
| | | | | | | | to prevent the date being cut off.
| * Final pieces of mode key rebinding: bind-key and unbind-key now accept a -tNicholas Marriott2009-07-28
| | | | | | | | argument to modify a table.
| * Accept and print "Enter" and "Escape" for keys rather than C-m and C-[.Nicholas Marriott2009-07-28
| |
| * Next step towards customisable mode keys: build each default table of keys intoNicholas Marriott2009-07-28
| | | | | | | | | | | | a named tree on start and use that for lookups. Also add command to string translation tables and modify list-keys to show the the mode key bindings (new -t argument).
| * If select-layout is not given an argument, repply the last layout used in theNicholas Marriott2009-07-28
| | | | | | | | window, if any.
| * Remove an unused entry in the mode keys command enum and renameNicholas Marriott2009-07-27
| | | | | | | | MODEKEYCOPY_QUIT to _CANCEL to match the others.
| * Change mode key bindings from big switches into a set of tables. Rather thanNicholas Marriott2009-07-27
| | | | | | | | | | | | | | lumping them all together, split editing keys from those used in choice/more mode and those for copy/scroll mode. Tidier and clearer, and the first step towards customisable mode keys.
| * Get rid of empty mode_key_free function.Nicholas Marriott2009-07-27
| |
| * Add a key to delete to end of line at the prompt (^K in emacs mode, C/D in vi).Nicholas Marriott2009-07-27
| | | | | | | | From Kalle Olavi Niemitalo.
| * Draw UTF-8 characters under the selection correctly.Nicholas Marriott2009-07-27
| |
| * Change previous-word behavior to move to the beginning of the word (matchesNicholas Marriott2009-07-27
| | | | | | | | emacs and vi). From Kalle Olavi Niemitalo.
| * Detect backspace by looking at termios VERASE and translate it into \177 (whichNicholas Marriott2009-07-26
| | | | | | | | | | | | matches screen's behaviour if not its termcap/terminfo entry). The terminfo kbs cap is often wrong or missing so it can't be used, and just assuming \177 may be wrong.
| * Calculate the space available for the prompt buffer and the cursor positionNicholas Marriott2009-07-26
| | | | | | | | | | | | correctly, and make it work when the screen is not wide enough. Noticed by Kalle Olavi Niemitalo.
| * Go to the next if the current best process is replaced, don't keep comparing itNicholas Marriott2009-07-26
| | | | | | | | with itself. Also fix process name comparison.
| * Make all messages sent between the client and server fixed size.Nicholas Marriott2009-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first of two changes to make the protocol more resilient and less sensitive to other changes in the code, particularly with commands. The client now packs argv into a buffer and sends it to the server for parsing, rather than doing it itself and sending the parsed command data. As a side-effect this also removes a lot of now-unused command marshalling code. Mixing a server without this change and a client with or vice versa will cause tmux to hang or crash, please ensure that tmux is entirely killed before upgrading.
| * Set the active pane when respawning a window - fixes problems when respawning aNicholas Marriott2009-07-24
| | | | | | | | window with multiple panes.
| * Use the full range of ACS line drawing characters to draw pane borders,Nicholas Marriott2009-07-24
| | | | | | | | including intersections.
| * cmd_find_index should return -2 on error.Nicholas Marriott2009-07-24
| |