aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 408:Tiago Cunha2009-10-15
| | | | | Handle DECCOLM by just emulating its side-effect of clearing the screen.
* Sync OpenBSD patchset 407:Tiago Cunha2009-10-15
| | | | | | Add mode keys to move the cursor to the top, middle and bottom of the screen. H/M/L in vi mode and M-R/M-r in emacs (bottom of screen not bound in emacs).
* Fix CVS keyword.Tiago Cunha2009-10-15
|
* Update.Tiago Cunha2009-10-15
|
* Sync OpenBSD patchset 406:Tiago Cunha2009-10-15
| | | | | | | | Do this in a better way - print messages when exiting with nonzero. Also remove the login shell information from server-info, only the client should care about it.
* Sync OpenBSD patchset 405:Tiago Cunha2009-10-15
| | | | | | Don't print exit messages when used as a login shell, requested by martynas@ a while back.
* Sync OpenBSD patchset 404:Tiago Cunha2009-10-15
| | | | | Don't try to use \n across scroll region when doing \r\n either.
* Sync OpenBSD patchset 403:Tiago Cunha2009-10-15
| | | | | | When a session is unattached, reset its activity timer to prevent it locking instantly when reattached.
* Sync OpenBSD patchset 402:Tiago Cunha2009-10-15
| | | | | | Instead of using something sort of similar for both newline checks, use something the same. Doesn't fix the bug I'm looking for though :-/.
* Sync OpenBSD patchset 401:Tiago Cunha2009-10-15
| | | | | | | | | | | | | | When drawing lines that have wrapped naturally, don't force a newline but permit them to wrap naturally again. This allows terminals that use this to guess where lines start and end for eg mouse selecting (like xterm) to work correctly. This was another long-standing issue raised by several people over the last while. Thanks to martynas@ for much testing. This was not trivial to get right so bringing it in for wider testing and adn to fix any further glitches in-tree.
* Sync OpenBSD patchset 400:Tiago Cunha2009-10-15
| | | | | | | | | | When backspace is received at the beginning of a line and the previous line was wrapped, move the cursor back up to the end of the previous line. Another one of the forgotten persons requested this quite a while ago (I need to start noting names on todo items...) when it was quite hard to implement. Now it is easy and I don't see it can do any harm, so hey presto...
* Sync OpenBSD patchset 399:Tiago Cunha2009-10-15
| | | | | | | Don't run through the column unchanged case if the row was unchanged but there were no suitable optimisations, instead make it an else to fall through to absolute addressing.
* Sync OpenBSD patchset 398:Tiago Cunha2009-10-15
| | | | | | If the vertical cursor movement crosses the scroll region, CUU and CUD shouldn't be used even if VPA isn't present - in that case CUP should be used.
* Sync OpenBSD patchset 397:Tiago Cunha2009-10-15
| | | | | Wrap a couple of long lines.
* Sync OpenBSD patchset 396:Tiago Cunha2009-10-15
| | | | | | Use absolute movement if right at the end of the line as it isn't a reliable place to move from relatively.
* Sync OpenBSD patchset 395:Tiago Cunha2009-10-15
| | | | | | | Use relative cursor movement instead of absolute when possible and when supported by the terminal to reduce the size of the output data (generally about 10-20%).
* Sync OpenBSD patchset 394:Tiago Cunha2009-10-15
| | | | | | Permit attributes to be turned off in #[] by prefixing with "no", for example "noblink".
* Sync OpenBSD patchset 393:Tiago Cunha2009-10-15
| | | | | Similarly add a tty_cursor_pane function to tidy up most of the calls.
* Sync OpenBSD patchset 392:Tiago Cunha2009-10-15
| | | | | _absolute is redundant, just use tty_region.
* Sync OpenBSD patchset 391:Tiago Cunha2009-10-15
| | | | | | Cleanup: use two functions for region setting, one for absolute and one inside pane.
* Don't let cmd_lookup_client find clients w/o a session.Nicholas Marriott2009-10-14
|
* Support for automatic-rename for Solaris thanks to Todd Carson.Nicholas Marriott2009-10-14
|
* +.Nicholas Marriott2009-10-13
|
* +.Nicholas Marriott2009-10-13
|
* Lots of stuff is done done done.Nicholas Marriott2009-10-13
|
* +.Nicholas Marriott2009-10-12
|
* Reduce diff with OpenBSD.Tiago Cunha2009-10-12
|
* Sync OpenBSD patchset 390:Tiago Cunha2009-10-12
| | | | | | | | Like linefeed, don't set the scroll region for reverse index unless it will be needed. While here, also tidy up a couple of long lines and remove an extraneous blank.
* Sync OpenBSD patchset 389:Tiago Cunha2009-10-12
| | | | | punctuation fix;
* Sync OpenBSD patchset 388:Tiago Cunha2009-10-12
| | | | | | | | | Set the current window pointer to NULL when killing a winlink that is to be replaced with link-window -k. This prevents it being pushed onto the last window stack and causing a use-after-free. Only took me an hour to find this :-/...
* No paths.h in here, as well.Tiago Cunha2009-10-12
|
* Sync OpenBSD patchset 387:Tiago Cunha2009-10-12
| | | | | | | | | | | | | Add a pipe-pane command to allow a pane to be piped to a shell command, for example: pipe-pane 'cat >~/out' No arguments stops outputing and closes the pipe; the -o flag toggles a pipe and on and off (useful for key bindings). Suggested by espie@.
* Sync OpenBSD patchset 386:Tiago Cunha2009-10-12
| | | | | Convert if-shell over to the background job framework as well.
* Sync OpenBSD patchset 385:Tiago Cunha2009-10-12
| | | | | Remove a debugging leftover and add copyright.
* Sync OpenBSD patchset 384:Tiago Cunha2009-10-12
| | | | | Switch run-shell over to queue the command in the background like #().
* Sync OpenBSD patchset 383:Tiago Cunha2009-10-12
| | | | | | | There isn't much point in having a free function if it isn't used. Also allow a NULL tree.
* Sync OpenBSD patchset 382:Tiago Cunha2009-10-12
| | | | | | Collect status from dead jobs and don't invoke the callback until both all input (the socket is closed) and status is available.
* Sync OpenBSD patchset 381:Tiago Cunha2009-10-12
| | | | | | | | | Clean up by introducing a wrapper struct for mouse clicks rather than passing three u_chars around. As a side-effect this fixes incorrectly rejecting high cursor positions (because it was comparing them as signed char), reported by Tom Doherty.
* Sync OpenBSD patchset 380:Tiago Cunha2009-10-12
| | | | | | Braek some bits out of server_fill_client() that aren't really related to polling into their own function.
* Sync OpenBSD patchset 379:Tiago Cunha2009-10-12
| | | | | | Put all jobs on a global all_jobs list and use that in server.c instead of running through all the clients.
* Sync OpenBSD patchset 378:Tiago Cunha2009-10-12
| | | | | -scroll mode which is dead.
* Update.Tiago Cunha2009-10-12
|
* Sync OpenBSD patchset 377:Tiago Cunha2009-10-12
| | | | | Split list-panes off from list-windows.
* Sync OpenBSD patchset 376:Tiago Cunha2009-10-12
| | | | | Accept key and mouse input for keys in zombified windows if they are in a mode..
* Sync OpenBSD patchset 375:Tiago Cunha2009-10-12
| | | | | | When a window is zombified and automatic-rename is on, append [dead] to the name.
* Do not include paths.h, since it's OS-dependent, due to OpenBSD patchset 374.Tiago Cunha2009-10-11
|
* Sync OpenBSD patchset 374:Tiago Cunha2009-10-11
| | | | | | | | | | | | | | | | | | | Rather than running status-left, status-right and window title #() with popen immediately every redraw, queue them up and run them in the background, starting each once every status-interval. The actual status line uses the output from the last run. This brings several advantages: - tmux itself may be called from inside #() without causing the server to hang; - likewise, sleep or similar doesn't cause the server to block; - commands aren't run excessively often when redrawing; - commands shared by status-left and status-right, or used multiple times, will only be run once. run-shell and if-shell still use system()/popen() but will be changed over to use this too later.
* Update.Tiago Cunha2009-10-11
|
* Sync OpenBSD patchset 373:Tiago Cunha2009-10-11
| | | | | | | | New option, mouse-select-pane. If on, the mouse may be used to select the current pane. Suggested by sthen@ and also by someone else ages ago who I have forgotten.
* Sync OpenBSD patchset 372:Tiago Cunha2009-10-11
| | | | | | There is no point setting the scroll region up for line feeds unless scrolling is actually going to happen, so don't.