aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add $Id$, nuke queue.h.Nicholas Marriott2009-08-20
|
* Solaris has no u_int32_t etc.Nicholas Marriott2009-08-20
|
* Didn't mean to commit this.Nicholas Marriott2009-08-20
|
* Also undef CTRL.Nicholas Marriott2009-08-20
|
* Solaris defines some of these in termios.h so #ifndef them.Nicholas Marriott2009-08-20
|
* Solaris has no bzero().Nicholas Marriott2009-08-20
|
* Sync OpenBSD patchset 280:Tiago Cunha2009-08-20
| | | | | Handle the device attributes (DA) escape sequence.
* Sync OpenBSD patchset 279:Tiago Cunha2009-08-20
| | | | | tweak previous;
* Sync OpenBSD patchset 278:Tiago Cunha2009-08-20
| | | | | | Don't read beyond the edge of the screen when searching (dies with debug enabled).
* Sync OpenBSD patchset 276:Tiago Cunha2009-08-20
| | | | | | | | | | | | | | | | | | | | Extend command-prompt with a -p option which is a comma-separated list of one or more prompts to present in order. The responses to the prompt are replaced in the template string: %% are replaced in order, so the first prompt replaces the first %%, the second replaces the second, and so on. In addition, %1 up to %9 are replaced with the responses to the first the ninth prompts The default template is "%1" so the response to the first prompt is processed as a command. Note that this changes the behaviour for %% so if there is only one prompt, only the first %% will be replaced. Templates such as "neww -n '%%' 'ssh %%'" should be changed to "neww -n '%1' 'ssh %1'". From Tiago Cunha.
* Sync OpenBSD patchset 275:Tiago Cunha2009-08-20
| | | | | | | | | Instead of just checking for an empty buffer, which may not be the case if there is unconsumed data, save the previous size and use it instead. This means that activity monitoring should work in this (unlikely) event. Also remove a debugging statement that no longer seems necessary.
* Sync OpenBSD patchset 274:Tiago Cunha2009-08-20
| | | | | Whoops, getting the comparison the right way round is usually recommended.
* Sync OpenBSD patchset 273:Tiago Cunha2009-08-20
| | | | | Move another expensive options test to after a cheaper timer check/update.
* Sync OpenBSD patchset 272:Tiago Cunha2009-08-20
| | | | | | | options_get_number() is relatively expensive and a check for dead panes happens a lot more often than actually finding one, so instead of getting the option for every check, get it for every dead window found.
* Sync OpenBSD patchset 271:Tiago Cunha2009-08-20
| | | | | | | Now that pane targets (-t) are supported, switch some commands to use them where it makes sense: clock-mode, copy-mode, scroll-mode, send-keys, send-prefix.
* Sync OpenBSD patchset 270:Tiago Cunha2009-08-20
| | | | | Tag a few missed printf-like functions and fix a missing "%s".
* Do not include vis.h directly, since it's OS-dependent, due to OpenBSDTiago Cunha2009-08-20
| | | | | patchsets 268, and 269.
* Sync OpenBSD patchset 269:Tiago Cunha2009-08-20
| | | | | | Pass show-buffer output through vis(3) as well, and wrap it to the edge of the terminal when used from the command line.
* Sync OpenBSD patchset 268:Tiago Cunha2009-08-20
| | | | | Change list-buffers to run the preview of the buffer through vis(1).
* Sync OpenBSD patchset 267:Tiago Cunha2009-08-20
| | | | | Use the full screen width when printing output rather than one less.
* Sync OpenBSD patchset 266:Tiago Cunha2009-08-20
| | | | | Nuke unnecessary assignment.
* Sync OpenBSD patchset 265:Tiago Cunha2009-08-20
| | | | | | Add a "delete line" key when editing in the status line or the search up/down prompt. C-u with emacs keys, d with vi.
* Sync OpenBSD patchset 264:Tiago Cunha2009-08-20
| | | | | | | | | | | | Add (naive) searching and goto line in copy mode. Searching is C-r and C-s with emacs keys, / and ? with vi; n repeats the search again with either key set. All searching wraps the top/bottom. Goto line is g for both emacs and vi. The search prompts don't have full line editing, just simple append and delete characters. Also sort the mode keys list in tmux.1.
* Solaris and AIX have no ttydefaults.h.Nicholas Marriott2009-08-20
|
* Call tcsetattr(). Not tested.Nicholas Marriott2009-08-19
|
* In yet another triumph of stupidity over common sense, the glibcNicholas Marriott2009-08-19
| | | | | | | | | | sys/ttydefaults.h is just a copy of the file from *BSD, taking no account of the fact that their OWN termios.h uses entirely different indexes into the array. I know ttydefaults.h is not meant to be portable, but you'd think it would be obvious to anyone that no file is better than a broken one...
* Use cfsetispeed/cfsetospeed to set termios speed members.Nicholas Marriott2009-08-19
|
* Make this match OpenBSD.Nicholas Marriott2009-08-19
|
* Didn't mean to commit this stuff.Nicholas Marriott2009-08-19
|
* This is a better fix for OS X stupidity.Nicholas Marriott2009-08-19
|
* OS X stupid poll fix.Nicholas Marriott2009-08-19
|
* Update.Nicholas Marriott2009-08-18
|
* Example from Han Boetes.Nicholas Marriott2009-08-16
|
* vis(3) compat files were removed prematurely from {DragonFly,Free,Net}BSD. AddTiago Cunha2009-08-16
| | | | | them back, per SourceForge bug #2838408.
* Sync OpenBSD patchset 263:Tiago Cunha2009-08-16
| | | | | | Reset attributes as well as scroll region before poll(2) and add a big comment explaining why.
* Sync OpenBSD patchset 262:Tiago Cunha2009-08-16
| | | | | | | Send SGR0 when initialising the screen. Fixes problems on terminals with BCE (like putty) if the background colours is non-default when tmux starts. May also fix problems when resuming a suspended tmux.
* Sync OpenBSD patchset 261:Tiago Cunha2009-08-16
| | | | | | | | | Switch the prompt code to return an empty string when the user enters no response and reserve NULL for an explicit cancel. Change all callbacks to treat them the same so no functional change. Also add cancel key bindings to emacs mode which were missing.
* Sync OpenBSD patchset 260:Tiago Cunha2009-08-16
| | | | | | | | | vi(1)-style half page scroll in copy and scroll modes. Move the vi full page scroll key to C-b instead of C-u and use C-u/C-d for half page scrolling with vi keys. In emacs mode, half page scrolling is bound to M-Up and M-Down. Suggested by merdely (about a year ago :-)).
* Sync OpenBSD patchset 259:Tiago Cunha2009-08-16
| | | | | | | Scroll by two less than the number of lines in the screen, like emacs, rather than by the entire screen, to make it easier to pull things out from under the line indicator. Suggested by claudio.
* Sync OpenBSD patchset 258:Tiago Cunha2009-08-16
| | | | | | Disable mode-mouse (mouse in copy/choice mode) by default as it isn't very useful at the moment and causes confusion.
* Update.Tiago Cunha2009-08-16
|
* Sync OpenBSD patchset 257:Tiago Cunha2009-08-16
| | | | | | Add a base-index session option to specify the first index checked when looking for an index for a new window.
* Sync OpenBSD patchset 256:Tiago Cunha2009-08-16
| | | | | | | | | | Allowing copy mode to scroll left and right is annoying, so limit it to the real screen width. To indicate the cursor is at the end of the line rather than the cell before, put a '$' in the last cell. Also clear the selection when the terminal is resized to avoid tmux getting confused.
* Sync OpenBSD patchset 255:Tiago Cunha2009-08-16
| | | | | | Rather than telling the client to exit in the function when creating a new session detached, let the caller do it. Allows "tmux new -d \; attach" to work.
* Include unistd.h due to OpenBSD patchset 254. At least on Linux, that's whereTiago Cunha2009-08-16
| | | | | _POSIX_VDISABLE is defined.
* Sync OpenBSD patchset 254:Tiago Cunha2009-08-16
| | | | | | | When creating a new session from the command-line where there is an external terminal, copy the termios(4) special characters and use them for new windows created in the new session. Suggested by Theo.
* Solaris has no strsep(3).Nicholas Marriott2009-08-16
|
* Sync OpenBSD patchset 253:Tiago Cunha2009-08-14
| | | | | Redraw the screen after resizing.
* Sync OpenBSD patchset 252:Tiago Cunha2009-08-14
| | | | | | | | | It was originally intended that scroll mode would show content that was currently off-screen due to resize, but somewhere along the way this got lost. Restore this behaviour to scroll mode by fixing screen_write_copy to read up to the saved line length rather than the current screen width. Copy mode remains unaltered for now.
* Sync OpenBSD patchset 251:Tiago Cunha2009-08-14
| | | | | | | If the client passes zero for the window size in the identify message (which it can, for example on serial terminals), reset it to 80x25, same as for resize messages. Problem reported by kettenis@.