aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
Commit message (Collapse)AuthorAge
...
* Sync OpenBSD patchset 195:Tiago Cunha2009-07-30
| | | | | | Taking account of the "s, 22 not 24 is the maximum length of #T in status-right to prevent the date being cut off.
* Sync OpenBSD patchset 181:Tiago Cunha2009-07-28
| | | | | | | | | | | | | | | | | Make all messages sent between the client and server fixed size. 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.
* Sync OpenBSD patchset 166:Tiago Cunha2009-07-23
| | | | | | Pass a set of flags into client_init rather than just a start_server variable. Only one flag now but more to come later.
* Sync OpenBSD patchset 152:Tiago Cunha2009-07-22
| | | | | | | | __progname is not const, pointed out by deraadt. And, as a consequence change its declaration for operating systems which don't provide __progname as well.
* Sync OpenBSD patchset 148:Tiago Cunha2009-07-20
| | | | | | Display the number of failed password attempts (if any) when the server is locked. From Tom Doherty.
* Sync OpenBSD patchset 147:Tiago Cunha2009-07-20
| | | | | | Add a status-justify option to allow the window list in the status line to be positioned at the left, centre, or right.
* Sync OpenBSD patchset 146:Tiago Cunha2009-07-20
| | | | | | | New options, window-status-current-{fg,bg,attr}, to set the fg, bg and attributes with which the current window is shown in the status line. From Johan Friis, thanks.
* Add three new session options: visual-activity, visual-bell, visual-content.Tiago Cunha2009-07-19
| | | | | | | | | | If these are enabled (and the monitor-activity, bell-action and monitor-content options are configurated appropriately), when activity, a bell, or content is detected, a message is shown. Also tidy up the bell/activity/content code in server.c slightly and fix a couple of errors.
* If -u is specified or UTF-8 is otherwise detected when the server is started,Nicholas Marriott2009-07-18
| | | | | | enable the utf8 and status-utf8 optons. While here, note in the man page that the server is started with the first session and exits when none remain.
* Add a default-terminal option to set the starting value of $TERM in newNicholas Marriott2009-07-12
| | | | | windows.
* Accidently deleted default-command.Nicholas Marriott2009-07-08
|
* Fix $Id$.Nicholas Marriott2009-07-08
|
* Rename the global options variables to be shorter and to make session optionsNicholas Marriott2009-07-08
| | | | | | clear. No functional change, getting this out of the way to make later options changes easier.
* Using -l to specify a login shell is non-POSIX and causes problems with shellsNicholas Marriott2009-07-01
| | | | | | that do not support it. Instead, set an empty default-command to invoke $SHELL with - prefixed to argv[0], and make this the default setting.
* Lose -V.Nicholas Marriott2009-06-25
|
* More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h.Nicholas Marriott2009-06-25
|
* Whitespace and more syncing.Nicholas Marriott2009-06-25
|
* Restore $Id$ and add script to do so.Nicholas Marriott2009-06-25
|
* If getcwd() fails, use the user's home directory, or /, instead of failing withNicholas Marriott2009-06-25
| | | | | an error.
* Remove error about using -L and -S together which was never displayed asNicholas Marriott2009-06-25
| | | | | | logging wasn't yet enabled, was unnecessary, and contradicted the man page which says using -S will cause -L to be ignored.
* LC_ALL overrides LC_CTYPE and LANG. Comment was correct but the codeNicholas Marriott2009-06-25
| | | | | wrong. Pointed out by Hannah Schroeter, thanks.
* Check the first of LC_CTYPE, LC_ALL and LANG, rather than just the last, whenNicholas Marriott2009-06-25
| | | | | trying to decide about UTF-8, and use strcasestr. Reported by Geert Hendrickx.
* Zero the password given to -U in the client as well.Nicholas Marriott2009-06-25
|
* Do not set the window title by default (make set-titles option default to off),Nicholas Marriott2009-06-25
| | | | | wiping over the title is rude and annoying.
* New session option, status-utf8, to control the interpretation of top-bit-setNicholas Marriott2009-06-25
| | | | | | characters in status-left and status-right (if on, they are treated as UTF-8; otherwise passed through).
* remove unused flag; while here, make usage's output fit on 80-column displays.Nicholas Marriott2009-06-25
|
* Use login shells by default.Nicholas Marriott2009-06-25
|
* Don't leak memory if multiple -f flags are given. From rayNicholas Marriott2009-06-25
|
* endpwent() is not required after getpwuid().Nicholas Marriott2009-06-01
|
* Spacing.Nicholas Marriott2009-05-26
|
* If LANG contains "UTF-8", assume the terminal supports UTF-8, on the grounds ↵Nicholas Marriott2009-05-19
| | | | that anyone who configures it probably wants UTF-8. Not certain if this is a perfect idea but let's see if it causes any problems.
* - New window option monitor-content to search for a string in a window, andTiago Cunha2009-05-19
| | | | | | | | | highlight the status line if it matches. - To make this possible, the function cmd_find_window_search from cmd-find-window.c had to be moved to window.c and renamed window_pane_search. - While there use three new functions in server.c to check for bell, activity, and content, to avoid too much nesting.
* main-horizontal layout and main-pane-height option to match vertical.Nicholas Marriott2009-05-18
|
* New option main-pane-width to set width of pane in left-vertical mode.Nicholas Marriott2009-05-18
|
* Recreate server socket on SIGUSR1, per SF feature request 2792533.Nicholas Marriott2009-05-16
|
* Rename all feature flags to HAVE_* and move out of makefiles into a configureNicholas Marriott2009-05-13
| | | | | | | | | script which must be run before building. Still two makefiles but they are a hell of a lot simpler. HAVE_* also will make it easier to move to $buildsystem if necessary later.
* Bye-bye META.Nicholas Marriott2009-05-13
|
* Space trimmage mega-diff.Nicholas Marriott2009-05-04
|
* Document -L and -8, fix synopsis.Nicholas Marriott2009-04-20
|
* Better errno, from joshe.Nicholas Marriott2009-04-01
|
* Basic horizontal splitting and layout management. Still some redraw and otherNicholas Marriott2009-04-01
| | | | | | | | | | | issues - particularly, don't mix with manual pane resizing and be careful when viewing from multiple clients; generally cycling the layout a few times will fix most problems. Getting this in for testing while I think about how to deal with manual mode. Split window as normal and cycle the layouts with C-b space. Some of the layouts will work better when swap-pane comes along.
* Sockets in /tmp are now created in a subdirectory named, tmux-UID, egNicholas Marriott2009-03-27
| | | | | | | | | | tmux-1000. The default socket is thus /tmp/tmux-UID/default. To start a separate server, the new -L command line option should be used: this creates a socket in the same directory with a different name ("-L main" will create socket called "main"). -S should only be used to place the socket outside /tmp. This makes sockets a little more secure and a bit more convenient to use multiple servers.
* * New session flag "set-remain-on-exit" to set remain-on-exit flag for new ↵Nicholas Marriott2009-03-21
| | | | windows created in that session (like "remain-by-default" used to do). Not perfectly happy about this, but until I can think of a good way to introduce it generically (maybe a set of options in the session) this will do. Fixes SF request 2527847.
* Support for 88 colour terminals.Nicholas Marriott2009-03-07
|
* Redo mode keys slightly more cleanly and apply them to command prompt ↵Nicholas Marriott2009-02-13
| | | | editing. vi or emacs mode is controlled by the session option status-keys.
* Don't close fds, so error message appears.Nicholas Marriott2009-02-08
|
* Continue process if suspended.Nicholas Marriott2009-02-08
|
* Set colour of window entry in status line based on window options.Nicholas Marriott2009-01-30
|
* Allow status, mode and message attributes to be changed by three new ↵Nicholas Marriott2009-01-27
| | | | | | | options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink From Josh Elsasser, thanks!
* Return 1 on error. Doh.Nicholas Marriott2009-01-23
|