aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* Sync OpenBSD patchset 296:Tiago Cunha2009-08-25
| | | | | Print -l and -p when showing command, pointed out by Tiago Cunha.
* Update.Tiago Cunha2009-08-25
|
* Include <ctype.h>.Tiago Cunha2009-08-25
|
* Sync OpenBSD patchset 294:Tiago Cunha2009-08-25
| | | | | | | | | | | | | Add a choose-client command and extend choose-{session,window} to accept a template. After a choice is made, %% (or %1) in the template is replaced by the name of the session, window or client suitable for -t and the result executed as a command. So, for example, "choose-window "killw -t '%%'"" will kill the selected window. The defaults if no template is given are (as now) select-window for choose-window, switch-client for choose-session, and detach-client for choose-client (now bound to D).
* Sync OpenBSD patchset 293:Tiago Cunha2009-08-25
| | | | | gcc2 doesn't understand attributes on function pointers.
* Done.Nicholas Marriott2009-08-25
|
* Sync OpenBSD patchset 292:Tiago Cunha2009-08-24
| | | | | | | Add some other obvious variables to update-environment (WINDOWID SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION) so they are updated in the session environment on new/attach.
* Sync OpenBSD patchset 291:Tiago Cunha2009-08-24
| | | | | Some code tidying.
* Sync OpenBSD patchset 290:Tiago Cunha2009-08-24
| | | | | | | When using source-file, run the commands in the context of the source-file command rather than with no context. This makes things like attach work from a file.
* Sync OpenBSD patchset 289:Tiago Cunha2009-08-24
| | | | | | The cursession member in struct cmd_ctx is always either curclient->session or NULL when curclient is also NULL, so just eliminate it.
* Check the return value of strunvis against -1 not NULL.Nicholas Marriott2009-08-23
|
* Sync OpenBSD patchset 287:Tiago Cunha2009-08-21
| | | | | Emulate dch/dch1 if missing by redrawing the entire line.
* Sync OpenBSD patchset 285:Tiago Cunha2009-08-21
| | | | | | Ugh, committed the wrong version of this change and got both solutions rather than just the second. Remove unused assignment.
* Sync OpenBSD patchset 284:Tiago Cunha2009-08-21
| | | | | | | | When moving up or down in copy mode, save the cursor position and size of the last line with content (width != 0) and use it to determine if the cursor should be at the end of the line. Fixes problem of the cursor always jumping to the end of the line when scrolling past a blank line.
* Sync OpenBSD patchset 283:Tiago Cunha2009-08-21
| | | | | | Fix grid_expand_line so it actually works when the required size is bigger than 2 * the current size.
* Sync OpenBSD patchset 282:Tiago Cunha2009-08-21
| | | | | | | | A few trivial optimisations: no need to check for zero size if calling buffer_ensure in buffer.c; expand grid lines by a greater increase than one each time; and don't read UTF-8 data unless it actually needs to be checked when overwriting a cell.
* Sync OpenBSD patchset 281:Tiago Cunha2009-08-21
| | | | | Nuke unused variable.
* Move reading termios settings to before tty_open alters them, and expand theNicholas Marriott2009-08-21
| | | | | comment.
* Done.Nicholas Marriott2009-08-21
|
* VTIME and VMIN are only necessary in noncanonical mode, so Solaris reuses theNicholas Marriott2009-08-20
| | | | | | VEOF and VEOL indexes for them. ICANON is set by default, so don't bother to set VTIME and VMIN.
* Need this rubbish on Solaris for CMESG*.Nicholas Marriott2009-08-20
|
* 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).