aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-option.c
Commit message (Collapse)AuthorAge
* 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 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.
* 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.
* Having to update NSETOPTION/NSETWINDOWOPTION when adding new options is a bitNicholas Marriott2009-07-15
| | | | | | | annoying and it is only use for iterating, so use a sentinel to mark the end of each array instead. Different fix for a problem pointed out by Kalle Olavi Niemitalo.
* Having fixed flags for single-character getopt options is a bit hard toNicholas Marriott2009-07-14
| | | | | | | | | | maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
* Add a default-terminal option to set the starting value of $TERM in newNicholas Marriott2009-07-12
| | | | | windows.
* 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.
* Restore $Id$ and add script to do so.Nicholas Marriott2009-06-25
|
* 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).
* * 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.
* 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.
* 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!
* Raise some limits to INT_MAX, SHRT_MAX is too low.Nicholas Marriott2009-01-23
|
* Pass return code from _exec; allow command sequences to work from the ↵Nicholas Marriott2009-01-19
| | | | command line.
* Rework the prefix-time stuff. The option is now call repeat-time and ↵Nicholas Marriott2009-01-14
| | | | defaults to 500 ms. However, it only applies to a small subset of commands, currently: up-pane, down-pane, next-window, previous-window, resize-pane-up, resize-pane-down. These are the commands for which it is obviously useful, having it for everything else was just bloody annoying.
* Using the rigth option name would help...Nicholas Marriott2009-01-14
|
* prefix-time option to allow multiple commands without additional prefixes.Nicholas Marriott2009-01-12
|
* Server locking. set-password and lock-server commands, plus automatic locking.Nicholas Marriott2009-01-11
|
* Pick up cwd from environment,.Nicholas Marriott2009-01-10
|
* Trim spaces.Nicholas Marriott2009-01-10
|
* Some options tidying/code shrinkage. Also add -u option to unset non-global ↵Nicholas Marriott2009-01-07
| | | | options (allowing them to inherit), and some extra info.
* Import OpenBSD's getopt(3) to workaround broken glibc version.Nicholas Marriott2008-12-10
|
* Make window options work the same was as session options, add ↵Nicholas Marriott2008-12-08
| | | | mode-fg/mode-bg options, force -g for global on set/show/setw/showw/
* Ability to show window title on status line.Nicholas Marriott2008-12-05
|
* Disable UTF-8 by default and add options to enable it.Nicholas Marriott2008-11-16
|
* Trim.Nicholas Marriott2008-09-26
|
* Fix stupid GNU getopt behaviour.Nicholas Marriott2008-09-25
|
* Split colour functions from screen.Nicholas Marriott2008-09-10
|
* Handle exact match properly.Nicholas Marriott2008-07-19
|
* Split emacs/vi keys into seperate tables.Nicholas Marriott2008-07-02
|
* Doh.Nicholas Marriott2008-07-01
|
* Zombie windows, requested by Will Maier.Nicholas Marriott2008-06-29
|
* Split internal status-colour into status-fg/status-bg options and lose ↵Nicholas Marriott2008-06-23
| | | | workarounds in set-option stuff.
* Split options into a table to allow abbreviations.Nicholas Marriott2008-06-23
|
* buffer-limit option.Nicholas Marriott2008-06-20
|
* display-time option to set message display time.Nicholas Marriott2008-06-19
|
* status-lines -> status, prefix-key -> prefixNicholas Marriott2008-06-19
|
* Trimify.Nicholas Marriott2008-06-18
|
* More Sun OS crap.Nicholas Marriott2008-06-18
|
* Set window title to current session. New options set-titles to disable.Nicholas Marriott2008-06-18
|
* Document show-options.Nicholas Marriott2008-06-16
|
* Add a couple of extra option types, and implement show-options command.Nicholas Marriott2008-06-15
|
* Make status-interval actually changeable.Nicholas Marriott2008-06-07
|
* Big reorganisation of command-line syntax.Nicholas Marriott2008-06-05
|
* Print for the less easy commands.Nicholas Marriott2008-06-05
|
* Easy bits of arg printing for list-keys.Nicholas Marriott2008-06-05
|
* status is a toggle.Nicholas Marriott2008-06-04
|
* Don't crash when looking at NULL clients; also redraw everything on status ↵Nicholas Marriott2008-06-04
| | | | change.