aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Sync OpenBSD patchset 331:Tiago Cunha2009-09-19
| | | | | | | New option, set-titles-string, to allow the window title to be specified (as for status-left/right) if set-titles is on. Also only update the title when the status line is being redrawn.
* Add some bits.Nicholas Marriott2009-09-18
|
* Sync from OpenBSD:Nicholas Marriott2009-09-16
| | | | | | | | | | | == Rather than constructing an entire termios struct from ttydefaults.h, just let forkpty do it and then alter the bits that should be changed after fork. A little neater and more portable. == This should fix problems caused by glibc's broken ttydefaults.h file.
* Sync OpenBSD patchset 329:Tiago Cunha2009-09-15
| | | | | | | | Enclose repeated buffer draining code in a new msgbuf_drain() function, which is additionally exported for use by others. From nicm@, who reminded me that tmux is now using buffer.c, too.
* Sync OpenBSD patchset 328:Tiago Cunha2009-09-15
| | | | | | | | | | Stick line length to what is actually used (removing an optimization that allowed it to be bigger), and use clear line/EOL sequences rather than spaces in copy/scroll mode. This fixes xterm copy/paste from tmux which treats trailing spaces differently from clearing a line with the escape sequences. Reported by martynas@.
* Sync OpenBSD patchset 327:Tiago Cunha2009-09-15
| | | | | The default terminal size should be 80x24, not 80x25.
* Sync OpenBSD patchset 326:Tiago Cunha2009-09-15
| | | | | Nuke unused server_client_index function, pointed out by martynas@.
* +.Nicholas Marriott2009-09-15
|
* Update.Nicholas Marriott2009-09-15
|
* Always set VERASE to \177.Tiago Cunha2009-09-13
|
* Zap unused variables.Tiago Cunha2009-09-13
|
* Sync OpenBSD patchset 324:Tiago Cunha2009-09-13
| | | | | Tidy some common code for destroying sessions into a new function.
* Sync OpenBSD patchset 323:Tiago Cunha2009-09-13
| | | | | | tmux always outputs \177 for backspace, so explicitly set VERASE to \177 for new windows.
* Sync OpenBSD patchset 322:Tiago Cunha2009-09-11
| | | | | | Permit options such as status-bg to be configured using the entire 256 colour palette by setting "colour0" to "colour255".
* Sync OpenBSD patchset 321:Tiago Cunha2009-09-08
| | | | | | While the display-panes indicator is on screen, make the number keys select the pane with that index.
* Sync OpenBSD patchset 320:Tiago Cunha2009-09-07
| | | | | | Reference count clients and sessions rather than relying on a saved index for cmd-choose-*.
* Sync OpenBSD patchset 319:Tiago Cunha2009-09-07
| | | | | | | Tiny cleanup. ok nicm@
* Sync OpenBSD patchset 318:Tiago Cunha2009-09-07
| | | | | | Give each paste buffer a size member instead of requiring them to be zero-terminated.
* Sync OpenBSD patchset 317:Tiago Cunha2009-09-07
| | | | | | Permit embedded colour and attributes in status-left and status-right using new #[] special characters, for example #[fg=red,bg=blue,blink].
* +.Nicholas Marriott2009-09-07
|
* Sync OpenBSD patchset 316:Tiago Cunha2009-09-05
| | | | | | | | Only redraw all clients once when the backoff timer expires rather than every second all the time. Reported by Simon Nicolussi.
* Sync OpenBSD patchset 315:Tiago Cunha2009-09-04
| | | | | Tidy main and make it a bit easier to read.
* Sync OpenBSD patchset 314:Tiago Cunha2009-09-04
| | | | | Tell the user when sleeping due to password backoff.
* Solaris needs a knob twiddled to get POSIX getpwduid_r.Nicholas Marriott2009-09-04
|
* Sync OpenBSD patchset 313:Tiago Cunha2009-09-03
| | | | | | | | | | | | | | Fix a race condition when asking a client to take over the terminal (switching 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.
* Sync OpenBSD patchset 309:Tiago Cunha2009-09-03
| | | | | | Accept -l to make it easier for people who use tmux as a login shell to use $SHELL. Originally from martynas@, tweaked by me.
* - Make it compile on operating systems other than BSD due to OpenBSD patchsetTiago Cunha2009-09-03
| | | | | | 308. - While there, remove some duplicate code from the compat header file.
* Sync OpenBSD patchset 308:Tiago Cunha2009-09-03
| | | | | | When incorrect passwords are entered, behave similarly to login(1) and backoff for a bit. Based on a diff from martynas@.
* Sync OpenBSD patchset 307:Tiago Cunha2009-09-02
| | | | | | Add a transpose-chars command in edit mode (C-t in emacs mode only). From Kalle Olavi Niemitalo.
* When shutting down the server, expect clients to be polite and exit when askedNicholas Marriott2009-09-02
| | | | | with the right message.
* Nuke debugging.Nicholas Marriott2009-09-02
|
* 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
|
* Update.Nicholas Marriott2009-09-02
|
* OS X CMSG_FIRSTHDR is broken.Nicholas Marriott2009-09-02
|
* Sync OpenBSD patchset 306:Tiago Cunha2009-09-02
| | | | | | If forking a login shell or if SHELL is otherwise not useful, set it to the default shell. Based on a diff from martynas@.
* Update.Tiago Cunha2009-09-02
|
* Adjust OpenBSD patchset 305 to the portable version.Tiago Cunha2009-09-02
|
* Sync OpenBSD patchset 305:Tiago Cunha2009-09-02
| | | | | | | | | | | | | | When using tmux as a login shell, there is currently no way to specify a shell 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.
* Sync OpenBSD patchset 304:Tiago Cunha2009-09-02
| | | | | | | Use "Password:" with no space for password prompts and don't display a *s for the password, like pretty much everything else. From martynas@ with minor tweaks by me.
* Sync OpenBSD patchset 303:Tiago Cunha2009-09-02
| | | | | Sort cases same as getopt argument, from martynas.
* Update.Tiago Cunha2009-08-31
|
* Sync OpenBSD patchset 302:Tiago Cunha2009-08-31
| | | | | | | Add a new display-panes command, with two options (display-panes-colour and display-panes-time), which displays a visual indication of the number of each pane.
* Sync OpenBSD patchset 301:Tiago Cunha2009-08-31
| | | | | squash typo
* Sync OpenBSD patchset 300:Tiago Cunha2009-08-31
| | | | | | Don't call tty_free unless the client is a terminal, otherwise tty_init hasn't been called and it may end up doing close(0). From Kalle Olavi Niemitalo.
* Sync OpenBSD patchset 299:Tiago Cunha2009-08-26
| | | | | | Initialise the arg2 pointer properly (also free it when freeing the others). Fixes crashes with J in malloc_options reported by oga.
* Sync OpenBSD patchset 298:Tiago Cunha2009-08-26
| | | | | Make this work when the clock is in small characters as well. Doh.
* Sync OpenBSD patchset 297:Tiago Cunha2009-08-26
| | | | | | Fix clock mode in black and white terminals now that tty.c tries to fix reverse.
* ttydefchars is a fucking horlicks. Happily we only need it in one file, move itNicholas Marriott2009-08-26
| | | | | | | | in there to avoid multiple inclusion issues. Perhaps it would be better to pass NULL through to forkpty in the default case...
* FreeBSD and NetBSD HAVE got ttydefaults.h. Fixes SF bug 2844744.Nicholas Marriott2009-08-26
| | | | | Also make clang use -iquote in makefiles.